Finalize RedisBungee support

This commit is contained in:
ME1312 2017-12-10 09:14:49 -05:00
parent 91ca559e4a
commit 617297b5b6
27 changed files with 213 additions and 91 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -968,6 +968,16 @@
<dd> <dd>
<div class="block">Gets the Recommended Minecraft Version</div> <div class="block">Gets the Recommended Minecraft Version</div>
</dd> </dd>
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Bungee/Host/Server.html#getGlobalPlayers--">getGlobalPlayers()</a></span> - Method in interface net.ME1312.SubServers.Bungee.Host.<a href="net/ME1312/SubServers/Bungee/Host/Server.html" title="interface in net.ME1312.SubServers.Bungee.Host">Server</a></dt>
<dd>
<div class="block">Get players on this server across all known proxies</div>
</dd>
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Bungee/Host/ServerContainer.html#getGlobalPlayers--">getGlobalPlayers()</a></span> - Method in class net.ME1312.SubServers.Bungee.Host.<a href="net/ME1312/SubServers/Bungee/Host/ServerContainer.html" title="class in net.ME1312.SubServers.Bungee.Host">ServerContainer</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Bungee/SubAPI.html#getGlobalPlayers--">getGlobalPlayers()</a></span> - Method in class net.ME1312.SubServers.Bungee.<a href="net/ME1312/SubServers/Bungee/SubAPI.html" title="class in net.ME1312.SubServers.Bungee">SubAPI</a></dt>
<dd>
<div class="block">Get players on this network across all known proxies</div>
</dd>
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Bungee/SubAPI.html#getGroup-java.lang.String-">getGroup(String)</a></span> - Method in class net.ME1312.SubServers.Bungee.<a href="net/ME1312/SubServers/Bungee/SubAPI.html" title="class in net.ME1312.SubServers.Bungee">SubAPI</a></dt> <dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Bungee/SubAPI.html#getGroup-java.lang.String-">getGroup(String)</a></span> - Method in class net.ME1312.SubServers.Bungee.<a href="net/ME1312/SubServers/Bungee/SubAPI.html" title="class in net.ME1312.SubServers.Bungee">SubAPI</a></dt>
<dd> <dd>
<div class="block">Gets a Server Group (Group names are case insensitive here)</div> <div class="block">Gets a Server Group (Group names are case insensitive here)</div>

View File

@ -357,7 +357,7 @@ extends <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/SubServerCo
<!-- --> <!-- -->
</a> </a>
<h3>Methods inherited from class&nbsp;net.ME1312.SubServers.Bungee.Host.<a href="../../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html" title="class in net.ME1312.SubServers.Bungee.Host">ServerContainer</a></h3> <h3>Methods inherited from class&nbsp;net.ME1312.SubServers.Bungee.Host.<a href="../../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html" title="class in net.ME1312.SubServers.Bungee.Host">ServerContainer</a></h3>
<code><a href="../../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#addExtra-java.lang.String-java.lang.Object-">addExtra</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#addGroup-java.lang.String-">addGroup</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#getDisplayName--">getDisplayName</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#getExtra--">getExtra</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#getExtra-java.lang.String-">getExtra</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#getGroups--">getGroups</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#getMotd--">getMotd</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#getSignature--">getSignature</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#getSubData--">getSubData</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#hasExtra-java.lang.String-">hasExtra</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#isHidden--">isHidden</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#isRestricted--">isRestricted</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#removeExtra-java.lang.String-">removeExtra</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#removeGroup-java.lang.String-">removeGroup</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#setHidden-boolean-">setHidden</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#setMotd-java.lang.String-">setMotd</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#setRestricted-boolean-">setRestricted</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#setSubData-net.ME1312.SubServers.Bungee.Network.Client-">setSubData</a></code></li> <code><a href="../../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#addExtra-java.lang.String-java.lang.Object-">addExtra</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#addGroup-java.lang.String-">addGroup</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#getDisplayName--">getDisplayName</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#getExtra--">getExtra</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#getExtra-java.lang.String-">getExtra</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#getGlobalPlayers--">getGlobalPlayers</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#getGroups--">getGroups</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#getMotd--">getMotd</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#getSignature--">getSignature</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#getSubData--">getSubData</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#hasExtra-java.lang.String-">hasExtra</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#isHidden--">isHidden</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#isRestricted--">isRestricted</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#removeExtra-java.lang.String-">removeExtra</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#removeGroup-java.lang.String-">removeGroup</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#setHidden-boolean-">setHidden</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#setMotd-java.lang.String-">setMotd</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#setRestricted-boolean-">setRestricted</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#setSubData-net.ME1312.SubServers.Bungee.Network.Client-">setSubData</a></code></li>
</ul> </ul>
<ul class="blockList"> <ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.net.md_5.bungee.BungeeServerInfo"> <li class="blockList"><a name="methods.inherited.from.class.net.md_5.bungee.BungeeServerInfo">
@ -378,7 +378,7 @@ extends <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/SubServerCo
<!-- --> <!-- -->
</a> </a>
<h3>Methods inherited from interface&nbsp;net.ME1312.SubServers.Bungee.Host.<a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Server.html" title="interface in net.ME1312.SubServers.Bungee.Host">Server</a></h3> <h3>Methods inherited from interface&nbsp;net.ME1312.SubServers.Bungee.Host.<a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Server.html" title="interface in net.ME1312.SubServers.Bungee.Host">Server</a></h3>
<code><a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#addGroup-java.lang.String-">addGroup</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#getDisplayName--">getDisplayName</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#getGroups--">getGroups</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#getMotd--">getMotd</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#getSignature--">getSignature</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#isHidden--">isHidden</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#isRestricted--">isRestricted</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#removeGroup-java.lang.String-">removeGroup</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#setHidden-boolean-">setHidden</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#setMotd-java.lang.String-">setMotd</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#setRestricted-boolean-">setRestricted</a></code></li> <code><a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#addGroup-java.lang.String-">addGroup</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#getDisplayName--">getDisplayName</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#getGlobalPlayers--">getGlobalPlayers</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#getGroups--">getGroups</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#getMotd--">getMotd</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#getSignature--">getSignature</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#isHidden--">isHidden</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#isRestricted--">isRestricted</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#removeGroup-java.lang.String-">removeGroup</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#setHidden-boolean-">setHidden</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#setMotd-java.lang.String-">setMotd</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#setRestricted-boolean-">setRestricted</a></code></li>
</ul> </ul>
<ul class="blockList"> <ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.net.md_5.bungee.api.config.ServerInfo"> <li class="blockList"><a name="methods.inherited.from.class.net.md_5.bungee.api.config.ServerInfo">

View File

@ -359,7 +359,7 @@ extends <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/SubServerCo
<!-- --> <!-- -->
</a> </a>
<h3>Methods inherited from class&nbsp;net.ME1312.SubServers.Bungee.Host.<a href="../../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html" title="class in net.ME1312.SubServers.Bungee.Host">ServerContainer</a></h3> <h3>Methods inherited from class&nbsp;net.ME1312.SubServers.Bungee.Host.<a href="../../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html" title="class in net.ME1312.SubServers.Bungee.Host">ServerContainer</a></h3>
<code><a href="../../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#addExtra-java.lang.String-java.lang.Object-">addExtra</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#addGroup-java.lang.String-">addGroup</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#getDisplayName--">getDisplayName</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#getExtra--">getExtra</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#getExtra-java.lang.String-">getExtra</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#getGroups--">getGroups</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#getMotd--">getMotd</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#getSignature--">getSignature</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#getSubData--">getSubData</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#hasExtra-java.lang.String-">hasExtra</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#isHidden--">isHidden</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#isRestricted--">isRestricted</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#removeExtra-java.lang.String-">removeExtra</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#removeGroup-java.lang.String-">removeGroup</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#setHidden-boolean-">setHidden</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#setMotd-java.lang.String-">setMotd</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#setRestricted-boolean-">setRestricted</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#setSubData-net.ME1312.SubServers.Bungee.Network.Client-">setSubData</a></code></li> <code><a href="../../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#addExtra-java.lang.String-java.lang.Object-">addExtra</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#addGroup-java.lang.String-">addGroup</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#getDisplayName--">getDisplayName</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#getExtra--">getExtra</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#getExtra-java.lang.String-">getExtra</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#getGlobalPlayers--">getGlobalPlayers</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#getGroups--">getGroups</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#getMotd--">getMotd</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#getSignature--">getSignature</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#getSubData--">getSubData</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#hasExtra-java.lang.String-">hasExtra</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#isHidden--">isHidden</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#isRestricted--">isRestricted</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#removeExtra-java.lang.String-">removeExtra</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#removeGroup-java.lang.String-">removeGroup</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#setHidden-boolean-">setHidden</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#setMotd-java.lang.String-">setMotd</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#setRestricted-boolean-">setRestricted</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#setSubData-net.ME1312.SubServers.Bungee.Network.Client-">setSubData</a></code></li>
</ul> </ul>
<ul class="blockList"> <ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.net.md_5.bungee.BungeeServerInfo"> <li class="blockList"><a name="methods.inherited.from.class.net.md_5.bungee.BungeeServerInfo">
@ -380,7 +380,7 @@ extends <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/SubServerCo
<!-- --> <!-- -->
</a> </a>
<h3>Methods inherited from interface&nbsp;net.ME1312.SubServers.Bungee.Host.<a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Server.html" title="interface in net.ME1312.SubServers.Bungee.Host">Server</a></h3> <h3>Methods inherited from interface&nbsp;net.ME1312.SubServers.Bungee.Host.<a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Server.html" title="interface in net.ME1312.SubServers.Bungee.Host">Server</a></h3>
<code><a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#addGroup-java.lang.String-">addGroup</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#getDisplayName--">getDisplayName</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#getGroups--">getGroups</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#getMotd--">getMotd</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#getSignature--">getSignature</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#isHidden--">isHidden</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#isRestricted--">isRestricted</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#removeGroup-java.lang.String-">removeGroup</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#setHidden-boolean-">setHidden</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#setMotd-java.lang.String-">setMotd</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#setRestricted-boolean-">setRestricted</a></code></li> <code><a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#addGroup-java.lang.String-">addGroup</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#getDisplayName--">getDisplayName</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#getGlobalPlayers--">getGlobalPlayers</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#getGroups--">getGroups</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#getMotd--">getMotd</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#getSignature--">getSignature</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#isHidden--">isHidden</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#isRestricted--">isRestricted</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#removeGroup-java.lang.String-">removeGroup</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#setHidden-boolean-">setHidden</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#setMotd-java.lang.String-">setMotd</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#setRestricted-boolean-">setRestricted</a></code></li>
</ul> </ul>
<ul class="blockList"> <ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.net.md_5.bungee.api.config.ServerInfo"> <li class="blockList"><a name="methods.inherited.from.class.net.md_5.bungee.api.config.ServerInfo">

