mirror of
https://github.com/ME1312/SubServers-2.git
synced 2024-11-29 05:36:13 +01:00
Make Name
field optional for SubServers.Client
SubServers.Bungee can now link servers to subdata clients via connection address and port number. Since this still has the chance to fail, the `Name` field will appear if no servers were found this way, and will be used the same as before. SubCreator made servers will still have the `Name` value present and filled out for assurance.
This commit is contained in:
parent
754b418e7d
commit
92c649eabe
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,10 +0,0 @@
|
|||||||
Settings:
|
|
||||||
Version: '2.11.2a+'
|
|
||||||
Console-Log: true
|
|
||||||
Network-Log: true
|
|
||||||
Server-Bind: '127.0.0.1'
|
|
||||||
SubData:
|
|
||||||
Name: 'undefined'
|
|
||||||
Address: '127.0.0.1:4391'
|
|
||||||
Password: 'default'
|
|
||||||
Encryption: 'AES'
|
|
Binary file not shown.
@ -88,7 +88,7 @@
|
|||||||
<dd> </dd>
|
<dd> </dd>
|
||||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Bungee/Library/ExtraDataHandler.html#addExtra-java.lang.String-java.lang.Object-">addExtra(String, Object)</a></span> - Method in interface net.ME1312.SubServers.Bungee.Library.<a href="net/ME1312/SubServers/Bungee/Library/ExtraDataHandler.html" title="interface in net.ME1312.SubServers.Bungee.Library">ExtraDataHandler</a></dt>
|
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Bungee/Library/ExtraDataHandler.html#addExtra-java.lang.String-java.lang.Object-">addExtra(String, Object)</a></span> - Method in interface net.ME1312.SubServers.Bungee.Library.<a href="net/ME1312/SubServers/Bungee/Library/ExtraDataHandler.html" title="interface in net.ME1312.SubServers.Bungee.Library">ExtraDataHandler</a></dt>
|
||||||
<dd>
|
<dd>
|
||||||
<div class="block">Add an extra value to this Server</div>
|
<div class="block">Add an extra value to this Object</div>
|
||||||
</dd>
|
</dd>
|
||||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Bungee/Host/Server.html#addGroup-java.lang.String-">addGroup(String)</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>
|
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Bungee/Host/Server.html#addGroup-java.lang.String-">addGroup(String)</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>
|
<dd>
|
||||||
@ -140,17 +140,17 @@
|
|||||||
<dd>
|
<dd>
|
||||||
<div class="block">Adds a Server to the Network</div>
|
<div class="block">Adds a Server to the Network</div>
|
||||||
</dd>
|
</dd>
|
||||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Bungee/Host/External/ExternalHost.html#addSubServer-java.util.UUID-java.lang.String-boolean-int-java.lang.String-boolean-java.lang.String-net.ME1312.SubServers.Bungee.Host.Executable-java.lang.String-boolean-boolean-boolean-boolean-boolean-">addSubServer(UUID, String, boolean, int, String, boolean, String, Executable, String, boolean, boolean, boolean, boolean, boolean)</a></span> - Method in class net.ME1312.SubServers.Bungee.Host.External.<a href="net/ME1312/SubServers/Bungee/Host/External/ExternalHost.html" title="class in net.ME1312.SubServers.Bungee.Host.External">ExternalHost</a></dt>
|
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Bungee/Host/External/ExternalHost.html#addSubServer-java.util.UUID-java.lang.String-boolean-int-java.lang.String-boolean-java.lang.String-net.ME1312.SubServers.Bungee.Host.Executable-java.lang.String-boolean-boolean-boolean-">addSubServer(UUID, String, boolean, int, String, boolean, String, Executable, String, boolean, boolean, boolean)</a></span> - Method in class net.ME1312.SubServers.Bungee.Host.External.<a href="net/ME1312/SubServers/Bungee/Host/External/ExternalHost.html" title="class in net.ME1312.SubServers.Bungee.Host.External">ExternalHost</a></dt>
|
||||||
<dd> </dd>
|
<dd> </dd>
|
||||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Bungee/Host/Host.html#addSubServer-java.util.UUID-java.lang.String-boolean-int-java.lang.String-boolean-java.lang.String-net.ME1312.SubServers.Bungee.Host.Executable-java.lang.String-boolean-boolean-boolean-boolean-boolean-">addSubServer(UUID, String, boolean, int, String, boolean, String, Executable, String, boolean, boolean, boolean, boolean, boolean)</a></span> - Method in class net.ME1312.SubServers.Bungee.Host.<a href="net/ME1312/SubServers/Bungee/Host/Host.html" title="class in net.ME1312.SubServers.Bungee.Host">Host</a></dt>
|
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Bungee/Host/Host.html#addSubServer-java.util.UUID-java.lang.String-boolean-int-java.lang.String-boolean-java.lang.String-net.ME1312.SubServers.Bungee.Host.Executable-java.lang.String-boolean-boolean-boolean-">addSubServer(UUID, String, boolean, int, String, boolean, String, Executable, String, boolean, boolean, boolean)</a></span> - Method in class net.ME1312.SubServers.Bungee.Host.<a href="net/ME1312/SubServers/Bungee/Host/Host.html" title="class in net.ME1312.SubServers.Bungee.Host">Host</a></dt>
|
||||||
<dd>
|
<dd>
|
||||||
<div class="block">Adds a SubServer</div>
|
<div class="block">Adds a SubServer</div>
|
||||||
</dd>
|
</dd>
|
||||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Bungee/Host/Host.html#addSubServer-java.lang.String-boolean-int-java.lang.String-boolean-java.lang.String-net.ME1312.SubServers.Bungee.Host.Executable-java.lang.String-boolean-boolean-boolean-boolean-boolean-">addSubServer(String, boolean, int, String, boolean, String, Executable, String, boolean, boolean, boolean, boolean, boolean)</a></span> - Method in class net.ME1312.SubServers.Bungee.Host.<a href="net/ME1312/SubServers/Bungee/Host/Host.html" title="class in net.ME1312.SubServers.Bungee.Host">Host</a></dt>
|
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Bungee/Host/Host.html#addSubServer-java.lang.String-boolean-int-java.lang.String-boolean-java.lang.String-net.ME1312.SubServers.Bungee.Host.Executable-java.lang.String-boolean-boolean-boolean-">addSubServer(String, boolean, int, String, boolean, String, Executable, String, boolean, boolean, boolean)</a></span> - Method in class net.ME1312.SubServers.Bungee.Host.<a href="net/ME1312/SubServers/Bungee/Host/Host.html" title="class in net.ME1312.SubServers.Bungee.Host">Host</a></dt>
|
||||||
<dd>
|
<dd>
|
||||||
<div class="block">Adds a SubServer</div>
|
<div class="block">Adds a SubServer</div>
|
||||||
</dd>
|
</dd>
|
||||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Bungee/Host/Internal/InternalHost.html#addSubServer-java.util.UUID-java.lang.String-boolean-int-java.lang.String-boolean-java.lang.String-net.ME1312.SubServers.Bungee.Host.Executable-java.lang.String-boolean-boolean-boolean-boolean-boolean-">addSubServer(UUID, String, boolean, int, String, boolean, String, Executable, String, boolean, boolean, boolean, boolean, boolean)</a></span> - Method in class net.ME1312.SubServers.Bungee.Host.Internal.<a href="net/ME1312/SubServers/Bungee/Host/Internal/InternalHost.html" title="class in net.ME1312.SubServers.Bungee.Host.Internal">InternalHost</a></dt>
|
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Bungee/Host/Internal/InternalHost.html#addSubServer-java.util.UUID-java.lang.String-boolean-int-java.lang.String-boolean-java.lang.String-net.ME1312.SubServers.Bungee.Host.Executable-java.lang.String-boolean-boolean-boolean-">addSubServer(UUID, String, boolean, int, String, boolean, String, Executable, String, boolean, boolean, boolean)</a></span> - Method in class net.ME1312.SubServers.Bungee.Host.Internal.<a href="net/ME1312/SubServers/Bungee/Host/Internal/InternalHost.html" title="class in net.ME1312.SubServers.Bungee.Host.Internal">InternalHost</a></dt>
|
||||||
<dd> </dd>
|
<dd> </dd>
|
||||||
<dt><a href="net/ME1312/SubServers/Bungee/Network/Encryption/AES.html" title="class in net.ME1312.SubServers.Bungee.Network.Encryption"><span class="typeNameLink">AES</span></a> - Class in <a href="net/ME1312/SubServers/Bungee/Network/Encryption/package-summary.html">net.ME1312.SubServers.Bungee.Network.Encryption</a></dt>
|
<dt><a href="net/ME1312/SubServers/Bungee/Network/Encryption/AES.html" title="class in net.ME1312.SubServers.Bungee.Network.Encryption"><span class="typeNameLink">AES</span></a> - Class in <a href="net/ME1312/SubServers/Bungee/Network/Encryption/package-summary.html">net.ME1312.SubServers.Bungee.Network.Encryption</a></dt>
|
||||||
<dd>
|
<dd>
|
||||||
@ -468,7 +468,7 @@
|
|||||||
<dd> </dd>
|
<dd> </dd>
|
||||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Bungee/Network/Client.html#disconnect--">disconnect()</a></span> - Method in class net.ME1312.SubServers.Bungee.Network.<a href="net/ME1312/SubServers/Bungee/Network/Client.html" title="class in net.ME1312.SubServers.Bungee.Network">Client</a></dt>
|
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Bungee/Network/Client.html#disconnect--">disconnect()</a></span> - Method in class net.ME1312.SubServers.Bungee.Network.<a href="net/ME1312/SubServers/Bungee/Network/Client.html" title="class in net.ME1312.SubServers.Bungee.Network">Client</a></dt>
|
||||||
<dd>
|
<dd>
|
||||||
<div class="block">Disconnects the Client (does not remove them from the server)</div>
|
<div class="block">Disconnects the Client</div>
|
||||||
</dd>
|
</dd>
|
||||||
</dl>
|
</dl>
|
||||||
<a name="I:E">
|
<a name="I:E">
|
||||||
@ -658,7 +658,7 @@
|
|||||||
<dd>
|
<dd>
|
||||||
<div class="block">External SubServer Class</div>
|
<div class="block">External SubServer Class</div>
|
||||||
</dd>
|
</dd>
|
||||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Bungee/Host/External/ExternalSubServer.html#ExternalSubServer-net.ME1312.SubServers.Bungee.Host.External.ExternalHost-java.lang.String-boolean-int-java.lang.String-boolean-java.lang.String-net.ME1312.SubServers.Bungee.Host.Executable-java.lang.String-boolean-boolean-boolean-">ExternalSubServer(ExternalHost, String, boolean, int, String, boolean, String, Executable, String, boolean, boolean, boolean)</a></span> - Constructor for class net.ME1312.SubServers.Bungee.Host.External.<a href="net/ME1312/SubServers/Bungee/Host/External/ExternalSubServer.html" title="class in net.ME1312.SubServers.Bungee.Host.External">ExternalSubServer</a></dt>
|
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Bungee/Host/External/ExternalSubServer.html#ExternalSubServer-net.ME1312.SubServers.Bungee.Host.External.ExternalHost-java.lang.String-boolean-int-java.lang.String-boolean-java.lang.String-net.ME1312.SubServers.Bungee.Host.Executable-java.lang.String-boolean-boolean-">ExternalSubServer(ExternalHost, String, boolean, int, String, boolean, String, Executable, String, boolean, boolean)</a></span> - Constructor for class net.ME1312.SubServers.Bungee.Host.External.<a href="net/ME1312/SubServers/Bungee/Host/External/ExternalSubServer.html" title="class in net.ME1312.SubServers.Bungee.Host.External">ExternalSubServer</a></dt>
|
||||||
<dd>
|
<dd>
|
||||||
<div class="block">Creates an External SubServer</div>
|
<div class="block">Creates an External SubServer</div>
|
||||||
</dd>
|
</dd>
|
||||||
@ -1814,7 +1814,7 @@
|
|||||||
<dd>
|
<dd>
|
||||||
<div class="block">Internal SubServer Class</div>
|
<div class="block">Internal SubServer Class</div>
|
||||||
</dd>
|
</dd>
|
||||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Bungee/Host/Internal/InternalSubServer.html#InternalSubServer-net.ME1312.SubServers.Bungee.Host.Internal.InternalHost-java.lang.String-boolean-int-java.lang.String-boolean-java.lang.String-net.ME1312.SubServers.Bungee.Host.Executable-java.lang.String-boolean-boolean-boolean-boolean-boolean-">InternalSubServer(InternalHost, String, boolean, int, String, boolean, String, Executable, String, boolean, boolean, boolean, boolean, boolean)</a></span> - Constructor for class net.ME1312.SubServers.Bungee.Host.Internal.<a href="net/ME1312/SubServers/Bungee/Host/Internal/InternalSubServer.html" title="class in net.ME1312.SubServers.Bungee.Host.Internal">InternalSubServer</a></dt>
|
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Bungee/Host/Internal/InternalSubServer.html#InternalSubServer-net.ME1312.SubServers.Bungee.Host.Internal.InternalHost-java.lang.String-boolean-int-java.lang.String-boolean-java.lang.String-net.ME1312.SubServers.Bungee.Host.Executable-java.lang.String-boolean-boolean-boolean-">InternalSubServer(InternalHost, String, boolean, int, String, boolean, String, Executable, String, boolean, boolean, boolean)</a></span> - Constructor for class net.ME1312.SubServers.Bungee.Host.Internal.<a href="net/ME1312/SubServers/Bungee/Host/Internal/InternalSubServer.html" title="class in net.ME1312.SubServers.Bungee.Host.Internal">InternalSubServer</a></dt>
|
||||||
<dd>
|
<dd>
|
||||||
<div class="block">Creates an Internal SubServer</div>
|
<div class="block">Creates an Internal SubServer</div>
|
||||||
</dd>
|
</dd>
|
||||||
@ -1908,6 +1908,10 @@
|
|||||||
<dd>
|
<dd>
|
||||||
<div class="block">Gets the Cancelled Status</div>
|
<div class="block">Gets the Cancelled Status</div>
|
||||||
</dd>
|
</dd>
|
||||||
|
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Bungee/Network/Client.html#isClosed--">isClosed()</a></span> - Method in class net.ME1312.SubServers.Bungee.Network.<a href="net/ME1312/SubServers/Bungee/Network/Client.html" title="class in net.ME1312.SubServers.Bungee.Network">Client</a></dt>
|
||||||
|
<dd>
|
||||||
|
<div class="block">Get if the connection has been closed</div>
|
||||||
|
</dd>
|
||||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Bungee/Host/SubServer.html#isCompatible-net.ME1312.SubServers.Bungee.Host.SubServer-">isCompatible(SubServer)</a></span> - Method in interface net.ME1312.SubServers.Bungee.Host.<a href="net/ME1312/SubServers/Bungee/Host/SubServer.html" title="interface in net.ME1312.SubServers.Bungee.Host">SubServer</a></dt>
|
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Bungee/Host/SubServer.html#isCompatible-net.ME1312.SubServers.Bungee.Host.SubServer-">isCompatible(SubServer)</a></span> - Method in interface net.ME1312.SubServers.Bungee.Host.<a href="net/ME1312/SubServers/Bungee/Host/SubServer.html" title="interface in net.ME1312.SubServers.Bungee.Host">SubServer</a></dt>
|
||||||
<dd>
|
<dd>
|
||||||
<div class="block">Checks if a Server is compatible</div>
|
<div class="block">Checks if a Server is compatible</div>
|
||||||
@ -2478,7 +2482,7 @@
|
|||||||
<dd>
|
<dd>
|
||||||
<div class="block">New PacketLinkServer (In)</div>
|
<div class="block">New PacketLinkServer (In)</div>
|
||||||
</dd>
|
</dd>
|
||||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Bungee/Network/Packet/PacketLinkServer.html#PacketLinkServer-int-java.lang.String-">PacketLinkServer(int, String)</a></span> - Constructor for class net.ME1312.SubServers.Bungee.Network.Packet.<a href="net/ME1312/SubServers/Bungee/Network/Packet/PacketLinkServer.html" title="class in net.ME1312.SubServers.Bungee.Network.Packet">PacketLinkServer</a></dt>
|
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Bungee/Network/Packet/PacketLinkServer.html#PacketLinkServer-java.lang.String-int-java.lang.String-">PacketLinkServer(String, int, String)</a></span> - Constructor for class net.ME1312.SubServers.Bungee.Network.Packet.<a href="net/ME1312/SubServers/Bungee/Network/Packet/PacketLinkServer.html" title="class in net.ME1312.SubServers.Bungee.Network.Packet">PacketLinkServer</a></dt>
|
||||||
<dd>
|
<dd>
|
||||||
<div class="block">New PacketLinkServer (Out)</div>
|
<div class="block">New PacketLinkServer (Out)</div>
|
||||||
</dd>
|
</dd>
|
||||||
@ -2638,7 +2642,7 @@
|
|||||||
<dd> </dd>
|
<dd> </dd>
|
||||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Bungee/Library/ExtraDataHandler.html#removeExtra-java.lang.String-">removeExtra(String)</a></span> - Method in interface net.ME1312.SubServers.Bungee.Library.<a href="net/ME1312/SubServers/Bungee/Library/ExtraDataHandler.html" title="interface in net.ME1312.SubServers.Bungee.Library">ExtraDataHandler</a></dt>
|
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Bungee/Library/ExtraDataHandler.html#removeExtra-java.lang.String-">removeExtra(String)</a></span> - Method in interface net.ME1312.SubServers.Bungee.Library.<a href="net/ME1312/SubServers/Bungee/Library/ExtraDataHandler.html" title="interface in net.ME1312.SubServers.Bungee.Library">ExtraDataHandler</a></dt>
|
||||||
<dd>
|
<dd>
|
||||||
<div class="block">Remove an extra value from this Server</div>
|
<div class="block">Remove an extra value from this Object</div>
|
||||||
</dd>
|
</dd>
|
||||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Bungee/Host/Server.html#removeGroup-java.lang.String-">removeGroup(String)</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>
|
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Bungee/Host/Server.html#removeGroup-java.lang.String-">removeGroup(String)</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>
|
<dd>
|
||||||
|
@ -164,7 +164,7 @@ implements <a href="../../../../../../net/ME1312/SubServers/Bungee/Network/Clien
|
|||||||
</tr>
|
</tr>
|
||||||
<tr id="i0" class="altColor">
|
<tr id="i0" 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/Host/External/ExternalHost.html#addSubServer-java.util.UUID-java.lang.String-boolean-int-java.lang.String-boolean-java.lang.String-net.ME1312.SubServers.Bungee.Host.Executable-java.lang.String-boolean-boolean-boolean-boolean-boolean-">addSubServer</a></span>(java.util.UUID player,
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Bungee/Host/External/ExternalHost.html#addSubServer-java.util.UUID-java.lang.String-boolean-int-java.lang.String-boolean-java.lang.String-net.ME1312.SubServers.Bungee.Host.Executable-java.lang.String-boolean-boolean-boolean-">addSubServer</a></span>(java.util.UUID player,
|
||||||
java.lang.String name,
|
java.lang.String name,
|
||||||
boolean enabled,
|
boolean enabled,
|
||||||
int port,
|
int port,
|
||||||
@ -173,8 +173,6 @@ implements <a href="../../../../../../net/ME1312/SubServers/Bungee/Network/Clien
|
|||||||
java.lang.String directory,
|
java.lang.String directory,
|
||||||
<a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Executable.html" title="class in net.ME1312.SubServers.Bungee.Host">Executable</a> executable,
|
<a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Executable.html" title="class in net.ME1312.SubServers.Bungee.Host">Executable</a> executable,
|
||||||
java.lang.String stopcmd,
|
java.lang.String stopcmd,
|
||||||
boolean start,
|
|
||||||
boolean restart,
|
|
||||||
boolean hidden,
|
boolean hidden,
|
||||||
boolean restricted,
|
boolean restricted,
|
||||||
boolean temporary)</code>
|
boolean temporary)</code>
|
||||||
@ -275,7 +273,7 @@ implements <a href="../../../../../../net/ME1312/SubServers/Bungee/Network/Clien
|
|||||||
<!-- -->
|
<!-- -->
|
||||||
</a>
|
</a>
|
||||||
<h3>Methods inherited from class net.ME1312.SubServers.Bungee.Host.<a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Host.html" title="class in net.ME1312.SubServers.Bungee.Host">Host</a></h3>
|
<h3>Methods inherited from class net.ME1312.SubServers.Bungee.Host.<a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Host.html" title="class in net.ME1312.SubServers.Bungee.Host">Host</a></h3>
|
||||||
<code><a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Host.html#addExtra-java.lang.String-java.lang.Object-">addExtra</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Host.html#addSubServer-java.lang.String-boolean-int-java.lang.String-boolean-java.lang.String-net.ME1312.SubServers.Bungee.Host.Executable-java.lang.String-boolean-boolean-boolean-boolean-boolean-">addSubServer</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Host.html#command-java.lang.String-java.lang.String...-">command</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Host.html#command-java.util.UUID-java.lang.String-java.lang.String...-">command</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Host.html#deleteSubServer-java.lang.String-">deleteSubServer</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Host.html#forceDeleteSubServer-java.lang.String-">forceDeleteSubServer</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Host.html#forceRemoveSubServer-java.lang.String-">forceRemoveSubServer</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Host.html#getDisplayName--">getDisplayName</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Host.html#getExtra--">getExtra</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Host.html#getExtra-java.lang.String-">getExtra</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Host.html#getSignature--">getSignature</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Host.html#hasExtra-java.lang.String-">hasExtra</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Host.html#removeExtra-java.lang.String-">removeExtra</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Host.html#removeSubServer-java.lang.String-">removeSubServer</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Host.html#setDisplayName-java.lang.String-">setDisplayName</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Host.html#start-java.lang.String...-">start</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Host.html#start-java.util.UUID-java.lang.String...-">start</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Host.html#stop-java.lang.String...-">stop</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Host.html#stop-java.util.UUID-java.lang.String...-">stop</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Host.html#terminate-java.lang.String...-">terminate</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Host.html#terminate-java.util.UUID-java.lang.String...-">terminate</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Host.html#toString--">toString</a></code></li>
|
<code><a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Host.html#addExtra-java.lang.String-java.lang.Object-">addExtra</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Host.html#addSubServer-java.lang.String-boolean-int-java.lang.String-boolean-java.lang.String-net.ME1312.SubServers.Bungee.Host.Executable-java.lang.String-boolean-boolean-boolean-">addSubServer</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Host.html#command-java.lang.String-java.lang.String...-">command</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Host.html#command-java.util.UUID-java.lang.String-java.lang.String...-">command</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Host.html#deleteSubServer-java.lang.String-">deleteSubServer</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Host.html#forceDeleteSubServer-java.lang.String-">forceDeleteSubServer</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Host.html#forceRemoveSubServer-java.lang.String-">forceRemoveSubServer</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Host.html#getDisplayName--">getDisplayName</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Host.html#getExtra--">getExtra</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Host.html#getExtra-java.lang.String-">getExtra</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Host.html#getSignature--">getSignature</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Host.html#hasExtra-java.lang.String-">hasExtra</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Host.html#removeExtra-java.lang.String-">removeExtra</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Host.html#removeSubServer-java.lang.String-">removeSubServer</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Host.html#setDisplayName-java.lang.String-">setDisplayName</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Host.html#start-java.lang.String...-">start</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Host.html#start-java.util.UUID-java.lang.String...-">start</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Host.html#stop-java.lang.String...-">stop</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Host.html#stop-java.util.UUID-java.lang.String...-">stop</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Host.html#terminate-java.lang.String...-">terminate</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Host.html#terminate-java.util.UUID-java.lang.String...-">terminate</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Host.html#toString--">toString</a></code></li>
|
||||||
</ul>
|
</ul>
|
||||||
<ul class="blockList">
|
<ul class="blockList">
|
||||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
|
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
|
||||||
@ -504,7 +502,7 @@ implements <a href="../../../../../../net/ME1312/SubServers/Bungee/Network/Clien
|
|||||||
</dl>
|
</dl>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
<a name="addSubServer-java.util.UUID-java.lang.String-boolean-int-java.lang.String-boolean-java.lang.String-net.ME1312.SubServers.Bungee.Host.Executable-java.lang.String-boolean-boolean-boolean-boolean-boolean-">
|
<a name="addSubServer-java.util.UUID-java.lang.String-boolean-int-java.lang.String-boolean-java.lang.String-net.ME1312.SubServers.Bungee.Host.Executable-java.lang.String-boolean-boolean-boolean-">
|
||||||
<!-- -->
|
<!-- -->
|
||||||
</a>
|
</a>
|
||||||
<ul class="blockList">
|
<ul class="blockList">
|
||||||
@ -519,17 +517,15 @@ implements <a href="../../../../../../net/ME1312/SubServers/Bungee/Network/Clien
|
|||||||
java.lang.String directory,
|
java.lang.String directory,
|
||||||
<a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Executable.html" title="class in net.ME1312.SubServers.Bungee.Host">Executable</a> executable,
|
<a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Executable.html" title="class in net.ME1312.SubServers.Bungee.Host">Executable</a> executable,
|
||||||
java.lang.String stopcmd,
|
java.lang.String stopcmd,
|
||||||
boolean start,
|
|
||||||
boolean restart,
|
|
||||||
boolean hidden,
|
boolean hidden,
|
||||||
boolean restricted,
|
boolean restricted,
|
||||||
boolean temporary)
|
boolean temporary)
|
||||||
throws <a href="../../../../../../net/ME1312/SubServers/Bungee/Library/Exception/InvalidServerException.html" title="class in net.ME1312.SubServers.Bungee.Library.Exception">InvalidServerException</a></pre>
|
throws <a href="../../../../../../net/ME1312/SubServers/Bungee/Library/Exception/InvalidServerException.html" title="class in net.ME1312.SubServers.Bungee.Library.Exception">InvalidServerException</a></pre>
|
||||||
<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Host.html#addSubServer-java.util.UUID-java.lang.String-boolean-int-java.lang.String-boolean-java.lang.String-net.ME1312.SubServers.Bungee.Host.Executable-java.lang.String-boolean-boolean-boolean-boolean-boolean-">Host</a></code></span></div>
|
<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Host.html#addSubServer-java.util.UUID-java.lang.String-boolean-int-java.lang.String-boolean-java.lang.String-net.ME1312.SubServers.Bungee.Host.Executable-java.lang.String-boolean-boolean-boolean-">Host</a></code></span></div>
|
||||||
<div class="block">Adds a SubServer</div>
|
<div class="block">Adds a SubServer</div>
|
||||||
<dl>
|
<dl>
|
||||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||||
<dd><code><a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Host.html#addSubServer-java.util.UUID-java.lang.String-boolean-int-java.lang.String-boolean-java.lang.String-net.ME1312.SubServers.Bungee.Host.Executable-java.lang.String-boolean-boolean-boolean-boolean-boolean-">addSubServer</a></code> in class <code><a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Host.html" title="class in net.ME1312.SubServers.Bungee.Host">Host</a></code></dd>
|
<dd><code><a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Host.html#addSubServer-java.util.UUID-java.lang.String-boolean-int-java.lang.String-boolean-java.lang.String-net.ME1312.SubServers.Bungee.Host.Executable-java.lang.String-boolean-boolean-boolean-">addSubServer</a></code> in class <code><a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Host.html" title="class in net.ME1312.SubServers.Bungee.Host">Host</a></code></dd>
|
||||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||||
<dd><code>player</code> - Player who Added</dd>
|
<dd><code>player</code> - Player who Added</dd>
|
||||||
<dd><code>name</code> - Name of Server</dd>
|
<dd><code>name</code> - Name of Server</dd>
|
||||||
@ -540,7 +536,6 @@ implements <a href="../../../../../../net/ME1312/SubServers/Bungee/Network/Clien
|
|||||||
<dd><code>directory</code> - Directory</dd>
|
<dd><code>directory</code> - Directory</dd>
|
||||||
<dd><code>executable</code> - Executable</dd>
|
<dd><code>executable</code> - Executable</dd>
|
||||||
<dd><code>stopcmd</code> - Command to Stop the Server</dd>
|
<dd><code>stopcmd</code> - Command to Stop the Server</dd>
|
||||||
<dd><code>restart</code> - Auto Restart Status</dd>
|
|
||||||
<dd><code>hidden</code> - if the server should be hidden from players</dd>
|
<dd><code>hidden</code> - if the server should be hidden from players</dd>
|
||||||
<dd><code>restricted</code> - Players will need a permission to join if true</dd>
|
<dd><code>restricted</code> - Players will need a permission to join if true</dd>
|
||||||
<dd><code>temporary</code> - Temporary Status</dd>
|
<dd><code>temporary</code> - Temporary Status</dd>
|
||||||
|
@ -162,7 +162,7 @@ extends <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/SubServerCo
|
|||||||
<th class="colOne" scope="col">Constructor and Description</th>
|
<th class="colOne" scope="col">Constructor and Description</th>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="altColor">
|
<tr class="altColor">
|
||||||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Bungee/Host/External/ExternalSubServer.html#ExternalSubServer-net.ME1312.SubServers.Bungee.Host.External.ExternalHost-java.lang.String-boolean-int-java.lang.String-boolean-java.lang.String-net.ME1312.SubServers.Bungee.Host.Executable-java.lang.String-boolean-boolean-boolean-">ExternalSubServer</a></span>(<a href="../../../../../../net/ME1312/SubServers/Bungee/Host/External/ExternalHost.html" title="class in net.ME1312.SubServers.Bungee.Host.External">ExternalHost</a> host,
|
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Bungee/Host/External/ExternalSubServer.html#ExternalSubServer-net.ME1312.SubServers.Bungee.Host.External.ExternalHost-java.lang.String-boolean-int-java.lang.String-boolean-java.lang.String-net.ME1312.SubServers.Bungee.Host.Executable-java.lang.String-boolean-boolean-">ExternalSubServer</a></span>(<a href="../../../../../../net/ME1312/SubServers/Bungee/Host/External/ExternalHost.html" title="class in net.ME1312.SubServers.Bungee.Host.External">ExternalHost</a> host,
|
||||||
java.lang.String name,
|
java.lang.String name,
|
||||||
boolean enabled,
|
boolean enabled,
|
||||||
int port,
|
int port,
|
||||||
@ -171,7 +171,6 @@ extends <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/SubServerCo
|
|||||||
java.lang.String directory,
|
java.lang.String directory,
|
||||||
<a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Executable.html" title="class in net.ME1312.SubServers.Bungee.Host">Executable</a> executable,
|
<a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Executable.html" title="class in net.ME1312.SubServers.Bungee.Host">Executable</a> executable,
|
||||||
java.lang.String stopcmd,
|
java.lang.String stopcmd,
|
||||||
boolean restart,
|
|
||||||
boolean hidden,
|
boolean hidden,
|
||||||
boolean restricted)</code>
|
boolean restricted)</code>
|
||||||
<div class="block">Creates an External SubServer</div>
|
<div class="block">Creates an External SubServer</div>
|
||||||
@ -415,7 +414,7 @@ extends <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/SubServerCo
|
|||||||
<!-- -->
|
<!-- -->
|
||||||
</a>
|
</a>
|
||||||
<h3>Constructor Detail</h3>
|
<h3>Constructor Detail</h3>
|
||||||
<a name="ExternalSubServer-net.ME1312.SubServers.Bungee.Host.External.ExternalHost-java.lang.String-boolean-int-java.lang.String-boolean-java.lang.String-net.ME1312.SubServers.Bungee.Host.Executable-java.lang.String-boolean-boolean-boolean-">
|
<a name="ExternalSubServer-net.ME1312.SubServers.Bungee.Host.External.ExternalHost-java.lang.String-boolean-int-java.lang.String-boolean-java.lang.String-net.ME1312.SubServers.Bungee.Host.Executable-java.lang.String-boolean-boolean-">
|
||||||
<!-- -->
|
<!-- -->
|
||||||
</a>
|
</a>
|
||||||
<ul class="blockListLast">
|
<ul class="blockListLast">
|
||||||
@ -430,7 +429,6 @@ extends <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/SubServerCo
|
|||||||
java.lang.String directory,
|
java.lang.String directory,
|
||||||
<a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Executable.html" title="class in net.ME1312.SubServers.Bungee.Host">Executable</a> executable,
|
<a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Executable.html" title="class in net.ME1312.SubServers.Bungee.Host">Executable</a> executable,
|
||||||
java.lang.String stopcmd,
|
java.lang.String stopcmd,
|
||||||
boolean restart,
|
|
||||||
boolean hidden,
|
boolean hidden,
|
||||||
boolean restricted)
|
boolean restricted)
|
||||||
throws <a href="../../../../../../net/ME1312/SubServers/Bungee/Library/Exception/InvalidServerException.html" title="class in net.ME1312.SubServers.Bungee.Library.Exception">InvalidServerException</a></pre>
|
throws <a href="../../../../../../net/ME1312/SubServers/Bungee/Library/Exception/InvalidServerException.html" title="class in net.ME1312.SubServers.Bungee.Library.Exception">InvalidServerException</a></pre>
|
||||||
@ -446,7 +444,6 @@ extends <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/SubServerCo
|
|||||||
<dd><code>directory</code> - Directory</dd>
|
<dd><code>directory</code> - Directory</dd>
|
||||||
<dd><code>executable</code> - Executable</dd>
|
<dd><code>executable</code> - Executable</dd>
|
||||||
<dd><code>stopcmd</code> - Stop Command</dd>
|
<dd><code>stopcmd</code> - Stop Command</dd>
|
||||||
<dd><code>restart</code> - Auto-Restart</dd>
|
|
||||||
<dd><code>hidden</code> - Hidden Status</dd>
|
<dd><code>hidden</code> - Hidden Status</dd>
|
||||||
<dd><code>restricted</code> - Restricted Status</dd>
|
<dd><code>restricted</code> - Restricted Status</dd>
|
||||||
<dt><span class="throwsLabel">Throws:</span></dt>
|
<dt><span class="throwsLabel">Throws:</span></dt>
|
||||||
|
@ -165,12 +165,12 @@ implements <a href="../../../../../net/ME1312/SubServers/Bungee/Library/ExtraDat
|
|||||||
<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/Host.html#addExtra-java.lang.String-java.lang.Object-">addExtra</a></span>(java.lang.String handle,
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Host/Host.html#addExtra-java.lang.String-java.lang.Object-">addExtra</a></span>(java.lang.String handle,
|
||||||
java.lang.Object value)</code>
|
java.lang.Object value)</code>
|
||||||
<div class="block">Add an extra value to this Server</div>
|
<div class="block">Add an extra value to this Object</div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr id="i1" class="rowColor">
|
<tr id="i1" class="rowColor">
|
||||||
<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/Host/Host.html#addSubServer-java.lang.String-boolean-int-java.lang.String-boolean-java.lang.String-net.ME1312.SubServers.Bungee.Host.Executable-java.lang.String-boolean-boolean-boolean-boolean-boolean-">addSubServer</a></span>(java.lang.String name,
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Host/Host.html#addSubServer-java.lang.String-boolean-int-java.lang.String-boolean-java.lang.String-net.ME1312.SubServers.Bungee.Host.Executable-java.lang.String-boolean-boolean-boolean-">addSubServer</a></span>(java.lang.String name,
|
||||||
boolean enabled,
|
boolean enabled,
|
||||||
int port,
|
int port,
|
||||||
java.lang.String motd,
|
java.lang.String motd,
|
||||||
@ -178,8 +178,6 @@ implements <a href="../../../../../net/ME1312/SubServers/Bungee/Library/ExtraDat
|
|||||||
java.lang.String directory,
|
java.lang.String directory,
|
||||||
<a href="../../../../../net/ME1312/SubServers/Bungee/Host/Executable.html" title="class in net.ME1312.SubServers.Bungee.Host">Executable</a> executable,
|
<a href="../../../../../net/ME1312/SubServers/Bungee/Host/Executable.html" title="class in net.ME1312.SubServers.Bungee.Host">Executable</a> executable,
|
||||||
java.lang.String stopcmd,
|
java.lang.String stopcmd,
|
||||||
boolean start,
|
|
||||||
boolean restart,
|
|
||||||
boolean hidden,
|
boolean hidden,
|
||||||
boolean restricted,
|
boolean restricted,
|
||||||
boolean temporary)</code>
|
boolean temporary)</code>
|
||||||
@ -188,7 +186,7 @@ implements <a href="../../../../../net/ME1312/SubServers/Bungee/Library/ExtraDat
|
|||||||
</tr>
|
</tr>
|
||||||
<tr id="i2" class="altColor">
|
<tr id="i2" class="altColor">
|
||||||
<td class="colFirst"><code>abstract <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>abstract <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/Host/Host.html#addSubServer-java.util.UUID-java.lang.String-boolean-int-java.lang.String-boolean-java.lang.String-net.ME1312.SubServers.Bungee.Host.Executable-java.lang.String-boolean-boolean-boolean-boolean-boolean-">addSubServer</a></span>(java.util.UUID player,
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Host/Host.html#addSubServer-java.util.UUID-java.lang.String-boolean-int-java.lang.String-boolean-java.lang.String-net.ME1312.SubServers.Bungee.Host.Executable-java.lang.String-boolean-boolean-boolean-">addSubServer</a></span>(java.util.UUID player,
|
||||||
java.lang.String name,
|
java.lang.String name,
|
||||||
boolean enabled,
|
boolean enabled,
|
||||||
int port,
|
int port,
|
||||||
@ -197,8 +195,6 @@ implements <a href="../../../../../net/ME1312/SubServers/Bungee/Library/ExtraDat
|
|||||||
java.lang.String directory,
|
java.lang.String directory,
|
||||||
<a href="../../../../../net/ME1312/SubServers/Bungee/Host/Executable.html" title="class in net.ME1312.SubServers.Bungee.Host">Executable</a> executable,
|
<a href="../../../../../net/ME1312/SubServers/Bungee/Host/Executable.html" title="class in net.ME1312.SubServers.Bungee.Host">Executable</a> executable,
|
||||||
java.lang.String stopcmd,
|
java.lang.String stopcmd,
|
||||||
boolean start,
|
|
||||||
boolean restart,
|
|
||||||
boolean hidden,
|
boolean hidden,
|
||||||
boolean restricted,
|
boolean restricted,
|
||||||
boolean temporary)</code>
|
boolean temporary)</code>
|
||||||
@ -334,7 +330,7 @@ implements <a href="../../../../../net/ME1312/SubServers/Bungee/Library/ExtraDat
|
|||||||
<tr id="i23" class="rowColor">
|
<tr id="i23" 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/Host.html#removeExtra-java.lang.String-">removeExtra</a></span>(java.lang.String handle)</code>
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Host/Host.html#removeExtra-java.lang.String-">removeExtra</a></span>(java.lang.String handle)</code>
|
||||||
<div class="block">Remove an extra value from this Server</div>
|
<div class="block">Remove an extra value from this Object</div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr id="i24" class="altColor">
|
<tr id="i24" class="altColor">
|
||||||
@ -741,7 +737,7 @@ implements <a href="../../../../../net/ME1312/SubServers/Bungee/Library/ExtraDat
|
|||||||
</dl>
|
</dl>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
<a name="addSubServer-java.util.UUID-java.lang.String-boolean-int-java.lang.String-boolean-java.lang.String-net.ME1312.SubServers.Bungee.Host.Executable-java.lang.String-boolean-boolean-boolean-boolean-boolean-">
|
<a name="addSubServer-java.util.UUID-java.lang.String-boolean-int-java.lang.String-boolean-java.lang.String-net.ME1312.SubServers.Bungee.Host.Executable-java.lang.String-boolean-boolean-boolean-">
|
||||||
<!-- -->
|
<!-- -->
|
||||||
</a>
|
</a>
|
||||||
<ul class="blockList">
|
<ul class="blockList">
|
||||||
@ -756,8 +752,6 @@ implements <a href="../../../../../net/ME1312/SubServers/Bungee/Library/ExtraDat
|
|||||||
java.lang.String directory,
|
java.lang.String directory,
|
||||||
<a href="../../../../../net/ME1312/SubServers/Bungee/Host/Executable.html" title="class in net.ME1312.SubServers.Bungee.Host">Executable</a> executable,
|
<a href="../../../../../net/ME1312/SubServers/Bungee/Host/Executable.html" title="class in net.ME1312.SubServers.Bungee.Host">Executable</a> executable,
|
||||||
java.lang.String stopcmd,
|
java.lang.String stopcmd,
|
||||||
boolean start,
|
|
||||||
boolean restart,
|
|
||||||
boolean hidden,
|
boolean hidden,
|
||||||
boolean restricted,
|
boolean restricted,
|
||||||
boolean temporary)
|
boolean temporary)
|
||||||
@ -774,7 +768,6 @@ implements <a href="../../../../../net/ME1312/SubServers/Bungee/Library/ExtraDat
|
|||||||
<dd><code>directory</code> - Directory</dd>
|
<dd><code>directory</code> - Directory</dd>
|
||||||
<dd><code>executable</code> - Executable</dd>
|
<dd><code>executable</code> - Executable</dd>
|
||||||
<dd><code>stopcmd</code> - Command to Stop the Server</dd>
|
<dd><code>stopcmd</code> - Command to Stop the Server</dd>
|
||||||
<dd><code>restart</code> - Auto Restart Status</dd>
|
|
||||||
<dd><code>hidden</code> - if the server should be hidden from players</dd>
|
<dd><code>hidden</code> - if the server should be hidden from players</dd>
|
||||||
<dd><code>restricted</code> - Players will need a permission to join if true</dd>
|
<dd><code>restricted</code> - Players will need a permission to join if true</dd>
|
||||||
<dd><code>temporary</code> - Temporary Status</dd>
|
<dd><code>temporary</code> - Temporary Status</dd>
|
||||||
@ -785,7 +778,7 @@ implements <a href="../../../../../net/ME1312/SubServers/Bungee/Library/ExtraDat
|
|||||||
</dl>
|
</dl>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
<a name="addSubServer-java.lang.String-boolean-int-java.lang.String-boolean-java.lang.String-net.ME1312.SubServers.Bungee.Host.Executable-java.lang.String-boolean-boolean-boolean-boolean-boolean-">
|
<a name="addSubServer-java.lang.String-boolean-int-java.lang.String-boolean-java.lang.String-net.ME1312.SubServers.Bungee.Host.Executable-java.lang.String-boolean-boolean-boolean-">
|
||||||
<!-- -->
|
<!-- -->
|
||||||
</a>
|
</a>
|
||||||
<ul class="blockList">
|
<ul class="blockList">
|
||||||
@ -799,8 +792,6 @@ implements <a href="../../../../../net/ME1312/SubServers/Bungee/Library/ExtraDat
|
|||||||
java.lang.String directory,
|
java.lang.String directory,
|
||||||
<a href="../../../../../net/ME1312/SubServers/Bungee/Host/Executable.html" title="class in net.ME1312.SubServers.Bungee.Host">Executable</a> executable,
|
<a href="../../../../../net/ME1312/SubServers/Bungee/Host/Executable.html" title="class in net.ME1312.SubServers.Bungee.Host">Executable</a> executable,
|
||||||
java.lang.String stopcmd,
|
java.lang.String stopcmd,
|
||||||
boolean start,
|
|
||||||
boolean restart,
|
|
||||||
boolean hidden,
|
boolean hidden,
|
||||||
boolean restricted,
|
boolean restricted,
|
||||||
boolean temporary)
|
boolean temporary)
|
||||||
@ -816,7 +807,6 @@ implements <a href="../../../../../net/ME1312/SubServers/Bungee/Library/ExtraDat
|
|||||||
<dd><code>directory</code> - Directory</dd>
|
<dd><code>directory</code> - Directory</dd>
|
||||||
<dd><code>executable</code> - Executable</dd>
|
<dd><code>executable</code> - Executable</dd>
|
||||||
<dd><code>stopcmd</code> - Command to Stop the Server</dd>
|
<dd><code>stopcmd</code> - Command to Stop the Server</dd>
|
||||||
<dd><code>restart</code> - Auto Restart Status</dd>
|
|
||||||
<dd><code>hidden</code> - if the server should be hidden from players</dd>
|
<dd><code>hidden</code> - if the server should be hidden from players</dd>
|
||||||
<dd><code>restricted</code> - Players will need a permission to join if true</dd>
|
<dd><code>restricted</code> - Players will need a permission to join if true</dd>
|
||||||
<dd><code>temporary</code> - Temporary Status</dd>
|
<dd><code>temporary</code> - Temporary Status</dd>
|
||||||
@ -1006,7 +996,7 @@ implements <a href="../../../../../net/ME1312/SubServers/Bungee/Library/ExtraDat
|
|||||||
<pre>public void addExtra(java.lang.String handle,
|
<pre>public void addExtra(java.lang.String handle,
|
||||||
java.lang.Object value)</pre>
|
java.lang.Object value)</pre>
|
||||||
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../net/ME1312/SubServers/Bungee/Library/ExtraDataHandler.html#addExtra-java.lang.String-java.lang.Object-">ExtraDataHandler</a></code></span></div>
|
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../net/ME1312/SubServers/Bungee/Library/ExtraDataHandler.html#addExtra-java.lang.String-java.lang.Object-">ExtraDataHandler</a></code></span></div>
|
||||||
<div class="block">Add an extra value to this Server</div>
|
<div class="block">Add an extra value to this Object</div>
|
||||||
<dl>
|
<dl>
|
||||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||||
<dd><code><a href="../../../../../net/ME1312/SubServers/Bungee/Library/ExtraDataHandler.html#addExtra-java.lang.String-java.lang.Object-">addExtra</a></code> in interface <code><a href="../../../../../net/ME1312/SubServers/Bungee/Library/ExtraDataHandler.html" title="interface in net.ME1312.SubServers.Bungee.Library">ExtraDataHandler</a></code></dd>
|
<dd><code><a href="../../../../../net/ME1312/SubServers/Bungee/Library/ExtraDataHandler.html#addExtra-java.lang.String-java.lang.Object-">addExtra</a></code> in interface <code><a href="../../../../../net/ME1312/SubServers/Bungee/Library/ExtraDataHandler.html" title="interface in net.ME1312.SubServers.Bungee.Library">ExtraDataHandler</a></code></dd>
|
||||||
@ -1079,7 +1069,7 @@ implements <a href="../../../../../net/ME1312/SubServers/Bungee/Library/ExtraDat
|
|||||||
<h4>removeExtra</h4>
|
<h4>removeExtra</h4>
|
||||||
<pre>public void removeExtra(java.lang.String handle)</pre>
|
<pre>public void removeExtra(java.lang.String handle)</pre>
|
||||||
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../net/ME1312/SubServers/Bungee/Library/ExtraDataHandler.html#removeExtra-java.lang.String-">ExtraDataHandler</a></code></span></div>
|
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../net/ME1312/SubServers/Bungee/Library/ExtraDataHandler.html#removeExtra-java.lang.String-">ExtraDataHandler</a></code></span></div>
|
||||||
<div class="block">Remove an extra value from this Server</div>
|
<div class="block">Remove an extra value from this Object</div>
|
||||||
<dl>
|
<dl>
|
||||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||||
<dd><code><a href="../../../../../net/ME1312/SubServers/Bungee/Library/ExtraDataHandler.html#removeExtra-java.lang.String-">removeExtra</a></code> in interface <code><a href="../../../../../net/ME1312/SubServers/Bungee/Library/ExtraDataHandler.html" title="interface in net.ME1312.SubServers.Bungee.Library">ExtraDataHandler</a></code></dd>
|
<dd><code><a href="../../../../../net/ME1312/SubServers/Bungee/Library/ExtraDataHandler.html#removeExtra-java.lang.String-">removeExtra</a></code> in interface <code><a href="../../../../../net/ME1312/SubServers/Bungee/Library/ExtraDataHandler.html" title="interface in net.ME1312.SubServers.Bungee.Library">ExtraDataHandler</a></code></dd>
|
||||||
|
@ -163,7 +163,7 @@ extends <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Host.html"
|
|||||||
</tr>
|
</tr>
|
||||||
<tr id="i0" class="altColor">
|
<tr id="i0" 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/Host/Internal/InternalHost.html#addSubServer-java.util.UUID-java.lang.String-boolean-int-java.lang.String-boolean-java.lang.String-net.ME1312.SubServers.Bungee.Host.Executable-java.lang.String-boolean-boolean-boolean-boolean-boolean-">addSubServer</a></span>(java.util.UUID player,
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Internal/InternalHost.html#addSubServer-java.util.UUID-java.lang.String-boolean-int-java.lang.String-boolean-java.lang.String-net.ME1312.SubServers.Bungee.Host.Executable-java.lang.String-boolean-boolean-boolean-">addSubServer</a></span>(java.util.UUID player,
|
||||||
java.lang.String name,
|
java.lang.String name,
|
||||||
boolean enabled,
|
boolean enabled,
|
||||||
int port,
|
int port,
|
||||||
@ -172,8 +172,6 @@ extends <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Host.html"
|
|||||||
java.lang.String directory,
|
java.lang.String directory,
|
||||||
<a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Executable.html" title="class in net.ME1312.SubServers.Bungee.Host">Executable</a> executable,
|
<a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Executable.html" title="class in net.ME1312.SubServers.Bungee.Host">Executable</a> executable,
|
||||||
java.lang.String stopcmd,
|
java.lang.String stopcmd,
|
||||||
boolean start,
|
|
||||||
boolean restart,
|
|
||||||
boolean hidden,
|
boolean hidden,
|
||||||
boolean restricted,
|
boolean restricted,
|
||||||
boolean temporary)</code>
|
boolean temporary)</code>
|
||||||
@ -262,7 +260,7 @@ extends <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Host.html"
|
|||||||
<!-- -->
|
<!-- -->
|
||||||
</a>
|
</a>
|
||||||
<h3>Methods inherited from class net.ME1312.SubServers.Bungee.Host.<a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Host.html" title="class in net.ME1312.SubServers.Bungee.Host">Host</a></h3>
|
<h3>Methods inherited from class net.ME1312.SubServers.Bungee.Host.<a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Host.html" title="class in net.ME1312.SubServers.Bungee.Host">Host</a></h3>
|
||||||
<code><a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Host.html#addExtra-java.lang.String-java.lang.Object-">addExtra</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Host.html#addSubServer-java.lang.String-boolean-int-java.lang.String-boolean-java.lang.String-net.ME1312.SubServers.Bungee.Host.Executable-java.lang.String-boolean-boolean-boolean-boolean-boolean-">addSubServer</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Host.html#command-java.lang.String-java.lang.String...-">command</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Host.html#command-java.util.UUID-java.lang.String-java.lang.String...-">command</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Host.html#deleteSubServer-java.lang.String-">deleteSubServer</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Host.html#forceDeleteSubServer-java.lang.String-">forceDeleteSubServer</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Host.html#forceRemoveSubServer-java.lang.String-">forceRemoveSubServer</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Host.html#getDisplayName--">getDisplayName</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Host.html#getExtra--">getExtra</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Host.html#getExtra-java.lang.String-">getExtra</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Host.html#getSignature--">getSignature</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Host.html#hasExtra-java.lang.String-">hasExtra</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Host.html#removeExtra-java.lang.String-">removeExtra</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Host.html#removeSubServer-java.lang.String-">removeSubServer</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Host.html#setDisplayName-java.lang.String-">setDisplayName</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Host.html#start-java.lang.String...-">start</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Host.html#start-java.util.UUID-java.lang.String...-">start</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Host.html#stop-java.lang.String...-">stop</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Host.html#stop-java.util.UUID-java.lang.String...-">stop</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Host.html#terminate-java.lang.String...-">terminate</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Host.html#terminate-java.util.UUID-java.lang.String...-">terminate</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Host.html#toString--">toString</a></code></li>
|
<code><a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Host.html#addExtra-java.lang.String-java.lang.Object-">addExtra</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Host.html#addSubServer-java.lang.String-boolean-int-java.lang.String-boolean-java.lang.String-net.ME1312.SubServers.Bungee.Host.Executable-java.lang.String-boolean-boolean-boolean-">addSubServer</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Host.html#command-java.lang.String-java.lang.String...-">command</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Host.html#command-java.util.UUID-java.lang.String-java.lang.String...-">command</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Host.html#deleteSubServer-java.lang.String-">deleteSubServer</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Host.html#forceDeleteSubServer-java.lang.String-">forceDeleteSubServer</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Host.html#forceRemoveSubServer-java.lang.String-">forceRemoveSubServer</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Host.html#getDisplayName--">getDisplayName</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Host.html#getExtra--">getExtra</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Host.html#getExtra-java.lang.String-">getExtra</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Host.html#getSignature--">getSignature</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Host.html#hasExtra-java.lang.String-">hasExtra</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Host.html#removeExtra-java.lang.String-">removeExtra</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Host.html#removeSubServer-java.lang.String-">removeSubServer</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Host.html#setDisplayName-java.lang.String-">setDisplayName</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Host.html#start-java.lang.String...-">start</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Host.html#start-java.util.UUID-java.lang.String...-">start</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Host.html#stop-java.lang.String...-">stop</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Host.html#stop-java.util.UUID-java.lang.String...-">stop</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Host.html#terminate-java.lang.String...-">terminate</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Host.html#terminate-java.util.UUID-java.lang.String...-">terminate</a>, <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Host.html#toString--">toString</a></code></li>
|
||||||
</ul>
|
</ul>
|
||||||
<ul class="blockList">
|
<ul class="blockList">
|
||||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
|
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
|
||||||
@ -455,7 +453,7 @@ extends <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Host.html"
|
|||||||
</dl>
|
</dl>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
<a name="addSubServer-java.util.UUID-java.lang.String-boolean-int-java.lang.String-boolean-java.lang.String-net.ME1312.SubServers.Bungee.Host.Executable-java.lang.String-boolean-boolean-boolean-boolean-boolean-">
|
<a name="addSubServer-java.util.UUID-java.lang.String-boolean-int-java.lang.String-boolean-java.lang.String-net.ME1312.SubServers.Bungee.Host.Executable-java.lang.String-boolean-boolean-boolean-">
|
||||||
<!-- -->
|
<!-- -->
|
||||||
</a>
|
</a>
|
||||||
<ul class="blockList">
|
<ul class="blockList">
|
||||||
@ -470,17 +468,15 @@ extends <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Host.html"
|
|||||||
java.lang.String directory,
|
java.lang.String directory,
|
||||||
<a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Executable.html" title="class in net.ME1312.SubServers.Bungee.Host">Executable</a> executable,
|
<a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Executable.html" title="class in net.ME1312.SubServers.Bungee.Host">Executable</a> executable,
|
||||||
java.lang.String stopcmd,
|
java.lang.String stopcmd,
|
||||||
boolean start,
|
|
||||||
boolean restart,
|
|
||||||
boolean hidden,
|
boolean hidden,
|
||||||
boolean restricted,
|
boolean restricted,
|
||||||
boolean temporary)
|
boolean temporary)
|
||||||
throws <a href="../../../../../../net/ME1312/SubServers/Bungee/Library/Exception/InvalidServerException.html" title="class in net.ME1312.SubServers.Bungee.Library.Exception">InvalidServerException</a></pre>
|
throws <a href="../../../../../../net/ME1312/SubServers/Bungee/Library/Exception/InvalidServerException.html" title="class in net.ME1312.SubServers.Bungee.Library.Exception">InvalidServerException</a></pre>
|
||||||
<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Host.html#addSubServer-java.util.UUID-java.lang.String-boolean-int-java.lang.String-boolean-java.lang.String-net.ME1312.SubServers.Bungee.Host.Executable-java.lang.String-boolean-boolean-boolean-boolean-boolean-">Host</a></code></span></div>
|
<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Host.html#addSubServer-java.util.UUID-java.lang.String-boolean-int-java.lang.String-boolean-java.lang.String-net.ME1312.SubServers.Bungee.Host.Executable-java.lang.String-boolean-boolean-boolean-">Host</a></code></span></div>
|
||||||
<div class="block">Adds a SubServer</div>
|
<div class="block">Adds a SubServer</div>
|
||||||
<dl>
|
<dl>
|
||||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||||
<dd><code><a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Host.html#addSubServer-java.util.UUID-java.lang.String-boolean-int-java.lang.String-boolean-java.lang.String-net.ME1312.SubServers.Bungee.Host.Executable-java.lang.String-boolean-boolean-boolean-boolean-boolean-">addSubServer</a></code> in class <code><a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Host.html" title="class in net.ME1312.SubServers.Bungee.Host">Host</a></code></dd>
|
<dd><code><a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Host.html#addSubServer-java.util.UUID-java.lang.String-boolean-int-java.lang.String-boolean-java.lang.String-net.ME1312.SubServers.Bungee.Host.Executable-java.lang.String-boolean-boolean-boolean-">addSubServer</a></code> in class <code><a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Host.html" title="class in net.ME1312.SubServers.Bungee.Host">Host</a></code></dd>
|
||||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||||
<dd><code>player</code> - Player who Added</dd>
|
<dd><code>player</code> - Player who Added</dd>
|
||||||
<dd><code>name</code> - Name of Server</dd>
|
<dd><code>name</code> - Name of Server</dd>
|
||||||
@ -491,7 +487,6 @@ extends <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Host.html"
|
|||||||
<dd><code>directory</code> - Directory</dd>
|
<dd><code>directory</code> - Directory</dd>
|
||||||
<dd><code>executable</code> - Executable</dd>
|
<dd><code>executable</code> - Executable</dd>
|
||||||
<dd><code>stopcmd</code> - Command to Stop the Server</dd>
|
<dd><code>stopcmd</code> - Command to Stop the Server</dd>
|
||||||
<dd><code>restart</code> - Auto Restart Status</dd>
|
|
||||||
<dd><code>hidden</code> - if the server should be hidden from players</dd>
|
<dd><code>hidden</code> - if the server should be hidden from players</dd>
|
||||||
<dd><code>restricted</code> - Players will need a permission to join if true</dd>
|
<dd><code>restricted</code> - Players will need a permission to join if true</dd>
|
||||||
<dd><code>temporary</code> - Temporary Status</dd>
|
<dd><code>temporary</code> - Temporary Status</dd>
|
||||||
|
@ -162,7 +162,7 @@ extends <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/SubServerCo
|
|||||||
<th class="colOne" scope="col">Constructor and Description</th>
|
<th class="colOne" scope="col">Constructor and Description</th>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="altColor">
|
<tr class="altColor">
|
||||||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Internal/InternalSubServer.html#InternalSubServer-net.ME1312.SubServers.Bungee.Host.Internal.InternalHost-java.lang.String-boolean-int-java.lang.String-boolean-java.lang.String-net.ME1312.SubServers.Bungee.Host.Executable-java.lang.String-boolean-boolean-boolean-boolean-boolean-">InternalSubServer</a></span>(<a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Internal/InternalHost.html" title="class in net.ME1312.SubServers.Bungee.Host.Internal">InternalHost</a> host,
|
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Internal/InternalSubServer.html#InternalSubServer-net.ME1312.SubServers.Bungee.Host.Internal.InternalHost-java.lang.String-boolean-int-java.lang.String-boolean-java.lang.String-net.ME1312.SubServers.Bungee.Host.Executable-java.lang.String-boolean-boolean-boolean-">InternalSubServer</a></span>(<a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Internal/InternalHost.html" title="class in net.ME1312.SubServers.Bungee.Host.Internal">InternalHost</a> host,
|
||||||
java.lang.String name,
|
java.lang.String name,
|
||||||
boolean enabled,
|
boolean enabled,
|
||||||
int port,
|
int port,
|
||||||
@ -171,8 +171,6 @@ extends <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/SubServerCo
|
|||||||
java.lang.String directory,
|
java.lang.String directory,
|
||||||
<a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Executable.html" title="class in net.ME1312.SubServers.Bungee.Host">Executable</a> executable,
|
<a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Executable.html" title="class in net.ME1312.SubServers.Bungee.Host">Executable</a> executable,
|
||||||
java.lang.String stopcmd,
|
java.lang.String stopcmd,
|
||||||
boolean start,
|
|
||||||
boolean restart,
|
|
||||||
boolean hidden,
|
boolean hidden,
|
||||||
boolean restricted,
|
boolean restricted,
|
||||||
boolean temporary)</code>
|
boolean temporary)</code>
|
||||||
@ -417,7 +415,7 @@ extends <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/SubServerCo
|
|||||||
<!-- -->
|
<!-- -->
|
||||||
</a>
|
</a>
|
||||||
<h3>Constructor Detail</h3>
|
<h3>Constructor Detail</h3>
|
||||||
<a name="InternalSubServer-net.ME1312.SubServers.Bungee.Host.Internal.InternalHost-java.lang.String-boolean-int-java.lang.String-boolean-java.lang.String-net.ME1312.SubServers.Bungee.Host.Executable-java.lang.String-boolean-boolean-boolean-boolean-boolean-">
|
<a name="InternalSubServer-net.ME1312.SubServers.Bungee.Host.Internal.InternalHost-java.lang.String-boolean-int-java.lang.String-boolean-java.lang.String-net.ME1312.SubServers.Bungee.Host.Executable-java.lang.String-boolean-boolean-boolean-">
|
||||||
<!-- -->
|
<!-- -->
|
||||||
</a>
|
</a>
|
||||||
<ul class="blockListLast">
|
<ul class="blockListLast">
|
||||||
@ -432,8 +430,6 @@ extends <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/SubServerCo
|
|||||||
java.lang.String directory,
|
java.lang.String directory,
|
||||||
<a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Executable.html" title="class in net.ME1312.SubServers.Bungee.Host">Executable</a> executable,
|
<a href="../../../../../../net/ME1312/SubServers/Bungee/Host/Executable.html" title="class in net.ME1312.SubServers.Bungee.Host">Executable</a> executable,
|
||||||
java.lang.String stopcmd,
|
java.lang.String stopcmd,
|
||||||
boolean start,
|
|
||||||
boolean restart,
|
|
||||||
boolean hidden,
|
boolean hidden,
|
||||||
boolean restricted,
|
boolean restricted,
|
||||||
boolean temporary)
|
boolean temporary)
|
||||||
@ -450,8 +446,6 @@ extends <a href="../../../../../../net/ME1312/SubServers/Bungee/Host/SubServerCo
|
|||||||
<dd><code>directory</code> - Directory</dd>
|
<dd><code>directory</code> - Directory</dd>
|
||||||
<dd><code>executable</code> - Executable String</dd>
|
<dd><code>executable</code> - Executable String</dd>
|
||||||
<dd><code>stopcmd</code> - Stop Command</dd>
|
<dd><code>stopcmd</code> - Stop Command</dd>
|
||||||
<dd><code>start</code> - Auto-Start</dd>
|
|
||||||
<dd><code>restart</code> - Auto-Restart</dd>
|
|
||||||
<dd><code>hidden</code> - Hidden Status</dd>
|
<dd><code>hidden</code> - Hidden Status</dd>
|
||||||
<dd><code>restricted</code> - Restricted Status</dd>
|
<dd><code>restricted</code> - Restricted Status</dd>
|
||||||
<dd><code>temporary</code> - Temporary Status</dd>
|
<dd><code>temporary</code> - Temporary Status</dd>
|
||||||
|
@ -154,7 +154,7 @@ implements <a href="../../../../../net/ME1312/SubServers/Bungee/Network/ClientHa
|
|||||||
<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/Proxy.html#addExtra-java.lang.String-java.lang.Object-">addExtra</a></span>(java.lang.String handle,
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Host/Proxy.html#addExtra-java.lang.String-java.lang.Object-">addExtra</a></span>(java.lang.String handle,
|
||||||
java.lang.Object value)</code>
|
java.lang.Object value)</code>
|
||||||
<div class="block">Add an extra value to this Server</div>
|
<div class="block">Add an extra value to this Object</div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr id="i1" class="rowColor">
|
<tr id="i1" class="rowColor">
|
||||||
@ -208,7 +208,7 @@ implements <a href="../../../../../net/ME1312/SubServers/Bungee/Network/ClientHa
|
|||||||
<tr id="i9" class="rowColor">
|
<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/Proxy.html#removeExtra-java.lang.String-">removeExtra</a></span>(java.lang.String handle)</code>
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Host/Proxy.html#removeExtra-java.lang.String-">removeExtra</a></span>(java.lang.String handle)</code>
|
||||||
<div class="block">Remove an extra value from this Server</div>
|
<div class="block">Remove an extra value from this Object</div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr id="i10" class="altColor">
|
<tr id="i10" class="altColor">
|
||||||
@ -386,7 +386,7 @@ implements <a href="../../../../../net/ME1312/SubServers/Bungee/Network/ClientHa
|
|||||||
<pre>public void addExtra(java.lang.String handle,
|
<pre>public void addExtra(java.lang.String handle,
|
||||||
java.lang.Object value)</pre>
|
java.lang.Object value)</pre>
|
||||||
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../net/ME1312/SubServers/Bungee/Library/ExtraDataHandler.html#addExtra-java.lang.String-java.lang.Object-">ExtraDataHandler</a></code></span></div>
|
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../net/ME1312/SubServers/Bungee/Library/ExtraDataHandler.html#addExtra-java.lang.String-java.lang.Object-">ExtraDataHandler</a></code></span></div>
|
||||||
<div class="block">Add an extra value to this Server</div>
|
<div class="block">Add an extra value to this Object</div>
|
||||||
<dl>
|
<dl>
|
||||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||||
<dd><code><a href="../../../../../net/ME1312/SubServers/Bungee/Library/ExtraDataHandler.html#addExtra-java.lang.String-java.lang.Object-">addExtra</a></code> in interface <code><a href="../../../../../net/ME1312/SubServers/Bungee/Library/ExtraDataHandler.html" title="interface in net.ME1312.SubServers.Bungee.Library">ExtraDataHandler</a></code></dd>
|
<dd><code><a href="../../../../../net/ME1312/SubServers/Bungee/Library/ExtraDataHandler.html#addExtra-java.lang.String-java.lang.Object-">addExtra</a></code> in interface <code><a href="../../../../../net/ME1312/SubServers/Bungee/Library/ExtraDataHandler.html" title="interface in net.ME1312.SubServers.Bungee.Library">ExtraDataHandler</a></code></dd>
|
||||||
@ -459,7 +459,7 @@ implements <a href="../../../../../net/ME1312/SubServers/Bungee/Network/ClientHa
|
|||||||
<h4>removeExtra</h4>
|
<h4>removeExtra</h4>
|
||||||
<pre>public void removeExtra(java.lang.String handle)</pre>
|
<pre>public void removeExtra(java.lang.String handle)</pre>
|
||||||
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../net/ME1312/SubServers/Bungee/Library/ExtraDataHandler.html#removeExtra-java.lang.String-">ExtraDataHandler</a></code></span></div>
|
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../net/ME1312/SubServers/Bungee/Library/ExtraDataHandler.html#removeExtra-java.lang.String-">ExtraDataHandler</a></code></span></div>
|
||||||
<div class="block">Remove an extra value from this Server</div>
|
<div class="block">Remove an extra value from this Object</div>
|
||||||
<dl>
|
<dl>
|
||||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||||
<dd><code><a href="../../../../../net/ME1312/SubServers/Bungee/Library/ExtraDataHandler.html#removeExtra-java.lang.String-">removeExtra</a></code> in interface <code><a href="../../../../../net/ME1312/SubServers/Bungee/Library/ExtraDataHandler.html" title="interface in net.ME1312.SubServers.Bungee.Library">ExtraDataHandler</a></code></dd>
|
<dd><code><a href="../../../../../net/ME1312/SubServers/Bungee/Library/ExtraDataHandler.html#removeExtra-java.lang.String-">removeExtra</a></code> in interface <code><a href="../../../../../net/ME1312/SubServers/Bungee/Library/ExtraDataHandler.html" title="interface in net.ME1312.SubServers.Bungee.Library">ExtraDataHandler</a></code></dd>
|
||||||
|
@ -167,7 +167,7 @@ implements <a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html
|
|||||||
<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#addExtra-java.lang.String-java.lang.Object-">addExtra</a></span>(java.lang.String handle,
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Host/ServerContainer.html#addExtra-java.lang.String-java.lang.Object-">addExtra</a></span>(java.lang.String handle,
|
||||||
java.lang.Object value)</code>
|
java.lang.Object value)</code>
|
||||||
<div class="block">Add an extra value to this Server</div>
|
<div class="block">Add an extra value to this Object</div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr id="i1" class="rowColor">
|
<tr id="i1" class="rowColor">
|
||||||
@ -233,7 +233,7 @@ implements <a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html
|
|||||||
<tr id="i11" class="rowColor">
|
<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/ServerContainer.html#removeExtra-java.lang.String-">removeExtra</a></span>(java.lang.String 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 handle)</code>
|
||||||
<div class="block">Remove an extra value from this Server</div>
|
<div class="block">Remove an extra value from this Object</div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr id="i12" class="altColor">
|
<tr id="i12" class="altColor">
|
||||||
@ -577,7 +577,7 @@ implements <a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html
|
|||||||
<pre>public void addExtra(java.lang.String handle,
|
<pre>public void addExtra(java.lang.String handle,
|
||||||
java.lang.Object value)</pre>
|
java.lang.Object value)</pre>
|
||||||
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../net/ME1312/SubServers/Bungee/Library/ExtraDataHandler.html#addExtra-java.lang.String-java.lang.Object-">ExtraDataHandler</a></code></span></div>
|
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../net/ME1312/SubServers/Bungee/Library/ExtraDataHandler.html#addExtra-java.lang.String-java.lang.Object-">ExtraDataHandler</a></code></span></div>
|
||||||
<div class="block">Add an extra value to this Server</div>
|
<div class="block">Add an extra value to this Object</div>
|
||||||
<dl>
|
<dl>
|
||||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||||
<dd><code><a href="../../../../../net/ME1312/SubServers/Bungee/Library/ExtraDataHandler.html#addExtra-java.lang.String-java.lang.Object-">addExtra</a></code> in interface <code><a href="../../../../../net/ME1312/SubServers/Bungee/Library/ExtraDataHandler.html" title="interface in net.ME1312.SubServers.Bungee.Library">ExtraDataHandler</a></code></dd>
|
<dd><code><a href="../../../../../net/ME1312/SubServers/Bungee/Library/ExtraDataHandler.html#addExtra-java.lang.String-java.lang.Object-">addExtra</a></code> in interface <code><a href="../../../../../net/ME1312/SubServers/Bungee/Library/ExtraDataHandler.html" title="interface in net.ME1312.SubServers.Bungee.Library">ExtraDataHandler</a></code></dd>
|
||||||
@ -650,7 +650,7 @@ implements <a href="../../../../../net/ME1312/SubServers/Bungee/Host/Server.html
|
|||||||
<h4>removeExtra</h4>
|
<h4>removeExtra</h4>
|
||||||
<pre>public void removeExtra(java.lang.String handle)</pre>
|
<pre>public void removeExtra(java.lang.String handle)</pre>
|
||||||
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../net/ME1312/SubServers/Bungee/Library/ExtraDataHandler.html#removeExtra-java.lang.String-">ExtraDataHandler</a></code></span></div>
|
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../net/ME1312/SubServers/Bungee/Library/ExtraDataHandler.html#removeExtra-java.lang.String-">ExtraDataHandler</a></code></span></div>
|
||||||
<div class="block">Remove an extra value from this Server</div>
|
<div class="block">Remove an extra value from this Object</div>
|
||||||
<dl>
|
<dl>
|
||||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||||
<dd><code><a href="../../../../../net/ME1312/SubServers/Bungee/Library/ExtraDataHandler.html#removeExtra-java.lang.String-">removeExtra</a></code> in interface <code><a href="../../../../../net/ME1312/SubServers/Bungee/Library/ExtraDataHandler.html" title="interface in net.ME1312.SubServers.Bungee.Library">ExtraDataHandler</a></code></dd>
|
<dd><code><a href="../../../../../net/ME1312/SubServers/Bungee/Library/ExtraDataHandler.html#removeExtra-java.lang.String-">removeExtra</a></code> in interface <code><a href="../../../../../net/ME1312/SubServers/Bungee/Library/ExtraDataHandler.html" title="interface in net.ME1312.SubServers.Bungee.Library">ExtraDataHandler</a></code></dd>
|
||||||
|
@ -131,7 +131,7 @@ var activeTableTab = "activeTableTab";
|
|||||||
<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/Library/ExtraDataHandler.html#addExtra-java.lang.String-java.lang.Object-">addExtra</a></span>(java.lang.String handle,
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Library/ExtraDataHandler.html#addExtra-java.lang.String-java.lang.Object-">addExtra</a></span>(java.lang.String handle,
|
||||||
java.lang.Object value)</code>
|
java.lang.Object value)</code>
|
||||||
<div class="block">Add an extra value to this Server</div>
|
<div class="block">Add an extra value to this Object</div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr id="i1" class="rowColor">
|
<tr id="i1" class="rowColor">
|
||||||
@ -155,7 +155,7 @@ var activeTableTab = "activeTableTab";
|
|||||||
<tr id="i4" class="altColor">
|
<tr id="i4" 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/Library/ExtraDataHandler.html#removeExtra-java.lang.String-">removeExtra</a></span>(java.lang.String handle)</code>
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Library/ExtraDataHandler.html#removeExtra-java.lang.String-">removeExtra</a></span>(java.lang.String handle)</code>
|
||||||
<div class="block">Remove an extra value from this Server</div>
|
<div class="block">Remove an extra value from this Object</div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
@ -181,7 +181,7 @@ var activeTableTab = "activeTableTab";
|
|||||||
<h4>addExtra</h4>
|
<h4>addExtra</h4>
|
||||||
<pre>void addExtra(java.lang.String handle,
|
<pre>void addExtra(java.lang.String handle,
|
||||||
java.lang.Object value)</pre>
|
java.lang.Object value)</pre>
|
||||||
<div class="block">Add an extra value to this Server</div>
|
<div class="block">Add an extra value to this Object</div>
|
||||||
<dl>
|
<dl>
|
||||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||||
<dd><code>handle</code> - Handle</dd>
|
<dd><code>handle</code> - Handle</dd>
|
||||||
@ -242,7 +242,7 @@ var activeTableTab = "activeTableTab";
|
|||||||
<li class="blockList">
|
<li class="blockList">
|
||||||
<h4>removeExtra</h4>
|
<h4>removeExtra</h4>
|
||||||
<pre>void removeExtra(java.lang.String handle)</pre>
|
<pre>void removeExtra(java.lang.String handle)</pre>
|
||||||
<div class="block">Remove an extra value from this Server</div>
|
<div class="block">Remove an extra value from this Object</div>
|
||||||
<dl>
|
<dl>
|
||||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||||
<dd><code>handle</code> - Handle</dd>
|
<dd><code>handle</code> - Handle</dd>
|
||||||
|
@ -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};
|
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":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";
|
||||||
@ -157,7 +157,7 @@ extends java.lang.Object</pre>
|
|||||||
<tr id="i1" class="rowColor">
|
<tr id="i1" 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/Network/Client.html#disconnect--">disconnect</a></span>()</code>
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Network/Client.html#disconnect--">disconnect</a></span>()</code>
|
||||||
<div class="block">Disconnects the Client (does not remove them from the server)</div>
|
<div class="block">Disconnects the Client</div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr id="i2" class="altColor">
|
<tr id="i2" class="altColor">
|
||||||
@ -185,12 +185,18 @@ extends java.lang.Object</pre>
|
|||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr id="i6" class="altColor">
|
<tr id="i6" class="altColor">
|
||||||
|
<td class="colFirst"><code>boolean</code></td>
|
||||||
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Network/Client.html#isClosed--">isClosed</a></span>()</code>
|
||||||
|
<div class="block">Get if the connection has been closed</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr id="i7" 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/Network/Client.html#sendPacket-net.ME1312.SubServers.Bungee.Network.PacketOut-">sendPacket</a></span>(<a href="../../../../../net/ME1312/SubServers/Bungee/Network/PacketOut.html" title="interface in net.ME1312.SubServers.Bungee.Network">PacketOut</a> packet)</code>
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Network/Client.html#sendPacket-net.ME1312.SubServers.Bungee.Network.PacketOut-">sendPacket</a></span>(<a href="../../../../../net/ME1312/SubServers/Bungee/Network/PacketOut.html" title="interface in net.ME1312.SubServers.Bungee.Network">PacketOut</a> packet)</code>
|
||||||
<div class="block">Send Packet to Client</div>
|
<div class="block">Send Packet to Client</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/Network/Client.html#setHandler-net.ME1312.SubServers.Bungee.Network.ClientHandler-">setHandler</a></span>(<a href="../../../../../net/ME1312/SubServers/Bungee/Network/ClientHandler.html" title="interface in net.ME1312.SubServers.Bungee.Network">ClientHandler</a> obj)</code>
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Network/Client.html#setHandler-net.ME1312.SubServers.Bungee.Network.ClientHandler-">setHandler</a></span>(<a href="../../../../../net/ME1312/SubServers/Bungee/Network/ClientHandler.html" title="interface in net.ME1312.SubServers.Bungee.Network">ClientHandler</a> obj)</code>
|
||||||
<div class="block">Sets the Handler</div>
|
<div class="block">Sets the Handler</div>
|
||||||
@ -283,6 +289,20 @@ extends java.lang.Object</pre>
|
|||||||
</dl>
|
</dl>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
<a name="isClosed--">
|
||||||
|
<!-- -->
|
||||||
|
</a>
|
||||||
|
<ul class="blockList">
|
||||||
|
<li class="blockList">
|
||||||
|
<h4>isClosed</h4>
|
||||||
|
<pre>public boolean isClosed()</pre>
|
||||||
|
<div class="block">Get if the connection has been closed</div>
|
||||||
|
<dl>
|
||||||
|
<dt><span class="returnLabel">Returns:</span></dt>
|
||||||
|
<dd>Closed Stauts</dd>
|
||||||
|
</dl>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
<a name="getAddress--">
|
<a name="getAddress--">
|
||||||
<!-- -->
|
<!-- -->
|
||||||
</a>
|
</a>
|
||||||
@ -347,7 +367,7 @@ extends java.lang.Object</pre>
|
|||||||
<h4>disconnect</h4>
|
<h4>disconnect</h4>
|
||||||
<pre>public void disconnect()
|
<pre>public void disconnect()
|
||||||
throws java.io.IOException</pre>
|
throws java.io.IOException</pre>
|
||||||
<div class="block">Disconnects the Client (does not remove them from the server)</div>
|
<div class="block">Disconnects the Client</div>
|
||||||
<dl>
|
<dl>
|
||||||
<dt><span class="throwsLabel">Throws:</span></dt>
|
<dt><span class="throwsLabel">Throws:</span></dt>
|
||||||
<dd><code>java.io.IOException</code></dd>
|
<dd><code>java.io.IOException</code></dd>
|
||||||
|
@ -133,7 +133,8 @@ implements <a href="../../../../../../net/ME1312/SubServers/Bungee/Network/Packe
|
|||||||
<th class="colOne" scope="col">Constructor and Description</th>
|
<th class="colOne" scope="col">Constructor and Description</th>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="altColor">
|
<tr class="altColor">
|
||||||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Bungee/Network/Packet/PacketLinkServer.html#PacketLinkServer-int-java.lang.String-">PacketLinkServer</a></span>(int response,
|
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Bungee/Network/Packet/PacketLinkServer.html#PacketLinkServer-java.lang.String-int-java.lang.String-">PacketLinkServer</a></span>(java.lang.String name,
|
||||||
|
int response,
|
||||||
java.lang.String message)</code>
|
java.lang.String message)</code>
|
||||||
<div class="block">New PacketLinkServer (Out)</div>
|
<div class="block">New PacketLinkServer (Out)</div>
|
||||||
</td>
|
</td>
|
||||||
@ -220,17 +221,19 @@ implements <a href="../../../../../../net/ME1312/SubServers/Bungee/Network/Packe
|
|||||||
</dl>
|
</dl>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
<a name="PacketLinkServer-int-java.lang.String-">
|
<a name="PacketLinkServer-java.lang.String-int-java.lang.String-">
|
||||||
<!-- -->
|
<!-- -->
|
||||||
</a>
|
</a>
|
||||||
<ul class="blockListLast">
|
<ul class="blockListLast">
|
||||||
<li class="blockList">
|
<li class="blockList">
|
||||||
<h4>PacketLinkServer</h4>
|
<h4>PacketLinkServer</h4>
|
||||||
<pre>public PacketLinkServer(int response,
|
<pre>public PacketLinkServer(java.lang.String name,
|
||||||
|
int response,
|
||||||
java.lang.String message)</pre>
|
java.lang.String message)</pre>
|
||||||
<div class="block">New PacketLinkServer (Out)</div>
|
<div class="block">New PacketLinkServer (Out)</div>
|
||||||
<dl>
|
<dl>
|
||||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||||
|
<dd><code>name</code> - The name that was determined</dd>
|
||||||
<dd><code>response</code> - Response ID</dd>
|
<dd><code>response</code> - Response ID</dd>
|
||||||
<dd><code>message</code> - Message</dd>
|
<dd><code>message</code> - Message</dd>
|
||||||
</dl>
|
</dl>
|
||||||
|
Binary file not shown.
@ -78,7 +78,7 @@
|
|||||||
</dd>
|
</dd>
|
||||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Client/Bukkit/Library/ExtraDataHandler.html#addExtra-java.lang.String-java.lang.Object-">addExtra(String, Object)</a></span> - Method in interface net.ME1312.SubServers.Client.Bukkit.Library.<a href="net/ME1312/SubServers/Client/Bukkit/Library/ExtraDataHandler.html" title="interface in net.ME1312.SubServers.Client.Bukkit.Library">ExtraDataHandler</a></dt>
|
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Client/Bukkit/Library/ExtraDataHandler.html#addExtra-java.lang.String-java.lang.Object-">addExtra(String, Object)</a></span> - Method in interface net.ME1312.SubServers.Client.Bukkit.Library.<a href="net/ME1312/SubServers/Client/Bukkit/Library/ExtraDataHandler.html" title="interface in net.ME1312.SubServers.Client.Bukkit.Library">ExtraDataHandler</a></dt>
|
||||||
<dd>
|
<dd>
|
||||||
<div class="block">Add an extra value to this Server</div>
|
<div class="block">Add an extra value to this Object</div>
|
||||||
</dd>
|
</dd>
|
||||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Client/Bukkit/Graphic/UIRenderer.html#addHostPlugin-java.lang.String-net.ME1312.SubServers.Client.Bukkit.Graphic.Renderer-">addHostPlugin(String, Renderer)</a></span> - Static method in class net.ME1312.SubServers.Client.Bukkit.Graphic.<a href="net/ME1312/SubServers/Client/Bukkit/Graphic/UIRenderer.html" title="class in net.ME1312.SubServers.Client.Bukkit.Graphic">UIRenderer</a></dt>
|
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Client/Bukkit/Graphic/UIRenderer.html#addHostPlugin-java.lang.String-net.ME1312.SubServers.Client.Bukkit.Graphic.Renderer-">addHostPlugin(String, Renderer)</a></span> - Static method in class net.ME1312.SubServers.Client.Bukkit.Graphic.<a href="net/ME1312/SubServers/Client/Bukkit/Graphic/UIRenderer.html" title="class in net.ME1312.SubServers.Client.Bukkit.Graphic">UIRenderer</a></dt>
|
||||||
<dd>
|
<dd>
|
||||||
@ -1521,7 +1521,7 @@
|
|||||||
</dd>
|
</dd>
|
||||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Client/Bukkit/Library/ExtraDataHandler.html#removeExtra-java.lang.String-">removeExtra(String)</a></span> - Method in interface net.ME1312.SubServers.Client.Bukkit.Library.<a href="net/ME1312/SubServers/Client/Bukkit/Library/ExtraDataHandler.html" title="interface in net.ME1312.SubServers.Client.Bukkit.Library">ExtraDataHandler</a></dt>
|
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Client/Bukkit/Library/ExtraDataHandler.html#removeExtra-java.lang.String-">removeExtra(String)</a></span> - Method in interface net.ME1312.SubServers.Client.Bukkit.Library.<a href="net/ME1312/SubServers/Client/Bukkit/Library/ExtraDataHandler.html" title="interface in net.ME1312.SubServers.Client.Bukkit.Library">ExtraDataHandler</a></dt>
|
||||||
<dd>
|
<dd>
|
||||||
<div class="block">Remove an extra value from this Server</div>
|
<div class="block">Remove an extra value from this Object</div>
|
||||||
</dd>
|
</dd>
|
||||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Client/Bukkit/Graphic/UIRenderer.html#removeHostPlugin-java.lang.String-">removeHostPlugin(String)</a></span> - Static method in class net.ME1312.SubServers.Client.Bukkit.Graphic.<a href="net/ME1312/SubServers/Client/Bukkit/Graphic/UIRenderer.html" title="class in net.ME1312.SubServers.Client.Bukkit.Graphic">UIRenderer</a></dt>
|
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Client/Bukkit/Graphic/UIRenderer.html#removeHostPlugin-java.lang.String-">removeHostPlugin(String)</a></span> - Static method in class net.ME1312.SubServers.Client.Bukkit.Graphic.<a href="net/ME1312/SubServers/Client/Bukkit/Graphic/UIRenderer.html" title="class in net.ME1312.SubServers.Client.Bukkit.Graphic">UIRenderer</a></dt>
|
||||||
<dd>
|
<dd>
|
||||||
|
@ -123,7 +123,7 @@ var activeTableTab = "activeTableTab";
|
|||||||
<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/Client/Bukkit/Library/ExtraDataHandler.html#addExtra-java.lang.String-java.lang.Object-">addExtra</a></span>(java.lang.String handle,
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/ExtraDataHandler.html#addExtra-java.lang.String-java.lang.Object-">addExtra</a></span>(java.lang.String handle,
|
||||||
java.lang.Object value)</code>
|
java.lang.Object value)</code>
|
||||||
<div class="block">Add an extra value to this Server</div>
|
<div class="block">Add an extra value to this Object</div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr id="i1" class="rowColor">
|
<tr id="i1" class="rowColor">
|
||||||
@ -147,7 +147,7 @@ var activeTableTab = "activeTableTab";
|
|||||||
<tr id="i4" class="altColor">
|
<tr id="i4" 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/Client/Bukkit/Library/ExtraDataHandler.html#removeExtra-java.lang.String-">removeExtra</a></span>(java.lang.String handle)</code>
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/ExtraDataHandler.html#removeExtra-java.lang.String-">removeExtra</a></span>(java.lang.String handle)</code>
|
||||||
<div class="block">Remove an extra value from this Server</div>
|
<div class="block">Remove an extra value from this Object</div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
@ -173,7 +173,7 @@ var activeTableTab = "activeTableTab";
|
|||||||
<h4>addExtra</h4>
|
<h4>addExtra</h4>
|
||||||
<pre>void addExtra(java.lang.String handle,
|
<pre>void addExtra(java.lang.String handle,
|
||||||
java.lang.Object value)</pre>
|
java.lang.Object value)</pre>
|
||||||
<div class="block">Add an extra value to this Server</div>
|
<div class="block">Add an extra value to this Object</div>
|
||||||
<dl>
|
<dl>
|
||||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||||
<dd><code>handle</code> - Handle</dd>
|
<dd><code>handle</code> - Handle</dd>
|
||||||
@ -234,7 +234,7 @@ var activeTableTab = "activeTableTab";
|
|||||||
<li class="blockList">
|
<li class="blockList">
|
||||||
<h4>removeExtra</h4>
|
<h4>removeExtra</h4>
|
||||||
<pre>void removeExtra(java.lang.String handle)</pre>
|
<pre>void removeExtra(java.lang.String handle)</pre>
|
||||||
<div class="block">Remove an extra value from this Server</div>
|
<div class="block">Remove an extra value from this Object</div>
|
||||||
<dl>
|
<dl>
|
||||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||||
<dd><code>handle</code> - Handle</dd>
|
<dd><code>handle</code> - Handle</dd>
|
||||||
|
Binary file not shown.
@ -84,7 +84,7 @@
|
|||||||
<dd> </dd>
|
<dd> </dd>
|
||||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Host/Library/ExtraDataHandler.html#addExtra-java.lang.String-java.lang.Object-">addExtra(String, Object)</a></span> - Method in interface net.ME1312.SubServers.Host.Library.<a href="net/ME1312/SubServers/Host/Library/ExtraDataHandler.html" title="interface in net.ME1312.SubServers.Host.Library">ExtraDataHandler</a></dt>
|
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Host/Library/ExtraDataHandler.html#addExtra-java.lang.String-java.lang.Object-">addExtra(String, Object)</a></span> - Method in interface net.ME1312.SubServers.Host.Library.<a href="net/ME1312/SubServers/Host/Library/ExtraDataHandler.html" title="interface in net.ME1312.SubServers.Host.Library">ExtraDataHandler</a></dt>
|
||||||
<dd>
|
<dd>
|
||||||
<div class="block">Add an extra value to this Server</div>
|
<div class="block">Add an extra value to this Object</div>
|
||||||
</dd>
|
</dd>
|
||||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Host/SubAPI.html#addListener-net.ME1312.SubServers.Host.API.SubPluginInfo-java.lang.Object...-">addListener(SubPluginInfo, Object...)</a></span> - Method in class net.ME1312.SubServers.Host.<a href="net/ME1312/SubServers/Host/SubAPI.html" title="class in net.ME1312.SubServers.Host">SubAPI</a></dt>
|
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Host/SubAPI.html#addListener-net.ME1312.SubServers.Host.API.SubPluginInfo-java.lang.Object...-">addListener(SubPluginInfo, Object...)</a></span> - Method in class net.ME1312.SubServers.Host.<a href="net/ME1312/SubServers/Host/SubAPI.html" title="class in net.ME1312.SubServers.Host">SubAPI</a></dt>
|
||||||
<dd>
|
<dd>
|
||||||
@ -1869,7 +1869,7 @@
|
|||||||
<dd> </dd>
|
<dd> </dd>
|
||||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Host/Library/ExtraDataHandler.html#removeExtra-java.lang.String-">removeExtra(String)</a></span> - Method in interface net.ME1312.SubServers.Host.Library.<a href="net/ME1312/SubServers/Host/Library/ExtraDataHandler.html" title="interface in net.ME1312.SubServers.Host.Library">ExtraDataHandler</a></dt>
|
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Host/Library/ExtraDataHandler.html#removeExtra-java.lang.String-">removeExtra(String)</a></span> - Method in interface net.ME1312.SubServers.Host.Library.<a href="net/ME1312/SubServers/Host/Library/ExtraDataHandler.html" title="interface in net.ME1312.SubServers.Host.Library">ExtraDataHandler</a></dt>
|
||||||
<dd>
|
<dd>
|
||||||
<div class="block">Remove an extra value from this Server</div>
|
<div class="block">Remove an extra value from this Object</div>
|
||||||
</dd>
|
</dd>
|
||||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Host/SubAPI.html#removeListener-net.ME1312.SubServers.Host.API.SubPluginInfo-java.lang.Object...-">removeListener(SubPluginInfo, Object...)</a></span> - Method in class net.ME1312.SubServers.Host.<a href="net/ME1312/SubServers/Host/SubAPI.html" title="class in net.ME1312.SubServers.Host">SubAPI</a></dt>
|
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Host/SubAPI.html#removeListener-net.ME1312.SubServers.Host.API.SubPluginInfo-java.lang.Object...-">removeListener(SubPluginInfo, Object...)</a></span> - Method in class net.ME1312.SubServers.Host.<a href="net/ME1312/SubServers/Host/SubAPI.html" title="class in net.ME1312.SubServers.Host">SubAPI</a></dt>
|
||||||
<dd>
|
<dd>
|
||||||
|
@ -169,7 +169,7 @@ implements <a href="../../../../../net/ME1312/SubServers/Host/Library/ExtraDataH
|
|||||||
<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/Host/API/SubPluginInfo.html#addExtra-java.lang.String-java.lang.Object-">addExtra</a></span>(java.lang.String handle,
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Host/API/SubPluginInfo.html#addExtra-java.lang.String-java.lang.Object-">addExtra</a></span>(java.lang.String handle,
|
||||||
java.lang.Object value)</code>
|
java.lang.Object value)</code>
|
||||||
<div class="block">Add an extra value to this Server</div>
|
<div class="block">Add an extra value to this Object</div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr id="i1" class="rowColor">
|
<tr id="i1" class="rowColor">
|
||||||
@ -265,7 +265,7 @@ implements <a href="../../../../../net/ME1312/SubServers/Host/Library/ExtraDataH
|
|||||||
<tr id="i16" class="altColor">
|
<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/Host/API/SubPluginInfo.html#removeExtra-java.lang.String-">removeExtra</a></span>(java.lang.String handle)</code>
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Host/API/SubPluginInfo.html#removeExtra-java.lang.String-">removeExtra</a></span>(java.lang.String handle)</code>
|
||||||
<div class="block">Remove an extra value from this Server</div>
|
<div class="block">Remove an extra value from this Object</div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr id="i17" class="rowColor">
|
<tr id="i17" class="rowColor">
|
||||||
@ -547,7 +547,7 @@ implements <a href="../../../../../net/ME1312/SubServers/Host/Library/ExtraDataH
|
|||||||
<pre>public void addExtra(java.lang.String handle,
|
<pre>public void addExtra(java.lang.String handle,
|
||||||
java.lang.Object value)</pre>
|
java.lang.Object value)</pre>
|
||||||
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../net/ME1312/SubServers/Host/Library/ExtraDataHandler.html#addExtra-java.lang.String-java.lang.Object-">ExtraDataHandler</a></code></span></div>
|
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../net/ME1312/SubServers/Host/Library/ExtraDataHandler.html#addExtra-java.lang.String-java.lang.Object-">ExtraDataHandler</a></code></span></div>
|
||||||
<div class="block">Add an extra value to this Server</div>
|
<div class="block">Add an extra value to this Object</div>
|
||||||
<dl>
|
<dl>
|
||||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||||
<dd><code><a href="../../../../../net/ME1312/SubServers/Host/Library/ExtraDataHandler.html#addExtra-java.lang.String-java.lang.Object-">addExtra</a></code> in interface <code><a href="../../../../../net/ME1312/SubServers/Host/Library/ExtraDataHandler.html" title="interface in net.ME1312.SubServers.Host.Library">ExtraDataHandler</a></code></dd>
|
<dd><code><a href="../../../../../net/ME1312/SubServers/Host/Library/ExtraDataHandler.html#addExtra-java.lang.String-java.lang.Object-">addExtra</a></code> in interface <code><a href="../../../../../net/ME1312/SubServers/Host/Library/ExtraDataHandler.html" title="interface in net.ME1312.SubServers.Host.Library">ExtraDataHandler</a></code></dd>
|
||||||
@ -620,7 +620,7 @@ implements <a href="../../../../../net/ME1312/SubServers/Host/Library/ExtraDataH
|
|||||||
<h4>removeExtra</h4>
|
<h4>removeExtra</h4>
|
||||||
<pre>public void removeExtra(java.lang.String handle)</pre>
|
<pre>public void removeExtra(java.lang.String handle)</pre>
|
||||||
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../net/ME1312/SubServers/Host/Library/ExtraDataHandler.html#removeExtra-java.lang.String-">ExtraDataHandler</a></code></span></div>
|
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../net/ME1312/SubServers/Host/Library/ExtraDataHandler.html#removeExtra-java.lang.String-">ExtraDataHandler</a></code></span></div>
|
||||||
<div class="block">Remove an extra value from this Server</div>
|
<div class="block">Remove an extra value from this Object</div>
|
||||||
<dl>
|
<dl>
|
||||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||||
<dd><code><a href="../../../../../net/ME1312/SubServers/Host/Library/ExtraDataHandler.html#removeExtra-java.lang.String-">removeExtra</a></code> in interface <code><a href="../../../../../net/ME1312/SubServers/Host/Library/ExtraDataHandler.html" title="interface in net.ME1312.SubServers.Host.Library">ExtraDataHandler</a></code></dd>
|
<dd><code><a href="../../../../../net/ME1312/SubServers/Host/Library/ExtraDataHandler.html#removeExtra-java.lang.String-">removeExtra</a></code> in interface <code><a href="../../../../../net/ME1312/SubServers/Host/Library/ExtraDataHandler.html" title="interface in net.ME1312.SubServers.Host.Library">ExtraDataHandler</a></code></dd>
|
||||||
|
@ -127,7 +127,7 @@ var activeTableTab = "activeTableTab";
|
|||||||
<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/Host/Library/ExtraDataHandler.html#addExtra-java.lang.String-java.lang.Object-">addExtra</a></span>(java.lang.String handle,
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Host/Library/ExtraDataHandler.html#addExtra-java.lang.String-java.lang.Object-">addExtra</a></span>(java.lang.String handle,
|
||||||
java.lang.Object value)</code>
|
java.lang.Object value)</code>
|
||||||
<div class="block">Add an extra value to this Server</div>
|
<div class="block">Add an extra value to this Object</div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr id="i1" class="rowColor">
|
<tr id="i1" class="rowColor">
|
||||||
@ -151,7 +151,7 @@ var activeTableTab = "activeTableTab";
|
|||||||
<tr id="i4" class="altColor">
|
<tr id="i4" 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/Host/Library/ExtraDataHandler.html#removeExtra-java.lang.String-">removeExtra</a></span>(java.lang.String handle)</code>
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Host/Library/ExtraDataHandler.html#removeExtra-java.lang.String-">removeExtra</a></span>(java.lang.String handle)</code>
|
||||||
<div class="block">Remove an extra value from this Server</div>
|
<div class="block">Remove an extra value from this Object</div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
@ -177,7 +177,7 @@ var activeTableTab = "activeTableTab";
|
|||||||
<h4>addExtra</h4>
|
<h4>addExtra</h4>
|
||||||
<pre>void addExtra(java.lang.String handle,
|
<pre>void addExtra(java.lang.String handle,
|
||||||
java.lang.Object value)</pre>
|
java.lang.Object value)</pre>
|
||||||
<div class="block">Add an extra value to this Server</div>
|
<div class="block">Add an extra value to this Object</div>
|
||||||
<dl>
|
<dl>
|
||||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||||
<dd><code>handle</code> - Handle</dd>
|
<dd><code>handle</code> - Handle</dd>
|
||||||
@ -238,7 +238,7 @@ var activeTableTab = "activeTableTab";
|
|||||||
<li class="blockList">
|
<li class="blockList">
|
||||||
<h4>removeExtra</h4>
|
<h4>removeExtra</h4>
|
||||||
<pre>void removeExtra(java.lang.String handle)</pre>
|
<pre>void removeExtra(java.lang.String handle)</pre>
|
||||||
<div class="block">Remove an extra value from this Server</div>
|
<div class="block">Remove an extra value from this Object</div>
|
||||||
<dl>
|
<dl>
|
||||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||||
<dd><code>handle</code> - Handle</dd>
|
<dd><code>handle</code> - Handle</dd>
|
||||||
|
Binary file not shown.
@ -80,7 +80,7 @@
|
|||||||
</dd>
|
</dd>
|
||||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Sync/Library/ExtraDataHandler.html#addExtra-java.lang.String-java.lang.Object-">addExtra(String, Object)</a></span> - Method in interface net.ME1312.SubServers.Sync.Library.<a href="net/ME1312/SubServers/Sync/Library/ExtraDataHandler.html" title="interface in net.ME1312.SubServers.Sync.Library">ExtraDataHandler</a></dt>
|
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Sync/Library/ExtraDataHandler.html#addExtra-java.lang.String-java.lang.Object-">addExtra(String, Object)</a></span> - Method in interface net.ME1312.SubServers.Sync.Library.<a href="net/ME1312/SubServers/Sync/Library/ExtraDataHandler.html" title="interface in net.ME1312.SubServers.Sync.Library">ExtraDataHandler</a></dt>
|
||||||
<dd>
|
<dd>
|
||||||
<div class="block">Add an extra value to this Server</div>
|
<div class="block">Add an extra value to this Object</div>
|
||||||
</dd>
|
</dd>
|
||||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Sync/SubAPI.html#addListener-java.lang.Runnable-java.lang.Runnable-">addListener(Runnable, Runnable)</a></span> - Method in class net.ME1312.SubServers.Sync.<a href="net/ME1312/SubServers/Sync/SubAPI.html" title="class in net.ME1312.SubServers.Sync">SubAPI</a></dt>
|
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Sync/SubAPI.html#addListener-java.lang.Runnable-java.lang.Runnable-">addListener(Runnable, Runnable)</a></span> - Method in class net.ME1312.SubServers.Sync.<a href="net/ME1312/SubServers/Sync/SubAPI.html" title="class in net.ME1312.SubServers.Sync">SubAPI</a></dt>
|
||||||
<dd>
|
<dd>
|
||||||
@ -1407,7 +1407,7 @@
|
|||||||
<dd> </dd>
|
<dd> </dd>
|
||||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Sync/Library/ExtraDataHandler.html#removeExtra-java.lang.String-">removeExtra(String)</a></span> - Method in interface net.ME1312.SubServers.Sync.Library.<a href="net/ME1312/SubServers/Sync/Library/ExtraDataHandler.html" title="interface in net.ME1312.SubServers.Sync.Library">ExtraDataHandler</a></dt>
|
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Sync/Library/ExtraDataHandler.html#removeExtra-java.lang.String-">removeExtra(String)</a></span> - Method in interface net.ME1312.SubServers.Sync.Library.<a href="net/ME1312/SubServers/Sync/Library/ExtraDataHandler.html" title="interface in net.ME1312.SubServers.Sync.Library">ExtraDataHandler</a></dt>
|
||||||
<dd>
|
<dd>
|
||||||
<div class="block">Remove an extra value from this Server</div>
|
<div class="block">Remove an extra value from this Object</div>
|
||||||
</dd>
|
</dd>
|
||||||
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Sync/Library/NamedContainer.html#rename-T-">rename(T)</a></span> - Method in class net.ME1312.SubServers.Sync.Library.<a href="net/ME1312/SubServers/Sync/Library/NamedContainer.html" title="class in net.ME1312.SubServers.Sync.Library">NamedContainer</a></dt>
|
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Sync/Library/NamedContainer.html#rename-T-">rename(T)</a></span> - Method in class net.ME1312.SubServers.Sync.Library.<a href="net/ME1312/SubServers/Sync/Library/NamedContainer.html" title="class in net.ME1312.SubServers.Sync.Library">NamedContainer</a></dt>
|
||||||
<dd>
|
<dd>
|
||||||
|
@ -123,7 +123,7 @@ var activeTableTab = "activeTableTab";
|
|||||||
<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/Sync/Library/ExtraDataHandler.html#addExtra-java.lang.String-java.lang.Object-">addExtra</a></span>(java.lang.String handle,
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Sync/Library/ExtraDataHandler.html#addExtra-java.lang.String-java.lang.Object-">addExtra</a></span>(java.lang.String handle,
|
||||||
java.lang.Object value)</code>
|
java.lang.Object value)</code>
|
||||||
<div class="block">Add an extra value to this Server</div>
|
<div class="block">Add an extra value to this Object</div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr id="i1" class="rowColor">
|
<tr id="i1" class="rowColor">
|
||||||
@ -147,7 +147,7 @@ var activeTableTab = "activeTableTab";
|
|||||||
<tr id="i4" class="altColor">
|
<tr id="i4" 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/Sync/Library/ExtraDataHandler.html#removeExtra-java.lang.String-">removeExtra</a></span>(java.lang.String handle)</code>
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Sync/Library/ExtraDataHandler.html#removeExtra-java.lang.String-">removeExtra</a></span>(java.lang.String handle)</code>
|
||||||
<div class="block">Remove an extra value from this Server</div>
|
<div class="block">Remove an extra value from this Object</div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
@ -173,7 +173,7 @@ var activeTableTab = "activeTableTab";
|
|||||||
<h4>addExtra</h4>
|
<h4>addExtra</h4>
|
||||||
<pre>void addExtra(java.lang.String handle,
|
<pre>void addExtra(java.lang.String handle,
|
||||||
java.lang.Object value)</pre>
|
java.lang.Object value)</pre>
|
||||||
<div class="block">Add an extra value to this Server</div>
|
<div class="block">Add an extra value to this Object</div>
|
||||||
<dl>
|
<dl>
|
||||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||||
<dd><code>handle</code> - Handle</dd>
|
<dd><code>handle</code> - Handle</dd>
|
||||||
@ -234,7 +234,7 @@ var activeTableTab = "activeTableTab";
|
|||||||
<li class="blockList">
|
<li class="blockList">
|
||||||
<h4>removeExtra</h4>
|
<h4>removeExtra</h4>
|
||||||
<pre>void removeExtra(java.lang.String handle)</pre>
|
<pre>void removeExtra(java.lang.String handle)</pre>
|
||||||
<div class="block">Remove an extra value from this Server</div>
|
<div class="block">Remove an extra value from this Object</div>
|
||||||
<dl>
|
<dl>
|
||||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||||
<dd><code>handle</code> - Handle</dd>
|
<dd><code>handle</code> - Handle</dd>
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
![https://s3.postimg.org/dikyxlz5v/Sub_Banner.png](https://s3.postimg.org/dikyxlz5v/Sub_Banner.png)<br>
|
![https://s3.postimg.org/dikyxlz5v/Sub_Banner.png](https://s3.postimg.org/dikyxlz5v/Sub_Banner.png)<br>
|
||||||
SubServers 2 is a rewrite of SubServers, the Server Management Plugin.<br>
|
SubServers 2 is a rewrite of SubServers, the Server Management Platform.<br>
|
||||||
> [http://www.spigotmc.org/resources/subservers-2.11264/](http://www.spigotmc.org/resources/subservers-2.11264/)<br>
|
> [http://www.spigotmc.org/resources/subservers-bungee.11264/](http://www.spigotmc.org/resources/subservers-bungee.11264/)<br>
|
||||||
> [http://www.spigotmc.org/resources/subservers-host.38833/](http://www.spigotmc.org/resources/subservers-host.38833/)<br>
|
> [http://www.spigotmc.org/resources/subservers-host.38833/](http://www.spigotmc.org/resources/subservers-host.38833/)<br>
|
||||||
> [http://www.spigotmc.org/resources/subservers-sync.46124/](http://www.spigotmc.org/resources/subservers-sync.46124/)<br>
|
> [http://www.spigotmc.org/resources/subservers-sync.46124/](http://www.spigotmc.org/resources/subservers-sync.46124/)<br>
|
||||||
> [http://www.spigotmc.org/resources/subservers-console.37341/](http://www.spigotmc.org/resources/subservers-console.37341/)<br>
|
> [http://www.spigotmc.org/resources/subservers-console.37341/](http://www.spigotmc.org/resources/subservers-console.37341/)<br>
|
||||||
|
Binary file not shown.
@ -137,15 +137,15 @@ public class ExternalHost extends Host implements ClientHandler {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public SubServer addSubServer(UUID player, String name, boolean enabled, int port, String motd, boolean log, String directory, Executable executable, String stopcmd, boolean start, boolean restart, boolean hidden, boolean restricted, boolean temporary) throws InvalidServerException {
|
public SubServer addSubServer(UUID player, String name, boolean enabled, int port, String motd, boolean log, String directory, Executable executable, String stopcmd, boolean hidden, boolean restricted, boolean temporary) throws InvalidServerException {
|
||||||
if (plugin.api.getServers().keySet().contains(name.toLowerCase())) throw new InvalidServerException("A Server already exists with this name!");
|
if (plugin.api.getServers().keySet().contains(name.toLowerCase())) throw new InvalidServerException("A Server already exists with this name!");
|
||||||
SubServer server = new ExternalSubServer(this, name, enabled, port, motd, log, directory, executable, stopcmd, restart, hidden, restricted);
|
SubServer server = new ExternalSubServer(this, name, enabled, port, motd, log, directory, executable, stopcmd, hidden, restricted);
|
||||||
SubAddServerEvent event = new SubAddServerEvent(player, this, server);
|
SubAddServerEvent event = new SubAddServerEvent(player, this, server);
|
||||||
plugin.getPluginManager().callEvent(event);
|
plugin.getPluginManager().callEvent(event);
|
||||||
if (!event.isCancelled()) {
|
if (!event.isCancelled()) {
|
||||||
queue(new PacketExAddServer(name, enabled, log, directory, executable, stopcmd, (server.isRunning())?((ExternalSubLogger) server.getLogger()).getExternalAddress():null, json -> {
|
queue(new PacketExAddServer(name, enabled, log, directory, executable, stopcmd, (server.isRunning())?((ExternalSubLogger) server.getLogger()).getExternalAddress():null, json -> {
|
||||||
if (json.getInt("r") == 0) {
|
if (json.getInt("r") == 0) {
|
||||||
if (!((start || temporary) && !server.start()) && temporary) server.setTemporary(true);
|
if (temporary && server.start()) server.setTemporary(true);
|
||||||
}
|
}
|
||||||
}));
|
}));
|
||||||
servers.put(name.toLowerCase(), server);
|
servers.put(name.toLowerCase(), server);
|
||||||
|
@ -96,8 +96,9 @@ public class ExternalSubCreator extends SubCreator {
|
|||||||
server.setAll(config);
|
server.setAll(config);
|
||||||
|
|
||||||
SubServer subserver = host.addSubServer(player, name, server.getBoolean("Enabled"), port, server.getColoredString("Motd", '&'), server.getBoolean("Log"), server.getRawString("Directory"),
|
SubServer subserver = host.addSubServer(player, name, server.getBoolean("Enabled"), port, server.getColoredString("Motd", '&'), server.getBoolean("Log"), server.getRawString("Directory"),
|
||||||
new Executable(server.getRawString("Executable")), server.getRawString("Stop-Command"), true, server.getBoolean("Auto-Restart"), server.getBoolean("Hidden"), server.getBoolean("Restricted"), false);
|
new Executable(server.getRawString("Executable")), server.getRawString("Stop-Command"), server.getBoolean("Hidden"), server.getBoolean("Restricted"), false);
|
||||||
if (!server.getBoolean("Editable", true)) subserver.setEditable(true);
|
if (!server.getBoolean("Editable", true)) subserver.setEditable(true);
|
||||||
|
if (server.getBoolean("Auto-Restart")) subserver.setAutoRestart(true);
|
||||||
if (server.getString("Display").length() > 0) subserver.setDisplayName(server.getString("Display"));
|
if (server.getString("Display").length() > 0) subserver.setDisplayName(server.getString("Display"));
|
||||||
for (String group : server.getStringList("Group")) subserver.addGroup(group);
|
for (String group : server.getStringList("Group")) subserver.addGroup(group);
|
||||||
if (server.contains("Extra")) for (String extra : server.getSection("Extra").getKeys())
|
if (server.contains("Extra")) for (String extra : server.getSection("Extra").getKeys())
|
||||||
|
@ -48,12 +48,11 @@ public class ExternalSubServer extends SubServerContainer {
|
|||||||
* @param directory Directory
|
* @param directory Directory
|
||||||
* @param executable Executable
|
* @param executable Executable
|
||||||
* @param stopcmd Stop Command
|
* @param stopcmd Stop Command
|
||||||
* @param restart Auto-Restart
|
|
||||||
* @param hidden Hidden Status
|
* @param hidden Hidden Status
|
||||||
* @param restricted Restricted Status
|
* @param restricted Restricted Status
|
||||||
* @throws InvalidServerException
|
* @throws InvalidServerException
|
||||||
*/
|
*/
|
||||||
public ExternalSubServer(ExternalHost host, String name, boolean enabled, int port, String motd, boolean log, String directory, Executable executable, String stopcmd, boolean restart, boolean hidden, boolean restricted) throws InvalidServerException {
|
public ExternalSubServer(ExternalHost host, String name, boolean enabled, int port, String motd, boolean log, String directory, Executable executable, String stopcmd, boolean hidden, boolean restricted) throws InvalidServerException {
|
||||||
super(host, name, port, motd, hidden, restricted);
|
super(host, name, port, motd, hidden, restricted);
|
||||||
if (Util.isNull(host, name, enabled, port, motd, log, stopcmd, restart, hidden, restricted)) throw new NullPointerException();
|
if (Util.isNull(host, name, enabled, port, motd, log, stopcmd, restart, hidden, restricted)) throw new NullPointerException();
|
||||||
this.host = host;
|
this.host = host;
|
||||||
@ -65,7 +64,7 @@ public class ExternalSubServer extends SubServerContainer {
|
|||||||
this.stopcmd = stopcmd;
|
this.stopcmd = stopcmd;
|
||||||
this.history = new LinkedList<LoggedCommand>();
|
this.history = new LinkedList<LoggedCommand>();
|
||||||
this.logger = new ExternalSubLogger(this, getName(), this.log, null);
|
this.logger = new ExternalSubLogger(this, getName(), this.log, null);
|
||||||
this.restart = restart;
|
this.restart = false;
|
||||||
|
|
||||||
this.running = false;
|
this.running = false;
|
||||||
this.temporary = false;
|
this.temporary = false;
|
||||||
@ -179,7 +178,7 @@ public class ExternalSubServer extends SubServerContainer {
|
|||||||
switch (key) {
|
switch (key) {
|
||||||
case "name":
|
case "name":
|
||||||
if (value.isString() && host.removeSubServer(player, getName())) {
|
if (value.isString() && host.removeSubServer(player, getName())) {
|
||||||
SubServer server = host.addSubServer(player, value.asRawString(), isEnabled(), getAddress().getPort(), getMotd(), isLogging(), getPath(), getExecutable(), getStopCommand(), false, willAutoRestart(), isHidden(), isRestricted(), isTemporary());
|
SubServer server = host.addSubServer(player, value.asRawString(), isEnabled(), getAddress().getPort(), getMotd(), isLogging(), getPath(), getExecutable(), getStopCommand(), isHidden(), isRestricted(), isTemporary());
|
||||||
if (server != null) {
|
if (server != null) {
|
||||||
if (this.host.plugin.config.get().getSection("Servers").getKeys().contains(getName())) {
|
if (this.host.plugin.config.get().getSection("Servers").getKeys().contains(getName())) {
|
||||||
YAMLSection config = this.host.plugin.config.get().getSection("Servers").getSection(getName());
|
YAMLSection config = this.host.plugin.config.get().getSection("Servers").getSection(getName());
|
||||||
@ -241,7 +240,7 @@ public class ExternalSubServer extends SubServerContainer {
|
|||||||
case "host":
|
case "host":
|
||||||
if (value.isString() && host.removeSubServer(player, getName())) {
|
if (value.isString() && host.removeSubServer(player, getName())) {
|
||||||
waitFor(() -> host.getSubServer(getName()), null);
|
waitFor(() -> host.getSubServer(getName()), null);
|
||||||
SubServer server = this.host.plugin.api.getHost(value.asRawString()).addSubServer(player, getName(), isEnabled(), getAddress().getPort(), getMotd(), isLogging(), getPath(), getExecutable(), getStopCommand(), false, willAutoRestart(), isHidden(), isRestricted(), isTemporary());
|
SubServer server = this.host.plugin.api.getHost(value.asRawString()).addSubServer(player, getName(), isEnabled(), getAddress().getPort(), getMotd(), isLogging(), getPath(), getExecutable(), getStopCommand(), isHidden(), isRestricted(), isTemporary());
|
||||||
if (server != null) {
|
if (server != null) {
|
||||||
if (this.host.plugin.config.get().getSection("Servers").getKeys().contains(getName())) {
|
if (this.host.plugin.config.get().getSection("Servers").getKeys().contains(getName())) {
|
||||||
this.host.plugin.config.get().getSection("Servers").getSection(getName()).set("Host", server.getHost().getName());
|
this.host.plugin.config.get().getSection("Servers").getSection(getName()).set("Host", server.getHost().getName());
|
||||||
@ -255,7 +254,7 @@ public class ExternalSubServer extends SubServerContainer {
|
|||||||
case "port":
|
case "port":
|
||||||
if (value.isNumber() && host.removeSubServer(player, getName())) {
|
if (value.isNumber() && host.removeSubServer(player, getName())) {
|
||||||
waitFor(() -> host.getSubServer(getName()), null);
|
waitFor(() -> host.getSubServer(getName()), null);
|
||||||
SubServer server = host.addSubServer(player, getName(), isEnabled(), value.asInt(), getMotd(), isLogging(), getPath(), getExecutable(), getStopCommand(), false, willAutoRestart(), isHidden(), isRestricted(), isTemporary());
|
SubServer server = host.addSubServer(player, getName(), isEnabled(), value.asInt(), getMotd(), isLogging(), getPath(), getExecutable(), getStopCommand(), isHidden(), isRestricted(), isTemporary());
|
||||||
if (server != null) {
|
if (server != null) {
|
||||||
if (this.host.plugin.config.get().getSection("Servers").getKeys().contains(getName())) {
|
if (this.host.plugin.config.get().getSection("Servers").getKeys().contains(getName())) {
|
||||||
this.host.plugin.config.get().getSection("Servers").getSection(getName()).set("Port", server.getAddress().getPort());
|
this.host.plugin.config.get().getSection("Servers").getSection(getName()).set("Port", server.getAddress().getPort());
|
||||||
@ -293,7 +292,7 @@ public class ExternalSubServer extends SubServerContainer {
|
|||||||
case "dir":
|
case "dir":
|
||||||
if (value.isString() && host.removeSubServer(player, getName())) {
|
if (value.isString() && host.removeSubServer(player, getName())) {
|
||||||
waitFor(() -> host.getSubServer(getName()), null);
|
waitFor(() -> host.getSubServer(getName()), null);
|
||||||
SubServer server = host.addSubServer(player, getName(), isEnabled(), getAddress().getPort(), getMotd(), isLogging(), value.asRawString(), getExecutable(), getStopCommand(), false, willAutoRestart(), isHidden(), isRestricted(), isTemporary());
|
SubServer server = host.addSubServer(player, getName(), isEnabled(), getAddress().getPort(), getMotd(), isLogging(), value.asRawString(), getExecutable(), getStopCommand(), isHidden(), isRestricted(), isTemporary());
|
||||||
if (server != null) {
|
if (server != null) {
|
||||||
if (this.host.plugin.config.get().getSection("Servers").getKeys().contains(getName())) {
|
if (this.host.plugin.config.get().getSection("Servers").getKeys().contains(getName())) {
|
||||||
this.host.plugin.config.get().getSection("Servers").getSection(getName()).set("Directory", server.getPath());
|
this.host.plugin.config.get().getSection("Servers").getSection(getName()).set("Directory", server.getPath());
|
||||||
@ -307,7 +306,7 @@ public class ExternalSubServer extends SubServerContainer {
|
|||||||
case "exec":
|
case "exec":
|
||||||
if (value.isString() && host.removeSubServer(player, getName())) {
|
if (value.isString() && host.removeSubServer(player, getName())) {
|
||||||
waitFor(() -> host.getSubServer(getName()), null);
|
waitFor(() -> host.getSubServer(getName()), null);
|
||||||
SubServer server = host.addSubServer(player, getName(), isEnabled(), getAddress().getPort(), getMotd(), isLogging(), getPath(), new Executable(value.asRawString()), getStopCommand(), false, willAutoRestart(), isHidden(), isRestricted(), isTemporary());
|
SubServer server = host.addSubServer(player, getName(), isEnabled(), getAddress().getPort(), getMotd(), isLogging(), getPath(), new Executable(value.asRawString()), getStopCommand(), isHidden(), isRestricted(), isTemporary());
|
||||||
if (server != null) {
|
if (server != null) {
|
||||||
if (this.host.plugin.config.get().getSection("Servers").getKeys().contains(getName())) {
|
if (this.host.plugin.config.get().getSection("Servers").getKeys().contains(getName())) {
|
||||||
this.host.plugin.config.get().getSection("Servers").getSection(getName()).set("Executable", value.asRawString());
|
this.host.plugin.config.get().getSection("Servers").getSection(getName()).set("Executable", value.asRawString());
|
||||||
@ -394,6 +393,7 @@ public class ExternalSubServer extends SubServerContainer {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (forward != null) {
|
if (forward != null) {
|
||||||
|
if (willAutoRestart()) forward.setAutoRestart(true);
|
||||||
if (!getName().equals(getDisplayName())) forward.setDisplayName(getDisplayName());
|
if (!getName().equals(getDisplayName())) forward.setDisplayName(getDisplayName());
|
||||||
List<String> groups = new ArrayList<String>();
|
List<String> groups = new ArrayList<String>();
|
||||||
groups.addAll(getGroups());
|
groups.addAll(getGroups());
|
||||||
|
@ -233,14 +233,13 @@ public abstract class Host implements ExtraDataHandler {
|
|||||||
* @param directory Directory
|
* @param directory Directory
|
||||||
* @param executable Executable
|
* @param executable Executable
|
||||||
* @param stopcmd Command to Stop the Server
|
* @param stopcmd Command to Stop the Server
|
||||||
* @param restart Auto Restart Status
|
|
||||||
* @param hidden if the server should be hidden from players
|
* @param hidden if the server should be hidden from players
|
||||||
* @param restricted Players will need a permission to join if true
|
* @param restricted Players will need a permission to join if true
|
||||||
* @param temporary Temporary Status
|
* @param temporary Temporary Status
|
||||||
* @return The SubServer
|
* @return The SubServer
|
||||||
* @throws InvalidServerException
|
* @throws InvalidServerException
|
||||||
*/
|
*/
|
||||||
public abstract SubServer addSubServer(UUID player, String name, boolean enabled, int port, String motd, boolean log, String directory, Executable executable, String stopcmd, boolean start, boolean restart, boolean hidden, boolean restricted, boolean temporary) throws InvalidServerException;
|
public abstract SubServer addSubServer(UUID player, String name, boolean enabled, int port, String motd, boolean log, String directory, Executable executable, String stopcmd, boolean hidden, boolean restricted, boolean temporary) throws InvalidServerException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Adds a SubServer
|
* Adds a SubServer
|
||||||
@ -253,15 +252,14 @@ public abstract class Host implements ExtraDataHandler {
|
|||||||
* @param directory Directory
|
* @param directory Directory
|
||||||
* @param executable Executable
|
* @param executable Executable
|
||||||
* @param stopcmd Command to Stop the Server
|
* @param stopcmd Command to Stop the Server
|
||||||
* @param restart Auto Restart Status
|
|
||||||
* @param hidden if the server should be hidden from players
|
* @param hidden if the server should be hidden from players
|
||||||
* @param restricted Players will need a permission to join if true
|
* @param restricted Players will need a permission to join if true
|
||||||
* @param temporary Temporary Status
|
* @param temporary Temporary Status
|
||||||
* @return The SubServer
|
* @return The SubServer
|
||||||
* @throws InvalidServerException
|
* @throws InvalidServerException
|
||||||
*/
|
*/
|
||||||
public SubServer addSubServer(String name, boolean enabled, int port, String motd, boolean log, String directory, Executable executable, String stopcmd, boolean start, boolean restart, boolean hidden, boolean restricted, boolean temporary) throws InvalidServerException {
|
public SubServer addSubServer(String name, boolean enabled, int port, String motd, boolean log, String directory, Executable executable, String stopcmd, boolean hidden, boolean restricted, boolean temporary) throws InvalidServerException {
|
||||||
return addSubServer(null, name, enabled, port, motd, log, directory, executable, stopcmd, start, restart, hidden, restricted, temporary);
|
return addSubServer(null, name, enabled, port, motd, log, directory, executable, stopcmd, hidden, restricted, temporary);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -94,9 +94,9 @@ public class InternalHost extends Host {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public SubServer addSubServer(UUID player, String name, boolean enabled, int port, String motd, boolean log, String directory, Executable executable, String stopcmd, boolean start, boolean restart, boolean hidden, boolean restricted, boolean temporary) throws InvalidServerException {
|
public SubServer addSubServer(UUID player, String name, boolean enabled, int port, String motd, boolean log, String directory, Executable executable, String stopcmd, boolean hidden, boolean restricted, boolean temporary) throws InvalidServerException {
|
||||||
if (plugin.api.getServers().keySet().contains(name.toLowerCase())) throw new InvalidServerException("A Server already exists with this name!");
|
if (plugin.api.getServers().keySet().contains(name.toLowerCase())) throw new InvalidServerException("A Server already exists with this name!");
|
||||||
SubServer server = new InternalSubServer(this, name, enabled, port, motd, log, directory, executable, stopcmd, start, restart, hidden, restricted, temporary);
|
SubServer server = new InternalSubServer(this, name, enabled, port, motd, log, directory, executable, stopcmd, hidden, restricted, temporary);
|
||||||
SubAddServerEvent event = new SubAddServerEvent(player, this, server);
|
SubAddServerEvent event = new SubAddServerEvent(player, this, server);
|
||||||
plugin.getPluginManager().callEvent(event);
|
plugin.getPluginManager().callEvent(event);
|
||||||
if (!event.isCancelled()) {
|
if (!event.isCancelled()) {
|
||||||
|
@ -218,7 +218,7 @@ public class InternalSubCreator extends SubCreator {
|
|||||||
server.setAll(config);
|
server.setAll(config);
|
||||||
|
|
||||||
SubServer subserver = host.addSubServer(player, name, server.getBoolean("Enabled"), port, server.getColoredString("Motd", '&'), server.getBoolean("Log"), server.getRawString("Directory"),
|
SubServer subserver = host.addSubServer(player, name, server.getBoolean("Enabled"), port, server.getColoredString("Motd", '&'), server.getBoolean("Log"), server.getRawString("Directory"),
|
||||||
new Executable(server.getRawString("Executable")), server.getRawString("Stop-Command"), true, server.getBoolean("Auto-Restart"), server.getBoolean("Hidden"), server.getBoolean("Restricted"), false);
|
new Executable(server.getRawString("Executable")), server.getRawString("Stop-Command"), server.getBoolean("Hidden"), server.getBoolean("Restricted"), false);
|
||||||
if (!server.getBoolean("Editable", true)) subserver.setEditable(true);
|
if (!server.getBoolean("Editable", true)) subserver.setEditable(true);
|
||||||
if (server.getString("Display").length() > 0) subserver.setDisplayName(server.getString("Display"));
|
if (server.getString("Display").length() > 0) subserver.setDisplayName(server.getString("Display"));
|
||||||
for (String group : server.getStringList("Group")) subserver.addGroup(group);
|
for (String group : server.getStringList("Group")) subserver.addGroup(group);
|
||||||
@ -226,6 +226,8 @@ public class InternalSubCreator extends SubCreator {
|
|||||||
subserver.addExtra(extra, server.getSection("Extra").getObject(extra));
|
subserver.addExtra(extra, server.getSection("Extra").getObject(extra));
|
||||||
host.plugin.config.get().getSection("Servers").set(name, server);
|
host.plugin.config.get().getSection("Servers").set(name, server);
|
||||||
host.plugin.config.save();
|
host.plugin.config.save();
|
||||||
|
if (template.getBuildOptions().getBoolean("Run-On-Finish", true))
|
||||||
|
subserver.start();
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
}
|
}
|
||||||
|
@ -56,16 +56,14 @@ public class InternalSubServer extends SubServerContainer {
|
|||||||
* @param directory Directory
|
* @param directory Directory
|
||||||
* @param executable Executable String
|
* @param executable Executable String
|
||||||
* @param stopcmd Stop Command
|
* @param stopcmd Stop Command
|
||||||
* @param start Auto-Start
|
|
||||||
* @param restart Auto-Restart
|
|
||||||
* @param hidden Hidden Status
|
* @param hidden Hidden Status
|
||||||
* @param restricted Restricted Status
|
* @param restricted Restricted Status
|
||||||
* @param temporary Temporary Status
|
* @param temporary Temporary Status
|
||||||
* @throws InvalidServerException
|
* @throws InvalidServerException
|
||||||
*/
|
*/
|
||||||
public InternalSubServer(InternalHost host, String name, boolean enabled, int port, String motd, boolean log, String directory, Executable executable, String stopcmd, boolean start, boolean restart, boolean hidden, boolean restricted, boolean temporary) throws InvalidServerException {
|
public InternalSubServer(InternalHost host, String name, boolean enabled, int port, String motd, boolean log, String directory, Executable executable, String stopcmd, boolean hidden, boolean restricted, boolean temporary) throws InvalidServerException {
|
||||||
super(host, name, port, motd, hidden, restricted);
|
super(host, name, port, motd, hidden, restricted);
|
||||||
if (Util.isNull(host, name, enabled, port, motd, log, directory, executable, stopcmd, start, restart, hidden, restricted, temporary)) throw new NullPointerException();
|
if (Util.isNull(host, name, enabled, port, motd, log, directory, executable, stopcmd, hidden, restricted, temporary)) throw new NullPointerException();
|
||||||
this.host = host;
|
this.host = host;
|
||||||
this.enabled = enabled;
|
this.enabled = enabled;
|
||||||
this.editable = false;
|
this.editable = false;
|
||||||
@ -79,7 +77,7 @@ public class InternalSubServer extends SubServerContainer {
|
|||||||
this.logger = new InternalSubLogger(null, this, getName(), this.log, null);
|
this.logger = new InternalSubLogger(null, this, getName(), this.log, null);
|
||||||
this.thread = null;
|
this.thread = null;
|
||||||
this.command = null;
|
this.command = null;
|
||||||
this.restart = restart;
|
this.restart = false;
|
||||||
|
|
||||||
if (new UniversalFile(this.directory, "plugins:SubServers.Client.jar").exists()) {
|
if (new UniversalFile(this.directory, "plugins:SubServers.Client.jar").exists()) {
|
||||||
try {
|
try {
|
||||||
@ -96,7 +94,7 @@ public class InternalSubServer extends SubServerContainer {
|
|||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
this.temporary = !((start || temporary) && !start()) && temporary;
|
this.temporary = temporary && start();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void run() {
|
private void run() {
|
||||||
@ -236,7 +234,7 @@ public class InternalSubServer extends SubServerContainer {
|
|||||||
switch (key) {
|
switch (key) {
|
||||||
case "name":
|
case "name":
|
||||||
if (value.isString() && host.removeSubServer(player, getName())) {
|
if (value.isString() && host.removeSubServer(player, getName())) {
|
||||||
SubServer server = host.addSubServer(player, value.asRawString(), isEnabled(), getAddress().getPort(), getMotd(), isLogging(), getPath(), getExecutable(), getStopCommand(), false, willAutoRestart(), isHidden(), isRestricted(), isTemporary());
|
SubServer server = host.addSubServer(player, value.asRawString(), isEnabled(), getAddress().getPort(), getMotd(), isLogging(), getPath(), getExecutable(), getStopCommand(), isHidden(), isRestricted(), isTemporary());
|
||||||
if (server != null) {
|
if (server != null) {
|
||||||
if (this.host.plugin.config.get().getSection("Servers").getKeys().contains(getName())) {
|
if (this.host.plugin.config.get().getSection("Servers").getKeys().contains(getName())) {
|
||||||
YAMLSection config = this.host.plugin.config.get().getSection("Servers").getSection(getName());
|
YAMLSection config = this.host.plugin.config.get().getSection("Servers").getSection(getName());
|
||||||
@ -296,7 +294,7 @@ public class InternalSubServer extends SubServerContainer {
|
|||||||
break;
|
break;
|
||||||
case "host":
|
case "host":
|
||||||
if (value.isString() && host.removeSubServer(player, getName())) {
|
if (value.isString() && host.removeSubServer(player, getName())) {
|
||||||
SubServer server = this.host.plugin.api.getHost(value.asRawString()).addSubServer(player, getName(), isEnabled(), getAddress().getPort(), getMotd(), isLogging(), getPath(), getExecutable(), getStopCommand(), false, willAutoRestart(), isHidden(), isRestricted(), isTemporary());
|
SubServer server = this.host.plugin.api.getHost(value.asRawString()).addSubServer(player, getName(), isEnabled(), getAddress().getPort(), getMotd(), isLogging(), getPath(), getExecutable(), getStopCommand(), isHidden(), isRestricted(), isTemporary());
|
||||||
if (server != null) {
|
if (server != null) {
|
||||||
if (this.host.plugin.config.get().getSection("Servers").getKeys().contains(getName())) {
|
if (this.host.plugin.config.get().getSection("Servers").getKeys().contains(getName())) {
|
||||||
this.host.plugin.config.get().getSection("Servers").getSection(getName()).set("Host", server.getHost().getName());
|
this.host.plugin.config.get().getSection("Servers").getSection(getName()).set("Host", server.getHost().getName());
|
||||||
@ -309,7 +307,7 @@ public class InternalSubServer extends SubServerContainer {
|
|||||||
break;
|
break;
|
||||||
case "port":
|
case "port":
|
||||||
if (value.isNumber() && host.removeSubServer(player, getName())) {
|
if (value.isNumber() && host.removeSubServer(player, getName())) {
|
||||||
SubServer server = host.addSubServer(player, getName(), isEnabled(), value.asInt(), getMotd(), isLogging(), getPath(), getExecutable(), getStopCommand(), false, willAutoRestart(), isHidden(), isRestricted(), isTemporary());
|
SubServer server = host.addSubServer(player, getName(), isEnabled(), value.asInt(), getMotd(), isLogging(), getPath(), getExecutable(), getStopCommand(), isHidden(), isRestricted(), isTemporary());
|
||||||
if (server != null) {
|
if (server != null) {
|
||||||
if (this.host.plugin.config.get().getSection("Servers").getKeys().contains(getName())) {
|
if (this.host.plugin.config.get().getSection("Servers").getKeys().contains(getName())) {
|
||||||
this.host.plugin.config.get().getSection("Servers").getSection(getName()).set("Port", server.getAddress().getPort());
|
this.host.plugin.config.get().getSection("Servers").getSection(getName()).set("Port", server.getAddress().getPort());
|
||||||
@ -447,6 +445,7 @@ public class InternalSubServer extends SubServerContainer {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (forward != null) {
|
if (forward != null) {
|
||||||
|
if (willAutoRestart()) forward.setAutoRestart(true);
|
||||||
if (!getName().equals(getDisplayName())) forward.setDisplayName(getDisplayName());
|
if (!getName().equals(getDisplayName())) forward.setDisplayName(getDisplayName());
|
||||||
List<String> groups = new ArrayList<String>();
|
List<String> groups = new ArrayList<String>();
|
||||||
groups.addAll(getGroups());
|
groups.addAll(getGroups());
|
||||||
|
@ -8,7 +8,7 @@ import net.ME1312.SubServers.Bungee.Library.Config.YAMLValue;
|
|||||||
*/
|
*/
|
||||||
public interface ExtraDataHandler {
|
public interface ExtraDataHandler {
|
||||||
/**
|
/**
|
||||||
* Add an extra value to this Server
|
* Add an extra value to this Object
|
||||||
*
|
*
|
||||||
* @param handle Handle
|
* @param handle Handle
|
||||||
* @param value Value
|
* @param value Value
|
||||||
@ -39,7 +39,7 @@ public interface ExtraDataHandler {
|
|||||||
YAMLSection getExtra();
|
YAMLSection getExtra();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Remove an extra value from this Server
|
* Remove an extra value from this Object
|
||||||
*
|
*
|
||||||
* @param handle Handle
|
* @param handle Handle
|
||||||
*/
|
*/
|
||||||
|
@ -23,6 +23,7 @@ public class Client {
|
|||||||
private PrintWriter writer;
|
private PrintWriter writer;
|
||||||
private Timer authorized;
|
private Timer authorized;
|
||||||
private SubDataServer subdata;
|
private SubDataServer subdata;
|
||||||
|
boolean closed;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Network Client
|
* Network Client
|
||||||
@ -33,6 +34,7 @@ public class Client {
|
|||||||
public Client(SubDataServer subdata, Socket client) throws IOException {
|
public Client(SubDataServer subdata, Socket client) throws IOException {
|
||||||
if (Util.isNull(subdata, client)) throw new NullPointerException();
|
if (Util.isNull(subdata, client)) throw new NullPointerException();
|
||||||
this.subdata = subdata;
|
this.subdata = subdata;
|
||||||
|
closed = false;
|
||||||
socket = client;
|
socket = client;
|
||||||
writer = new PrintWriter(client.getOutputStream(), true);
|
writer = new PrintWriter(client.getOutputStream(), true);
|
||||||
address = new InetSocketAddress(client.getInetAddress(), client.getPort());
|
address = new InetSocketAddress(client.getInetAddress(), client.getPort());
|
||||||
@ -149,6 +151,15 @@ public class Client {
|
|||||||
return socket;
|
return socket;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get if the connection has been closed
|
||||||
|
*
|
||||||
|
* @return Closed Stauts
|
||||||
|
*/
|
||||||
|
public boolean isClosed() {
|
||||||
|
return closed && socket.isClosed();
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get Remote Address
|
* Get Remote Address
|
||||||
*
|
*
|
||||||
@ -188,7 +199,7 @@ public class Client {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Disconnects the Client (does not remove them from the server)
|
* Disconnects the Client
|
||||||
*
|
*
|
||||||
* @throws IOException
|
* @throws IOException
|
||||||
*/
|
*/
|
||||||
@ -196,5 +207,7 @@ public class Client {
|
|||||||
if (!socket.isClosed()) getConnection().close();
|
if (!socket.isClosed()) getConnection().close();
|
||||||
if (handler != null && handler.getSubData() != null && equals(handler.getSubData())) setHandler(null);
|
if (handler != null && handler.getSubData() != null && equals(handler.getSubData())) setHandler(null);
|
||||||
handler = null;
|
handler = null;
|
||||||
|
closed = true;
|
||||||
|
if (subdata.getClients().contains(this)) subdata.removeClient(this);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -61,15 +61,11 @@ public class PacketLinkProxy implements PacketIn, PacketOut {
|
|||||||
public void execute(Client client, JSONObject data) {
|
public void execute(Client client, JSONObject data) {
|
||||||
try {
|
try {
|
||||||
Map<String, Proxy> proxies = plugin.api.getProxies();
|
Map<String, Proxy> proxies = plugin.api.getProxies();
|
||||||
if (!data.keySet().contains("name") || !proxies.keySet().contains(data.getString("name"))) {
|
Proxy proxy = new Proxy((data.keySet().contains("name") && !proxies.keySet().contains(data.getString("name").toLowerCase()))?data.getString("name"):Util.getNew(proxies.keySet(), () -> UUID.randomUUID().toString()));
|
||||||
Proxy proxy = new Proxy((data.keySet().contains("name"))?data.getString("name"):Util.getNew(proxies.keySet(), () -> UUID.randomUUID().toString()));
|
|
||||||
plugin.proxies.put(proxy.getName().toLowerCase(), proxy);
|
plugin.proxies.put(proxy.getName().toLowerCase(), proxy);
|
||||||
client.setHandler(proxy);
|
client.setHandler(proxy);
|
||||||
System.out.println("SubData > " + client.getAddress().toString() + " has been defined as Proxy: " + proxy.getName());
|
System.out.println("SubData > " + client.getAddress().toString() + " has been defined as Proxy: " + proxy.getName());
|
||||||
client.sendPacket(new PacketLinkProxy(proxy.getName(), 0, "Definition Successful"));
|
client.sendPacket(new PacketLinkProxy(proxy.getName(), 0, "Definition Successful"));
|
||||||
} else {
|
|
||||||
client.sendPacket(new PacketLinkProxy(null, 3, "Proxy already linked"));
|
|
||||||
}
|
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
client.sendPacket(new PacketLinkProxy(null, 1, e.getClass().getCanonicalName() + ": " + e.getMessage()));
|
client.sendPacket(new PacketLinkProxy(null, 1, e.getClass().getCanonicalName() + ": " + e.getMessage()));
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
|
@ -2,6 +2,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.SubServer;
|
import net.ME1312.SubServers.Bungee.Host.SubServer;
|
||||||
|
import net.ME1312.SubServers.Bungee.Library.Exception.InvalidServerException;
|
||||||
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;
|
||||||
@ -10,6 +11,8 @@ import net.ME1312.SubServers.Bungee.Network.PacketOut;
|
|||||||
import net.ME1312.SubServers.Bungee.SubPlugin;
|
import net.ME1312.SubServers.Bungee.SubPlugin;
|
||||||
import org.json.JSONObject;
|
import org.json.JSONObject;
|
||||||
|
|
||||||
|
import java.net.InetSocketAddress;
|
||||||
|
import java.util.List;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -19,6 +22,7 @@ public class PacketLinkServer implements PacketIn, PacketOut {
|
|||||||
private SubPlugin plugin;
|
private SubPlugin plugin;
|
||||||
private int response;
|
private int response;
|
||||||
private String message;
|
private String message;
|
||||||
|
private String name;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* New PacketLinkServer (In)
|
* New PacketLinkServer (In)
|
||||||
@ -33,11 +37,13 @@ public class PacketLinkServer implements PacketIn, PacketOut {
|
|||||||
/**
|
/**
|
||||||
* New PacketLinkServer (Out)
|
* New PacketLinkServer (Out)
|
||||||
*
|
*
|
||||||
|
* @param name The name that was determined
|
||||||
* @param response Response ID
|
* @param response Response ID
|
||||||
* @param message Message
|
* @param message Message
|
||||||
*/
|
*/
|
||||||
public PacketLinkServer(int response, String message) {
|
public PacketLinkServer(String name, int response, String message) {
|
||||||
if (Util.isNull(response, message)) throw new NullPointerException();
|
if (Util.isNull(response, message)) throw new NullPointerException();
|
||||||
|
this.name = name;
|
||||||
this.response = response;
|
this.response = response;
|
||||||
this.message = message;
|
this.message = message;
|
||||||
}
|
}
|
||||||
@ -45,6 +51,7 @@ public class PacketLinkServer implements PacketIn, PacketOut {
|
|||||||
@Override
|
@Override
|
||||||
public JSONObject generate() {
|
public JSONObject generate() {
|
||||||
JSONObject json = new JSONObject();
|
JSONObject json = new JSONObject();
|
||||||
|
json.put("n", name);
|
||||||
json.put("r", response);
|
json.put("r", response);
|
||||||
json.put("m", message);
|
json.put("m", message);
|
||||||
return json;
|
return json;
|
||||||
@ -54,24 +61,43 @@ public class PacketLinkServer implements PacketIn, PacketOut {
|
|||||||
public void execute(Client client, JSONObject data) {
|
public void execute(Client client, JSONObject data) {
|
||||||
try {
|
try {
|
||||||
Map<String, Server> servers = plugin.api.getServers();
|
Map<String, Server> servers = plugin.api.getServers();
|
||||||
if (servers.keySet().contains(data.getString("name").toLowerCase())) {
|
Server server;
|
||||||
Server server = servers.get(data.getString("name").toLowerCase());
|
if (data.keySet().contains("name") && servers.keySet().contains(data.getString("name").toLowerCase())) {
|
||||||
|
link(client, servers.get(data.getString("name").toLowerCase()));
|
||||||
|
} else if ((server = searchIP(new InetSocketAddress(client.getAddress().getAddress(), data.getInt("port")))) != null) {
|
||||||
|
link(client, server);
|
||||||
|
} else if (data.keySet().contains("name")) {
|
||||||
|
client.sendPacket(new PacketLinkServer(null, 2, "There is no server with that name"));
|
||||||
|
} else {
|
||||||
|
client.sendPacket(new PacketLinkServer(null, 2, "Could not find server with address: " + client.getAddress().getAddress().getHostAddress() + ':' + data.getInt("port")));
|
||||||
|
}
|
||||||
|
} catch (Exception e) {
|
||||||
|
client.sendPacket(new PacketLinkServer(null, 1, e.getClass().getCanonicalName() + ": " + e.getMessage()));
|
||||||
|
e.printStackTrace();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void link(Client client, Server server) {
|
||||||
if (server.getSubData() == null) {
|
if (server.getSubData() == null) {
|
||||||
client.setHandler(server);
|
client.setHandler(server);
|
||||||
System.out.println("SubData > " + client.getAddress().toString() + " has been defined as " + ((server instanceof SubServer) ? "SubServer" : "Server") + ": " + server.getName());
|
System.out.println("SubData > " + client.getAddress().toString() + " has been defined as " + ((server instanceof SubServer) ? "SubServer" : "Server") + ": " + server.getName());
|
||||||
client.sendPacket(new PacketLinkServer(0, "Definition Successful"));
|
client.sendPacket(new PacketLinkServer(server.getName(), 0, "Definition Successful"));
|
||||||
if (server instanceof SubServer && !((SubServer) server).isRunning()) client.sendPacket(new PacketOutReset("Rogue SubServer Detected"));
|
if (server instanceof SubServer && !((SubServer) server).isRunning()) client.sendPacket(new PacketOutReset("Rogue SubServer Detected"));
|
||||||
} else {
|
} else {
|
||||||
client.sendPacket(new PacketLinkServer(3, "Server already linked"));
|
client.sendPacket(new PacketLinkServer(null, 3, "Server already linked"));
|
||||||
}
|
}
|
||||||
} else {
|
|
||||||
client.sendPacket(new PacketLinkServer(2, "There is no server with that name"));
|
|
||||||
}
|
}
|
||||||
} catch (Exception e) {
|
|
||||||
client.sendPacket(new PacketLinkServer(1, e.getClass().getCanonicalName() + ": " + e.getMessage()));
|
private Server searchIP(InetSocketAddress address) {
|
||||||
e.printStackTrace();
|
Server server = null;
|
||||||
|
for (Server s : plugin.api.getServers().values()) {
|
||||||
|
if (s.getAddress().equals(address)) {
|
||||||
|
if (server != null) throw new InvalidServerException("Multiple servers match address: " + address.getAddress().getHostAddress() + ':' + address.getPort());
|
||||||
|
server = s;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
return server;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Version getVersion() {
|
public Version getVersion() {
|
||||||
|
@ -254,7 +254,7 @@ public final class SubDataServer {
|
|||||||
SocketAddress address = client.getAddress();
|
SocketAddress address = client.getAddress();
|
||||||
if (clients.keySet().contains(address.toString())) {
|
if (clients.keySet().contains(address.toString())) {
|
||||||
clients.remove(address.toString());
|
clients.remove(address.toString());
|
||||||
client.disconnect();
|
if (!client.closed) client.disconnect();
|
||||||
System.out.println("SubData > " + client.getAddress().toString() + " has disconnected");
|
System.out.println("SubData > " + client.getAddress().toString() + " has disconnected");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -343,6 +343,7 @@ public final class SubPlugin extends BungeeCord implements Listener {
|
|||||||
}
|
}
|
||||||
}));
|
}));
|
||||||
running = true;
|
running = true;
|
||||||
|
List<String> autorun = new LinkedList<String>();
|
||||||
for (String name : config.get().getSection("Servers").getKeys()) {
|
for (String name : config.get().getSection("Servers").getKeys()) {
|
||||||
if (!ukeys.contains(name.toLowerCase())) try {
|
if (!ukeys.contains(name.toLowerCase())) try {
|
||||||
if (!this.hosts.keySet().contains(config.get().getSection("Servers").getSection(name).getString("Host").toLowerCase())) throw new InvalidServerException("There is no host with this name: " + config.get().getSection("Servers").getSection(name).getString("Host"));
|
if (!this.hosts.keySet().contains(config.get().getSection("Servers").getSection(name).getString("Host").toLowerCase())) throw new InvalidServerException("There is no host with this name: " + config.get().getSection("Servers").getSection(name).getString("Host"));
|
||||||
@ -399,7 +400,7 @@ public final class SubPlugin extends BungeeCord implements Listener {
|
|||||||
server = this.hosts.get(config.get().getSection("Servers").getSection(name).getString("Host").toLowerCase()).addSubServer(name, config.get().getSection("Servers").getSection(name).getBoolean("Enabled"),
|
server = this.hosts.get(config.get().getSection("Servers").getSection(name).getString("Host").toLowerCase()).addSubServer(name, config.get().getSection("Servers").getSection(name).getBoolean("Enabled"),
|
||||||
config.get().getSection("Servers").getSection(name).getInt("Port"), config.get().getSection("Servers").getSection(name).getColoredString("Motd", '&'), config.get().getSection("Servers").getSection(name).getBoolean("Log"),
|
config.get().getSection("Servers").getSection(name).getInt("Port"), config.get().getSection("Servers").getSection(name).getColoredString("Motd", '&'), config.get().getSection("Servers").getSection(name).getBoolean("Log"),
|
||||||
config.get().getSection("Servers").getSection(name).getRawString("Directory"), new Executable(config.get().getSection("Servers").getSection(name).getRawString("Executable")), config.get().getSection("Servers").getSection(name).getRawString("Stop-Command"),
|
config.get().getSection("Servers").getSection(name).getRawString("Directory"), new Executable(config.get().getSection("Servers").getSection(name).getRawString("Executable")), config.get().getSection("Servers").getSection(name).getRawString("Stop-Command"),
|
||||||
config.get().getSection("Servers").getSection(name).getBoolean("Run-On-Launch"), config.get().getSection("Servers").getSection(name).getBoolean("Auto-Restart"), config.get().getSection("Servers").getSection(name).getBoolean("Hidden"), config.get().getSection("Servers").getSection(name).getBoolean("Restricted"), false);
|
config.get().getSection("Servers").getSection(name).getBoolean("Hidden"), config.get().getSection("Servers").getSection(name).getBoolean("Restricted"), false);
|
||||||
} else { // Server doesn't need to reset
|
} else { // Server doesn't need to reset
|
||||||
if (config.get().getSection("Servers").getSection(name).getBoolean("Enabled") != server.isEnabled())
|
if (config.get().getSection("Servers").getSection(name).getBoolean("Enabled") != server.isEnabled())
|
||||||
server.setEnabled(config.get().getSection("Servers").getSection(name).getBoolean("Enabled"));
|
server.setEnabled(config.get().getSection("Servers").getSection(name).getBoolean("Enabled"));
|
||||||
@ -409,8 +410,6 @@ public final class SubPlugin extends BungeeCord implements Listener {
|
|||||||
server.setLogging(config.get().getSection("Servers").getSection(name).getBoolean("Log"));
|
server.setLogging(config.get().getSection("Servers").getSection(name).getBoolean("Log"));
|
||||||
if (!config.get().getSection("Servers").getSection(name).getRawString("Stop-Command").equals(server.getStopCommand()))
|
if (!config.get().getSection("Servers").getSection(name).getRawString("Stop-Command").equals(server.getStopCommand()))
|
||||||
server.setStopCommand(config.get().getSection("Servers").getSection(name).getRawString("Stop-Command"));
|
server.setStopCommand(config.get().getSection("Servers").getSection(name).getRawString("Stop-Command"));
|
||||||
if (config.get().getSection("Servers").getSection(name).getBoolean("Auto-Restart") != server.willAutoRestart())
|
|
||||||
server.setAutoRestart(config.get().getSection("Servers").getSection(name).getBoolean("Auto-Restart"));
|
|
||||||
if (config.get().getSection("Servers").getSection(name).getBoolean("Restricted") != server.isRestricted())
|
if (config.get().getSection("Servers").getSection(name).getBoolean("Restricted") != server.isRestricted())
|
||||||
server.setRestricted(config.get().getSection("Servers").getSection(name).getBoolean("Restricted"));
|
server.setRestricted(config.get().getSection("Servers").getSection(name).getBoolean("Restricted"));
|
||||||
if (config.get().getSection("Servers").getSection(name).getBoolean("Hidden") != server.isHidden())
|
if (config.get().getSection("Servers").getSection(name).getBoolean("Hidden") != server.isHidden())
|
||||||
@ -418,6 +417,10 @@ public final class SubPlugin extends BungeeCord implements Listener {
|
|||||||
if (server.getSubData() != null)
|
if (server.getSubData() != null)
|
||||||
server.getSubData().sendPacket(new PacketOutReload(null));
|
server.getSubData().sendPacket(new PacketOutReload(null));
|
||||||
} // Apply these changes regardless of reset
|
} // Apply these changes regardless of reset
|
||||||
|
if (config.get().getSection("Servers").getSection(name).getBoolean("Auto-Restart") != server.willAutoRestart())
|
||||||
|
server.setAutoRestart(config.get().getSection("Servers").getSection(name).getBoolean("Auto-Restart"));
|
||||||
|
if (!status && config.get().getSection("Servers").getSection(name).getBoolean("Run-On-Launch"))
|
||||||
|
autorun.add(name.toLowerCase());
|
||||||
if (config.get().getSection("Servers").getSection(name).getKeys().contains("Display") && ((config.get().getSection("Servers").getSection(name).getString("Display").length() == 0 && !server.getDisplayName().equals(server.getName())) || !config.get().getSection("Servers").getSection(name).getString("Display").equals(server.getDisplayName())))
|
if (config.get().getSection("Servers").getSection(name).getKeys().contains("Display") && ((config.get().getSection("Servers").getSection(name).getString("Display").length() == 0 && !server.getDisplayName().equals(server.getName())) || !config.get().getSection("Servers").getSection(name).getString("Display").equals(server.getDisplayName())))
|
||||||
server.setDisplayName(config.get().getSection("Servers").getSection(name).getString("Display"));
|
server.setDisplayName(config.get().getSection("Servers").getSection(name).getString("Display"));
|
||||||
if (config.get().getSection("Servers").getSection(name).getKeys().contains("Group")) {
|
if (config.get().getSection("Servers").getSection(name).getKeys().contains("Group")) {
|
||||||
@ -439,6 +442,8 @@ public final class SubPlugin extends BungeeCord implements Listener {
|
|||||||
SubServer oserver = api.getSubServer(oname);
|
SubServer oserver = api.getSubServer(oname);
|
||||||
if (oserver != null && server.isCompatible(oserver)) server.toggleCompatibility(oserver);
|
if (oserver != null && server.isCompatible(oserver)) server.toggleCompatibility(oserver);
|
||||||
}
|
}
|
||||||
|
if (autorun.contains(name))
|
||||||
|
server.start();
|
||||||
}
|
}
|
||||||
ukeys.clear();
|
ukeys.clear();
|
||||||
api.ready = true;
|
api.ready = true;
|
||||||
|
Binary file not shown.
@ -4,7 +4,6 @@ Settings:
|
|||||||
Show-Addresses: false
|
Show-Addresses: false
|
||||||
Use-Title-Messages: true
|
Use-Title-Messages: true
|
||||||
SubData:
|
SubData:
|
||||||
Name: 'undefined'
|
|
||||||
Address: '127.0.0.1:4391'
|
Address: '127.0.0.1:4391'
|
||||||
Password: 'default'
|
Password: 'default'
|
||||||
Encryption: 'AES'
|
Encryption: 'AES'
|
@ -8,7 +8,7 @@ import net.ME1312.SubServers.Client.Bukkit.Library.Config.YAMLValue;
|
|||||||
*/
|
*/
|
||||||
public interface ExtraDataHandler {
|
public interface ExtraDataHandler {
|
||||||
/**
|
/**
|
||||||
* Add an extra value to this Server
|
* Add an extra value to this Object
|
||||||
*
|
*
|
||||||
* @param handle Handle
|
* @param handle Handle
|
||||||
* @param value Value
|
* @param value Value
|
||||||
@ -39,7 +39,7 @@ public interface ExtraDataHandler {
|
|||||||
YAMLSection getExtra();
|
YAMLSection getExtra();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Remove an extra value from this Server
|
* Remove an extra value from this Object
|
||||||
*
|
*
|
||||||
* @param handle Handle
|
* @param handle Handle
|
||||||
*/
|
*/
|
||||||
|
@ -9,6 +9,7 @@ import net.ME1312.SubServers.Client.Bukkit.SubPlugin;
|
|||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.json.JSONObject;
|
import org.json.JSONObject;
|
||||||
|
|
||||||
|
import java.lang.reflect.Field;
|
||||||
import java.lang.reflect.Method;
|
import java.lang.reflect.Method;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -31,6 +32,7 @@ public class PacketLinkServer implements PacketIn, PacketOut {
|
|||||||
public JSONObject generate() {
|
public JSONObject generate() {
|
||||||
JSONObject json = new JSONObject();
|
JSONObject json = new JSONObject();
|
||||||
json.put("name", plugin.subdata.getName());
|
json.put("name", plugin.subdata.getName());
|
||||||
|
json.put("port", Bukkit.getServer().getPort());
|
||||||
return json;
|
return json;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -38,12 +40,24 @@ public class PacketLinkServer implements PacketIn, PacketOut {
|
|||||||
public void execute(JSONObject data) {
|
public void execute(JSONObject data) {
|
||||||
if (data.getInt("r") == 0) {
|
if (data.getInt("r") == 0) {
|
||||||
try {
|
try {
|
||||||
|
if (data.keySet().contains("n")) {
|
||||||
|
Field f = SubDataClient.class.getDeclaredField("name");
|
||||||
|
f.setAccessible(true);
|
||||||
|
f.set(plugin.subdata, data.getString("n"));
|
||||||
|
f.setAccessible(false);
|
||||||
|
}
|
||||||
Method m = SubDataClient.class.getDeclaredMethod("init");
|
Method m = SubDataClient.class.getDeclaredMethod("init");
|
||||||
m.setAccessible(true);
|
m.setAccessible(true);
|
||||||
m.invoke(plugin.subdata);
|
m.invoke(plugin.subdata);
|
||||||
m.setAccessible(false);
|
m.setAccessible(false);
|
||||||
} catch (Exception e) {}
|
} catch (Exception e) {}
|
||||||
} else {
|
} else {
|
||||||
|
try {
|
||||||
|
if (data.getInt("r") == 2) {
|
||||||
|
plugin.config.get().getSection("Settings").getSection("SubData").set("Name", "undefined");
|
||||||
|
plugin.config.save();
|
||||||
|
}
|
||||||
|
} catch (Exception e) {}
|
||||||
Bukkit.getLogger().info("SubData > Could not link name with server: " + data.getString("m"));
|
Bukkit.getLogger().info("SubData > Could not link name with server: " + data.getString("m"));
|
||||||
plugin.onDisable();
|
plugin.onDisable();
|
||||||
}
|
}
|
||||||
|
@ -47,7 +47,7 @@ public final class SubDataClient {
|
|||||||
* @throws IOException
|
* @throws IOException
|
||||||
*/
|
*/
|
||||||
public SubDataClient(SubPlugin plugin, String name, InetAddress address, int port, Cipher cipher) throws IOException {
|
public SubDataClient(SubPlugin plugin, String name, InetAddress address, int port, Cipher cipher) throws IOException {
|
||||||
if (Util.isNull(plugin, name, address, port)) throw new NullPointerException();
|
if (Util.isNull(plugin, address, port)) throw new NullPointerException();
|
||||||
socket = new NamedContainer<>(false, new Socket(address, port));
|
socket = new NamedContainer<>(false, new Socket(address, port));
|
||||||
this.plugin = plugin;
|
this.plugin = plugin;
|
||||||
this.name = name;
|
this.name = name;
|
||||||
|
@ -71,8 +71,10 @@ public final class SubPlugin extends JavaPlugin {
|
|||||||
}
|
}
|
||||||
config = new YAMLConfig(new UniversalFile(getDataFolder(), "config.yml"));
|
config = new YAMLConfig(new UniversalFile(getDataFolder(), "config.yml"));
|
||||||
if (new UniversalFile(new File(System.getProperty("user.dir")), "subservers.client").exists()) {
|
if (new UniversalFile(new File(System.getProperty("user.dir")), "subservers.client").exists()) {
|
||||||
config.get().getSection("Settings").set("SubData", new JSONObject(Util.readAll(new FileReader(new UniversalFile(new File(System.getProperty("user.dir")), "subservers.client")))));
|
FileReader reader = new FileReader(new UniversalFile(new File(System.getProperty("user.dir")), "subservers.client"));
|
||||||
|
config.get().getSection("Settings").set("SubData", new JSONObject(Util.readAll(reader)));
|
||||||
config.save();
|
config.save();
|
||||||
|
reader.close();
|
||||||
new UniversalFile(new File(System.getProperty("user.dir")), "subservers.client").delete();
|
new UniversalFile(new File(System.getProperty("user.dir")), "subservers.client").delete();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -127,7 +129,7 @@ public final class SubPlugin extends JavaPlugin {
|
|||||||
cipher = SubDataClient.getCipher(config.get().getSection("Settings").getSection("SubData").getRawString("Encryption"));
|
cipher = SubDataClient.getCipher(config.get().getSection("Settings").getSection("SubData").getRawString("Encryption"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
subdata = new SubDataClient(this, config.get().getSection("Settings").getSection("SubData").getString("Name", "undefined"),
|
subdata = new SubDataClient(this, config.get().getSection("Settings").getSection("SubData").getString("Name", null),
|
||||||
InetAddress.getByName(config.get().getSection("Settings").getSection("SubData").getString("Address", "127.0.0.1:4391").split(":")[0]),
|
InetAddress.getByName(config.get().getSection("Settings").getSection("SubData").getString("Address", "127.0.0.1:4391").split(":")[0]),
|
||||||
Integer.parseInt(config.get().getSection("Settings").getSection("SubData").getString("Address", "127.0.0.1:4391").split(":")[1]), cipher);
|
Integer.parseInt(config.get().getSection("Settings").getSection("SubData").getString("Address", "127.0.0.1:4391").split(":")[1]), cipher);
|
||||||
|
|
||||||
|
Binary file not shown.
@ -8,7 +8,7 @@ import net.ME1312.SubServers.Host.Library.Config.YAMLValue;
|
|||||||
*/
|
*/
|
||||||
public interface ExtraDataHandler {
|
public interface ExtraDataHandler {
|
||||||
/**
|
/**
|
||||||
* Add an extra value to this Server
|
* Add an extra value to this Object
|
||||||
*
|
*
|
||||||
* @param handle Handle
|
* @param handle Handle
|
||||||
* @param value Value
|
* @param value Value
|
||||||
@ -39,7 +39,7 @@ public interface ExtraDataHandler {
|
|||||||
YAMLSection getExtra();
|
YAMLSection getExtra();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Remove an extra value from this Server
|
* Remove an extra value from this Object
|
||||||
*
|
*
|
||||||
* @param handle Handle
|
* @param handle Handle
|
||||||
*/
|
*/
|
||||||
|
Binary file not shown.
@ -8,7 +8,7 @@ import net.ME1312.SubServers.Sync.Library.Config.YAMLValue;
|
|||||||
*/
|
*/
|
||||||
public interface ExtraDataHandler {
|
public interface ExtraDataHandler {
|
||||||
/**
|
/**
|
||||||
* Add an extra value to this Server
|
* Add an extra value to this Object
|
||||||
*
|
*
|
||||||
* @param handle Handle
|
* @param handle Handle
|
||||||
* @param value Value
|
* @param value Value
|
||||||
@ -39,7 +39,7 @@ public interface ExtraDataHandler {
|
|||||||
YAMLSection getExtra();
|
YAMLSection getExtra();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Remove an extra value from this Server
|
* Remove an extra value from this Object
|
||||||
*
|
*
|
||||||
* @param handle Handle
|
* @param handle Handle
|
||||||
*/
|
*/
|
||||||
|
@ -37,12 +37,18 @@ public class PacketLinkProxy implements PacketIn, PacketOut {
|
|||||||
public void execute(JSONObject data) {
|
public void execute(JSONObject data) {
|
||||||
if (data.getInt("r") == 0) {
|
if (data.getInt("r") == 0) {
|
||||||
if (data.keySet().contains("n")) try {
|
if (data.keySet().contains("n")) try {
|
||||||
Field m = SubDataClient.class.getDeclaredField("name");
|
Field f = SubDataClient.class.getDeclaredField("name");
|
||||||
m.setAccessible(true);
|
f.setAccessible(true);
|
||||||
m.set(plugin.subdata, data.getString("n"));
|
f.set(plugin.subdata, data.getString("n"));
|
||||||
m.setAccessible(false);
|
f.setAccessible(false);
|
||||||
} catch (Exception e) {}
|
} catch (Exception e) {}
|
||||||
} else {
|
} else {
|
||||||
|
try {
|
||||||
|
if (data.getInt("r") == 2) {
|
||||||
|
plugin.config.get().getSection("Settings").getSection("SubData").set("Name", "undefined");
|
||||||
|
plugin.config.save();
|
||||||
|
}
|
||||||
|
} catch (Exception e) {}
|
||||||
System.out.println("SubData > Could not link name with server: " + data.getString("m"));
|
System.out.println("SubData > Could not link name with server: " + data.getString("m"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user