View File

@ -17,7 +17,7 @@
catch(err) { catch(err) {
} }
//--> //-->
var methods = {"i0":6,"i1":6,"i2":6,"i3":6,"i4":6,"i5":6,"i6":6,"i7":6,"i8":6,"i9":6,"i10":6,"i11":6}; var methods = {"i0":6,"i1":6,"i2":6,"i3":6,"i4":6,"i5":6,"i6":6,"i7":6,"i8":6,"i9":6,"i10":6,"i11":6,"i12":6};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"]}; var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"]};
var altColor = "altColor"; var altColor = "altColor";
var rowColor = "rowColor"; var rowColor = "rowColor";
@ -145,60 +145,66 @@ extends net.md_5.bungee.api.config.ServerInfo, <a href="../../../../../net/ME131
</td> </td>
</tr> </tr>
<tr id="i2" class="altColor"> <tr id="i2" class="altColor">
<td class="colFirst"><code>java.util.Collection&lt;<a href="../../../../../net/ME1312/SubServers/Bungee/Library/NamedContainer.html" title="class in net.ME1312.SubServers.Bungee.Library">NamedContainer</a>&lt;java.lang.String,java.util.UUID&gt;&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#getGlobalPlayers--">getGlobalPlayers</a></span>()</code>
<div class="block">Get players on this server across all known proxies</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>java.util.List&lt;java.lang.String&gt;</code></td> <td class="colFirst"><code>java.util.List&lt;java.lang.String&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#getGroups--">getGroups</a></span>()</code> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#getGroups--">getGroups</a></span>()</code>
<div class="block">Get this Server's Groups</div> <div class="block">Get this Server's Groups</div>
</td> </td>
</tr> </tr>
<tr id="i3" class="rowColor"> <tr id="i4" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td> <td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#getMotd--">getMotd</a></span>()</code> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#getMotd--">getMotd</a></span>()</code>
<div class="block">Gets the MOTD of the Server</div> <div class="block">Gets the MOTD of the Server</div>
</td> </td>
</tr> </tr>
<tr id="i4" class="altColor"> <tr id="i5" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td> <td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#getSignature--">getSignature</a></span>()</code> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#getSignature--">getSignature</a></span>()</code>
<div class="block">Get the Signature of this Object</div> <div class="block">Get the Signature of this Object</div>
</td> </td>
</tr> </tr>
<tr id="i5" class="rowColor"> <tr id="i6" class="altColor">
<td class="colFirst"><code>boolean</code></td> <td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#isHidden--">isHidden</a></span>()</code> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#isHidden--">isHidden</a></span>()</code>
<div class="block">If the server is hidden from players</div> <div class="block">If the server is hidden from players</div>
</td> </td>
</tr> </tr>
<tr id="i6" class="altColor"> <tr id="i7" class="rowColor">
<td class="colFirst"><code>boolean</code></td> <td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#isRestricted--">isRestricted</a></span>()</code> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#isRestricted--">isRestricted</a></span>()</code>
<div class="block">Gets if the Server is Restricted</div> <div class="block">Gets if the Server is Restricted</div>
</td> </td>
</tr> </tr>
<tr id="i7" class="rowColor"> <tr id="i8" class="altColor">
<td class="colFirst"><code>void</code></td> <td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#removeGroup-java.lang.String-">removeGroup</a></span>(java.lang.String&nbsp;value)</code> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#removeGroup-java.lang.String-">removeGroup</a></span>(java.lang.String&nbsp;value)</code>
<div class="block">Remove this Server from a Group</div> <div class="block">Remove this Server from a Group</div>
</td> </td>
</tr> </tr>
<tr id="i8" class="altColor"> <tr id="i9" class="rowColor">
<td class="colFirst"><code>void</code></td> <td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#setDisplayName-java.lang.String-">setDisplayName</a></span>(java.lang.String&nbsp;value)</code> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#setDisplayName-java.lang.String-">setDisplayName</a></span>(java.lang.String&nbsp;value)</code>
<div class="block">Sets the Display Name for this Server</div> <div class="block">Sets the Display Name for this Server</div>
</td> </td>
</tr> </tr>
<tr id="i9" class="rowColor"> <tr id="i10" class="altColor">
<td class="colFirst"><code>void</code></td> <td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#setHidden-boolean-">setHidden</a></span>(boolean&nbsp;value)</code> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#setHidden-boolean-">setHidden</a></span>(boolean&nbsp;value)</code>
<div class="block">Set if the server is hidden from players</div> <div class="block">Set if the server is hidden from players</div>
</td> </td>
</tr> </tr>
<tr id="i10" class="altColor"> <tr id="i11" class="rowColor">
<td class="colFirst"><code>void</code></td> <td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#setMotd-java.lang.String-">setMotd</a></span>(java.lang.String&nbsp;value)</code> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#setMotd-java.lang.String-">setMotd</a></span>(java.lang.String&nbsp;value)</code>
<div class="block">Sets the MOTD of the Server</div> <div class="block">Sets the MOTD of the Server</div>
</td> </td>
</tr> </tr>
<tr id="i11" class="rowColor"> <tr id="i12" class="altColor">
<td class="colFirst"><code>void</code></td> <td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#setRestricted-boolean-">setRestricted</a></span>(boolean&nbsp;value)</code> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#setRestricted-boolean-">setRestricted</a></span>(boolean&nbsp;value)</code>
<div class="block">Sets if the Server is Restricted</div> <div class="block">Sets if the Server is Restricted</div>
@ -310,6 +316,20 @@ extends net.md_5.bungee.api.config.ServerInfo, <a href="../../../../../net/ME131
</dl> </dl>
</li> </li>
</ul> </ul>
<a name="getGlobalPlayers--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getGlobalPlayers</h4>
<pre>java.util.Collection&lt;<a href="../../../../../net/ME1312/SubServers/Bungee/Library/NamedContainer.html" title="class in net.ME1312.SubServers.Bungee.Library">NamedContainer</a>&lt;java.lang.String,java.util.UUID&gt;&gt;&nbsp;getGlobalPlayers()</pre>
<div class="block">Get players on this server across all known proxies</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Player Collection</dd>
</dl>
</li>
</ul>
<a name="isHidden--"> <a name="isHidden--">
<!-- --> <!-- -->
</a> </a>

View File

@ -17,7 +17,7 @@
catch(err) { catch(err) {
} }
//--> //-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10}; var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor"; var altColor = "altColor";
var rowColor = "rowColor"; var rowColor = "rowColor";
@ -195,90 +195,96 @@ implements <a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html
</td> </td>
</tr> </tr>
<tr id="i5" class="rowColor"> <tr id="i5" class="rowColor">
<td class="colFirst"><code>java.util.Collection&lt;<a href="../../../../../net/ME1312/SubServers/Bungee/Library/NamedContainer.html" title="class in net.ME1312.SubServers.Bungee.Library">NamedContainer</a>&lt;java.lang.String,java.util.UUID&gt;&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#getGlobalPlayers--">getGlobalPlayers</a></span>()</code>
<div class="block">Get players on this server across all known proxies</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>java.util.List&lt;java.lang.String&gt;</code></td> <td class="colFirst"><code>java.util.List&lt;java.lang.String&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#getGroups--">getGroups</a></span>()</code> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#getGroups--">getGroups</a></span>()</code>
<div class="block">Get this Server's Groups</div> <div class="block">Get this Server's Groups</div>
</td> </td>
</tr> </tr>
<tr id="i6" class="altColor"> <tr id="i7" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td> <td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#getMotd--">getMotd</a></span>()</code> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#getMotd--">getMotd</a></span>()</code>
<div class="block">Gets the MOTD of the Server</div> <div class="block">Gets the MOTD of the Server</div>
</td> </td>
</tr> </tr>
<tr id="i7" class="rowColor"> <tr id="i8" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td> <td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#getSignature--">getSignature</a></span>()</code> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#getSignature--">getSignature</a></span>()</code>
<div class="block">Get the Signature of this Object</div> <div class="block">Get the Signature of this Object</div>
</td> </td>
</tr> </tr>
<tr id="i8" class="altColor"> <tr id="i9" class="rowColor">
<td class="colFirst"><code><a href="../../../../../net/ME1312/SubServers/Bungee/Network/Client.html" title="class in net.ME1312.SubServers.Bungee.Network">Client</a></code></td> <td class="colFirst"><code><a href="../../../../../net/ME1312/SubServers/Bungee/Network/Client.html" title="class in net.ME1312.SubServers.Bungee.Network">Client</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#getSubData--">getSubData</a></span>()</code> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#getSubData--">getSubData</a></span>()</code>
<div class="block">Gets the SubData Client</div> <div class="block">Gets the SubData Client</div>
</td> </td>
</tr> </tr>
<tr id="i9" class="rowColor"> <tr id="i10" class="altColor">
<td class="colFirst"><code>boolean</code></td> <td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#hasExtra-java.lang.String-">hasExtra</a></span>(java.lang.String&nbsp;handle)</code> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#hasExtra-java.lang.String-">hasExtra</a></span>(java.lang.String&nbsp;handle)</code>
<div class="block">Determine if an extra value exists</div> <div class="block">Determine if an extra value exists</div>
</td> </td>
</tr> </tr>
<tr id="i10" class="altColor"> <tr id="i11" class="rowColor">
<td class="colFirst"><code>boolean</code></td> <td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#isHidden--">isHidden</a></span>()</code> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#isHidden--">isHidden</a></span>()</code>
<div class="block">If the server is hidden from players</div> <div class="block">If the server is hidden from players</div>
</td> </td>
</tr> </tr>
<tr id="i11" class="rowColor"> <tr id="i12" class="altColor">
<td class="colFirst"><code>boolean</code></td> <td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#isRestricted--">isRestricted</a></span>()</code> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#isRestricted--">isRestricted</a></span>()</code>
<div class="block">Gets if the Server is Restricted</div> <div class="block">Gets if the Server is Restricted</div>
</td> </td>
</tr> </tr>
<tr id="i12" class="altColor"> <tr id="i13" class="rowColor">
<td class="colFirst"><code>void</code></td> <td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#removeExtra-java.lang.String-">removeExtra</a></span>(java.lang.String&nbsp;handle)</code> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#removeExtra-java.lang.String-">removeExtra</a></span>(java.lang.String&nbsp;handle)</code>
<div class="block">Remove an extra value from this Server</div> <div class="block">Remove an extra value from this Server</div>
</td> </td>
</tr> </tr>
<tr id="i13" class="rowColor"> <tr id="i14" class="altColor">
<td class="colFirst"><code>void</code></td> <td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#removeGroup-java.lang.String-">removeGroup</a></span>(java.lang.String&nbsp;value)</code> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#removeGroup-java.lang.String-">removeGroup</a></span>(java.lang.String&nbsp;value)</code>
<div class="block">Remove this Server from a Group</div> <div class="block">Remove this Server from a Group</div>
</td> </td>
</tr> </tr>
<tr id="i14" class="altColor"> <tr id="i15" class="rowColor">
<td class="colFirst"><code>void</code></td> <td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#setDisplayName-java.lang.String-">setDisplayName</a></span>(java.lang.String&nbsp;value)</code> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#setDisplayName-java.lang.String-">setDisplayName</a></span>(java.lang.String&nbsp;value)</code>
<div class="block">Sets the Display Name for this Server</div> <div class="block">Sets the Display Name for this Server</div>
</td> </td>
</tr> </tr>
<tr id="i15" class="rowColor"> <tr id="i16" class="altColor">
<td class="colFirst"><code>void</code></td> <td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#setHidden-boolean-">setHidden</a></span>(boolean&nbsp;value)</code> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#setHidden-boolean-">setHidden</a></span>(boolean&nbsp;value)</code>
<div class="block">Set if the server is hidden from players</div> <div class="block">Set if the server is hidden from players</div>
</td> </td>
</tr> </tr>
<tr id="i16" class="altColor"> <tr id="i17" class="rowColor">
<td class="colFirst"><code>void</code></td> <td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#setMotd-java.lang.String-">setMotd</a></span>(java.lang.String&nbsp;value)</code> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#setMotd-java.lang.String-">setMotd</a></span>(java.lang.String&nbsp;value)</code>
<div class="block">Sets the MOTD of the Server</div> <div class="block">Sets the MOTD of the Server</div>
</td> </td>
</tr> </tr>
<tr id="i17" class="rowColor"> <tr id="i18" class="altColor">
<td class="colFirst"><code>void</code></td> <td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#setRestricted-boolean-">setRestricted</a></span>(boolean&nbsp;value)</code> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#setRestricted-boolean-">setRestricted</a></span>(boolean&nbsp;value)</code>
<div class="block">Sets if the Server is Restricted</div> <div class="block">Sets if the Server is Restricted</div>
</td> </td>
</tr> </tr>
<tr id="i18" class="altColor"> <tr id="i19" class="rowColor">
<td class="colFirst"><code>void</code></td> <td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#setSubData-net.ME1312.SubServers.Bungee.Network.Client-">setSubData</a></span>(<a href="../../../../../net/ME1312/SubServers/Bungee/Network/Client.html" title="class in net.ME1312.SubServers.Bungee.Network">Client</a>&nbsp;client)</code> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#setSubData-net.ME1312.SubServers.Bungee.Network.Client-">setSubData</a></span>(<a href="../../../../../net/ME1312/SubServers/Bungee/Network/Client.html" title="class in net.ME1312.SubServers.Bungee.Network">Client</a>&nbsp;client)</code>
<div class="block">Link a SubData Client to this Object</div> <div class="block">Link a SubData Client to this Object</div>
</td> </td>
</tr> </tr>
<tr id="i19" class="rowColor"> <tr id="i20" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td> <td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#toString--">toString</a></span>()</code>&nbsp;</td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#toString--">toString</a></span>()</code>&nbsp;</td>
</tr> </tr>
@ -465,6 +471,23 @@ implements <a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html
</dl> </dl>
</li> </li>
</ul> </ul>
<a name="getGlobalPlayers--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getGlobalPlayers</h4>
<pre>public&nbsp;java.util.Collection&lt;<a href="../../../../../net/ME1312/SubServers/Bungee/Library/NamedContainer.html" title="class in net.ME1312.SubServers.Bungee.Library">NamedContainer</a>&lt;java.lang.String,java.util.UUID&gt;&gt;&nbsp;getGlobalPlayers()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#getGlobalPlayers--">Server</a></code></span></div>
<div class="block">Get players on this server across all known proxies</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#getGlobalPlayers--">getGlobalPlayers</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html" title="interface in net.ME1312.SubServers.Bungee.Host">Server</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Player Collection</dd>
</dl>
</li>
</ul>
<a name="isHidden--"> <a name="isHidden--">
<!-- --> <!-- -->
</a> </a>

View File

@ -361,7 +361,7 @@ extends <a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html" t
<!-- --> <!-- -->
</a> </a>
<h3>Methods inherited from interface&nbsp;net.ME1312.SubServers.Bungee.Host.<a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html" title="interface in net.ME1312.SubServers.Bungee.Host">Server</a></h3> <h3>Methods inherited from interface&nbsp;net.ME1312.SubServers.Bungee.Host.<a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html" title="interface in net.ME1312.SubServers.Bungee.Host">Server</a></h3>
<code><a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#addGroup-java.lang.String-">addGroup</a>, <a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#getDisplayName--">getDisplayName</a>, <a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#getGroups--">getGroups</a>, <a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#getMotd--">getMotd</a>, <a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#getSignature--">getSignature</a>, <a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#isHidden--">isHidden</a>, <a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#isRestricted--">isRestricted</a>, <a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#removeGroup-java.lang.String-">removeGroup</a>, <a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#setDisplayName-java.lang.String-">setDisplayName</a>, <a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#setHidden-boolean-">setHidden</a>, <a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#setMotd-java.lang.String-">setMotd</a>, <a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#setRestricted-boolean-">setRestricted</a></code></li> <code><a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#addGroup-java.lang.String-">addGroup</a>, <a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#getDisplayName--">getDisplayName</a>, <a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#getGlobalPlayers--">getGlobalPlayers</a>, <a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#getGroups--">getGroups</a>, <a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#getMotd--">getMotd</a>, <a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#getSignature--">getSignature</a>, <a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#isHidden--">isHidden</a>, <a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#isRestricted--">isRestricted</a>, <a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#removeGroup-java.lang.String-">removeGroup</a>, <a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#setDisplayName-java.lang.String-">setDisplayName</a>, <a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#setHidden-boolean-">setHidden</a>, <a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#setMotd-java.lang.String-">setMotd</a>, <a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#setRestricted-boolean-">setRestricted</a></code></li>
</ul> </ul>
<ul class="blockList"> <ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.net.md_5.bungee.api.config.ServerInfo"> <li class="blockList"><a name="methods.inherited.from.class.net.md_5.bungee.api.config.ServerInfo">

View File

@ -256,7 +256,7 @@ implements <a href="../../../../../net/ME1312/SubServers/Bungee/Host/SubServer.h
<!-- --> <!-- -->
</a> </a>
<h3>Methods inherited from class&nbsp;net.ME1312.SubServers.Bungee.Host.<a href="../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html" title="class in net.ME1312.SubServers.Bungee.Host">ServerContainer</a></h3> <h3>Methods inherited from class&nbsp;net.ME1312.SubServers.Bungee.Host.<a href="../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html" title="class in net.ME1312.SubServers.Bungee.Host">ServerContainer</a></h3>
<code><a href="../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#addExtra-java.lang.String-java.lang.Object-">addExtra</a>, <a href="../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#addGroup-java.lang.String-">addGroup</a>, <a href="../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#getDisplayName--">getDisplayName</a>, <a href="../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#getExtra--">getExtra</a>, <a href="../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#getExtra-java.lang.String-">getExtra</a>, <a href="../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#getGroups--">getGroups</a>, <a href="../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#getMotd--">getMotd</a>, <a href="../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#getSignature--">getSignature</a>, <a href="../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#getSubData--">getSubData</a>, <a href="../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#hasExtra-java.lang.String-">hasExtra</a>, <a href="../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#isHidden--">isHidden</a>, <a href="../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#isRestricted--">isRestricted</a>, <a href="../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#removeExtra-java.lang.String-">removeExtra</a>, <a href="../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#removeGroup-java.lang.String-">removeGroup</a>, <a href="../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#setDisplayName-java.lang.String-">setDisplayName</a>, <a href="../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#setHidden-boolean-">setHidden</a>, <a href="../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#setMotd-java.lang.String-">setMotd</a>, <a href="../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#setRestricted-boolean-">setRestricted</a>, <a href="../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#setSubData-net.ME1312.SubServers.Bungee.Network.Client-">setSubData</a></code></li> <code><a href="../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#addExtra-java.lang.String-java.lang.Object-">addExtra</a>, <a href="../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#addGroup-java.lang.String-">addGroup</a>, <a href="../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#getDisplayName--">getDisplayName</a>, <a href="../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#getExtra--">getExtra</a>, <a href="../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#getExtra-java.lang.String-">getExtra</a>, <a href="../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#getGlobalPlayers--">getGlobalPlayers</a>, <a href="../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#getGroups--">getGroups</a>, <a href="../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#getMotd--">getMotd</a>, <a href="../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#getSignature--">getSignature</a>, <a href="../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#getSubData--">getSubData</a>, <a href="../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#hasExtra-java.lang.String-">hasExtra</a>, <a href="../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#isHidden--">isHidden</a>, <a href="../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#isRestricted--">isRestricted</a>, <a href="../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#removeExtra-java.lang.String-">removeExtra</a>, <a href="../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#removeGroup-java.lang.String-">removeGroup</a>, <a href="../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#setDisplayName-java.lang.String-">setDisplayName</a>, <a href="../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#setHidden-boolean-">setHidden</a>, <a href="../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#setMotd-java.lang.String-">setMotd</a>, <a href="../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#setRestricted-boolean-">setRestricted</a>, <a href="../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#setSubData-net.ME1312.SubServers.Bungee.Network.Client-">setSubData</a></code></li>
</ul> </ul>
<ul class="blockList"> <ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.net.md_5.bungee.BungeeServerInfo"> <li class="blockList"><a name="methods.inherited.from.class.net.md_5.bungee.BungeeServerInfo">
@ -284,7 +284,7 @@ implements <a href="../../../../../net/ME1312/SubServers/Bungee/Host/SubServer.h
<!-- --> <!-- -->
</a> </a>
<h3>Methods inherited from interface&nbsp;net.ME1312.SubServers.Bungee.Host.<a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html" title="interface in net.ME1312.SubServers.Bungee.Host">Server</a></h3> <h3>Methods inherited from interface&nbsp;net.ME1312.SubServers.Bungee.Host.<a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html" title="interface in net.ME1312.SubServers.Bungee.Host">Server</a></h3>
<code><a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#addGroup-java.lang.String-">addGroup</a>, <a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#getDisplayName--">getDisplayName</a>, <a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#getGroups--">getGroups</a>, <a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#getMotd--">getMotd</a>, <a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#getSignature--">getSignature</a>, <a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#isHidden--">isHidden</a>, <a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#isRestricted--">isRestricted</a>, <a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#removeGroup-java.lang.String-">removeGroup</a>, <a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#setDisplayName-java.lang.String-">setDisplayName</a>, <a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#setHidden-boolean-">setHidden</a>, <a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#setMotd-java.lang.String-">setMotd</a>, <a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#setRestricted-boolean-">setRestricted</a></code></li> <code><a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#addGroup-java.lang.String-">addGroup</a>, <a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#getDisplayName--">getDisplayName</a>, <a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#getGlobalPlayers--">getGlobalPlayers</a>, <a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#getGroups--">getGroups</a>, <a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#getMotd--">getMotd</a>, <a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#getSignature--">getSignature</a>, <a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#isHidden--">isHidden</a>, <a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#isRestricted--">isRestricted</a>, <a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#removeGroup-java.lang.String-">removeGroup</a>, <a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#setDisplayName-java.lang.String-">setDisplayName</a>, <a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#setHidden-boolean-">setHidden</a>, <a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#setMotd-java.lang.String-">setMotd</a>, <a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html#setRestricted-boolean-">setRestricted</a></code></li>
</ul> </ul>
<ul class="blockList"> <ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.net.md_5.bungee.api.config.ServerInfo"> <li class="blockList"><a name="methods.inherited.from.class.net.md_5.bungee.api.config.ServerInfo">

View File

@ -17,7 +17,7 @@
catch(err) { catch(err) {
} }
//--> //-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":9,"i18":42,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10}; var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":9,"i19":42,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10};
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]}; var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]};
var altColor = "altColor"; var altColor = "altColor";
var rowColor = "rowColor"; var rowColor = "rowColor";
@ -227,42 +227,48 @@ extends java.lang.Object</pre>
</td> </td>
</tr> </tr>
<tr id="i12" class="altColor"> <tr id="i12" class="altColor">
<td class="colFirst"><code>java.util.Collection&lt;<a href="../../../../net/ME1312/SubServers/Bungee/Library/NamedContainer.html" title="class in net.ME1312.SubServers.Bungee.Library">NamedContainer</a>&lt;java.lang.String,java.util.UUID&gt;&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/ME1312/SubServers/Bungee/SubAPI.html#getGlobalPlayers--">getGlobalPlayers</a></span>()</code>
<div class="block">Get players on this network across all known proxies</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code>java.util.List&lt;<a href="../../../../net/ME1312/SubServers/Bungee/Host/Server.html" title="interface in net.ME1312.SubServers.Bungee.Host">Server</a>&gt;</code></td> <td class="colFirst"><code>java.util.List&lt;<a href="../../../../net/ME1312/SubServers/Bungee/Host/Server.html" title="interface in net.ME1312.SubServers.Bungee.Host">Server</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/ME1312/SubServers/Bungee/SubAPI.html#getGroup-java.lang.String-">getGroup</a></span>(java.lang.String&nbsp;name)</code> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/ME1312/SubServers/Bungee/SubAPI.html#getGroup-java.lang.String-">getGroup</a></span>(java.lang.String&nbsp;name)</code>
<div class="block">Gets a Server Group (Group names are case insensitive here)</div> <div class="block">Gets a Server Group (Group names are case insensitive here)</div>
</td> </td>
</tr> </tr>
<tr id="i13" class="rowColor"> <tr id="i14" class="altColor">
<td class="colFirst"><code>java.util.Map&lt;java.lang.String,java.util.List&lt;<a href="../../../../net/ME1312/SubServers/Bungee/Host/Server.html" title="interface in net.ME1312.SubServers.Bungee.Host">Server</a>&gt;&gt;</code></td> <td class="colFirst"><code>java.util.Map&lt;java.lang.String,java.util.List&lt;<a href="../../../../net/ME1312/SubServers/Bungee/Host/Server.html" title="interface in net.ME1312.SubServers.Bungee.Host">Server</a>&gt;&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/ME1312/SubServers/Bungee/SubAPI.html#getGroups--">getGroups</a></span>()</code> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/ME1312/SubServers/Bungee/SubAPI.html#getGroups--">getGroups</a></span>()</code>
<div class="block">Gets the Server Groups (Group names are case sensitive here)</div> <div class="block">Gets the Server Groups (Group names are case sensitive here)</div>
</td> </td>
</tr> </tr>
<tr id="i14" class="altColor"> <tr id="i15" class="rowColor">
<td class="colFirst"><code><a href="../../../../net/ME1312/SubServers/Bungee/Host/Host.html" title="class in net.ME1312.SubServers.Bungee.Host">Host</a></code></td> <td class="colFirst"><code><a href="../../../../net/ME1312/SubServers/Bungee/Host/Host.html" title="class in net.ME1312.SubServers.Bungee.Host">Host</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/ME1312/SubServers/Bungee/SubAPI.html#getHost-java.lang.String-">getHost</a></span>(java.lang.String&nbsp;name)</code> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/ME1312/SubServers/Bungee/SubAPI.html#getHost-java.lang.String-">getHost</a></span>(java.lang.String&nbsp;name)</code>
<div class="block">Gets a Host</div> <div class="block">Gets a Host</div>
</td> </td>
</tr> </tr>
<tr id="i15" class="rowColor"> <tr id="i16" class="altColor">
<td class="colFirst"><code>java.util.List&lt;java.lang.String&gt;</code></td> <td class="colFirst"><code>java.util.List&lt;java.lang.String&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/ME1312/SubServers/Bungee/SubAPI.html#getHostDrivers--">getHostDrivers</a></span>()</code> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/ME1312/SubServers/Bungee/SubAPI.html#getHostDrivers--">getHostDrivers</a></span>()</code>
<div class="block">Get a list of all available Host Drivers</div> <div class="block">Get a list of all available Host Drivers</div>
</td> </td>
</tr> </tr>
<tr id="i16" class="altColor"> <tr id="i17" class="rowColor">
<td class="colFirst"><code>java.util.Map&lt;java.lang.String,<a href="../../../../net/ME1312/SubServers/Bungee/Host/Host.html" title="class in net.ME1312.SubServers.Bungee.Host">Host</a>&gt;</code></td> <td class="colFirst"><code>java.util.Map&lt;java.lang.String,<a href="../../../../net/ME1312/SubServers/Bungee/Host/Host.html" title="class in net.ME1312.SubServers.Bungee.Host">Host</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/ME1312/SubServers/Bungee/SubAPI.html#getHosts--">getHosts</a></span>()</code> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/ME1312/SubServers/Bungee/SubAPI.html#getHosts--">getHosts</a></span>()</code>
<div class="block">Gets the Hosts</div> <div class="block">Gets the Hosts</div>
</td> </td>
</tr> </tr>
<tr id="i17" class="rowColor"> <tr id="i18" class="altColor">
<td class="colFirst"><code>static <a href="../../../../net/ME1312/SubServers/Bungee/SubAPI.html" title="class in net.ME1312.SubServers.Bungee">SubAPI</a></code></td> <td class="colFirst"><code>static <a href="../../../../net/ME1312/SubServers/Bungee/SubAPI.html" title="class in net.ME1312.SubServers.Bungee">SubAPI</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/ME1312/SubServers/Bungee/SubAPI.html#getInstance--">getInstance</a></span>()</code> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/ME1312/SubServers/Bungee/SubAPI.html#getInstance--">getInstance</a></span>()</code>
<div class="block">Gets the SubAPI Methods</div> <div class="block">Gets the SubAPI Methods</div>
</td> </td>
</tr> </tr>
<tr id="i18" class="altColor"> <tr id="i19" class="rowColor">
<td class="colFirst"><code><a href="../../../../net/ME1312/SubServers/Bungee/SubPlugin.html" title="class in net.ME1312.SubServers.Bungee">SubPlugin</a></code></td> <td class="colFirst"><code><a href="../../../../net/ME1312/SubServers/Bungee/SubPlugin.html" title="class in net.ME1312.SubServers.Bungee">SubPlugin</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/ME1312/SubServers/Bungee/SubAPI.html#getInternals--">getInternals</a></span>()</code> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/ME1312/SubServers/Bungee/SubAPI.html#getInternals--">getInternals</a></span>()</code>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp; <div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;
@ -270,99 +276,99 @@ extends java.lang.Object</pre>
</div> </div>
</td> </td>
</tr> </tr>
<tr id="i19" class="rowColor"> <tr id="i20" class="altColor">
<td class="colFirst"><code>java.util.Map&lt;java.lang.String,java.lang.String&gt;</code></td> <td class="colFirst"><code>java.util.Map&lt;java.lang.String,java.lang.String&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/ME1312/SubServers/Bungee/SubAPI.html#getLang--">getLang</a></span>()</code> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/ME1312/SubServers/Bungee/SubAPI.html#getLang--">getLang</a></span>()</code>
<div class="block">Gets the SubServers Lang</div> <div class="block">Gets the SubServers Lang</div>
</td> </td>
</tr> </tr>
<tr id="i20" class="altColor"> <tr id="i21" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td> <td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/ME1312/SubServers/Bungee/SubAPI.html#getLang-java.lang.String-">getLang</a></span>(java.lang.String&nbsp;key)</code> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/ME1312/SubServers/Bungee/SubAPI.html#getLang-java.lang.String-">getLang</a></span>(java.lang.String&nbsp;key)</code>
<div class="block">Gets a value from the SubServers Lang</div> <div class="block">Gets a value from the SubServers Lang</div>
</td> </td>
</tr> </tr>
<tr id="i21" class="rowColor"> <tr id="i22" class="altColor">
<td class="colFirst"><code>java.util.Map&lt;java.lang.String,java.util.List&lt;<a href="../../../../net/ME1312/SubServers/Bungee/Host/Server.html" title="interface in net.ME1312.SubServers.Bungee.Host">Server</a>&gt;&gt;</code></td> <td class="colFirst"><code>java.util.Map&lt;java.lang.String,java.util.List&lt;<a href="../../../../net/ME1312/SubServers/Bungee/Host/Server.html" title="interface in net.ME1312.SubServers.Bungee.Host">Server</a>&gt;&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/ME1312/SubServers/Bungee/SubAPI.html#getLowercaseGroups--">getLowercaseGroups</a></span>()</code> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/ME1312/SubServers/Bungee/SubAPI.html#getLowercaseGroups--">getLowercaseGroups</a></span>()</code>
<div class="block">Gets the Server Groups (Group names are all lowercase here)</div> <div class="block">Gets the Server Groups (Group names are all lowercase here)</div>
</td> </td>
</tr> </tr>
<tr id="i22" class="altColor"> <tr id="i23" class="rowColor">
<td class="colFirst"><code><a href="../../../../net/ME1312/SubServers/Bungee/Library/Version/Version.html" title="class in net.ME1312.SubServers.Bungee.Library.Version">Version</a></code></td> <td class="colFirst"><code><a href="../../../../net/ME1312/SubServers/Bungee/Library/Version/Version.html" title="class in net.ME1312.SubServers.Bungee.Library.Version">Version</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/ME1312/SubServers/Bungee/SubAPI.html#getProxyVersion--">getProxyVersion</a></span>()</code> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/ME1312/SubServers/Bungee/SubAPI.html#getProxyVersion--">getProxyVersion</a></span>()</code>
<div class="block">Gets the BungeeCord Version</div> <div class="block">Gets the BungeeCord Version</div>
</td> </td>
</tr> </tr>
<tr id="i23" class="rowColor"> <tr id="i24" class="altColor">
<td class="colFirst"><code><a href="../../../../net/ME1312/SubServers/Bungee/Library/UniversalFile.html" title="class in net.ME1312.SubServers.Bungee.Library">UniversalFile</a></code></td> <td class="colFirst"><code><a href="../../../../net/ME1312/SubServers/Bungee/Library/UniversalFile.html" title="class in net.ME1312.SubServers.Bungee.Library">UniversalFile</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/ME1312/SubServers/Bungee/SubAPI.html#getRuntimeDirectory--">getRuntimeDirectory</a></span>()</code> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/ME1312/SubServers/Bungee/SubAPI.html#getRuntimeDirectory--">getRuntimeDirectory</a></span>()</code>
<div class="block">Gets the Runtime Directory</div> <div class="block">Gets the Runtime Directory</div>
</td> </td>
</tr> </tr>
<tr id="i24" class="altColor"> <tr id="i25" class="rowColor">
<td class="colFirst"><code><a href="../../../../net/ME1312/SubServers/Bungee/Host/Server.html" title="interface in net.ME1312.SubServers.Bungee.Host">Server</a></code></td> <td class="colFirst"><code><a href="../../../../net/ME1312/SubServers/Bungee/Host/Server.html" title="interface in net.ME1312.SubServers.Bungee.Host">Server</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/ME1312/SubServers/Bungee/SubAPI.html#getServer-java.lang.String-">getServer</a></span>(java.lang.String&nbsp;name)</code> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/ME1312/SubServers/Bungee/SubAPI.html#getServer-java.lang.String-">getServer</a></span>(java.lang.String&nbsp;name)</code>
<div class="block">Gets a Server</div> <div class="block">Gets a Server</div>
</td> </td>
</tr> </tr>
<tr id="i25" class="rowColor"> <tr id="i26" class="altColor">
<td class="colFirst"><code>java.util.Map&lt;java.lang.String,<a href="../../../../net/ME1312/SubServers/Bungee/Host/Server.html" title="interface in net.ME1312.SubServers.Bungee.Host">Server</a>&gt;</code></td> <td class="colFirst"><code>java.util.Map&lt;java.lang.String,<a href="../../../../net/ME1312/SubServers/Bungee/Host/Server.html" title="interface in net.ME1312.SubServers.Bungee.Host">Server</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/ME1312/SubServers/Bungee/SubAPI.html#getServers--">getServers</a></span>()</code> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/ME1312/SubServers/Bungee/SubAPI.html#getServers--">getServers</a></span>()</code>
<div class="block">Gets the Servers (including SubServers)</div> <div class="block">Gets the Servers (including SubServers)</div>
</td> </td>
</tr> </tr>
<tr id="i26" class="altColor"> <tr id="i27" class="rowColor">
<td class="colFirst"><code><a href="../../../../net/ME1312/SubServers/Bungee/Network/SubDataServer.html" title="class in net.ME1312.SubServers.Bungee.Network">SubDataServer</a></code></td> <td class="colFirst"><code><a href="../../../../net/ME1312/SubServers/Bungee/Network/SubDataServer.html" title="class in net.ME1312.SubServers.Bungee.Network">SubDataServer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/ME1312/SubServers/Bungee/SubAPI.html#getSubDataNetwork--">getSubDataNetwork</a></span>()</code> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/ME1312/SubServers/Bungee/SubAPI.html#getSubDataNetwork--">getSubDataNetwork</a></span>()</code>
<div class="block">Gets the SubData Network Manager</div> <div class="block">Gets the SubData Network Manager</div>
</td> </td>
</tr> </tr>
<tr id="i27" class="rowColor"> <tr id="i28" class="altColor">
<td class="colFirst"><code><a href="../../../../net/ME1312/SubServers/Bungee/Host/SubServer.html" title="interface in net.ME1312.SubServers.Bungee.Host">SubServer</a></code></td> <td class="colFirst"><code><a href="../../../../net/ME1312/SubServers/Bungee/Host/SubServer.html" title="interface in net.ME1312.SubServers.Bungee.Host">SubServer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/ME1312/SubServers/Bungee/SubAPI.html#getSubServer-java.lang.String-">getSubServer</a></span>(java.lang.String&nbsp;name)</code> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/ME1312/SubServers/Bungee/SubAPI.html#getSubServer-java.lang.String-">getSubServer</a></span>(java.lang.String&nbsp;name)</code>
<div class="block">Gets a SubServer</div> <div class="block">Gets a SubServer</div>
</td> </td>
</tr> </tr>
<tr id="i28" class="altColor"> <tr id="i29" class="rowColor">
<td class="colFirst"><code>java.util.Map&lt;java.lang.String,<a href="../../../../net/ME1312/SubServers/Bungee/Host/SubServer.html" title="interface in net.ME1312.SubServers.Bungee.Host">SubServer</a>&gt;</code></td> <td class="colFirst"><code>java.util.Map&lt;java.lang.String,<a href="../../../../net/ME1312/SubServers/Bungee/Host/SubServer.html" title="interface in net.ME1312.SubServers.Bungee.Host">SubServer</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/ME1312/SubServers/Bungee/SubAPI.html#getSubServers--">getSubServers</a></span>()</code> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/ME1312/SubServers/Bungee/SubAPI.html#getSubServers--">getSubServers</a></span>()</code>
<div class="block">Gets the SubServers</div> <div class="block">Gets the SubServers</div>
</td> </td>
</tr> </tr>
<tr id="i29" class="rowColor"> <tr id="i30" class="altColor">
<td class="colFirst"><code><a href="../../../../net/ME1312/SubServers/Bungee/Library/Version/Version.html" title="class in net.ME1312.SubServers.Bungee.Library.Version">Version</a></code></td> <td class="colFirst"><code><a href="../../../../net/ME1312/SubServers/Bungee/Library/Version/Version.html" title="class in net.ME1312.SubServers.Bungee.Library.Version">Version</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/ME1312/SubServers/Bungee/SubAPI.html#getWrapperVersion--">getWrapperVersion</a></span>()</code> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/ME1312/SubServers/Bungee/SubAPI.html#getWrapperVersion--">getWrapperVersion</a></span>()</code>
<div class="block">Gets the SubServers Version</div> <div class="block">Gets the SubServers Version</div>
</td> </td>
</tr> </tr>
<tr id="i30" class="altColor"> <tr id="i31" class="rowColor">
<td class="colFirst"><code>boolean</code></td> <td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/ME1312/SubServers/Bungee/SubAPI.html#removeHost-java.lang.String-">removeHost</a></span>(java.lang.String&nbsp;name)</code> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/ME1312/SubServers/Bungee/SubAPI.html#removeHost-java.lang.String-">removeHost</a></span>(java.lang.String&nbsp;name)</code>
<div class="block">Remove a Host from the Network</div> <div class="block">Remove a Host from the Network</div>
</td> </td>
</tr> </tr>
<tr id="i31" class="rowColor"> <tr id="i32" class="altColor">
<td class="colFirst"><code>boolean</code></td> <td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/ME1312/SubServers/Bungee/SubAPI.html#removeHost-java.util.UUID-java.lang.String-">removeHost</a></span>(java.util.UUID&nbsp;player, <td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/ME1312/SubServers/Bungee/SubAPI.html#removeHost-java.util.UUID-java.lang.String-">removeHost</a></span>(java.util.UUID&nbsp;player,
java.lang.String&nbsp;name)</code> java.lang.String&nbsp;name)</code>
<div class="block">Remove a Host from the Network</div> <div class="block">Remove a Host from the Network</div>
</td> </td>
</tr> </tr>
<tr id="i32" class="altColor"> <tr id="i33" class="rowColor">
<td class="colFirst"><code>boolean</code></td> <td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/ME1312/SubServers/Bungee/SubAPI.html#removeServer-java.lang.String-">removeServer</a></span>(java.lang.String&nbsp;name)</code> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/ME1312/SubServers/Bungee/SubAPI.html#removeServer-java.lang.String-">removeServer</a></span>(java.lang.String&nbsp;name)</code>
<div class="block">Remove a Server from the Network</div> <div class="block">Remove a Server from the Network</div>
</td> </td>
</tr> </tr>
<tr id="i33" class="rowColor"> <tr id="i34" class="altColor">
<td class="colFirst"><code>boolean</code></td> <td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/ME1312/SubServers/Bungee/SubAPI.html#removeServer-java.util.UUID-java.lang.String-">removeServer</a></span>(java.util.UUID&nbsp;player, <td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/ME1312/SubServers/Bungee/SubAPI.html#removeServer-java.util.UUID-java.lang.String-">removeServer</a></span>(java.util.UUID&nbsp;player,
java.lang.String&nbsp;name)</code> java.lang.String&nbsp;name)</code>
<div class="block">Remove a Server from the Network</div> <div class="block">Remove a Server from the Network</div>
</td> </td>
</tr> </tr>
<tr id="i34" class="altColor"> <tr id="i35" class="rowColor">
<td class="colFirst"><code>void</code></td> <td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/ME1312/SubServers/Bungee/SubAPI.html#setLang-java.lang.String-java.lang.String-">setLang</a></span>(java.lang.String&nbsp;key, <td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/ME1312/SubServers/Bungee/SubAPI.html#setLang-java.lang.String-java.lang.String-">setLang</a></span>(java.lang.String&nbsp;key,
java.lang.String&nbsp;value)</code> java.lang.String&nbsp;value)</code>
@ -877,6 +883,20 @@ public&nbsp;<a href="../../../../net/ME1312/SubServers/Bungee/SubPlugin.html" ti
</dl> </dl>
</li> </li>
</ul> </ul>
<a name="getGlobalPlayers--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getGlobalPlayers</h4>
<pre>public&nbsp;java.util.Collection&lt;<a href="../../../../net/ME1312/SubServers/Bungee/Library/NamedContainer.html" title="class in net.ME1312.SubServers.Bungee.Library">NamedContainer</a>&lt;java.lang.String,java.util.UUID&gt;&gt;&nbsp;getGlobalPlayers()</pre>
<div class="block">Get players on this network across all known proxies</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Player Collection</dd>
</dl>
</li>
</ul>
<a name="setLang-java.lang.String-java.lang.String-"> <a name="setLang-java.lang.String-java.lang.String-">
<!-- --> <!-- -->
</a> </a>

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -1,10 +1,13 @@
package net.ME1312.SubServers.Bungee.Host; package net.ME1312.SubServers.Bungee.Host;
import net.ME1312.SubServers.Bungee.Library.ExtraDataHandler; import net.ME1312.SubServers.Bungee.Library.ExtraDataHandler;
import net.ME1312.SubServers.Bungee.Library.NamedContainer;
import net.ME1312.SubServers.Bungee.Network.ClientHandler; import net.ME1312.SubServers.Bungee.Network.ClientHandler;
import net.md_5.bungee.api.config.ServerInfo; import net.md_5.bungee.api.config.ServerInfo;
import java.util.Collection;
import java.util.List; import java.util.List;
import java.util.UUID;
/** /**
* Server Interface * Server Interface
@ -46,6 +49,13 @@ public interface Server extends ServerInfo, ClientHandler, ExtraDataHandler {
*/ */
void removeGroup(String value); void removeGroup(String value);
/**
* Get players on this server across all known proxies
*
* @return Player Collection
*/
Collection<NamedContainer<String, UUID>> getGlobalPlayers();
/** /**
* If the server is hidden from players * If the server is hidden from players
* *

View File

@ -11,15 +11,14 @@ import net.ME1312.SubServers.Bungee.Network.Client;
import net.ME1312.SubServers.Bungee.Network.ClientHandler; import net.ME1312.SubServers.Bungee.Network.ClientHandler;
import net.ME1312.SubServers.Bungee.Network.SubDataServer; import net.ME1312.SubServers.Bungee.Network.SubDataServer;
import net.ME1312.SubServers.Bungee.SubAPI; import net.ME1312.SubServers.Bungee.SubAPI;
import net.ME1312.SubServers.Bungee.SubPlugin;
import net.md_5.bungee.BungeeServerInfo; import net.md_5.bungee.BungeeServerInfo;
import net.md_5.bungee.api.ChatColor; import net.md_5.bungee.api.ChatColor;
import net.md_5.bungee.api.connection.ProxiedPlayer; import net.md_5.bungee.api.connection.ProxiedPlayer;
import org.json.JSONObject; import org.json.JSONObject;
import java.net.InetSocketAddress; import java.net.InetSocketAddress;
import java.util.ArrayList; import java.util.*;
import java.util.Collections;
import java.util.List;
/** /**
* Server Class * Server Class
@ -96,6 +95,23 @@ public class ServerContainer extends BungeeServerInfo implements Server {
Collections.sort(groups); Collections.sort(groups);
} }
@SuppressWarnings({"deprecation", "unchecked"})
@Override
public Collection<NamedContainer<String, UUID>> getGlobalPlayers() {
List<NamedContainer<String, UUID>> players = new ArrayList<NamedContainer<String, UUID>>();
SubPlugin plugin = SubAPI.getInstance().getInternals();
if (plugin.redis) {
try {
for (UUID player : (Set<UUID>) plugin.redis("getPlayersOnServer", new NamedContainer<>(String.class, getName()))) players.add(new NamedContainer<>((String) plugin.redis("getNameFromUuid", new NamedContainer<>(UUID.class, player)), player));
} catch (Exception e) {
e.printStackTrace();
}
} else {
for (ProxiedPlayer player : getPlayers()) players.add(new NamedContainer<>(player.getName(), player.getUniqueId()));
}
return players;
}
@Override @Override
public boolean isHidden() { public boolean isHidden() {
return hidden; return hidden;
@ -178,11 +194,10 @@ public class ServerContainer extends BungeeServerInfo implements Server {
info.put("restricted", isRestricted()); info.put("restricted", isRestricted());
info.put("hidden", isHidden()); info.put("hidden", isHidden());
JSONObject players = new JSONObject(); JSONObject players = new JSONObject();
for (ProxiedPlayer player : getPlayers()) { for (NamedContainer<String, UUID> player : getGlobalPlayers()) {
JSONObject pinfo = new JSONObject(); JSONObject pinfo = new JSONObject();
pinfo.put("name", player.getName()); pinfo.put("name", player.name());
pinfo.put("nick", player.getDisplayName()); players.put(player.get().toString(), pinfo);
players.put(player.getUniqueId().toString(), pinfo);
} }
info.put("players", players); info.put("players", players);
if (getSubData() != null) info.put("subdata", getSubData().getAddress().toString()); if (getSubData() != null) info.put("subdata", getSubData().getAddress().toString());

View File

@ -22,7 +22,6 @@ Lang:
'Command.Help.Info': ' &7Info:&f $str$' 'Command.Help.Info': ' &7Info:&f $str$'
'Command.Help.Terminate': ' &7Teleport to Server:&f $str$' 'Command.Help.Terminate': ' &7Teleport to Server:&f $str$'
'Command.Help.Host.Create': ' &7Create Server:&f $str$' 'Command.Help.Host.Create': ' &7Create Server:&f $str$'
'Command.Help.Server.Teleport': ' &7Teleport to Server:&f $str$'
'Command.Help.SubServer.Start': ' &7Start Server:&f $str$' 'Command.Help.SubServer.Start': ' &7Start Server:&f $str$'
'Command.Help.SubServer.Stop': ' &7Stop Server:&f $str$' 'Command.Help.SubServer.Stop': ' &7Stop Server:&f $str$'
'Command.Help.SubServer.Terminate': ' &7Terminate Server:&f $str$' 'Command.Help.SubServer.Terminate': ' &7Terminate Server:&f $str$'
@ -73,7 +72,7 @@ Lang:
'Interface.Generic.Back-Arrow': '&e&l<--' 'Interface.Generic.Back-Arrow': '&e&l<--'
'Interface.Generic.Next-Arrow': '&e&l-->' 'Interface.Generic.Next-Arrow': '&e&l-->'
'Interface.Generic.Undo': '&6Undo' 'Interface.Generic.Undo': '&6Undo'
'Interface.Generic.Downloading': '&bSubServers &1&l\u00BB&b Downloading - $str$' 'Interface.Generic.Downloading': '&7SubServers &8&l\u00BB&7 Downloading:&f $str$'
'Interface.Generic.Downloading.Title': 'Downloading...' 'Interface.Generic.Downloading.Title': 'Downloading...'
'Interface.Generic.Downloading.Title-Color': '&b' 'Interface.Generic.Downloading.Title-Color': '&b'
'Interface.Generic.Downloading.Title-Color-Alt': '&3' 'Interface.Generic.Downloading.Title-Color-Alt': '&3'

View File

@ -3,6 +3,7 @@ package net.ME1312.SubServers.Bungee.Network.Packet;
import net.ME1312.SubServers.Bungee.Host.Host; import net.ME1312.SubServers.Bungee.Host.Host;
import net.ME1312.SubServers.Bungee.Host.SubCreator; import net.ME1312.SubServers.Bungee.Host.SubCreator;
import net.ME1312.SubServers.Bungee.Host.SubServer; import net.ME1312.SubServers.Bungee.Host.SubServer;
import net.ME1312.SubServers.Bungee.Library.NamedContainer;
import net.ME1312.SubServers.Bungee.Library.Version.Version; import net.ME1312.SubServers.Bungee.Library.Version.Version;
import net.ME1312.SubServers.Bungee.Network.Client; import net.ME1312.SubServers.Bungee.Network.Client;
import net.ME1312.SubServers.Bungee.Network.ClientHandler; import net.ME1312.SubServers.Bungee.Network.ClientHandler;
@ -14,6 +15,7 @@ import net.md_5.bungee.api.connection.ProxiedPlayer;
import org.json.JSONObject; import org.json.JSONObject;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.UUID;
/** /**
* Download Host Info Packet * Download Host Info Packet
@ -80,11 +82,10 @@ public class PacketDownloadHostInfo implements PacketIn, PacketOut {
sinfo.put("running", server.isRunning()); sinfo.put("running", server.isRunning());
sinfo.put("temp", server.isTemporary()); sinfo.put("temp", server.isTemporary());
JSONObject players = new JSONObject(); JSONObject players = new JSONObject();
for (ProxiedPlayer player : server.getPlayers()) { for (NamedContainer<String, UUID> player : server.getGlobalPlayers()) {
JSONObject pinfo = new JSONObject(); JSONObject pinfo = new JSONObject();
pinfo.put("name", player.getName()); pinfo.put("name", player.name());
pinfo.put("nick", player.getDisplayName()); players.put(player.get().toString(), pinfo);
players.put(player.getUniqueId().toString(), pinfo);
} }
sinfo.put("players", players); sinfo.put("players", players);
servers.put(server.getName(), sinfo); servers.put(server.getName(), sinfo);

View File

@ -1,14 +1,18 @@
package net.ME1312.SubServers.Bungee.Network.Packet; package net.ME1312.SubServers.Bungee.Network.Packet;
import net.ME1312.SubServers.Bungee.Library.NamedContainer;
import net.ME1312.SubServers.Bungee.Library.Util; import net.ME1312.SubServers.Bungee.Library.Util;
import net.ME1312.SubServers.Bungee.Library.Version.Version; import net.ME1312.SubServers.Bungee.Library.Version.Version;
import net.ME1312.SubServers.Bungee.Network.Client; import net.ME1312.SubServers.Bungee.Network.Client;
import net.ME1312.SubServers.Bungee.Network.PacketIn; import net.ME1312.SubServers.Bungee.Network.PacketIn;
import net.ME1312.SubServers.Bungee.Network.PacketOut; import net.ME1312.SubServers.Bungee.Network.PacketOut;
import net.ME1312.SubServers.Bungee.SubPlugin; import net.ME1312.SubServers.Bungee.SubPlugin;
import net.md_5.bungee.api.config.ServerInfo;
import net.md_5.bungee.api.connection.ProxiedPlayer; import net.md_5.bungee.api.connection.ProxiedPlayer;
import org.json.JSONObject; import org.json.JSONObject;
import java.util.UUID;
/** /**
* Download Player List Packet * Download Player List Packet
*/ */
@ -39,16 +43,24 @@ public class PacketDownloadPlayerList implements PacketIn, PacketOut {
} }
@Override @Override
@SuppressWarnings("unchecked")
public JSONObject generate() { public JSONObject generate() {
JSONObject json = new JSONObject(); JSONObject json = new JSONObject();
json.put("id", id); json.put("id", id);
JSONObject players = new JSONObject(); JSONObject players = new JSONObject();
for (ProxiedPlayer player : plugin.getPlayers()) { for (NamedContainer<String, UUID> player : plugin.api.getGlobalPlayers()) {
JSONObject pinfo = new JSONObject(); JSONObject pinfo = new JSONObject();
pinfo.put("name", player.getName()); pinfo.put("name", player.get());
pinfo.put("nick", player.getDisplayName()); if (plugin.redis) {
pinfo.put("server", player.getServer().getInfo().getName()); try {
players.put(player.getUniqueId().toString(), pinfo); pinfo.put("server", ((ServerInfo) plugin.redis("getServerFor", new NamedContainer<>(UUID.class, player.get()))).getName());
} catch (Exception e) {
e.printStackTrace();
}
} else {
pinfo.put("server", plugin.getPlayer(player.get()).getServer().getInfo().getName());
}
players.put(player.get().toString(), pinfo);
} }
json.put("players", players); json.put("players", players);
return json; return json;

View File

@ -51,7 +51,7 @@ public class PacketDownloadProxyInfo implements PacketIn, PacketOut {
json.put("bungee", bungee); json.put("bungee", bungee);
JSONObject minecraft = new JSONObject(); JSONObject minecraft = new JSONObject();
minecraft.put("version", plugin.api.getGameVersion()); minecraft.put("version", plugin.api.getGameVersion());
minecraft.put("players", plugin.getPlayers().size()); minecraft.put("players", plugin.api.getGlobalPlayers().size());
json.put("minecraft", minecraft); json.put("minecraft", minecraft);
JSONObject system = new JSONObject(); JSONObject system = new JSONObject();
JSONObject os = new JSONObject(); JSONObject os = new JSONObject();

View File

@ -3,6 +3,7 @@ package net.ME1312.SubServers.Bungee.Network.Packet;
import net.ME1312.SubServers.Bungee.Host.Server; import net.ME1312.SubServers.Bungee.Host.Server;
import net.ME1312.SubServers.Bungee.Host.ServerContainer; import net.ME1312.SubServers.Bungee.Host.ServerContainer;
import net.ME1312.SubServers.Bungee.Host.SubServer; import net.ME1312.SubServers.Bungee.Host.SubServer;
import net.ME1312.SubServers.Bungee.Library.NamedContainer;
import net.ME1312.SubServers.Bungee.Library.Util; import net.ME1312.SubServers.Bungee.Library.Util;
import net.ME1312.SubServers.Bungee.Library.Version.Version; import net.ME1312.SubServers.Bungee.Library.Version.Version;
import net.ME1312.SubServers.Bungee.Network.Client; import net.ME1312.SubServers.Bungee.Network.Client;
@ -14,6 +15,7 @@ import org.json.JSONObject;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; import java.util.List;
import java.util.UUID;
/** /**
* Download Server Info Packet * Download Server Info Packet
@ -85,11 +87,10 @@ public class PacketDownloadServerInfo implements PacketIn, PacketOut {
info.put("extra", server.getExtra().toJSON()); info.put("extra", server.getExtra().toJSON());
JSONObject players = new JSONObject(); JSONObject players = new JSONObject();
for (ProxiedPlayer player : server.getPlayers()) { for (NamedContainer<String, UUID> player : server.getGlobalPlayers()) {
JSONObject pinfo = new JSONObject(); JSONObject pinfo = new JSONObject();
pinfo.put("name", player.getName()); pinfo.put("name", player.name());
pinfo.put("nick", player.getDisplayName()); players.put(player.get().toString(), pinfo);
players.put(player.getUniqueId().toString(), pinfo);
} }
info.put("players", players); info.put("players", players);
} }

View File

@ -14,6 +14,7 @@ import net.ME1312.SubServers.Bungee.Library.UniversalFile;
import net.ME1312.SubServers.Bungee.Library.Util; import net.ME1312.SubServers.Bungee.Library.Util;
import net.ME1312.SubServers.Bungee.Library.Version.Version; import net.ME1312.SubServers.Bungee.Library.Version.Version;
import net.ME1312.SubServers.Bungee.Network.SubDataServer; import net.ME1312.SubServers.Bungee.Network.SubDataServer;
import net.md_5.bungee.api.connection.ProxiedPlayer;
import java.lang.reflect.InvocationTargetException; import java.lang.reflect.InvocationTargetException;
import java.net.InetAddress; import java.net.InetAddress;
@ -433,6 +434,26 @@ public final class SubAPI {
return getSubServers().get(name.toLowerCase()); return getSubServers().get(name.toLowerCase());
} }
/**
* Get players on this network across all known proxies
*
* @return Player Collection
*/
@SuppressWarnings("unchecked")
public Collection<NamedContainer<String, UUID>> getGlobalPlayers() {
List<NamedContainer<String, UUID>> players = new ArrayList<NamedContainer<String, UUID>>();
if (plugin.redis) {
try {
for (UUID player : (Set<UUID>) plugin.redis("getPlayersOnline")) players.add(new NamedContainer<>((String) plugin.redis("getNameFromUuid", new NamedContainer<>(UUID.class, player)), player));
} catch (Exception e) {
e.printStackTrace();
}
} else {
for (ProxiedPlayer player : plugin.getPlayers()) players.add(new NamedContainer<>(player.getName(), player.getUniqueId()));
}
return players;
}
/** /**
* Adds to the Language Map * Adds to the Language Map
* *

View File

@ -513,7 +513,6 @@ public final class SubCommand extends Command implements TabExecutor {
/** /**
* BungeeCord /server * BungeeCord /server
*/ */
@SuppressWarnings("unchecked")
public static final class BungeeServer extends Command implements TabExecutor { public static final class BungeeServer extends Command implements TabExecutor {
private SubPlugin plugin; private SubPlugin plugin;
protected BungeeServer(SubPlugin plugin, String command) { protected BungeeServer(SubPlugin plugin, String command) {
@ -547,7 +546,7 @@ public final class SubCommand extends Command implements TabExecutor {
if (i != 0) serverm.addExtra(div); if (i != 0) serverm.addExtra(div);
TextComponent message = new TextComponent(plugin.lang.get().getSection("Lang").getColoredString("Bungee.Server.List", '&').replace("$str$", server.getDisplayName())); TextComponent message = new TextComponent(plugin.lang.get().getSection("Lang").getColoredString("Bungee.Server.List", '&').replace("$str$", server.getDisplayName()));
try { try {
message.setHoverEvent(new HoverEvent(HoverEvent.Action.SHOW_TEXT, new TextComponent[]{new TextComponent(plugin.lang.get().getSection("Lang").getColoredString("Bungee.Server.Hover", '&').replace("$int$", Integer.toString((plugin.redis)?((Set<UUID>)plugin.redis("getPlayersOnServer", new NamedContainer<>(String.class, server.getName()))).size():server.getPlayers().size())))})); message.setHoverEvent(new HoverEvent(HoverEvent.Action.SHOW_TEXT, new TextComponent[]{new TextComponent(plugin.lang.get().getSection("Lang").getColoredString("Bungee.Server.Hover", '&').replace("$int$", Integer.toString(server.getGlobalPlayers().size())))}));
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); e.printStackTrace();
} }
@ -595,7 +594,6 @@ public final class SubCommand extends Command implements TabExecutor {
/** /**
* BungeeCord /glist * BungeeCord /glist
*/ */
@SuppressWarnings("unchecked")
public static final class BungeeList extends Command { public static final class BungeeList extends Command {
private SubPlugin plugin; private SubPlugin plugin;
protected BungeeList(SubPlugin plugin, String command) { protected BungeeList(SubPlugin plugin, String command) {
@ -616,15 +614,7 @@ public final class SubCommand extends Command implements TabExecutor {
int players = 0; int players = 0;
for (Server server : plugin.api.getServers().values()) { for (Server server : plugin.api.getServers().values()) {
List<String> playerlist = new ArrayList<String>(); List<String> playerlist = new ArrayList<String>();
if (plugin.redis) { for (NamedContainer<String, UUID> player : server.getGlobalPlayers()) playerlist.add(player.name());
try {
for (UUID player : (Set<UUID>) plugin.redis("getPlayersOnServer", new NamedContainer<>(String.class, server.getName()))) playerlist.add((String) plugin.redis("getNameFromUuid", new NamedContainer<>(UUID.class, player)));
} catch (Exception e) {
e.printStackTrace();
}
} else {
for (ProxiedPlayer player : server.getPlayers()) playerlist.add(player.getName());
}
Collections.sort(playerlist); Collections.sort(playerlist);
players += playerlist.size(); players += playerlist.size();

Binary file not shown.

Binary file not shown.