SubServers.Host API Additions

This commit is contained in:
ME1312 2017-02-05 17:03:17 -05:00
parent 8458acb255
commit 3dcbd8252e
44 changed files with 1427 additions and 307 deletions

Binary file not shown.

Binary file not shown.

View File

@ -495,6 +495,10 @@
<dd>
<div class="block">Get Remote Address</div>
</dd>
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Bungee/Library/Util.html#getBackwards-java.util.Map-V-">getBackwards(Map&lt;K, V&gt;, V)</a></span> - Static method in class net.ME1312.SubServers.Bungee.Library.<a href="net/ME1312/SubServers/Bungee/Library/Util.html" title="class in net.ME1312.SubServers.Bungee.Library">Util</a></dt>
<dd>
<div class="block">Get keys by value from map</div>
</dd>
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Bungee/Host/Internal/InternalSubCreator.html#getBashDirectory--">getBashDirectory()</a></span> - Method in class net.ME1312.SubServers.Bungee.Host.Internal.<a href="net/ME1312/SubServers/Bungee/Host/Internal/InternalSubCreator.html" title="class in net.ME1312.SubServers.Bungee.Host.Internal">InternalSubCreator</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Bungee/Host/SubCreator.html#getBashDirectory--">getBashDirectory()</a></span> - Method in class net.ME1312.SubServers.Bungee.Host.<a href="net/ME1312/SubServers/Bungee/Host/SubCreator.html" title="class in net.ME1312.SubServers.Bungee.Host">SubCreator</a></dt>

View File

@ -17,7 +17,7 @@
catch(err) {
}
//-->
var methods = {"i0":9,"i1":9,"i2":9,"i3":9,"i4":9,"i5":9,"i6":9,"i7":9};
var methods = {"i0":9,"i1":9,"i2":9,"i3":9,"i4":9,"i5":9,"i6":9,"i7":9,"i8":9};
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
@ -169,31 +169,38 @@ extends java.lang.Object</pre>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>static &lt;K,V&gt;&nbsp;java.util.List&lt;K&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Library/Util.html#getBackwards-java.util.Map-V-">getBackwards</a></span>(java.util.Map&lt;K,V&gt;&nbsp;map,
V&nbsp;value)</code>
<div class="block">Get keys by value from map</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Library/Util.html#isException-net.ME1312.SubServers.Bungee.Library.Util.ExceptionRunnable-">isException</a></span>(<a href="../../../../../net/ME1312/SubServers/Bungee/Library/Util.ExceptionRunnable.html" title="interface in net.ME1312.SubServers.Bungee.Library">Util.ExceptionRunnable</a>&nbsp;runnable)</code>
<div class="block">Determines if an Exception will occur</div>
</td>
</tr>
<tr id="i4" class="altColor">
<tr id="i5" class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Library/Util.html#isNull-java.lang.Object...-">isNull</a></span>(java.lang.Object...&nbsp;values)</code>
<div class="block">Checks values to make sure they're not null</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<tr id="i6" class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Library/Util.html#random-int-int-">random</a></span>(int&nbsp;min,
int&nbsp;max)</code>
<div class="block">Get a Random Integer</div>
</td>
</tr>
<tr id="i6" class="altColor">
<tr id="i7" class="rowColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Library/Util.html#readAll-java.io.Reader-">readAll</a></span>(java.io.Reader&nbsp;rd)</code>
<div class="block">Read Everything from Reader</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<tr id="i8" class="altColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Bungee/Library/Util.html#unescapeJavaString-java.lang.String-">unescapeJavaString</a></span>(java.lang.String&nbsp;str)</code>
<div class="block">Parse escapes in a Java String</div>
@ -237,6 +244,29 @@ extends java.lang.Object</pre>
</dl>
</li>
</ul>
<a name="getBackwards-java.util.Map-java.lang.Object-">
<!-- -->
</a><a name="getBackwards-java.util.Map-V-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getBackwards</h4>
<pre>public static&nbsp;&lt;K,V&gt;&nbsp;java.util.List&lt;K&gt;&nbsp;getBackwards(java.util.Map&lt;K,V&gt;&nbsp;map,
V&nbsp;value)</pre>
<div class="block">Get keys by value from map</div>
<dl>
<dt><span class="paramLabel">Type Parameters:</span></dt>
<dd><code>K</code> - Key</dd>
<dd><code>V</code> - Value</dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>map</code> - Map to search</dd>
<dd><code>value</code> - Value to search for</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Search results</dd>
</dl>
</li>
</ul>
<a name="readAll-java.io.Reader-">
<!-- -->
</a>

View File

@ -376,6 +376,10 @@
<dd>
<div class="block">Grabs the Object</div>
</dd>
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Client/Bukkit/Library/Util.html#getBackwards-java.util.Map-V-">getBackwards(Map&lt;K, V&gt;, V)</a></span> - Static method in class net.ME1312.SubServers.Client.Bukkit.Library.<a href="net/ME1312/SubServers/Client/Bukkit/Library/Util.html" title="class in net.ME1312.SubServers.Client.Bukkit.Library">Util</a></dt>
<dd>
<div class="block">Get keys by value from map</div>
</dd>
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Client/Bukkit/SubAPI.html#getBetaVersion--">getBetaVersion()</a></span> - Method in class net.ME1312.SubServers.Client.Bukkit.<a href="net/ME1312/SubServers/Client/Bukkit/SubAPI.html" title="class in net.ME1312.SubServers.Client.Bukkit">SubAPI</a></dt>
<dd>
<div class="block">Gets the SubServers Beta Version</div>

View File

@ -17,7 +17,7 @@
catch(err) {
}
//-->
var methods = {"i0":9,"i1":9,"i2":9,"i3":9,"i4":9,"i5":9,"i6":9,"i7":9};
var methods = {"i0":9,"i1":9,"i2":9,"i3":9,"i4":9,"i5":9,"i6":9,"i7":9,"i8":9};
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
@ -169,31 +169,38 @@ extends java.lang.Object</pre>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>static &lt;K,V&gt;&nbsp;java.util.List&lt;K&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Util.html#getBackwards-java.util.Map-V-">getBackwards</a></span>(java.util.Map&lt;K,V&gt;&nbsp;map,
V&nbsp;value)</code>
<div class="block">Get keys by value from map</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Util.html#isException-net.ME1312.SubServers.Client.Bukkit.Library.Util.ExceptionRunnable-">isException</a></span>(<a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Util.ExceptionRunnable.html" title="interface in net.ME1312.SubServers.Client.Bukkit.Library">Util.ExceptionRunnable</a>&nbsp;runnable)</code>
<div class="block">Determines if an Exception will occur</div>
</td>
</tr>
<tr id="i4" class="altColor">
<tr id="i5" class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Util.html#isNull-java.lang.Object...-">isNull</a></span>(java.lang.Object...&nbsp;values)</code>
<div class="block">Checks values to make sure they're not null</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<tr id="i6" class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Util.html#random-int-int-">random</a></span>(int&nbsp;min,
int&nbsp;max)</code>
<div class="block">Get a Random Integer</div>
</td>
</tr>
<tr id="i6" class="altColor">
<tr id="i7" class="rowColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Util.html#readAll-java.io.Reader-">readAll</a></span>(java.io.Reader&nbsp;rd)</code>
<div class="block">Read Everything from Reader</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<tr id="i8" class="altColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Util.html#unescapeJavaString-java.lang.String-">unescapeJavaString</a></span>(java.lang.String&nbsp;str)</code>
<div class="block">Parse escapes in a Java String</div>
@ -237,6 +244,29 @@ extends java.lang.Object</pre>
</dl>
</li>
</ul>
<a name="getBackwards-java.util.Map-java.lang.Object-">
<!-- -->
</a><a name="getBackwards-java.util.Map-V-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getBackwards</h4>
<pre>public static&nbsp;&lt;K,V&gt;&nbsp;java.util.List&lt;K&gt;&nbsp;getBackwards(java.util.Map&lt;K,V&gt;&nbsp;map,
V&nbsp;value)</pre>
<div class="block">Get keys by value from map</div>
<dl>
<dt><span class="paramLabel">Type Parameters:</span></dt>
<dd><code>K</code> - Key</dd>
<dd><code>V</code> - Value</dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>map</code> - Map to search</dd>
<dd><code>value</code> - Value to search for</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Search results</dd>
</dl>
</li>
</ul>
<a name="readAll-java.io.Reader-">
<!-- -->
</a>

View File

@ -12,7 +12,7 @@
<div class="indexContainer">
<ul>
<li><a href="net/ME1312/SubServers/Host/Library/Event/Cancellable.html" title="interface in net.ME1312.SubServers.Host.Library.Event" target="classFrame"><span class="interfaceName">Cancellable</span></a></li>
<li><a href="net/ME1312/SubServers/Host/API/Command.html" title="interface in net.ME1312.SubServers.Host.API" target="classFrame"><span class="interfaceName">Command</span></a></li>
<li><a href="net/ME1312/SubServers/Host/API/Command.html" title="class in net.ME1312.SubServers.Host.API" target="classFrame">Command</a></li>
<li><a href="net/ME1312/SubServers/Host/API/Event/CommandPreProcessEvent.html" title="class in net.ME1312.SubServers.Host.API.Event" target="classFrame">CommandPreProcessEvent</a></li>
<li><a href="net/ME1312/SubServers/Host/Library/Container.html" title="class in net.ME1312.SubServers.Host.Library" target="classFrame">Container</a></li>
<li><a href="net/ME1312/SubServers/Host/Library/Event/Event.html" title="class in net.ME1312.SubServers.Host.Library.Event" target="classFrame">Event</a></li>
@ -22,6 +22,7 @@
<li><a href="net/ME1312/SubServers/Host/Library/Log/FileLogger.html" title="class in net.ME1312.SubServers.Host.Library.Log" target="classFrame">FileLogger</a></li>
<li><a href="net/ME1312/SubServers/Host/Library/Exception/IllegalPacketException.html" title="class in net.ME1312.SubServers.Host.Library.Exception" target="classFrame">IllegalPacketException</a></li>
<li><a href="net/ME1312/SubServers/Host/Library/Exception/IllegalPluginException.html" title="class in net.ME1312.SubServers.Host.Library.Exception" target="classFrame">IllegalPluginException</a></li>
<li><a href="net/ME1312/SubServers/Host/Library/Exception/IllegalStringValueException.html" title="class in net.ME1312.SubServers.Host.Library.Exception" target="classFrame">IllegalStringValueException</a></li>
<li><a href="net/ME1312/SubServers/Host/Library/JSONCallback.html" title="interface in net.ME1312.SubServers.Host.Library" target="classFrame"><span class="interfaceName">JSONCallback</span></a></li>
<li><a href="net/ME1312/SubServers/Host/Launch.html" title="class in net.ME1312.SubServers.Host" target="classFrame">Launch</a></li>
<li><a href="net/ME1312/SubServers/Host/Library/Event/Listener.html" title="interface in net.ME1312.SubServers.Host.Library.Event" target="classFrame"><span class="interfaceName">Listener</span></a></li>
@ -40,7 +41,7 @@
<li><a href="net/ME1312/SubServers/Host/API/SubPlugin.html" title="annotation in net.ME1312.SubServers.Host.API" target="classFrame">SubPlugin</a></li>
<li><a href="net/ME1312/SubServers/Host/API/SubPluginInfo.html" title="class in net.ME1312.SubServers.Host.API" target="classFrame">SubPluginInfo</a></li>
<li><a href="net/ME1312/SubServers/Host/SubServers.html" title="class in net.ME1312.SubServers.Host" target="classFrame">SubServers</a></li>
<li><a href="net/ME1312/SubServers/Host/API/SubTaskBuilder.html" title="class in net.ME1312.SubServers.Host.API" target="classFrame">SubTaskBuilder</a></li>
<li><a href="net/ME1312/SubServers/Host/API/SubTask.html" title="class in net.ME1312.SubServers.Host.API" target="classFrame">SubTask</a></li>
<li><a href="net/ME1312/SubServers/Host/Library/UniversalFile.html" title="class in net.ME1312.SubServers.Host.Library" target="classFrame">UniversalFile</a></li>
<li><a href="net/ME1312/SubServers/Host/Library/Util.html" title="class in net.ME1312.SubServers.Host.Library" target="classFrame">Util</a></li>
<li><a href="net/ME1312/SubServers/Host/Library/Util.ExceptionRunnable.html" title="interface in net.ME1312.SubServers.Host.Library" target="classFrame"><span class="interfaceName">Util.ExceptionRunnable</span></a></li>

View File

@ -12,7 +12,7 @@
<div class="indexContainer">
<ul>
<li><a href="net/ME1312/SubServers/Host/Library/Event/Cancellable.html" title="interface in net.ME1312.SubServers.Host.Library.Event"><span class="interfaceName">Cancellable</span></a></li>
<li><a href="net/ME1312/SubServers/Host/API/Command.html" title="interface in net.ME1312.SubServers.Host.API"><span class="interfaceName">Command</span></a></li>
<li><a href="net/ME1312/SubServers/Host/API/Command.html" title="class in net.ME1312.SubServers.Host.API">Command</a></li>
<li><a href="net/ME1312/SubServers/Host/API/Event/CommandPreProcessEvent.html" title="class in net.ME1312.SubServers.Host.API.Event">CommandPreProcessEvent</a></li>
<li><a href="net/ME1312/SubServers/Host/Library/Container.html" title="class in net.ME1312.SubServers.Host.Library">Container</a></li>
<li><a href="net/ME1312/SubServers/Host/Library/Event/Event.html" title="class in net.ME1312.SubServers.Host.Library.Event">Event</a></li>
@ -22,6 +22,7 @@
<li><a href="net/ME1312/SubServers/Host/Library/Log/FileLogger.html" title="class in net.ME1312.SubServers.Host.Library.Log">FileLogger</a></li>
<li><a href="net/ME1312/SubServers/Host/Library/Exception/IllegalPacketException.html" title="class in net.ME1312.SubServers.Host.Library.Exception">IllegalPacketException</a></li>
<li><a href="net/ME1312/SubServers/Host/Library/Exception/IllegalPluginException.html" title="class in net.ME1312.SubServers.Host.Library.Exception">IllegalPluginException</a></li>
<li><a href="net/ME1312/SubServers/Host/Library/Exception/IllegalStringValueException.html" title="class in net.ME1312.SubServers.Host.Library.Exception">IllegalStringValueException</a></li>
<li><a href="net/ME1312/SubServers/Host/Library/JSONCallback.html" title="interface in net.ME1312.SubServers.Host.Library"><span class="interfaceName">JSONCallback</span></a></li>
<li><a href="net/ME1312/SubServers/Host/Launch.html" title="class in net.ME1312.SubServers.Host">Launch</a></li>
<li><a href="net/ME1312/SubServers/Host/Library/Event/Listener.html" title="interface in net.ME1312.SubServers.Host.Library.Event"><span class="interfaceName">Listener</span></a></li>
@ -40,7 +41,7 @@
<li><a href="net/ME1312/SubServers/Host/API/SubPlugin.html" title="annotation in net.ME1312.SubServers.Host.API">SubPlugin</a></li>
<li><a href="net/ME1312/SubServers/Host/API/SubPluginInfo.html" title="class in net.ME1312.SubServers.Host.API">SubPluginInfo</a></li>
<li><a href="net/ME1312/SubServers/Host/SubServers.html" title="class in net.ME1312.SubServers.Host">SubServers</a></li>
<li><a href="net/ME1312/SubServers/Host/API/SubTaskBuilder.html" title="class in net.ME1312.SubServers.Host.API">SubTaskBuilder</a></li>
<li><a href="net/ME1312/SubServers/Host/API/SubTask.html" title="class in net.ME1312.SubServers.Host.API">SubTask</a></li>
<li><a href="net/ME1312/SubServers/Host/Library/UniversalFile.html" title="class in net.ME1312.SubServers.Host.Library">UniversalFile</a></li>
<li><a href="net/ME1312/SubServers/Host/Library/Util.html" title="class in net.ME1312.SubServers.Host.Library">Util</a></li>
<li><a href="net/ME1312/SubServers/Host/Library/Util.ExceptionRunnable.html" title="interface in net.ME1312.SubServers.Host.Library"><span class="interfaceName">Util.ExceptionRunnable</span></a></li>

View File

@ -82,9 +82,9 @@
<dd>
<div class="block">Add an extra value to this Server</div>
</dd>
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Host/SubAPI.html#addListener-net.ME1312.SubServers.Host.API.SubPluginInfo-net.ME1312.SubServers.Host.Library.Event.Listener-">addListener(SubPluginInfo, Listener)</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-net.ME1312.SubServers.Host.Library.Event.Listener...-">addListener(SubPluginInfo, Listener...)</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>
<div class="block">Register a SubEvent Listener</div>
<div class="block">Register SubEvent Listeners</div>
</dd>
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Host/SubServers.html#api">api</a></span> - Variable in class net.ME1312.SubServers.Host.<a href="net/ME1312/SubServers/Host/SubServers.html" title="class in net.ME1312.SubServers.Host">SubServers</a></dt>
<dd>&nbsp;</dd>
@ -196,11 +196,13 @@
<dd>
<div class="block">Clone this YAML Section</div>
</dd>
<dt><a href="net/ME1312/SubServers/Host/API/Command.html" title="interface in net.ME1312.SubServers.Host.API"><span class="typeNameLink">Command</span></a> - Interface in <a href="net/ME1312/SubServers/Host/API/package-summary.html">net.ME1312.SubServers.Host.API</a></dt>
<dt><a href="net/ME1312/SubServers/Host/API/Command.html" title="class in net.ME1312.SubServers.Host.API"><span class="typeNameLink">Command</span></a> - Class in <a href="net/ME1312/SubServers/Host/API/package-summary.html">net.ME1312.SubServers.Host.API</a></dt>
<dd>
<div class="block">Command Layout Class</div>
</dd>
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Host/API/Command.html#command-java.lang.String-java.lang.String:A-">command(String, String[])</a></span> - Method in interface net.ME1312.SubServers.Host.API.<a href="net/ME1312/SubServers/Host/API/Command.html" title="interface in net.ME1312.SubServers.Host.API">Command</a></dt>
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Host/API/Command.html#Command-net.ME1312.SubServers.Host.API.SubPluginInfo-">Command(SubPluginInfo)</a></span> - Constructor for class net.ME1312.SubServers.Host.API.<a href="net/ME1312/SubServers/Host/API/Command.html" title="class in net.ME1312.SubServers.Host.API">Command</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Host/API/Command.html#command-java.lang.String-java.lang.String:A-">command(String, String[])</a></span> - Method in class net.ME1312.SubServers.Host.API.<a href="net/ME1312/SubServers/Host/API/Command.html" title="class in net.ME1312.SubServers.Host.API">Command</a></dt>
<dd>
<div class="block">Run Command</div>
</dd>
@ -246,14 +248,26 @@
</a>
<h2 class="title">D</h2>
<dl>
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Host/API/SubTaskBuilder.html#delay-long-">delay(long)</a></span> - Method in class net.ME1312.SubServers.Host.API.<a href="net/ME1312/SubServers/Host/API/SubTaskBuilder.html" title="class in net.ME1312.SubServers.Host.API">SubTaskBuilder</a></dt>
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Host/API/SubTask.html#delay-long-">delay(long)</a></span> - Method in class net.ME1312.SubServers.Host.API.<a href="net/ME1312/SubServers/Host/API/SubTask.html" title="class in net.ME1312.SubServers.Host.API">SubTask</a></dt>
<dd>
<div class="block">Delay this task</div>
</dd>
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Host/API/SubTask.html#delay--">delay()</a></span> - Method in class net.ME1312.SubServers.Host.API.<a href="net/ME1312/SubServers/Host/API/SubTask.html" title="class in net.ME1312.SubServers.Host.API">SubTask</a></dt>
<dd>
<div class="block">Get the Delay for this task</div>
</dd>
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Host/Library/Util.html#deleteDirectory-java.io.File-">deleteDirectory(File)</a></span> - Static method in class net.ME1312.SubServers.Host.Library.<a href="net/ME1312/SubServers/Host/Library/Util.html" title="class in net.ME1312.SubServers.Host.Library">Util</a></dt>
<dd>
<div class="block">Delete Directory</div>
</dd>
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Host/API/Command.html#description--">description()</a></span> - Method in class net.ME1312.SubServers.Host.API.<a href="net/ME1312/SubServers/Host/API/Command.html" title="class in net.ME1312.SubServers.Host.API">Command</a></dt>
<dd>
<div class="block">Gets the Description of this Command</div>
</dd>
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Host/API/Command.html#description-java.lang.String-">description(String)</a></span> - Method in class net.ME1312.SubServers.Host.API.<a href="net/ME1312/SubServers/Host/API/Command.html" title="class in net.ME1312.SubServers.Host.API">Command</a></dt>
<dd>
<div class="block">Set the Description of this Command</div>
</dd>
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Host/Network/SubDataClient.html#destroy-boolean-">destroy(boolean)</a></span> - Method in class net.ME1312.SubServers.Host.Network.<a href="net/ME1312/SubServers/Host/Network/SubDataClient.html" title="class in net.ME1312.SubServers.Host.Network">SubDataClient</a></dt>
<dd>
<div class="block">Drops All Connections and Stops the SubData Listener</div>
@ -304,6 +318,10 @@
<dd>
<div class="block">Execute Incoming Packet</div>
</dd>
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Host/SubAPI.html#executeEvent-net.ME1312.SubServers.Host.Library.Event.Event-">executeEvent(Event)</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>
<div class="block">Run a SubEvent</div>
</dd>
<dt><a href="net/ME1312/SubServers/Host/Library/ExtraDataHandler.html" title="interface in net.ME1312.SubServers.Host.Library"><span class="typeNameLink">ExtraDataHandler</span></a> - Interface in <a href="net/ME1312/SubServers/Host/Library/package-summary.html">net.ME1312.SubServers.Host.Library</a></dt>
<dd>
<div class="block">Extra Data Handler Layout Class</div>
@ -366,6 +384,10 @@
<dd>
<div class="block">Get Authors List</div>
</dd>
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Host/Library/Util.html#getBackwards-java.util.Map-V-">getBackwards(Map&lt;K, V&gt;, V)</a></span> - Static method in class net.ME1312.SubServers.Host.Library.<a href="net/ME1312/SubServers/Host/Library/Util.html" title="class in net.ME1312.SubServers.Host.Library">Util</a></dt>
<dd>
<div class="block">Get keys by value from map</div>
</dd>
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Host/SubAPI.html#getBetaVersion--">getBetaVersion()</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>
<div class="block">Gets the SubServers Beta Version</div>
@ -400,10 +422,6 @@
<dd>
<div class="block">Get the YAML Section this Object was defined in</div>
</dd>
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Host/API/SubTaskBuilder.html#getDelay--">getDelay()</a></span> - Method in class net.ME1312.SubServers.Host.API.<a href="net/ME1312/SubServers/Host/API/SubTaskBuilder.html" title="class in net.ME1312.SubServers.Host.API">SubTaskBuilder</a></dt>
<dd>
<div class="block">Get the Delay for this task</div>
</dd>
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Host/API/SubPluginInfo.html#getDependancies--">getDependancies()</a></span> - Method in class net.ME1312.SubServers.Host.API.<a href="net/ME1312/SubServers/Host/API/SubPluginInfo.html" title="class in net.ME1312.SubServers.Host.API">SubPluginInfo</a></dt>
<dd>
<div class="block">Gets the Dependencies List</div>
@ -460,6 +478,10 @@
<dd>
<div class="block">Get a Float List by Handle</div>
</dd>
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Host/Library/Event/Event.html#getHandlers--">getHandlers()</a></span> - Method in class net.ME1312.SubServers.Host.Library.Event.<a href="net/ME1312/SubServers/Host/Library/Event/Event.html" title="class in net.ME1312.SubServers.Host.Library.Event">Event</a></dt>
<dd>
<div class="block">Get the handlers for this event</div>
</dd>
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Host/SubAPI.html#getInstance--">getInstance()</a></span> - Static 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>
<div class="block">Gets the SubAPI Methods</div>
@ -510,6 +532,10 @@
<dd>
<div class="block">Get a List by Handle</div>
</dd>
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Host/API/SubPluginInfo.html#getLoadBefore--">getLoadBefore()</a></span> - Method in class net.ME1312.SubServers.Host.API.<a href="net/ME1312/SubServers/Host/API/SubPluginInfo.html" title="class in net.ME1312.SubServers.Host.API">SubPluginInfo</a></dt>
<dd>
<div class="block">Gets the Load Before Plugins List</div>
</dd>
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Host/API/SubPluginInfo.html#getLogger--">getLogger()</a></span> - Method in class net.ME1312.SubServers.Host.API.<a href="net/ME1312/SubServers/Host/API/SubPluginInfo.html" title="class in net.ME1312.SubServers.Host.API">SubPluginInfo</a></dt>
<dd>
<div class="block">Gets the default Logger for this Plugin</div>
@ -560,10 +586,6 @@
<dd>
<div class="block">Grab PacketIn Instances via handle</div>
</dd>
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Host/API/SubTaskBuilder.html#getPlugin--">getPlugin()</a></span> - Method in class net.ME1312.SubServers.Host.API.<a href="net/ME1312/SubServers/Host/API/SubTaskBuilder.html" title="class in net.ME1312.SubServers.Host.API">SubTaskBuilder</a></dt>
<dd>
<div class="block">Get the Plugin that created this task</div>
</dd>
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Host/Library/Event/Event.html#getPlugin--">getPlugin()</a></span> - Method in class net.ME1312.SubServers.Host.Library.Event.<a href="net/ME1312/SubServers/Host/Library/Event/Event.html" title="class in net.ME1312.SubServers.Host.Library.Event">Event</a></dt>
<dd>
<div class="block">Gets your Plugin's Info</div>
@ -592,10 +614,6 @@
<dd>
<div class="block">Get an Unparsed String List by Handle</div>
</dd>
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Host/API/SubTaskBuilder.html#getRepeat--">getRepeat()</a></span> - Method in class net.ME1312.SubServers.Host.API.<a href="net/ME1312/SubServers/Host/API/SubTaskBuilder.html" title="class in net.ME1312.SubServers.Host.API">SubTaskBuilder</a></dt>
<dd>
<div class="block">Get the Repeat Interval for this task</div>
</dd>
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Host/SubAPI.html#getRuntimeDirectory--">getRuntimeDirectory()</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>
<div class="block">Gets the Runtime Directory</div>
@ -722,6 +740,14 @@
<dd>
<div class="block">Determine if an extra value exists</div>
</dd>
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Host/API/Command.html#help--">help()</a></span> - Method in class net.ME1312.SubServers.Host.API.<a href="net/ME1312/SubServers/Host/API/Command.html" title="class in net.ME1312.SubServers.Host.API">Command</a></dt>
<dd>
<div class="block">Get the Help Page for this Command</div>
</dd>
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Host/API/Command.html#help-java.lang.String...-">help(String...)</a></span> - Method in class net.ME1312.SubServers.Host.API.<a href="net/ME1312/SubServers/Host/API/Command.html" title="class in net.ME1312.SubServers.Host.API">Command</a></dt>
<dd>
<div class="block">Set the Help Page for this Command</div>
</dd>
</dl>
<a name="I:I">
<!-- -->
@ -744,6 +770,12 @@
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Host/Library/Exception/IllegalPluginException.html#IllegalPluginException-java.lang.Throwable-java.lang.String-">IllegalPluginException(Throwable, String)</a></span> - Constructor for exception net.ME1312.SubServers.Host.Library.Exception.<a href="net/ME1312/SubServers/Host/Library/Exception/IllegalPluginException.html" title="class in net.ME1312.SubServers.Host.Library.Exception">IllegalPluginException</a></dt>
<dd>&nbsp;</dd>
<dt><a href="net/ME1312/SubServers/Host/Library/Exception/IllegalStringValueException.html" title="class in net.ME1312.SubServers.Host.Library.Exception"><span class="typeNameLink">IllegalStringValueException</span></a> - Exception in <a href="net/ME1312/SubServers/Host/Library/Exception/package-summary.html">net.ME1312.SubServers.Host.Library.Exception</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Host/Library/Exception/IllegalStringValueException.html#IllegalStringValueException--">IllegalStringValueException()</a></span> - Constructor for exception net.ME1312.SubServers.Host.Library.Exception.<a href="net/ME1312/SubServers/Host/Library/Exception/IllegalStringValueException.html" title="class in net.ME1312.SubServers.Host.Library.Exception">IllegalStringValueException</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Host/Library/Exception/IllegalStringValueException.html#IllegalStringValueException-java.lang.String-">IllegalStringValueException(String)</a></span> - Constructor for exception net.ME1312.SubServers.Host.Library.Exception.<a href="net/ME1312/SubServers/Host/Library/Exception/IllegalStringValueException.html" title="class in net.ME1312.SubServers.Host.Library.Exception">IllegalStringValueException</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Host/Library/Log/Logger.html#info-java.lang.String...-">info(String...)</a></span> - Method in class net.ME1312.SubServers.Host.Library.Log.<a href="net/ME1312/SubServers/Host/Library/Log/Logger.html" title="class in net.ME1312.SubServers.Host.Library.Log">Logger</a></dt>
<dd>
<div class="block">Log a message on the INFO Level</div>
@ -966,6 +998,14 @@
<dd>
<div class="block">PacketOut Layout Class</div>
</dd>
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Host/API/Command.html#plugin--">plugin()</a></span> - Method in class net.ME1312.SubServers.Host.API.<a href="net/ME1312/SubServers/Host/API/Command.html" title="class in net.ME1312.SubServers.Host.API">Command</a></dt>
<dd>
<div class="block">Gets the Plugin that registering this Command</div>
</dd>
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Host/API/SubTask.html#plugin--">plugin()</a></span> - Method in class net.ME1312.SubServers.Host.API.<a href="net/ME1312/SubServers/Host/API/SubTask.html" title="class in net.ME1312.SubServers.Host.API">SubTask</a></dt>
<dd>
<div class="block">Get the Plugin that created this task</div>
</dd>
</dl>
<a name="I:R">
<!-- -->
@ -980,6 +1020,10 @@
<dd>
<div class="block">Read Everything from Reader</div>
</dd>
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Host/API/Command.html#register-java.lang.String...-">register(String...)</a></span> - Method in class net.ME1312.SubServers.Host.API.<a href="net/ME1312/SubServers/Host/API/Command.html" title="class in net.ME1312.SubServers.Host.API">Command</a></dt>
<dd>
<div class="block">Register this Command</div>
</dd>
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Host/Network/SubDataClient.html#registerPacket-net.ME1312.SubServers.Host.Network.PacketIn-java.lang.String-">registerPacket(PacketIn, String)</a></span> - Static method in class net.ME1312.SubServers.Host.Network.<a href="net/ME1312/SubServers/Host/Network/SubDataClient.html" title="class in net.ME1312.SubServers.Host.Network">SubDataClient</a></dt>
<dd>
<div class="block">Register PacketIn to the Network</div>
@ -1006,28 +1050,28 @@
<dd>
<div class="block">Remove an extra value from this Server</div>
</dd>
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Host/SubAPI.html#removeListener-net.ME1312.SubServers.Host.API.SubPluginInfo-net.ME1312.SubServers.Host.Library.Event.Listener-">removeListener(SubPluginInfo, Listener)</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-net.ME1312.SubServers.Host.Library.Event.Listener...-">removeListener(SubPluginInfo, Listener...)</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>
<div class="block">Unregister a SubEvent Listener</div>
<div class="block">Unregister SubEvent Listeners</div>
</dd>
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Host/Library/NamedContainer.html#rename-T-">rename(T)</a></span> - Method in class net.ME1312.SubServers.Host.Library.<a href="net/ME1312/SubServers/Host/Library/NamedContainer.html" title="class in net.ME1312.SubServers.Host.Library">NamedContainer</a></dt>
<dd>
<div class="block">Renames the Container</div>
</dd>
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Host/API/SubTaskBuilder.html#repeat-long-">repeat(long)</a></span> - Method in class net.ME1312.SubServers.Host.API.<a href="net/ME1312/SubServers/Host/API/SubTaskBuilder.html" title="class in net.ME1312.SubServers.Host.API">SubTaskBuilder</a></dt>
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Host/API/SubTask.html#repeat-long-">repeat(long)</a></span> - Method in class net.ME1312.SubServers.Host.API.<a href="net/ME1312/SubServers/Host/API/SubTask.html" title="class in net.ME1312.SubServers.Host.API">SubTask</a></dt>
<dd>
<div class="block">Set the Repeat Interval for this task</div>
</dd>
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Host/API/SubTask.html#repeat--">repeat()</a></span> - Method in class net.ME1312.SubServers.Host.API.<a href="net/ME1312/SubServers/Host/API/SubTask.html" title="class in net.ME1312.SubServers.Host.API">SubTask</a></dt>
<dd>
<div class="block">Get the Repeat Interval for this task</div>
</dd>
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Host/Library/JSONCallback.html#run-org.json.JSONObject-">run(JSONObject)</a></span> - Method in interface net.ME1312.SubServers.Host.Library.<a href="net/ME1312/SubServers/Host/Library/JSONCallback.html" title="interface in net.ME1312.SubServers.Host.Library">JSONCallback</a></dt>
<dd>
<div class="block">Run the Callback</div>
</dd>
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Host/Library/Util.ExceptionRunnable.html#run--">run()</a></span> - Method in interface net.ME1312.SubServers.Host.Library.<a href="net/ME1312/SubServers/Host/Library/Util.ExceptionRunnable.html" title="interface in net.ME1312.SubServers.Host.Library">Util.ExceptionRunnable</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Host/SubAPI.html#runEvent-net.ME1312.SubServers.Host.Library.Event.Event-">runEvent(Event)</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>
<div class="block">Run a SubEvent</div>
</dd>
</dl>
<a name="I:S">
<!-- -->
@ -1038,11 +1082,11 @@
<dd>
<div class="block">Save Config Contents</div>
</dd>
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Host/API/SubTaskBuilder.html#schedule--">schedule()</a></span> - Method in class net.ME1312.SubServers.Host.API.<a href="net/ME1312/SubServers/Host/API/SubTaskBuilder.html" title="class in net.ME1312.SubServers.Host.API">SubTaskBuilder</a></dt>
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Host/API/SubTask.html#schedule--">schedule()</a></span> - Method in class net.ME1312.SubServers.Host.API.<a href="net/ME1312/SubServers/Host/API/SubTask.html" title="class in net.ME1312.SubServers.Host.API">SubTask</a></dt>
<dd>
<div class="block">Schedule this task</div>
</dd>
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Host/SubAPI.html#schedule-net.ME1312.SubServers.Host.API.SubTaskBuilder-">schedule(SubTaskBuilder)</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#schedule-net.ME1312.SubServers.Host.API.SubTask-">schedule(SubTask)</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>
<div class="block">Schedule a task</div>
</dd>
@ -1145,7 +1189,7 @@
<dd>
<div class="block">SubPlugin Info Class</div>
</dd>
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Host/API/SubPluginInfo.html#SubPluginInfo-java.lang.Object-java.lang.String-net.ME1312.SubServers.Host.Library.Version.Version-java.util.List-java.lang.String-java.net.URL-java.util.List-java.util.List-">SubPluginInfo(Object, String, Version, List&lt;String&gt;, String, URL, List&lt;String&gt;, List&lt;String&gt;)</a></span> - Constructor for class net.ME1312.SubServers.Host.API.<a href="net/ME1312/SubServers/Host/API/SubPluginInfo.html" title="class in net.ME1312.SubServers.Host.API">SubPluginInfo</a></dt>
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Host/API/SubPluginInfo.html#SubPluginInfo-net.ME1312.SubServers.Host.SubServers-java.lang.Object-java.lang.String-net.ME1312.SubServers.Host.Library.Version.Version-java.util.List-java.lang.String-java.net.URL-java.util.List-java.util.List-java.util.List-">SubPluginInfo(SubServers, Object, String, Version, List&lt;String&gt;, String, URL, List&lt;String&gt;, List&lt;String&gt;, List&lt;String&gt;)</a></span> - Constructor for class net.ME1312.SubServers.Host.API.<a href="net/ME1312/SubServers/Host/API/SubPluginInfo.html" title="class in net.ME1312.SubServers.Host.API">SubPluginInfo</a></dt>
<dd>
<div class="block">Create a SubPlugin Description</div>
</dd>
@ -1153,11 +1197,11 @@
<dd>
<div class="block">SubServers.Host Main Class</div>
</dd>
<dt><a href="net/ME1312/SubServers/Host/API/SubTaskBuilder.html" title="class in net.ME1312.SubServers.Host.API"><span class="typeNameLink">SubTaskBuilder</span></a> - Class in <a href="net/ME1312/SubServers/Host/API/package-summary.html">net.ME1312.SubServers.Host.API</a></dt>
<dt><a href="net/ME1312/SubServers/Host/API/SubTask.html" title="class in net.ME1312.SubServers.Host.API"><span class="typeNameLink">SubTask</span></a> - Class in <a href="net/ME1312/SubServers/Host/API/package-summary.html">net.ME1312.SubServers.Host.API</a></dt>
<dd>
<div class="block">SubServers Task Builder Class</div>
</dd>
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Host/API/SubTaskBuilder.html#SubTaskBuilder-net.ME1312.SubServers.Host.API.SubPluginInfo-">SubTaskBuilder(SubPluginInfo)</a></span> - Constructor for class net.ME1312.SubServers.Host.API.<a href="net/ME1312/SubServers/Host/API/SubTaskBuilder.html" title="class in net.ME1312.SubServers.Host.API">SubTaskBuilder</a></dt>
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Host/API/SubTask.html#SubTask-net.ME1312.SubServers.Host.API.SubPluginInfo-">SubTask(SubPluginInfo)</a></span> - Constructor for class net.ME1312.SubServers.Host.API.<a href="net/ME1312/SubServers/Host/API/SubTask.html" title="class in net.ME1312.SubServers.Host.API">SubTask</a></dt>
<dd>
<div class="block">Create a new Task</div>
</dd>
@ -1185,6 +1229,8 @@
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Host/Library/Config/YAMLValue.html#toString--">toString()</a></span> - Method in class net.ME1312.SubServers.Host.Library.Config.<a href="net/ME1312/SubServers/Host/Library/Config/YAMLValue.html" title="class in net.ME1312.SubServers.Host.Library.Config">YAMLValue</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Host/Library/Event/Event.html#toString--">toString()</a></span> - Method in class net.ME1312.SubServers.Host.Library.Event.<a href="net/ME1312/SubServers/Host/Library/Event/Event.html" title="class in net.ME1312.SubServers.Host.Library.Event">Event</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Host/Library/Version/Version.html#toString--">toString()</a></span> - Method in class net.ME1312.SubServers.Host.Library.Version.<a href="net/ME1312/SubServers/Host/Library/Version/Version.html" title="class in net.ME1312.SubServers.Host.Library.Version">Version</a></dt>
<dd>&nbsp;</dd>
</dl>
@ -1229,6 +1275,14 @@
<dd>
<div class="block">Unregister PacketOut to the Network</div>
</dd>
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Host/API/Command.html#usage--">usage()</a></span> - Method in class net.ME1312.SubServers.Host.API.<a href="net/ME1312/SubServers/Host/API/Command.html" title="class in net.ME1312.SubServers.Host.API">Command</a></dt>
<dd>
<div class="block">Get the Usage of this Command</div>
</dd>
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Host/API/Command.html#usage-java.lang.String...-">usage(String...)</a></span> - Method in class net.ME1312.SubServers.Host.API.<a href="net/ME1312/SubServers/Host/API/Command.html" title="class in net.ME1312.SubServers.Host.API">Command</a></dt>
<dd>
<div class="block">Set the Usage of this Command</div>
</dd>
<dt><a href="net/ME1312/SubServers/Host/Library/Util.html" title="class in net.ME1312.SubServers.Host.Library"><span class="typeNameLink">Util</span></a> - Class in <a href="net/ME1312/SubServers/Host/Library/package-summary.html">net.ME1312.SubServers.Host.Library</a></dt>
<dd>
<div class="block">SubServers Utility Class</div>

View File

@ -17,8 +17,8 @@
catch(err) {
}
//-->
var methods = {"i0":6};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"]};
var methods = {"i0":6,"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"],4:["t3","Abstract Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
@ -74,13 +74,13 @@ var activeTableTab = "activeTableTab";
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
@ -91,15 +91,24 @@ var activeTableTab = "activeTableTab";
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">net.ME1312.SubServers.Host.API</div>
<h2 title="Interface Command" class="title">Interface Command</h2>
<h2 title="Class Command" class="title">Class Command</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>net.ME1312.SubServers.Host.API.Command</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public interface <span class="typeNameLabel">Command</span></pre>
<pre>public abstract class <span class="typeNameLabel">Command</span>
extends java.lang.Object</pre>
<div class="block">Command Layout Class</div>
</li>
</ul>
@ -107,6 +116,23 @@ var activeTableTab = "activeTableTab";
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Host/API/Command.html#Command-net.ME1312.SubServers.Host.API.SubPluginInfo-">Command</a></span>(<a href="../../../../../net/ME1312/SubServers/Host/API/SubPluginInfo.html" title="class in net.ME1312.SubServers.Host.API">SubPluginInfo</a>&nbsp;plugin)</code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
@ -114,19 +140,74 @@ var activeTableTab = "activeTableTab";
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Host/API/Command.html#command-java.lang.String-java.lang.String:A-">command</a></span>(java.lang.String&nbsp;command,
<td class="colFirst"><code>abstract void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Host/API/Command.html#command-java.lang.String-java.lang.String:A-">command</a></span>(java.lang.String&nbsp;handle,
java.lang.String[]&nbsp;args)</code>
<div class="block">Run Command</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Host/API/Command.html#description--">description</a></span>()</code>
<div class="block">Gets the Description of this Command</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code><a href="../../../../../net/ME1312/SubServers/Host/API/Command.html" title="class in net.ME1312.SubServers.Host.API">Command</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Host/API/Command.html#description-java.lang.String-">description</a></span>(java.lang.String&nbsp;value)</code>
<div class="block">Set the Description of this Command</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>java.lang.String[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Host/API/Command.html#help--">help</a></span>()</code>
<div class="block">Get the Help Page for this Command</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code><a href="../../../../../net/ME1312/SubServers/Host/API/Command.html" title="class in net.ME1312.SubServers.Host.API">Command</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Host/API/Command.html#help-java.lang.String...-">help</a></span>(java.lang.String...&nbsp;lines)</code>
<div class="block">Set the Help Page for this Command</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code><a href="../../../../../net/ME1312/SubServers/Host/API/SubPluginInfo.html" title="class in net.ME1312.SubServers.Host.API">SubPluginInfo</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Host/API/Command.html#plugin--">plugin</a></span>()</code>
<div class="block">Gets the Plugin that registering this Command</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Host/API/Command.html#register-java.lang.String...-">register</a></span>(java.lang.String...&nbsp;handles)</code>
<div class="block">Register this Command</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>java.lang.String[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Host/API/Command.html#usage--">usage</a></span>()</code>
<div class="block">Get the Usage of this Command</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code><a href="../../../../../net/ME1312/SubServers/Host/API/Command.html" title="class in net.ME1312.SubServers.Host.API">Command</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Host/API/Command.html#usage-java.lang.String...-">usage</a></span>(java.lang.String...&nbsp;args)</code>
<div class="block">Set the Usage of this Command</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
@ -135,6 +216,23 @@ var activeTableTab = "activeTableTab";
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="Command-net.ME1312.SubServers.Host.API.SubPluginInfo-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>Command</h4>
<pre>public&nbsp;Command(<a href="../../../../../net/ME1312/SubServers/Host/API/SubPluginInfo.html" title="class in net.ME1312.SubServers.Host.API">SubPluginInfo</a>&nbsp;plugin)</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
@ -144,19 +242,137 @@ var activeTableTab = "activeTableTab";
<a name="command-java.lang.String-java.lang.String:A-">
<!-- -->
</a>
<ul class="blockListLast">
<ul class="blockList">
<li class="blockList">
<h4>command</h4>
<pre>void&nbsp;command(java.lang.String&nbsp;command,
java.lang.String[]&nbsp;args)</pre>
<pre>public abstract&nbsp;void&nbsp;command(java.lang.String&nbsp;handle,
java.lang.String[]&nbsp;args)</pre>
<div class="block">Run Command</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>command</code> - Command Name</dd>
<dd><code>handle</code> - Command Name</dd>
<dd><code>args</code> - Arguments</dd>
</dl>
</li>
</ul>
<a name="plugin--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>plugin</h4>
<pre>public&nbsp;<a href="../../../../../net/ME1312/SubServers/Host/API/SubPluginInfo.html" title="class in net.ME1312.SubServers.Host.API">SubPluginInfo</a>&nbsp;plugin()</pre>
<div class="block">Gets the Plugin that registering this Command</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Plugin Info</dd>
</dl>
</li>
</ul>
<a name="description--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>description</h4>
<pre>public&nbsp;java.lang.String&nbsp;description()</pre>
<div class="block">Gets the Description of this Command</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Command Description</dd>
</dl>
</li>
</ul>
<a name="description-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>description</h4>
<pre>public&nbsp;<a href="../../../../../net/ME1312/SubServers/Host/API/Command.html" title="class in net.ME1312.SubServers.Host.API">Command</a>&nbsp;description(java.lang.String&nbsp;value)</pre>
<div class="block">Set the Description of this Command</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>value</code> - Value</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The Command</dd>
</dl>
</li>
</ul>
<a name="help--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>help</h4>
<pre>public&nbsp;java.lang.String[]&nbsp;help()</pre>
<div class="block">Get the Help Page for this Command</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Help Page</dd>
</dl>
</li>
</ul>
<a name="help-java.lang.String...-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>help</h4>
<pre>public&nbsp;<a href="../../../../../net/ME1312/SubServers/Host/API/Command.html" title="class in net.ME1312.SubServers.Host.API">Command</a>&nbsp;help(java.lang.String...&nbsp;lines)</pre>
<div class="block">Set the Help Page for this Command</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>lines</code> - Help Page Lines</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The Command</dd>
</dl>
</li>
</ul>
<a name="usage--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>usage</h4>
<pre>public&nbsp;java.lang.String[]&nbsp;usage()</pre>
<div class="block">Get the Usage of this Command</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Command Usage</dd>
</dl>
</li>
</ul>
<a name="usage-java.lang.String...-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>usage</h4>
<pre>public&nbsp;<a href="../../../../../net/ME1312/SubServers/Host/API/Command.html" title="class in net.ME1312.SubServers.Host.API">Command</a>&nbsp;usage(java.lang.String...&nbsp;args)</pre>
<div class="block">Set the Usage of this Command</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>args</code> - Argument Placeholders</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The Command</dd>
</dl>
</li>
</ul>
<a name="register-java.lang.String...-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>register</h4>
<pre>public&nbsp;void&nbsp;register(java.lang.String...&nbsp;handles)</pre>
<div class="block">Register this Command</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>handles</code> - Aliases</dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
@ -211,13 +427,13 @@ var activeTableTab = "activeTableTab";
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>

View File

@ -178,14 +178,14 @@ implements <a href="../../../../../../net/ME1312/SubServers/Host/Library/Event/C
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;net.ME1312.SubServers.Host.Library.Event.<a href="../../../../../../net/ME1312/SubServers/Host/Library/Event/Event.html" title="class in net.ME1312.SubServers.Host.Library.Event">Event</a></h3>
<code><a href="../../../../../../net/ME1312/SubServers/Host/Library/Event/Event.html#getAPI--">getAPI</a>, <a href="../../../../../../net/ME1312/SubServers/Host/Library/Event/Event.html#getPlugin--">getPlugin</a></code></li>
<code><a href="../../../../../../net/ME1312/SubServers/Host/Library/Event/Event.html#getAPI--">getAPI</a>, <a href="../../../../../../net/ME1312/SubServers/Host/Library/Event/Event.html#getHandlers--">getHandlers</a>, <a href="../../../../../../net/ME1312/SubServers/Host/Library/Event/Event.html#getPlugin--">getPlugin</a>, <a href="../../../../../../net/ME1312/SubServers/Host/Library/Event/Event.html#toString--">toString</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
<code>equals, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li>
</ul>
</li>
</ul>

View File

@ -171,14 +171,14 @@ extends <a href="../../../../../../net/ME1312/SubServers/Host/Library/Event/Even
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;net.ME1312.SubServers.Host.Library.Event.<a href="../../../../../../net/ME1312/SubServers/Host/Library/Event/Event.html" title="class in net.ME1312.SubServers.Host.Library.Event">Event</a></h3>
<code><a href="../../../../../../net/ME1312/SubServers/Host/Library/Event/Event.html#getAPI--">getAPI</a>, <a href="../../../../../../net/ME1312/SubServers/Host/Library/Event/Event.html#getPlugin--">getPlugin</a></code></li>
<code><a href="../../../../../../net/ME1312/SubServers/Host/Library/Event/Event.html#getAPI--">getAPI</a>, <a href="../../../../../../net/ME1312/SubServers/Host/Library/Event/Event.html#getHandlers--">getHandlers</a>, <a href="../../../../../../net/ME1312/SubServers/Host/Library/Event/Event.html#getPlugin--">getPlugin</a>, <a href="../../../../../../net/ME1312/SubServers/Host/Library/Event/Event.html#toString--">toString</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
<code>equals, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li>
</ul>
</li>
</ul>

View File

@ -145,14 +145,14 @@ extends <a href="../../../../../../net/ME1312/SubServers/Host/Library/Event/Even
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;net.ME1312.SubServers.Host.Library.Event.<a href="../../../../../../net/ME1312/SubServers/Host/Library/Event/Event.html" title="class in net.ME1312.SubServers.Host.Library.Event">Event</a></h3>
<code><a href="../../../../../../net/ME1312/SubServers/Host/Library/Event/Event.html#getAPI--">getAPI</a>, <a href="../../../../../../net/ME1312/SubServers/Host/Library/Event/Event.html#getPlugin--">getPlugin</a></code></li>
<code><a href="../../../../../../net/ME1312/SubServers/Host/Library/Event/Event.html#getAPI--">getAPI</a>, <a href="../../../../../../net/ME1312/SubServers/Host/Library/Event/Event.html#getHandlers--">getHandlers</a>, <a href="../../../../../../net/ME1312/SubServers/Host/Library/Event/Event.html#getPlugin--">getPlugin</a>, <a href="../../../../../../net/ME1312/SubServers/Host/Library/Event/Event.html#toString--">toString</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
<code>equals, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li>
</ul>
</li>
</ul>

View File

@ -41,7 +41,7 @@
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../net/ME1312/SubServers/Host/API/Command.html" title="interface in net.ME1312.SubServers.Host.API"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../net/ME1312/SubServers/Host/API/Command.html" title="class in net.ME1312.SubServers.Host.API"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../net/ME1312/SubServers/Host/API/SubPluginInfo.html" title="class in net.ME1312.SubServers.Host.API"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
@ -161,11 +161,17 @@ public @interface <span class="memberNameLabel">SubPlugin</span></pre>
</tr>
<tr class="altColor">
<td class="colFirst"><code>java.lang.String[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Host/API/SubPlugin.html#loadBefore--">loadBefore</a></span></code>
<div class="block">Load Before Plugins List</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.lang.String[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Host/API/SubPlugin.html#softDepend--">softDepend</a></span></code>
<div class="block">Soft Dependencies List</div>
</td>
</tr>
<tr class="rowColor">
<tr class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Host/API/SubPlugin.html#website--">website</a></span></code>
<div class="block">The Authors' Website</div>
@ -280,6 +286,27 @@ public @interface <span class="memberNameLabel">SubPlugin</span></pre>
</li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="loadBefore--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>loadBefore</h4>
<pre>public abstract&nbsp;java.lang.String[]&nbsp;loadBefore</pre>
<div class="block">Load Before Plugins List</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Load Before List</dd>
</dl>
<dl>
<dt>Default:</dt>
<dd>{}</dd>
</dl>
</li>
</ul>
</li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="depend--">
<!-- -->
</a>
@ -346,7 +373,7 @@ public @interface <span class="memberNameLabel">SubPlugin</span></pre>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../net/ME1312/SubServers/Host/API/Command.html" title="interface in net.ME1312.SubServers.Host.API"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../net/ME1312/SubServers/Host/API/Command.html" title="class in net.ME1312.SubServers.Host.API"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../net/ME1312/SubServers/Host/API/SubPluginInfo.html" title="class in net.ME1312.SubServers.Host.API"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">

View File

@ -17,7 +17,7 @@
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10};
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
@ -48,7 +48,7 @@ var activeTableTab = "activeTableTab";
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../net/ME1312/SubServers/Host/API/SubPlugin.html" title="annotation in net.ME1312.SubServers.Host.API"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../net/ME1312/SubServers/Host/API/SubTaskBuilder.html" title="class in net.ME1312.SubServers.Host.API"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
<li><a href="../../../../../net/ME1312/SubServers/Host/API/SubTask.html" title="class in net.ME1312.SubServers.Host.API"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?net/ME1312/SubServers/Host/API/SubPluginInfo.html" target="_top">Frames</a></li>
@ -137,12 +137,14 @@ implements <a href="../../../../../net/ME1312/SubServers/Host/Library/ExtraDataH
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Host/API/SubPluginInfo.html#SubPluginInfo-java.lang.Object-java.lang.String-net.ME1312.SubServers.Host.Library.Version.Version-java.util.List-java.lang.String-java.net.URL-java.util.List-java.util.List-">SubPluginInfo</a></span>(java.lang.Object&nbsp;plugin,
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Host/API/SubPluginInfo.html#SubPluginInfo-net.ME1312.SubServers.Host.SubServers-java.lang.Object-java.lang.String-net.ME1312.SubServers.Host.Library.Version.Version-java.util.List-java.lang.String-java.net.URL-java.util.List-java.util.List-java.util.List-">SubPluginInfo</a></span>(<a href="../../../../../net/ME1312/SubServers/Host/SubServers.html" title="class in net.ME1312.SubServers.Host">SubServers</a>&nbsp;plugin,
java.lang.Object&nbsp;main,
java.lang.String&nbsp;name,
<a href="../../../../../net/ME1312/SubServers/Host/Library/Version/Version.html" title="class in net.ME1312.SubServers.Host.Library.Version">Version</a>&nbsp;version,
java.util.List&lt;java.lang.String&gt;&nbsp;authors,
java.lang.String&nbsp;description,
java.net.URL&nbsp;website,
java.util.List&lt;java.lang.String&gt;&nbsp;loadBefore,
java.util.List&lt;java.lang.String&gt;&nbsp;dependencies,
java.util.List&lt;java.lang.String&gt;&nbsp;softDependencies)</code>
<div class="block">Create a SubPlugin Description</div>
@ -211,54 +213,60 @@ implements <a href="../../../../../net/ME1312/SubServers/Host/Library/ExtraDataH
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>java.util.List&lt;java.lang.String&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Host/API/SubPluginInfo.html#getLoadBefore--">getLoadBefore</a></span>()</code>
<div class="block">Gets the Load Before Plugins List</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code><a href="../../../../../net/ME1312/SubServers/Host/Library/Log/Logger.html" title="class in net.ME1312.SubServers.Host.Library.Log">Logger</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Host/API/SubPluginInfo.html#getLogger--">getLogger</a></span>()</code>
<div class="block">Gets the default Logger for this Plugin</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<tr id="i10" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Host/API/SubPluginInfo.html#getName--">getName</a></span>()</code>
<div class="block">Get Plugin's Name</div>
</td>
</tr>
<tr id="i10" class="altColor">
<tr id="i11" class="rowColor">
<td class="colFirst"><code>java.util.List&lt;java.lang.String&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Host/API/SubPluginInfo.html#getSoftDependancies--">getSoftDependancies</a></span>()</code>
<div class="block">Gets the Soft Dependencies List</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<tr id="i12" class="altColor">
<td class="colFirst"><code><a href="../../../../../net/ME1312/SubServers/Host/Library/Version/Version.html" title="class in net.ME1312.SubServers.Host.Library.Version">Version</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Host/API/SubPluginInfo.html#getVersion--">getVersion</a></span>()</code>
<div class="block">Get Plugin's Version</div>
</td>
</tr>
<tr id="i12" class="altColor">
<tr id="i13" class="rowColor">
<td class="colFirst"><code>java.net.URL</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Host/API/SubPluginInfo.html#getWebsite--">getWebsite</a></span>()</code>
<div class="block">Get Authors' Website</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<tr id="i14" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Host/API/SubPluginInfo.html#hasExtra-java.lang.String-">hasExtra</a></span>(java.lang.String&nbsp;handle)</code>
<div class="block">Determine if an extra value exists</div>
</td>
</tr>
<tr id="i14" class="altColor">
<tr id="i15" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Host/API/SubPluginInfo.html#isEnabled--">isEnabled</a></span>()</code>
<div class="block">Sets the Plugin's Enabled Status</div>
</td>
</tr>
<tr id="i15" class="rowColor">
<tr id="i16" class="altColor">
<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&nbsp;handle)</code>
<div class="block">Remove an extra value from this Server</div>
</td>
</tr>
<tr id="i16" class="altColor">
<tr id="i17" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Host/API/SubPluginInfo.html#setEnabled-boolean-">setEnabled</a></span>(boolean&nbsp;value)</code>
<div class="block">Gets if the Plugin is Enabled</div>
@ -286,31 +294,34 @@ implements <a href="../../../../../net/ME1312/SubServers/Host/Library/ExtraDataH
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="SubPluginInfo-java.lang.Object-java.lang.String-net.ME1312.SubServers.Host.Library.Version.Version-java.util.List-java.lang.String-java.net.URL-java.util.List-java.util.List-">
<a name="SubPluginInfo-net.ME1312.SubServers.Host.SubServers-java.lang.Object-java.lang.String-net.ME1312.SubServers.Host.Library.Version.Version-java.util.List-java.lang.String-java.net.URL-java.util.List-java.util.List-java.util.List-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>SubPluginInfo</h4>
<pre>public&nbsp;SubPluginInfo(java.lang.Object&nbsp;plugin,
<pre>public&nbsp;SubPluginInfo(<a href="../../../../../net/ME1312/SubServers/Host/SubServers.html" title="class in net.ME1312.SubServers.Host">SubServers</a>&nbsp;plugin,
java.lang.Object&nbsp;main,
java.lang.String&nbsp;name,
<a href="../../../../../net/ME1312/SubServers/Host/Library/Version/Version.html" title="class in net.ME1312.SubServers.Host.Library.Version">Version</a>&nbsp;version,
java.util.List&lt;java.lang.String&gt;&nbsp;authors,
java.lang.String&nbsp;description,
java.net.URL&nbsp;website,
java.util.List&lt;java.lang.String&gt;&nbsp;loadBefore,
java.util.List&lt;java.lang.String&gt;&nbsp;dependencies,
java.util.List&lt;java.lang.String&gt;&nbsp;softDependencies)</pre>
<div class="block">Create a SubPlugin Description</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>plugin</code> - Plugin Instance</dd>
<dd><code>plugin</code> - SubServers.Host</dd>
<dd><code>main</code> - Plugin</dd>
<dd><code>name</code> - Plugin Name</dd>
<dd><code>version</code> - Plugin Version</dd>
<dd><code>authors</code> - Authors List</dd>
<dd><code>description</code> - Plugin Description</dd>
<dd><code>website</code> - Authors' Website</dd>
<dd><code>softDependencies</code> - Soft Dependencies List</dd>
<dd><code>dependencies</code> - Dependencies List</dd>
<dd><code>softDependencies</code> - Soft Dependencies List</dd>
</dl>
</li>
</ul>
@ -401,6 +412,20 @@ implements <a href="../../../../../net/ME1312/SubServers/Host/Library/ExtraDataH
</dl>
</li>
</ul>
<a name="getLoadBefore--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLoadBefore</h4>
<pre>public&nbsp;java.util.List&lt;java.lang.String&gt;&nbsp;getLoadBefore()</pre>
<div class="block">Gets the Load Before Plugins List</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Load Before Plugins List</dd>
</dl>
</li>
</ul>
<a name="getDependancies--">
<!-- -->
</a>
@ -604,7 +629,7 @@ implements <a href="../../../../../net/ME1312/SubServers/Host/Library/ExtraDataH
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../net/ME1312/SubServers/Host/API/SubPlugin.html" title="annotation in net.ME1312.SubServers.Host.API"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../net/ME1312/SubServers/Host/API/SubTaskBuilder.html" title="class in net.ME1312.SubServers.Host.API"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
<li><a href="../../../../../net/ME1312/SubServers/Host/API/SubTask.html" title="class in net.ME1312.SubServers.Host.API"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?net/ME1312/SubServers/Host/API/SubPluginInfo.html" target="_top">Frames</a></li>

View File

@ -3,7 +3,7 @@
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>SubTaskBuilder (SubServers.Host)</title>
<title>SubTask (SubServers.Host)</title>
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../../script.js"></script>
</head>
@ -11,7 +11,7 @@
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="SubTaskBuilder (SubServers.Host)";
parent.document.title="SubTask (SubServers.Host)";
}
}
catch(err) {
@ -51,8 +51,8 @@ var activeTableTab = "activeTableTab";
<li>Next&nbsp;Class</li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?net/ME1312/SubServers/Host/API/SubTaskBuilder.html" target="_top">Frames</a></li>
<li><a href="SubTaskBuilder.html" target="_top">No&nbsp;Frames</a></li>
<li><a href="../../../../../index.html?net/ME1312/SubServers/Host/API/SubTask.html" target="_top">Frames</a></li>
<li><a href="SubTask.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
@ -91,14 +91,14 @@ var activeTableTab = "activeTableTab";
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">net.ME1312.SubServers.Host.API</div>
<h2 title="Class SubTaskBuilder" class="title">Class SubTaskBuilder</h2>
<h2 title="Class SubTask" class="title">Class SubTask</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>net.ME1312.SubServers.Host.API.SubTaskBuilder</li>
<li>net.ME1312.SubServers.Host.API.SubTask</li>
</ul>
</li>
</ul>
@ -111,7 +111,7 @@ var activeTableTab = "activeTableTab";
</dl>
<hr>
<br>
<pre>public abstract class <span class="typeNameLabel">SubTaskBuilder</span>
<pre>public abstract class <span class="typeNameLabel">SubTask</span>
extends java.lang.Object
implements java.lang.Runnable</pre>
<div class="block">SubServers Task Builder Class</div>
@ -133,7 +133,7 @@ implements java.lang.Runnable</pre>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Host/API/SubTaskBuilder.html#SubTaskBuilder-net.ME1312.SubServers.Host.API.SubPluginInfo-">SubTaskBuilder</a></span>(<a href="../../../../../net/ME1312/SubServers/Host/API/SubPluginInfo.html" title="class in net.ME1312.SubServers.Host.API">SubPluginInfo</a>&nbsp;plugin)</code>
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Host/API/SubTask.html#SubTask-net.ME1312.SubServers.Host.API.SubPluginInfo-">SubTask</a></span>(<a href="../../../../../net/ME1312/SubServers/Host/API/SubPluginInfo.html" title="class in net.ME1312.SubServers.Host.API">SubPluginInfo</a>&nbsp;plugin)</code>
<div class="block">Create a new Task</div>
</td>
</tr>
@ -153,38 +153,38 @@ implements java.lang.Runnable</pre>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code><a href="../../../../../net/ME1312/SubServers/Host/API/SubTaskBuilder.html" title="class in net.ME1312.SubServers.Host.API">SubTaskBuilder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Host/API/SubTaskBuilder.html#delay-long-">delay</a></span>(long&nbsp;value)</code>
<div class="block">Delay this task</div>
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Host/API/SubTask.html#delay--">delay</a></span>()</code>
<div class="block">Get the Delay for this task</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Host/API/SubTaskBuilder.html#getDelay--">getDelay</a></span>()</code>
<div class="block">Get the Delay for this task</div>
<td class="colFirst"><code><a href="../../../../../net/ME1312/SubServers/Host/API/SubTask.html" title="class in net.ME1312.SubServers.Host.API">SubTask</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Host/API/SubTask.html#delay-long-">delay</a></span>(long&nbsp;value)</code>
<div class="block">Delay this task</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code><a href="../../../../../net/ME1312/SubServers/Host/API/SubPluginInfo.html" title="class in net.ME1312.SubServers.Host.API">SubPluginInfo</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Host/API/SubTaskBuilder.html#getPlugin--">getPlugin</a></span>()</code>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Host/API/SubTask.html#plugin--">plugin</a></span>()</code>
<div class="block">Get the Plugin that created this task</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Host/API/SubTaskBuilder.html#getRepeat--">getRepeat</a></span>()</code>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Host/API/SubTask.html#repeat--">repeat</a></span>()</code>
<div class="block">Get the Repeat Interval for this task</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code><a href="../../../../../net/ME1312/SubServers/Host/API/SubTaskBuilder.html" title="class in net.ME1312.SubServers.Host.API">SubTaskBuilder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Host/API/SubTaskBuilder.html#repeat-long-">repeat</a></span>(long&nbsp;value)</code>
<td class="colFirst"><code><a href="../../../../../net/ME1312/SubServers/Host/API/SubTask.html" title="class in net.ME1312.SubServers.Host.API">SubTask</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Host/API/SubTask.html#repeat-long-">repeat</a></span>(long&nbsp;value)</code>
<div class="block">Set the Repeat Interval for this task</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>java.util.UUID</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Host/API/SubTaskBuilder.html#schedule--">schedule</a></span>()</code>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Host/API/SubTask.html#schedule--">schedule</a></span>()</code>
<div class="block">Schedule this task</div>
</td>
</tr>
@ -217,13 +217,13 @@ implements java.lang.Runnable</pre>
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="SubTaskBuilder-net.ME1312.SubServers.Host.API.SubPluginInfo-">
<a name="SubTask-net.ME1312.SubServers.Host.API.SubPluginInfo-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>SubTaskBuilder</h4>
<pre>public&nbsp;SubTaskBuilder(<a href="../../../../../net/ME1312/SubServers/Host/API/SubPluginInfo.html" title="class in net.ME1312.SubServers.Host.API">SubPluginInfo</a>&nbsp;plugin)</pre>
<h4>SubTask</h4>
<pre>public&nbsp;SubTask(<a href="../../../../../net/ME1312/SubServers/Host/API/SubPluginInfo.html" title="class in net.ME1312.SubServers.Host.API">SubPluginInfo</a>&nbsp;plugin)</pre>
<div class="block">Create a new Task</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
@ -239,13 +239,13 @@ implements java.lang.Runnable</pre>
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="getPlugin--">
<a name="plugin--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPlugin</h4>
<pre>public&nbsp;<a href="../../../../../net/ME1312/SubServers/Host/API/SubPluginInfo.html" title="class in net.ME1312.SubServers.Host.API">SubPluginInfo</a>&nbsp;getPlugin()</pre>
<h4>plugin</h4>
<pre>public&nbsp;<a href="../../../../../net/ME1312/SubServers/Host/API/SubPluginInfo.html" title="class in net.ME1312.SubServers.Host.API">SubPluginInfo</a>&nbsp;plugin()</pre>
<div class="block">Get the Plugin that created this task</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
@ -259,7 +259,7 @@ implements java.lang.Runnable</pre>
<ul class="blockList">
<li class="blockList">
<h4>repeat</h4>
<pre>public&nbsp;<a href="../../../../../net/ME1312/SubServers/Host/API/SubTaskBuilder.html" title="class in net.ME1312.SubServers.Host.API">SubTaskBuilder</a>&nbsp;repeat(long&nbsp;value)</pre>
<pre>public&nbsp;<a href="../../../../../net/ME1312/SubServers/Host/API/SubTask.html" title="class in net.ME1312.SubServers.Host.API">SubTask</a>&nbsp;repeat(long&nbsp;value)</pre>
<div class="block">Set the Repeat Interval for this task</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
@ -269,13 +269,13 @@ implements java.lang.Runnable</pre>
</dl>
</li>
</ul>
<a name="getRepeat--">
<a name="repeat--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRepeat</h4>
<pre>public&nbsp;long&nbsp;getRepeat()</pre>
<h4>repeat</h4>
<pre>public&nbsp;long&nbsp;repeat()</pre>
<div class="block">Get the Repeat Interval for this task</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
@ -289,7 +289,7 @@ implements java.lang.Runnable</pre>
<ul class="blockList">
<li class="blockList">
<h4>delay</h4>
<pre>public&nbsp;<a href="../../../../../net/ME1312/SubServers/Host/API/SubTaskBuilder.html" title="class in net.ME1312.SubServers.Host.API">SubTaskBuilder</a>&nbsp;delay(long&nbsp;value)</pre>
<pre>public&nbsp;<a href="../../../../../net/ME1312/SubServers/Host/API/SubTask.html" title="class in net.ME1312.SubServers.Host.API">SubTask</a>&nbsp;delay(long&nbsp;value)</pre>
<div class="block">Delay this task</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
@ -299,13 +299,13 @@ implements java.lang.Runnable</pre>
</dl>
</li>
</ul>
<a name="getDelay--">
<a name="delay--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDelay</h4>
<pre>public&nbsp;long&nbsp;getDelay()</pre>
<h4>delay</h4>
<pre>public&nbsp;long&nbsp;delay()</pre>
<div class="block">Get the Delay for this task</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
@ -358,8 +358,8 @@ implements java.lang.Runnable</pre>
<li>Next&nbsp;Class</li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?net/ME1312/SubServers/Host/API/SubTaskBuilder.html" target="_top">Frames</a></li>
<li><a href="SubTaskBuilder.html" target="_top">No&nbsp;Frames</a></li>
<li><a href="../../../../../index.html?net/ME1312/SubServers/Host/API/SubTask.html" target="_top">Frames</a></li>
<li><a href="SubTask.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>

View File

@ -10,14 +10,11 @@
<body>
<h1 class="bar"><a href="../../../../../net/ME1312/SubServers/Host/API/package-summary.html" target="classFrame">net.ME1312.SubServers.Host.API</a></h1>
<div class="indexContainer">
<h2 title="Interfaces">Interfaces</h2>
<ul title="Interfaces">
<li><a href="Command.html" title="interface in net.ME1312.SubServers.Host.API" target="classFrame"><span class="interfaceName">Command</span></a></li>
</ul>
<h2 title="Classes">Classes</h2>
<ul title="Classes">
<li><a href="Command.html" title="class in net.ME1312.SubServers.Host.API" target="classFrame">Command</a></li>
<li><a href="SubPluginInfo.html" title="class in net.ME1312.SubServers.Host.API" target="classFrame">SubPluginInfo</a></li>
<li><a href="SubTaskBuilder.html" title="class in net.ME1312.SubServers.Host.API" target="classFrame">SubTaskBuilder</a></li>
<li><a href="SubTask.html" title="class in net.ME1312.SubServers.Host.API" target="classFrame">SubTask</a></li>
</ul>
<h2 title="Annotation Types">Annotation Types</h2>
<ul title="Annotation Types">

View File

@ -73,23 +73,6 @@
<div class="contentContainer">
<ul class="blockList">
<li class="blockList">
<table class="typeSummary" border="0" cellpadding="3" cellspacing="0" summary="Interface Summary table, listing interfaces, and an explanation">
<caption><span>Interface Summary</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Interface</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><a href="../../../../../net/ME1312/SubServers/Host/API/Command.html" title="interface in net.ME1312.SubServers.Host.API">Command</a></td>
<td class="colLast">
<div class="block">Command Layout Class</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList">
<table class="typeSummary" border="0" cellpadding="3" cellspacing="0" summary="Class Summary table, listing classes, and an explanation">
<caption><span>Class Summary</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
@ -98,13 +81,19 @@
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><a href="../../../../../net/ME1312/SubServers/Host/API/Command.html" title="class in net.ME1312.SubServers.Host.API">Command</a></td>
<td class="colLast">
<div class="block">Command Layout Class</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../../../net/ME1312/SubServers/Host/API/SubPluginInfo.html" title="class in net.ME1312.SubServers.Host.API">SubPluginInfo</a></td>
<td class="colLast">
<div class="block">SubPlugin Info Class</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../../../net/ME1312/SubServers/Host/API/SubTaskBuilder.html" title="class in net.ME1312.SubServers.Host.API">SubTaskBuilder</a></td>
<tr class="altColor">
<td class="colFirst"><a href="../../../../../net/ME1312/SubServers/Host/API/SubTask.html" title="class in net.ME1312.SubServers.Host.API">SubTask</a></td>
<td class="colLast">
<div class="block">SubServers Task Builder Class</div>
</td>

View File

@ -79,15 +79,12 @@
<ul>
<li type="circle">java.lang.Object
<ul>
<li type="circle">net.ME1312.SubServers.Host.API.<a href="../../../../../net/ME1312/SubServers/Host/API/Command.html" title="class in net.ME1312.SubServers.Host.API"><span class="typeNameLink">Command</span></a></li>
<li type="circle">net.ME1312.SubServers.Host.API.<a href="../../../../../net/ME1312/SubServers/Host/API/SubPluginInfo.html" title="class in net.ME1312.SubServers.Host.API"><span class="typeNameLink">SubPluginInfo</span></a> (implements net.ME1312.SubServers.Host.Library.<a href="../../../../../net/ME1312/SubServers/Host/Library/ExtraDataHandler.html" title="interface in net.ME1312.SubServers.Host.Library">ExtraDataHandler</a>)</li>
<li type="circle">net.ME1312.SubServers.Host.API.<a href="../../../../../net/ME1312/SubServers/Host/API/SubTaskBuilder.html" title="class in net.ME1312.SubServers.Host.API"><span class="typeNameLink">SubTaskBuilder</span></a> (implements java.lang.Runnable)</li>
<li type="circle">net.ME1312.SubServers.Host.API.<a href="../../../../../net/ME1312/SubServers/Host/API/SubTask.html" title="class in net.ME1312.SubServers.Host.API"><span class="typeNameLink">SubTask</span></a> (implements java.lang.Runnable)</li>
</ul>
</li>
</ul>
<h2 title="Interface Hierarchy">Interface Hierarchy</h2>
<ul>
<li type="circle">net.ME1312.SubServers.Host.API.<a href="../../../../../net/ME1312/SubServers/Host/API/Command.html" title="interface in net.ME1312.SubServers.Host.API"><span class="typeNameLink">Command</span></a></li>
</ul>
<h2 title="Annotation Type Hierarchy">Annotation Type Hierarchy</h2>
<ul>
<li type="circle">net.ME1312.SubServers.Host.API.<a href="../../../../../net/ME1312/SubServers/Host/API/SubPlugin.html" title="annotation in net.ME1312.SubServers.Host.API"><span class="typeNameLink">SubPlugin</span></a> (implements java.lang.annotation.Annotation)</li>

View File

@ -17,7 +17,7 @@
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10};
var methods = {"i0":10,"i1":10,"i2":10,"i3":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
@ -156,18 +156,28 @@ extends java.lang.Object</pre>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>java.util.Map&lt;<a href="../../../../../../net/ME1312/SubServers/Host/API/SubPluginInfo.html" title="class in net.ME1312.SubServers.Host.API">SubPluginInfo</a>,java.util.List&lt;java.lang.reflect.Method&gt;&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Host/Library/Event/Event.html#getHandlers--">getHandlers</a></span>()</code>
<div class="block">Get the handlers for this event</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code><a href="../../../../../../net/ME1312/SubServers/Host/API/SubPluginInfo.html" title="class in net.ME1312.SubServers.Host.API">SubPluginInfo</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Host/Library/Event/Event.html#getPlugin--">getPlugin</a></span>()</code>
<div class="block">Gets your Plugin's Info</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Host/Library/Event/Event.html#toString--">toString</a></span>()</code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
<code>equals, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li>
</ul>
</li>
</ul>
@ -217,7 +227,7 @@ extends java.lang.Object</pre>
<a name="getPlugin--">
<!-- -->
</a>
<ul class="blockListLast">
<ul class="blockList">
<li class="blockList">
<h4>getPlugin</h4>
<pre>public&nbsp;<a href="../../../../../../net/ME1312/SubServers/Host/API/SubPluginInfo.html" title="class in net.ME1312.SubServers.Host.API">SubPluginInfo</a>&nbsp;getPlugin()</pre>
@ -228,6 +238,36 @@ extends java.lang.Object</pre>
</dl>
</li>
</ul>
<a name="getHandlers--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getHandlers</h4>
<pre>public&nbsp;java.util.Map&lt;<a href="../../../../../../net/ME1312/SubServers/Host/API/SubPluginInfo.html" title="class in net.ME1312.SubServers.Host.API">SubPluginInfo</a>,java.util.List&lt;java.lang.reflect.Method&gt;&gt;&nbsp;getHandlers()
throws java.lang.IllegalAccessException</pre>
<div class="block">Get the handlers for this event</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Handler Map</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.IllegalAccessException</code></dd>
</dl>
</li>
</ul>
<a name="toString--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>toString</h4>
<pre>public&nbsp;java.lang.String&nbsp;toString()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>toString</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>

View File

@ -98,7 +98,7 @@ public @interface <span class="memberNameLabel">EventHandler</span></pre>
Methods annotated by this and registered in SubAPI will be run when the event is called</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../net/ME1312/SubServers/Host/SubAPI.html#addListener-net.ME1312.SubServers.Host.API.SubPluginInfo-net.ME1312.SubServers.Host.Library.Event.Listener-"><code>SubAPI.addListener(SubPluginInfo, Listener)</code></a></dd>
<dd><code>net.ME1312.SubServers.Host.SubAPI#addListener(SubPluginInfo, Listener)</code></dd>
</dl>
</li>
</ul>

View File

@ -42,7 +42,7 @@
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../../net/ME1312/SubServers/Host/Library/Exception/IllegalPacketException.html" title="class in net.ME1312.SubServers.Host.Library.Exception"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li>Next&nbsp;Class</li>
<li><a href="../../../../../../net/ME1312/SubServers/Host/Library/Exception/IllegalStringValueException.html" title="class in net.ME1312.SubServers.Host.Library.Exception"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../../index.html?net/ME1312/SubServers/Host/Library/Exception/IllegalPluginException.html" target="_top">Frames</a></li>
@ -247,7 +247,7 @@ extends java.lang.reflect.InvocationTargetException</pre>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../../net/ME1312/SubServers/Host/Library/Exception/IllegalPacketException.html" title="class in net.ME1312.SubServers.Host.Library.Exception"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li>Next&nbsp;Class</li>
<li><a href="../../../../../../net/ME1312/SubServers/Host/Library/Exception/IllegalStringValueException.html" title="class in net.ME1312.SubServers.Host.Library.Exception"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../../index.html?net/ME1312/SubServers/Host/Library/Exception/IllegalPluginException.html" target="_top">Frames</a></li>

View File

@ -0,0 +1,281 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>IllegalStringValueException (SubServers.Host)</title>
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="IllegalStringValueException (SubServers.Host)";
}
}
catch(err) {
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../../net/ME1312/SubServers/Host/Library/Exception/IllegalPluginException.html" title="class in net.ME1312.SubServers.Host.Library.Exception"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li>Next&nbsp;Class</li>
</ul>
<ul class="navList">
<li><a href="../../../../../../index.html?net/ME1312/SubServers/Host/Library/Exception/IllegalStringValueException.html" target="_top">Frames</a></li>
<li><a href="IllegalStringValueException.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#methods.inherited.from.class.java.lang.Throwable">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li>Method</li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">net.ME1312.SubServers.Host.Library.Exception</div>
<h2 title="Class IllegalStringValueException" class="title">Class IllegalStringValueException</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>java.lang.Throwable</li>
<li>
<ul class="inheritance">
<li>java.lang.Exception</li>
<li>
<ul class="inheritance">
<li>java.lang.RuntimeException</li>
<li>
<ul class="inheritance">
<li>java.lang.IllegalStateException</li>
<li>
<ul class="inheritance">
<li>net.ME1312.SubServers.Host.Library.Exception.IllegalStringValueException</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd>java.io.Serializable</dd>
</dl>
<hr>
<br>
<pre>public class <span class="typeNameLabel">IllegalStringValueException</span>
extends java.lang.IllegalStateException</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../serialized-form.html#net.ME1312.SubServers.Host.Library.Exception.IllegalStringValueException">Serialized Form</a></dd>
</dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Host/Library/Exception/IllegalStringValueException.html#IllegalStringValueException--">IllegalStringValueException</a></span>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Host/Library/Exception/IllegalStringValueException.html#IllegalStringValueException-java.lang.String-">IllegalStringValueException</a></span>(java.lang.String&nbsp;s)</code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Throwable">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Throwable</h3>
<code>addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>equals, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="IllegalStringValueException--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>IllegalStringValueException</h4>
<pre>public&nbsp;IllegalStringValueException()</pre>
</li>
</ul>
<a name="IllegalStringValueException-java.lang.String-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>IllegalStringValueException</h4>
<pre>public&nbsp;IllegalStringValueException(java.lang.String&nbsp;s)</pre>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../../net/ME1312/SubServers/Host/Library/Exception/IllegalPluginException.html" title="class in net.ME1312.SubServers.Host.Library.Exception"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li>Next&nbsp;Class</li>
</ul>
<ul class="navList">
<li><a href="../../../../../../index.html?net/ME1312/SubServers/Host/Library/Exception/IllegalStringValueException.html" target="_top">Frames</a></li>
<li><a href="IllegalStringValueException.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#methods.inherited.from.class.java.lang.Throwable">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li>Method</li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>

View File

@ -14,6 +14,7 @@
<ul title="Exceptions">
<li><a href="IllegalPacketException.html" title="class in net.ME1312.SubServers.Host.Library.Exception" target="classFrame">IllegalPacketException</a></li>
<li><a href="IllegalPluginException.html" title="class in net.ME1312.SubServers.Host.Library.Exception" target="classFrame">IllegalPluginException</a></li>
<li><a href="IllegalStringValueException.html" title="class in net.ME1312.SubServers.Host.Library.Exception" target="classFrame">IllegalStringValueException</a></li>
</ul>
</div>
</body>

View File

@ -92,6 +92,10 @@
<div class="block">Illegal Plugin Exception</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../../../../../net/ME1312/SubServers/Host/Library/Exception/IllegalStringValueException.html" title="class in net.ME1312.SubServers.Host.Library.Exception">IllegalStringValueException</a></td>
<td class="colLast">&nbsp;</td>
</tr>
</tbody>
</table>
</li>

View File

@ -97,6 +97,7 @@
<li type="circle">java.lang.IllegalStateException
<ul>
<li type="circle">net.ME1312.SubServers.Host.Library.Exception.<a href="../../../../../../net/ME1312/SubServers/Host/Library/Exception/IllegalPacketException.html" title="class in net.ME1312.SubServers.Host.Library.Exception"><span class="typeNameLink">IllegalPacketException</span></a></li>
<li type="circle">net.ME1312.SubServers.Host.Library.Exception.<a href="../../../../../../net/ME1312/SubServers/Host/Library/Exception/IllegalStringValueException.html" title="class in net.ME1312.SubServers.Host.Library.Exception"><span class="typeNameLink">IllegalStringValueException</span></a></li>
</ul>
</li>
</ul>

View File

@ -17,7 +17,7 @@
catch(err) {
}
//-->
var methods = {"i0":9,"i1":9,"i2":9,"i3":9,"i4":9,"i5":9,"i6":9,"i7":9};
var methods = {"i0":9,"i1":9,"i2":9,"i3":9,"i4":9,"i5":9,"i6":9,"i7":9,"i8":9};
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
@ -169,31 +169,38 @@ extends java.lang.Object</pre>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>static &lt;K,V&gt;&nbsp;java.util.List&lt;K&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Host/Library/Util.html#getBackwards-java.util.Map-V-">getBackwards</a></span>(java.util.Map&lt;K,V&gt;&nbsp;map,
V&nbsp;value)</code>
<div class="block">Get keys by value from map</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Host/Library/Util.html#isException-net.ME1312.SubServers.Host.Library.Util.ExceptionRunnable-">isException</a></span>(<a href="../../../../../net/ME1312/SubServers/Host/Library/Util.ExceptionRunnable.html" title="interface in net.ME1312.SubServers.Host.Library">Util.ExceptionRunnable</a>&nbsp;runnable)</code>
<div class="block">Determines if an Exception will occur</div>
</td>
</tr>
<tr id="i4" class="altColor">
<tr id="i5" class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Host/Library/Util.html#isNull-java.lang.Object...-">isNull</a></span>(java.lang.Object...&nbsp;values)</code>
<div class="block">Checks values to make sure they're not null</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<tr id="i6" class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Host/Library/Util.html#random-int-int-">random</a></span>(int&nbsp;min,
int&nbsp;max)</code>
<div class="block">Get a Random Integer</div>
</td>
</tr>
<tr id="i6" class="altColor">
<tr id="i7" class="rowColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Host/Library/Util.html#readAll-java.io.Reader-">readAll</a></span>(java.io.Reader&nbsp;rd)</code>
<div class="block">Read Everything from Reader</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<tr id="i8" class="altColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Host/Library/Util.html#unescapeJavaString-java.lang.String-">unescapeJavaString</a></span>(java.lang.String&nbsp;str)</code>
<div class="block">Parse escapes in a Java String</div>
@ -237,6 +244,29 @@ extends java.lang.Object</pre>
</dl>
</li>
</ul>
<a name="getBackwards-java.util.Map-java.lang.Object-">
<!-- -->
</a><a name="getBackwards-java.util.Map-V-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getBackwards</h4>
<pre>public static&nbsp;&lt;K,V&gt;&nbsp;java.util.List&lt;K&gt;&nbsp;getBackwards(java.util.Map&lt;K,V&gt;&nbsp;map,
V&nbsp;value)</pre>
<div class="block">Get keys by value from map</div>
<dl>
<dt><span class="paramLabel">Type Parameters:</span></dt>
<dd><code>K</code> - Key</dd>
<dd><code>V</code> - Value</dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>map</code> - Map to search</dd>
<dd><code>value</code> - Value to search for</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Search results</dd>
</dl>
</li>
</ul>
<a name="readAll-java.io.Reader-">
<!-- -->
</a>

View File

@ -17,7 +17,7 @@
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":9,"i6":42,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10};
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":9,"i7":42,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10};
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
@ -130,16 +130,16 @@ extends java.lang.Object</pre>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/ME1312/SubServers/Host/SubAPI.html#addCommand-net.ME1312.SubServers.Host.API.Command-java.lang.String...-">addCommand</a></span>(<a href="../../../../net/ME1312/SubServers/Host/API/Command.html" title="interface in net.ME1312.SubServers.Host.API">Command</a>&nbsp;command,
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/ME1312/SubServers/Host/SubAPI.html#addCommand-net.ME1312.SubServers.Host.API.Command-java.lang.String...-">addCommand</a></span>(<a href="../../../../net/ME1312/SubServers/Host/API/Command.html" title="class in net.ME1312.SubServers.Host.API">Command</a>&nbsp;command,
java.lang.String...&nbsp;handles)</code>
<div class="block">Registers a Command</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/ME1312/SubServers/Host/SubAPI.html#addListener-net.ME1312.SubServers.Host.API.SubPluginInfo-net.ME1312.SubServers.Host.Library.Event.Listener-">addListener</a></span>(<a href="../../../../net/ME1312/SubServers/Host/API/SubPluginInfo.html" title="class in net.ME1312.SubServers.Host.API">SubPluginInfo</a>&nbsp;plugin,
<a href="../../../../net/ME1312/SubServers/Host/Library/Event/Listener.html" title="interface in net.ME1312.SubServers.Host.Library.Event">Listener</a>&nbsp;listener)</code>
<div class="block">Register a SubEvent Listener</div>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/ME1312/SubServers/Host/SubAPI.html#addListener-net.ME1312.SubServers.Host.API.SubPluginInfo-net.ME1312.SubServers.Host.Library.Event.Listener...-">addListener</a></span>(<a href="../../../../net/ME1312/SubServers/Host/API/SubPluginInfo.html" title="class in net.ME1312.SubServers.Host.API">SubPluginInfo</a>&nbsp;plugin,
<a href="../../../../net/ME1312/SubServers/Host/Library/Event/Listener.html" title="interface in net.ME1312.SubServers.Host.Library.Event">Listener</a>...&nbsp;listeners)</code>
<div class="block">Register SubEvent Listeners</div>
</td>
</tr>
<tr id="i2" class="altColor">
@ -149,24 +149,30 @@ extends java.lang.Object</pre>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/ME1312/SubServers/Host/SubAPI.html#executeEvent-net.ME1312.SubServers.Host.Library.Event.Event-">executeEvent</a></span>(<a href="../../../../net/ME1312/SubServers/Host/Library/Event/Event.html" title="class in net.ME1312.SubServers.Host.Library.Event">Event</a>&nbsp;event)</code>
<div class="block">Run a SubEvent</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code><a href="../../../../net/ME1312/SubServers/Host/Library/Version/Version.html" title="class in net.ME1312.SubServers.Host.Library.Version">Version</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/ME1312/SubServers/Host/SubAPI.html#getAppVersion--">getAppVersion</a></span>()</code>
<div class="block">Gets the SubServers Version</div>
</td>
</tr>
<tr id="i4" class="altColor">
<tr id="i5" class="rowColor">
<td class="colFirst"><code><a href="../../../../net/ME1312/SubServers/Host/Library/Version/Version.html" title="class in net.ME1312.SubServers.Host.Library.Version">Version</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/ME1312/SubServers/Host/SubAPI.html#getBetaVersion--">getBetaVersion</a></span>()</code>
<div class="block">Gets the SubServers Beta Version</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<tr id="i6" class="altColor">
<td class="colFirst"><code>static <a href="../../../../net/ME1312/SubServers/Host/SubAPI.html" title="class in net.ME1312.SubServers.Host">SubAPI</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/ME1312/SubServers/Host/SubAPI.html#getInstance--">getInstance</a></span>()</code>
<div class="block">Gets the SubAPI Methods</div>
</td>
</tr>
<tr id="i6" class="altColor">
<tr id="i7" class="rowColor">
<td class="colFirst"><code><a href="../../../../net/ME1312/SubServers/Host/SubServers.html" title="class in net.ME1312.SubServers.Host">SubServers</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/ME1312/SubServers/Host/SubAPI.html#getInternals--">getInternals</a></span>()</code>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;
@ -174,59 +180,53 @@ extends java.lang.Object</pre>
</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<tr id="i8" class="altColor">
<td class="colFirst"><code>java.util.Map&lt;java.lang.String,java.lang.String&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/ME1312/SubServers/Host/SubAPI.html#getLang--">getLang</a></span>()</code>
<div class="block">Gets the SubServers Lang</div>
</td>
</tr>
<tr id="i8" class="altColor">
<tr id="i9" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/ME1312/SubServers/Host/SubAPI.html#getLang-java.lang.String-">getLang</a></span>(java.lang.String&nbsp;key)</code>
<div class="block">Gets a value from the SubServers Lang</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<tr id="i10" class="altColor">
<td class="colFirst"><code><a href="../../../../net/ME1312/SubServers/Host/API/SubPluginInfo.html" title="class in net.ME1312.SubServers.Host.API">SubPluginInfo</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/ME1312/SubServers/Host/SubAPI.html#getPlugin-java.lang.String-">getPlugin</a></span>(java.lang.String&nbsp;plugin)</code>
<div class="block">Gets a Plugin</div>
</td>
</tr>
<tr id="i10" class="altColor">
<tr id="i11" class="rowColor">
<td class="colFirst"><code>java.util.Map&lt;java.lang.String,<a href="../../../../net/ME1312/SubServers/Host/API/SubPluginInfo.html" title="class in net.ME1312.SubServers.Host.API">SubPluginInfo</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/ME1312/SubServers/Host/SubAPI.html#getPlugins--">getPlugins</a></span>()</code>
<div class="block">Get a map of the Plugins</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<tr id="i12" class="altColor">
<td class="colFirst"><code><a href="../../../../net/ME1312/SubServers/Host/Library/UniversalFile.html" title="class in net.ME1312.SubServers.Host.Library">UniversalFile</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/ME1312/SubServers/Host/SubAPI.html#getRuntimeDirectory--">getRuntimeDirectory</a></span>()</code>
<div class="block">Gets the Runtime Directory</div>
</td>
</tr>
<tr id="i12" class="altColor">
<tr id="i13" class="rowColor">
<td class="colFirst"><code><a href="../../../../net/ME1312/SubServers/Host/Network/SubDataClient.html" title="class in net.ME1312.SubServers.Host.Network">SubDataClient</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/ME1312/SubServers/Host/SubAPI.html#getSubDataNetwork--">getSubDataNetwork</a></span>()</code>
<div class="block">Gets the SubData Network Manager</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<tr id="i14" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/ME1312/SubServers/Host/SubAPI.html#removeCommand-java.lang.String...-">removeCommand</a></span>(java.lang.String...&nbsp;handles)</code>
<div class="block">Unregisters a Command</div>
</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/ME1312/SubServers/Host/SubAPI.html#removeListener-net.ME1312.SubServers.Host.API.SubPluginInfo-net.ME1312.SubServers.Host.Library.Event.Listener-">removeListener</a></span>(<a href="../../../../net/ME1312/SubServers/Host/API/SubPluginInfo.html" title="class in net.ME1312.SubServers.Host.API">SubPluginInfo</a>&nbsp;plugin,
<a href="../../../../net/ME1312/SubServers/Host/Library/Event/Listener.html" title="interface in net.ME1312.SubServers.Host.Library.Event">Listener</a>&nbsp;listener)</code>
<div class="block">Unregister a SubEvent Listener</div>
</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/ME1312/SubServers/Host/SubAPI.html#runEvent-net.ME1312.SubServers.Host.Library.Event.Event-">runEvent</a></span>(<a href="../../../../net/ME1312/SubServers/Host/Library/Event/Event.html" title="class in net.ME1312.SubServers.Host.Library.Event">Event</a>&nbsp;event)</code>
<div class="block">Run a SubEvent</div>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/ME1312/SubServers/Host/SubAPI.html#removeListener-net.ME1312.SubServers.Host.API.SubPluginInfo-net.ME1312.SubServers.Host.Library.Event.Listener...-">removeListener</a></span>(<a href="../../../../net/ME1312/SubServers/Host/API/SubPluginInfo.html" title="class in net.ME1312.SubServers.Host.API">SubPluginInfo</a>&nbsp;plugin,
<a href="../../../../net/ME1312/SubServers/Host/Library/Event/Listener.html" title="interface in net.ME1312.SubServers.Host.Library.Event">Listener</a>...&nbsp;listeners)</code>
<div class="block">Unregister SubEvent Listeners</div>
</td>
</tr>
<tr id="i16" class="altColor">
@ -255,7 +255,7 @@ extends java.lang.Object</pre>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code>java.util.UUID</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/ME1312/SubServers/Host/SubAPI.html#schedule-net.ME1312.SubServers.Host.API.SubTaskBuilder-">schedule</a></span>(<a href="../../../../net/ME1312/SubServers/Host/API/SubTaskBuilder.html" title="class in net.ME1312.SubServers.Host.API">SubTaskBuilder</a>&nbsp;builder)</code>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/ME1312/SubServers/Host/SubAPI.html#schedule-net.ME1312.SubServers.Host.API.SubTask-">schedule</a></span>(<a href="../../../../net/ME1312/SubServers/Host/API/SubTask.html" title="class in net.ME1312.SubServers.Host.API">SubTask</a>&nbsp;builder)</code>
<div class="block">Schedule a task</div>
</td>
</tr>
@ -361,7 +361,7 @@ public&nbsp;<a href="../../../../net/ME1312/SubServers/Host/SubServers.html" tit
<ul class="blockList">
<li class="blockList">
<h4>addCommand</h4>
<pre>public&nbsp;void&nbsp;addCommand(<a href="../../../../net/ME1312/SubServers/Host/API/Command.html" title="interface in net.ME1312.SubServers.Host.API">Command</a>&nbsp;command,
<pre>public&nbsp;void&nbsp;addCommand(<a href="../../../../net/ME1312/SubServers/Host/API/Command.html" title="class in net.ME1312.SubServers.Host.API">Command</a>&nbsp;command,
java.lang.String...&nbsp;handles)</pre>
<div class="block">Registers a Command</div>
<dl>
@ -385,13 +385,13 @@ public&nbsp;<a href="../../../../net/ME1312/SubServers/Host/SubServers.html" tit
</dl>
</li>
</ul>
<a name="schedule-net.ME1312.SubServers.Host.API.SubTaskBuilder-">
<a name="schedule-net.ME1312.SubServers.Host.API.SubTask-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>schedule</h4>
<pre>public&nbsp;java.util.UUID&nbsp;schedule(<a href="../../../../net/ME1312/SubServers/Host/API/SubTaskBuilder.html" title="class in net.ME1312.SubServers.Host.API">SubTaskBuilder</a>&nbsp;builder)</pre>
<pre>public&nbsp;java.util.UUID&nbsp;schedule(<a href="../../../../net/ME1312/SubServers/Host/API/SubTask.html" title="class in net.ME1312.SubServers.Host.API">SubTask</a>&nbsp;builder)</pre>
<div class="block">Schedule a task</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
@ -475,45 +475,45 @@ public&nbsp;<a href="../../../../net/ME1312/SubServers/Host/SubServers.html" tit
</dl>
</li>
</ul>
<a name="addListener-net.ME1312.SubServers.Host.API.SubPluginInfo-net.ME1312.SubServers.Host.Library.Event.Listener-">
<a name="addListener-net.ME1312.SubServers.Host.API.SubPluginInfo-net.ME1312.SubServers.Host.Library.Event.Listener...-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addListener</h4>
<pre>public&nbsp;void&nbsp;addListener(<a href="../../../../net/ME1312/SubServers/Host/API/SubPluginInfo.html" title="class in net.ME1312.SubServers.Host.API">SubPluginInfo</a>&nbsp;plugin,
<a href="../../../../net/ME1312/SubServers/Host/Library/Event/Listener.html" title="interface in net.ME1312.SubServers.Host.Library.Event">Listener</a>&nbsp;listener)</pre>
<div class="block">Register a SubEvent Listener</div>
<a href="../../../../net/ME1312/SubServers/Host/Library/Event/Listener.html" title="interface in net.ME1312.SubServers.Host.Library.Event">Listener</a>...&nbsp;listeners)</pre>
<div class="block">Register SubEvent Listeners</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>plugin</code> - PluginInfo</dd>
<dd><code>listener</code> - Listener</dd>
<dd><code>listeners</code> - Listeners</dd>
</dl>
</li>
</ul>
<a name="removeListener-net.ME1312.SubServers.Host.API.SubPluginInfo-net.ME1312.SubServers.Host.Library.Event.Listener-">
<a name="removeListener-net.ME1312.SubServers.Host.API.SubPluginInfo-net.ME1312.SubServers.Host.Library.Event.Listener...-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeListener</h4>
<pre>public&nbsp;void&nbsp;removeListener(<a href="../../../../net/ME1312/SubServers/Host/API/SubPluginInfo.html" title="class in net.ME1312.SubServers.Host.API">SubPluginInfo</a>&nbsp;plugin,
<a href="../../../../net/ME1312/SubServers/Host/Library/Event/Listener.html" title="interface in net.ME1312.SubServers.Host.Library.Event">Listener</a>&nbsp;listener)</pre>
<div class="block">Unregister a SubEvent Listener</div>
<a href="../../../../net/ME1312/SubServers/Host/Library/Event/Listener.html" title="interface in net.ME1312.SubServers.Host.Library.Event">Listener</a>...&nbsp;listeners)</pre>
<div class="block">Unregister SubEvent Listeners</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>plugin</code> - PluginInfo</dd>
<dd><code>listener</code> - Listener</dd>
<dd><code>listeners</code> - Listeners</dd>
</dl>
</li>
</ul>
<a name="runEvent-net.ME1312.SubServers.Host.Library.Event.Event-">
<a name="executeEvent-net.ME1312.SubServers.Host.Library.Event.Event-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>runEvent</h4>
<pre>public&nbsp;void&nbsp;runEvent(<a href="../../../../net/ME1312/SubServers/Host/Library/Event/Event.html" title="class in net.ME1312.SubServers.Host.Library.Event">Event</a>&nbsp;event)</pre>
<h4>executeEvent</h4>
<pre>public&nbsp;void&nbsp;executeEvent(<a href="../../../../net/ME1312/SubServers/Host/Library/Event/Event.html" title="class in net.ME1312.SubServers.Host.Library.Event">Event</a>&nbsp;event)</pre>
<div class="block">Run a SubEvent</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>

View File

@ -89,6 +89,7 @@
<ul>
<li type="circle">java.lang.Object
<ul>
<li type="circle">net.ME1312.SubServers.Host.API.<a href="net/ME1312/SubServers/Host/API/Command.html" title="class in net.ME1312.SubServers.Host.API"><span class="typeNameLink">Command</span></a></li>
<li type="circle">net.ME1312.SubServers.Host.Library.<a href="net/ME1312/SubServers/Host/Library/Container.html" title="class in net.ME1312.SubServers.Host.Library"><span class="typeNameLink">Container</span></a>&lt;V&gt;
<ul>
<li type="circle">net.ME1312.SubServers.Host.Library.<a href="net/ME1312/SubServers/Host/Library/NamedContainer.html" title="class in net.ME1312.SubServers.Host.Library"><span class="typeNameLink">NamedContainer</span></a>&lt;T,V&gt;</li>
@ -120,7 +121,7 @@
<li type="circle">net.ME1312.SubServers.Host.Network.<a href="net/ME1312/SubServers/Host/Network/SubDataClient.html" title="class in net.ME1312.SubServers.Host.Network"><span class="typeNameLink">SubDataClient</span></a></li>
<li type="circle">net.ME1312.SubServers.Host.API.<a href="net/ME1312/SubServers/Host/API/SubPluginInfo.html" title="class in net.ME1312.SubServers.Host.API"><span class="typeNameLink">SubPluginInfo</span></a> (implements net.ME1312.SubServers.Host.Library.<a href="net/ME1312/SubServers/Host/Library/ExtraDataHandler.html" title="interface in net.ME1312.SubServers.Host.Library">ExtraDataHandler</a>)</li>
<li type="circle">net.ME1312.SubServers.Host.<a href="net/ME1312/SubServers/Host/SubServers.html" title="class in net.ME1312.SubServers.Host"><span class="typeNameLink">SubServers</span></a></li>
<li type="circle">net.ME1312.SubServers.Host.API.<a href="net/ME1312/SubServers/Host/API/SubTaskBuilder.html" title="class in net.ME1312.SubServers.Host.API"><span class="typeNameLink">SubTaskBuilder</span></a> (implements java.lang.Runnable)</li>
<li type="circle">net.ME1312.SubServers.Host.API.<a href="net/ME1312/SubServers/Host/API/SubTask.html" title="class in net.ME1312.SubServers.Host.API"><span class="typeNameLink">SubTask</span></a> (implements java.lang.Runnable)</li>
<li type="circle">java.lang.Throwable (implements java.io.Serializable)
<ul>
<li type="circle">java.lang.Exception
@ -139,6 +140,7 @@
<li type="circle">java.lang.IllegalStateException
<ul>
<li type="circle">net.ME1312.SubServers.Host.Library.Exception.<a href="net/ME1312/SubServers/Host/Library/Exception/IllegalPacketException.html" title="class in net.ME1312.SubServers.Host.Library.Exception"><span class="typeNameLink">IllegalPacketException</span></a></li>
<li type="circle">net.ME1312.SubServers.Host.Library.Exception.<a href="net/ME1312/SubServers/Host/Library/Exception/IllegalStringValueException.html" title="class in net.ME1312.SubServers.Host.Library.Exception"><span class="typeNameLink">IllegalStringValueException</span></a></li>
</ul>
</li>
</ul>
@ -159,7 +161,6 @@
<h2 title="Interface Hierarchy">Interface Hierarchy</h2>
<ul>
<li type="circle">net.ME1312.SubServers.Host.Library.Event.<a href="net/ME1312/SubServers/Host/Library/Event/Cancellable.html" title="interface in net.ME1312.SubServers.Host.Library.Event"><span class="typeNameLink">Cancellable</span></a></li>
<li type="circle">net.ME1312.SubServers.Host.API.<a href="net/ME1312/SubServers/Host/API/Command.html" title="interface in net.ME1312.SubServers.Host.API"><span class="typeNameLink">Command</span></a></li>
<li type="circle">net.ME1312.SubServers.Host.Library.<a href="net/ME1312/SubServers/Host/Library/ExtraDataHandler.html" title="interface in net.ME1312.SubServers.Host.Library"><span class="typeNameLink">ExtraDataHandler</span></a></li>
<li type="circle">net.ME1312.SubServers.Host.Library.<a href="net/ME1312/SubServers/Host/Library/JSONCallback.html" title="interface in net.ME1312.SubServers.Host.Library"><span class="typeNameLink">JSONCallback</span></a></li>
<li type="circle">net.ME1312.SubServers.Host.Library.Event.<a href="net/ME1312/SubServers/Host/Library/Event/Listener.html" title="interface in net.ME1312.SubServers.Host.Library.Event"><span class="typeNameLink">Listener</span></a></li>

View File

@ -95,6 +95,11 @@
</a>
<h3>Class <a href="net/ME1312/SubServers/Host/Library/Exception/IllegalPluginException.html" title="class in net.ME1312.SubServers.Host.Library.Exception">net.ME1312.SubServers.Host.Library.Exception.IllegalPluginException</a> extends java.lang.reflect.InvocationTargetException implements Serializable</h3>
</li>
<li class="blockList"><a name="net.ME1312.SubServers.Host.Library.Exception.IllegalStringValueException">
<!-- -->
</a>
<h3>Class <a href="net/ME1312/SubServers/Host/Library/Exception/IllegalStringValueException.html" title="class in net.ME1312.SubServers.Host.Library.Exception">net.ME1312.SubServers.Host.Library.Exception.IllegalStringValueException</a> extends java.lang.IllegalStateException implements Serializable</h3>
</li>
</ul>
</li>
<li class="blockList">

View File

@ -1,6 +1,9 @@
package net.ME1312.SubServers.Bungee.Library;
import java.io.*;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.Random;
/**
@ -26,6 +29,27 @@ public final class Util {
return ret;
}
/**
* Get keys by value from map
*
* @param map Map to search
* @param value Value to search for
* @param <K> Key
* @param <V> Value
* @return Search results
*/
public static <K, V> List<K> getBackwards(Map<K, V> map, V value) {
List<K> values = new ArrayList<K>();
for (K key : map.keySet()) {
if (map.get(key).equals(value)) {
values.add(key);
}
}
return values;
}
/**
* Read Everything from Reader
*

View File

@ -1,6 +1,9 @@
package net.ME1312.SubServers.Client.Bukkit.Library;
import java.io.*;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.Random;
/**
@ -26,6 +29,27 @@ public final class Util {
return ret;
}
/**
* Get keys by value from map
*
* @param map Map to search
* @param value Value to search for
* @param <K> Key
* @param <V> Value
* @return Search results
*/
public static <K, V> List<K> getBackwards(Map<K, V> map, V value) {
List<K> values = new ArrayList<K>();
for (K key : map.keySet()) {
if (map.get(key).equals(value)) {
values.add(key);
}
}
return values;
}
/**
* Read Everything from Reader
*

View File

@ -1,14 +1,120 @@
package net.ME1312.SubServers.Host.API;
import net.ME1312.SubServers.Host.Library.Exception.IllegalStringValueException;
import net.ME1312.SubServers.Host.SubAPI;
/**
* Command Layout Class
*/
public interface Command {
public abstract class Command {
private String desc = null;
private String[] exDesc = new String[0];
private String[] usage = new String[0];
private SubPluginInfo plugin;
public Command(SubPluginInfo plugin) {
this.plugin = plugin;
}
/**
* Run Command
*
* @param command Command Name
* @param handle Command Name
* @param args Arguments
*/
void command(String command, String[] args);
public abstract void command(String handle, String[] args);
/**
* Gets the Plugin that registering this Command
*
* @return Plugin Info
*/
public SubPluginInfo plugin() {
return this.plugin;
}
/**
* Gets the Description of this Command
*
* @return Command Description
*/
public String description() {
return this.desc;
}
/**
* Set the Description of this Command
*
* @param value Value
* @return The Command
*/
public Command description(String value) {
if (value != null) {
if (value.length() == 0) throw new StringIndexOutOfBoundsException("Cannot use empty string for description");
if (value.contains("\n")) throw new IllegalStringValueException("String contains illegal character(s)");
}
this.desc = value;
return this;
}
/**
* Get the Help Page for this Command
*
* @return Help Page
*/
public String[] help() {
if (exDesc.length == 0 && desc != null) {
return new String[]{desc};
} else {
return exDesc;
}
}
/**
* Set the Help Page for this Command
*
* @param lines Help Page Lines
* @return The Command
*/
public Command help(String... lines) {
for (String line : lines) {
if (line.contains("\n")) throw new IllegalStringValueException("String contains illegal character(s)");
}
this.exDesc = lines;
return this;
}
/**
* Get the Usage of this Command
*
* @return Command Usage
*/
public String[] usage() {
return this.usage;
}
/**
* Set the Usage of this Command
*
* @param args Argument Placeholders
* @return The Command
*/
public Command usage(String... args) {
for (String arg : args) {
if (arg.length() == 0) throw new StringIndexOutOfBoundsException("Cannot use empty string for usage");
if (arg.contains(" ") || arg.contains("\n")) throw new IllegalStringValueException("String contains illegal character(s)");
}
this.usage = args;
return this;
}
/**
* Register this Command
*
* @param handles Aliases
* @return
*/
public void register(String... handles) {
SubAPI.getInstance().addCommand(this, handles);
}
}

View File

@ -47,6 +47,13 @@ public @interface SubPlugin {
*/
String website() default "";
/**
* Load Before Plugins List
*
* @return Load Before List
*/
String[] loadBefore() default {};
/**
* Dependencies List
*

View File

@ -7,6 +7,7 @@ import net.ME1312.SubServers.Host.Library.Log.Logger;
import net.ME1312.SubServers.Host.Library.Util;
import net.ME1312.SubServers.Host.Library.Version.Version;
import net.ME1312.SubServers.Host.SubAPI;
import net.ME1312.SubServers.Host.SubServers;
import java.io.File;
import java.net.URL;
@ -18,14 +19,16 @@ import java.util.*;
* @see SubPlugin
*/
public class SubPluginInfo implements ExtraDataHandler {
private Object plugin;
private SubServers plugin;
private Object main;
private String name;
private Version version;
private List<String> authors;
private String desc = null;
private URL website = null;
private List<String> depend = Collections.emptyList();
private List<String> softDepend = Collections.emptyList();
private String desc;
private URL website;
private List<String> loadBefore;
private List<String> depend;
private List<String> softDepend;
private Logger logger;
private boolean enabled = false;
@ -34,24 +37,31 @@ public class SubPluginInfo implements ExtraDataHandler {
/**
* Create a SubPlugin Description
*
* @param plugin Plugin Instance
* @param plugin SubServers.Host
* @param main Plugin
* @param name Plugin Name
* @param version Plugin Version
* @param authors Authors List
* @param description Plugin Description
* @param website Authors' Website
* @param softDependencies Soft Dependencies List
* @param dependencies Dependencies List
* @param softDependencies Soft Dependencies List
*/
public SubPluginInfo(Object plugin, String name, Version version, List<String> authors, String description, URL website, List<String> dependencies, List<String> softDependencies) {
if (Util.isNull(plugin, name, version, authors)) throw new NullPointerException();
if (authors.size() == 0) throw new ArrayIndexOutOfBoundsException("Authors list cannot be empty");
public SubPluginInfo(SubServers plugin, Object main, String name, Version version, List<String> authors, String description, URL website, List<String> loadBefore, List<String> dependencies, List<String> softDependencies) {
if (Util.isNull(plugin, main, name, version, authors)) throw new NullPointerException();
name = name.replaceAll("#|<|\\$|\\+|%|>|!|`|&|\\*|'|\\||\\{|\\?|\"|=|}|/|\\\\|\\s|@|\\.|\\n", "_");
if (name.length() == 0) throw new StringIndexOutOfBoundsException("Cannot use an empty name");
if (version.toString().length() == 0) throw new StringIndexOutOfBoundsException("Cannot use an empty version");
if (authors.size() == 0) throw new ArrayIndexOutOfBoundsException("Cannot use an empty authors list");
if (description != null && description.length() == 0) throw new StringIndexOutOfBoundsException("Cannot use an empty description");
this.plugin = plugin;
this.main = main;
this.name = name;
this.version = version;
this.authors = (authors == null)?Collections.emptyList():authors;
this.authors = authors;
this.desc = description;
this.website = website;
this.loadBefore = (loadBefore == null)?Collections.emptyList():loadBefore;
this.depend = (dependencies == null)?Collections.emptyList():dependencies;
this.softDepend = (softDependencies == null)?Collections.emptyList():softDependencies;
@ -59,7 +69,7 @@ public class SubPluginInfo implements ExtraDataHandler {
}
public Object get() {
return plugin;
return main;
}
/**
@ -107,6 +117,15 @@ public class SubPluginInfo implements ExtraDataHandler {
return this.website;
}
/**
* Gets the Load Before Plugins List
*
* @return Load Before Plugins List
*/
public List<String> getLoadBefore() {
return this.loadBefore;
}
/**
* Gets the Dependencies List
*
@ -158,7 +177,7 @@ public class SubPluginInfo implements ExtraDataHandler {
* @return Data Folder
*/
public File getDataFolder() {
File dir = new File(SubAPI.getInstance().getRuntimeDirectory(), "Plugins" + File.separator + name);
File dir = new File(plugin.api.getRuntimeDirectory(), "Plugins" + File.separator + name);
if (!dir.exists()) dir.mkdir();
return dir;
}

View File

@ -8,7 +8,7 @@ import java.util.UUID;
/**
* SubServers Task Builder Class
*/
public abstract class SubTaskBuilder implements Runnable {
public abstract class SubTask implements Runnable {
private long repeat = -1L;
private long delay = -1L;
private SubPluginInfo plugin;
@ -18,8 +18,7 @@ public abstract class SubTaskBuilder implements Runnable {
*
* @param plugin Plugin Creating
*/
public SubTaskBuilder(SubPluginInfo plugin) {
if (Util.isNull(plugin)) throw new NullPointerException();
public SubTask(SubPluginInfo plugin) {
this.plugin = plugin;
}
@ -28,7 +27,7 @@ public abstract class SubTaskBuilder implements Runnable {
*
* @return Plugin Info
*/
public SubPluginInfo getPlugin() {
public SubPluginInfo plugin() {
return this.plugin;
}
@ -38,7 +37,7 @@ public abstract class SubTaskBuilder implements Runnable {
* @param value Value
* @return Task Builder
*/
public SubTaskBuilder repeat(long value) {
public SubTask repeat(long value) {
if (Util.isNull(value)) throw new NullPointerException();
this.repeat = value;
return this;
@ -49,7 +48,7 @@ public abstract class SubTaskBuilder implements Runnable {
*
* @return Repeat Interval
*/
public long getRepeat() {
public long repeat() {
return this.repeat;
}
@ -59,7 +58,7 @@ public abstract class SubTaskBuilder implements Runnable {
* @param value Value
* @return Task Builder
*/
public SubTaskBuilder delay(long value) {
public SubTask delay(long value) {
if (Util.isNull(value)) throw new NullPointerException();
this.delay = value;
return this;
@ -70,7 +69,7 @@ public abstract class SubTaskBuilder implements Runnable {
*
* @return Task Delay
*/
public long getDelay() {
public long delay() {
return this.delay;
}

View File

@ -26,7 +26,7 @@ public final class Launch {
* @throws Exception
*/
public static void main(String[] args) throws Exception {
String mods = "";
String plugins = "";
File rtdir = new File(System.getProperty("user.dir"));
File tmpdir = File.createTempFile("SubServers.Host.", ".jar");
File pldir = new File(rtdir, "Plugins");
@ -37,21 +37,28 @@ public final class Launch {
System.out.println(">> Extracted ~/" + getCodeSourceLocation().getName());
if (pldir.isDirectory() && pldir.listFiles().length > 0) {
for (File mod : Arrays.asList(pldir.listFiles())) {
if (getFileExtension(mod.getName()).equalsIgnoreCase("zip")) {
extractZip(mod, tmpdir);
System.out.println(">> Extracted ~/plugins/" + mod.getName());
} else if (getFileExtension(mod.getName()).equalsIgnoreCase("jar")) {
extractJar(mod, tmpdir);
System.out.println(">> Extracted ~/plugins/" + mod.getName());
}
if (new File(tmpdir, "package.xml").exists()) {
NodeList node = DocumentBuilderFactory.newInstance().newDocumentBuilder().parse(new File(tmpdir, "package.xml")).getElementsByTagName("class");
if (node.getLength() > 0) {
for (int i = 0; i < node.getLength(); i++) {
mods += (mods.equals("")?"":" ") + node.item(i).getTextContent();
}
try {
boolean success = false;
if (getFileExtension(mod.getName()).equalsIgnoreCase("zip")) {
extractZip(mod, tmpdir);
success = true;
} else if (getFileExtension(mod.getName()).equalsIgnoreCase("jar")) {
extractJar(mod, tmpdir);
success = true;
}
new File(tmpdir, "package.xml").delete();
if (new File(tmpdir, "package.xml").exists()) {
NodeList xml = DocumentBuilderFactory.newInstance().newDocumentBuilder().parse(new File(tmpdir, "package.xml")).getElementsByTagName("class");
if (xml.getLength() > 0) {
for (int i = 0; i < xml.getLength(); i++) {
plugins += ((plugins.length() == 0)?"":" ") + xml.item(i).getTextContent().replace(' ', '_');
}
}
new File(tmpdir, "package.xml").delete();
}
if (success) System.out.println(">> Extracted ~/plugins/" + mod.getName());
} catch (Exception e) {
System.out.println(">> Couldn't extract ~/plugins/" + mod.getName());
e.printStackTrace();
}
}
}
@ -60,8 +67,8 @@ public final class Launch {
arguments.add(javaPath);
arguments.addAll(getVmArgs());
arguments.add("-Dsubservers.host.runtime=" + URLEncoder.encode(tmpdir.getPath(), "UTF-8"));
if (!mods.equals(""))
arguments.add("-Dsubservers.host.plugins=" + URLEncoder.encode(mods, "UTF-8"));
if (!plugins.equals(""))
arguments.add("-Dsubservers.host.plugins=" + URLEncoder.encode(plugins, "UTF-8"));
arguments.add("-cp");
arguments.add(tmpdir.getPath());
arguments.add("net.ME1312.SubServers.Host.SubServers");

View File

@ -3,6 +3,11 @@ package net.ME1312.SubServers.Host.Library.Event;
import net.ME1312.SubServers.Host.API.SubPluginInfo;
import net.ME1312.SubServers.Host.SubAPI;
import java.lang.reflect.Field;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.util.*;
/**
* SubEvent Layout Class
*/
@ -26,4 +31,41 @@ public abstract class Event {
public SubPluginInfo getPlugin() {
return plugin;
}
/**
* Get the handlers for this event
*
* @return Handler Map
*/
@SuppressWarnings({"deprecation", "unchecked"})
public Map<SubPluginInfo, List<Method>> getHandlers() throws IllegalAccessException {
try {
Field f = SubAPI.class.getDeclaredField("listeners");
f.setAccessible(true);
HashMap<EventPriority, HashMap<Class<? extends Event>, HashMap<SubPluginInfo, HashMap<Object, List<Method>>>>> listeners = (HashMap<EventPriority, HashMap<Class<? extends Event>, HashMap<SubPluginInfo, HashMap<Object, List<Method>>>>>) f.get(getAPI());
HashMap<SubPluginInfo, List<Method>> map = new LinkedHashMap<SubPluginInfo, List<Method>>();
f.setAccessible(false);
for (EventPriority priority : listeners.keySet()) {
if (!listeners.get(priority).keySet().contains(getClass())) continue;
for (SubPluginInfo plugin : listeners.get(priority).get(getClass()).keySet()) {
for (Object listener : listeners.get(priority).get(getClass()).get(plugin).keySet()) {
for (Method method : listeners.get(priority).get(getClass()).get(plugin).get(listener)) {
List<Method> methods = (map.keySet().contains(plugin))?map.get(plugin):new LinkedList<Method>();
methods.add(method);
map.put(plugin, methods);
}
}
}
}
return map;
} catch (NoSuchFieldException e) {
getAPI().getInternals().log.error(new InvocationTargetException(e, "Couldn't get handler list for event: " + toString()));
return null;
}
}
@Override
public String toString() {
return getClass().getTypeName();
}
}

View File

@ -0,0 +1,8 @@
package net.ME1312.SubServers.Host.Library.Exception;
public class IllegalStringValueException extends IllegalStateException {
public IllegalStringValueException() {}
public IllegalStringValueException(String s) {
super(s);
}
}

View File

@ -125,11 +125,11 @@ public class Logger {
*/
public void error(Throwable exception) {
Throwable error = exception;
String indent = " ";
String indent = " ";
boolean hasException = true;
while (hasException) {
String[] arrstring = new String[1];
arrstring[0] = (!indent.substring(4).equals("") ? new StringBuilder().append(indent.substring(4)).append("Caused by ").toString() : "") + error.getClass().getCanonicalName() + ": " + error.getMessage();
arrstring[0] = (!indent.substring(2).equals("") ? new StringBuilder().append(indent.substring(2)).append("Caused by ").toString() : "") + error.getClass().getCanonicalName() + ": " + error.getMessage();
this.error(arrstring);
Iterator<StackTraceElement> items = Arrays.asList(error.getStackTrace()).iterator();
while (items.hasNext()) {
@ -138,7 +138,7 @@ public class Logger {
if (error instanceof InvocationTargetException) {
this.error(indent);
error = ((InvocationTargetException)error).getTargetException();
indent = indent + " ";
indent = indent + " ";
continue;
}
hasException = false;

View File

@ -3,7 +3,7 @@ package net.ME1312.SubServers.Host.Library;
import net.ME1312.SubServers.Host.SubAPI;
import java.io.*;
import java.util.Random;
import java.util.*;
/**
* SubServers Utility Class
@ -29,6 +29,27 @@ public final class Util {
return ret;
}
/**
* Get keys by value from map
*
* @param map Map to search
* @param value Value to search for
* @param <K> Key
* @param <V> Value
* @return Search results
*/
public static <K, V> List<K> getBackwards(Map<K, V> map, V value) {
List<K> values = new ArrayList<K>();
for (K key : map.keySet()) {
if (map.get(key).equals(value)) {
values.add(key);
}
}
return values;
}
/**
* Read Everything from Reader
*

View File

@ -2,7 +2,7 @@ package net.ME1312.SubServers.Host;
import net.ME1312.SubServers.Host.API.Command;
import net.ME1312.SubServers.Host.API.SubPluginInfo;
import net.ME1312.SubServers.Host.API.SubTaskBuilder;
import net.ME1312.SubServers.Host.API.SubTask;
import net.ME1312.SubServers.Host.Library.Event.*;
import net.ME1312.SubServers.Host.Library.UniversalFile;
import net.ME1312.SubServers.Host.Library.Util;
@ -119,7 +119,7 @@ public final class SubAPI {
* @param builder SubTaskBuilder
* @return Task ID
*/
public UUID schedule(SubTaskBuilder builder) {
public UUID schedule(SubTask builder) {
if (Util.isNull(builder)) throw new NullPointerException();
UUID sid = getFreeSID();
TimerTask task = new TimerTask() {
@ -130,20 +130,20 @@ public final class SubAPI {
} catch (Throwable e) {
plugin.log.error(new InvocationTargetException(e, "Unhandled exception while running SubTask " + sid.toString()));
}
if (builder.getRepeat() <= 0) schedule.remove(sid);
if (builder.repeat() <= 0) schedule.remove(sid);
}
};
schedule.put(sid, new Timer("SubTask_" + sid.toString()));
if (builder.getRepeat() > 0) {
if (builder.getDelay() > 0) {
schedule.get(sid).scheduleAtFixedRate(task, builder.getDelay(), builder.getRepeat());
if (builder.repeat() > 0) {
if (builder.delay() > 0) {
schedule.get(sid).scheduleAtFixedRate(task, builder.delay(), builder.repeat());
} else {
schedule.get(sid).scheduleAtFixedRate(task, new Date(), builder.getRepeat());
schedule.get(sid).scheduleAtFixedRate(task, new Date(), builder.repeat());
}
} else {
if (builder.getDelay() > 0) {
schedule.get(sid).schedule(task, builder.getDelay());
if (builder.delay() > 0) {
schedule.get(sid).schedule(task, builder.delay());
} else {
new Thread(task).start();
}
@ -159,13 +159,7 @@ public final class SubAPI {
* @return Task ID
*/
public UUID schedule(SubPluginInfo plugin, Runnable run) {
if (Util.isNull(plugin, run)) throw new NullPointerException();
return schedule(new SubTaskBuilder(plugin) {
@Override
public void run() {
run.run();
}
});
return schedule(plugin, run, -1L, -1L);
}
/**
@ -177,13 +171,7 @@ public final class SubAPI {
* @return Task ID
*/
public UUID schedule(SubPluginInfo plugin, Runnable run, long delay) {
if (Util.isNull(plugin, run, delay)) throw new NullPointerException();
return schedule(new SubTaskBuilder(plugin) {
@Override
public void run() {
run.run();
}
}.delay(delay));
return schedule(plugin, run, delay, -1L);
}
/**
@ -197,7 +185,7 @@ public final class SubAPI {
*/
public UUID schedule(SubPluginInfo plugin, Runnable run, long delay, long repeat) {
if (Util.isNull(plugin, run, delay, repeat)) throw new NullPointerException();
return schedule(new SubTaskBuilder(plugin) {
return schedule(new SubTask(plugin) {
@Override
public void run() {
run.run();
@ -219,13 +207,13 @@ public final class SubAPI {
}
/**
* Register a SubEvent Listener
* Register SubEvent Listeners
*
* @param plugin PluginInfo
* @param listener Listener
* @param listeners Listeners
*/
public void addListener(SubPluginInfo plugin, Listener listener) {
addListener(plugin, (Object) listener);
public void addListener(SubPluginInfo plugin, Listener... listeners) {
for (Listener listener : listeners) addListener(plugin, (Object) listener);
}
@SuppressWarnings("unchecked")
void addListener(SubPluginInfo plugin, Object listener) {
@ -257,13 +245,13 @@ public final class SubAPI {
}
/**
* Unregister a SubEvent Listener
* Unregister SubEvent Listeners
*
* @param plugin PluginInfo
* @param listener Listener
* @param listeners Listeners
*/
public void removeListener(SubPluginInfo plugin, Listener listener) {
removeListener(plugin, (Object) listener);
public void removeListener(SubPluginInfo plugin, Listener... listeners) {
for (Listener listener : listeners) removeListener(plugin, (Object) listener);
}
void removeListener(SubPluginInfo plugin, Object listener) {
if (Util.isNull(plugin, listener)) throw new NullPointerException();
@ -288,7 +276,7 @@ public final class SubAPI {
*
* @param event SubEvent
*/
public void runEvent(Event event) {
public void executeEvent(Event event) {
if (Util.isNull(event)) throw new NullPointerException();
for (EventPriority priority : listeners.keySet()) {
if (!listeners.get(priority).keySet().contains(event.getClass())) continue;

View File

@ -1,5 +1,6 @@
package net.ME1312.SubServers.Host;
import net.ME1312.SubServers.Host.API.Command;
import net.ME1312.SubServers.Host.API.Event.CommandPreProcessEvent;
import net.ME1312.SubServers.Host.API.Event.SubDisableEvent;
import net.ME1312.SubServers.Host.API.Event.SubEnableEvent;
@ -68,6 +69,10 @@ public final class SubServers {
long begin = Calendar.getInstance().getTime().getTime();
long i = 0;
log.info("Loading SubAPI Plugins...");
/*
* Decode Plugin List Variable
*/
String decoded = URLDecoder.decode(System.getProperty("subservers.host.plugins"), "UTF-8");
List<String> classes = new LinkedList<String>();
HashMap<String, SubPluginInfo> plugins = new LinkedHashMap<String, SubPluginInfo>();
@ -76,6 +81,10 @@ public final class SubServers {
} else {
classes.addAll(Arrays.asList(decoded.split(" ")));
}
/*
* Load Main Classes & Plugin Descriptions
*/
for (String main : classes) {
try {
Class<?> clazz = Class.forName(main);
@ -83,11 +92,12 @@ public final class SubServers {
Object obj = clazz.getConstructor().newInstance();
try {
SubPluginInfo plugin = new SubPluginInfo(obj, clazz.getAnnotation(SubPlugin.class).name(), new Version(clazz.getAnnotation(SubPlugin.class).version()),
SubPluginInfo plugin = new SubPluginInfo(this, obj, clazz.getAnnotation(SubPlugin.class).name(), new Version(clazz.getAnnotation(SubPlugin.class).version()),
Arrays.asList(clazz.getAnnotation(SubPlugin.class).authors()), (clazz.getAnnotation(SubPlugin.class).description().length() > 0)?clazz.getAnnotation(SubPlugin.class).description():null,
(clazz.getAnnotation(SubPlugin.class).website().length() > 0)?new URL(clazz.getAnnotation(SubPlugin.class).website()):null, Arrays.asList(clazz.getAnnotation(SubPlugin.class).depend()),
Arrays.asList(clazz.getAnnotation(SubPlugin.class).softDepend()));
if (plugins.keySet().contains(plugin.getName().toLowerCase())) log.warn("Duplicate plugin: " + plugin.getName());
(clazz.getAnnotation(SubPlugin.class).website().length() > 0)?new URL(clazz.getAnnotation(SubPlugin.class).website()):null, Arrays.asList(clazz.getAnnotation(SubPlugin.class).loadBefore()),
Arrays.asList(clazz.getAnnotation(SubPlugin.class).depend()), Arrays.asList(clazz.getAnnotation(SubPlugin.class).softDepend()));
if (plugins.keySet().contains(plugin.getName().toLowerCase())) log.warn("Duplicate plugin: " + plugin.getName().toLowerCase());
plugin.addExtra("subservers.plugin.loadafter", new ArrayList<String>());
plugins.put(plugin.getName().toLowerCase(), plugin);
} catch (Throwable e) {
log.error(new IllegalPluginException(e, "Cannot load plugin descriptor for main class: " + main));
@ -101,10 +111,25 @@ public final class SubServers {
}
}
/*
* Load Extra Plugin Settings
*/
for (SubPluginInfo plugin : plugins.values()) {
for (String loadbefore : plugin.getLoadBefore()) {
if (plugins.keySet().contains(loadbefore.toLowerCase())) {
List<String> loadafter = plugins.get(loadbefore.toLowerCase()).getExtra("subservers.plugin.loadafter").asRawStringList();
loadafter.add(plugin.getName().toLowerCase());
plugins.get(loadbefore.toLowerCase()).addExtra("subservers.plugin.loadafter", loadafter);
}
}
}
/*
* Register Plugins
*/
while (plugins.size() > 0) {
List<String> loaded = new ArrayList<String>();
for (String name : plugins.keySet()) {
SubPluginInfo plugin = plugins.get(name);
for (SubPluginInfo plugin : plugins.values()) {
try {
boolean load = true;
for (String depend : plugin.getDependancies()) {
@ -119,22 +144,26 @@ public final class SubServers {
load = false;
}
}
if (load) {
try {
plugin.setEnabled(true);
api.addListener(plugin, plugin.get());
api.plugins.put(plugin.getName().toLowerCase(), plugin);
loaded.add(name);
log.info("Loaded " + plugin.getName() + " v" + plugin.getVersion().toString());
i++;
} catch (Throwable e) {
plugin.setEnabled(false);
throw new InvocationTargetException(e, "Problem enabling plugin: " + plugin.getName() + " v" + plugin.getVersion().toString() + " (is it up to date?)");
for (String loadafter : plugin.getExtra("subservers.plugin.loadafter").asRawStringList()) {
if (plugins.keySet().contains(loadafter.toLowerCase())) {
load = false;
}
}
if (load) try {
plugin.removeExtra("subservers.plugin.loadafter");
plugin.setEnabled(true);
api.addListener(plugin, plugin.get());
api.plugins.put(plugin.getName().toLowerCase(), plugin);
loaded.add(plugin.getName().toLowerCase());
log.info("Loaded " + plugin.getName() + " v" + plugin.getVersion().toString() + " by " + plugin.getAuthors().toString().substring(1, plugin.getAuthors().toString().length() - 1));
i++;
} catch (Throwable e) {
plugin.setEnabled(false);
throw new InvocationTargetException(e, "Problem loading plugin: " + plugin.getName());
}
} catch (InvocationTargetException e) {
log.error(e);
loaded.add(name);
loaded.add(plugin.getName().toLowerCase());
}
}
int progress = 0;
@ -143,20 +172,19 @@ public final class SubServers {
plugins.remove(name);
}
if (progress == 0 && plugins.size() != 0) {
log.error(new IllegalStateException("Cannot load any more plugins but there's " + plugins.size() + " left"));
log.error(new IllegalStateException("Couldn't load more plugins but there are " + plugins.size() + " more"));
break;
}
}
api.runEvent(new SubEnableEvent(this));
log.info("SubServers > " + i + " Plugin"+((i == 1)?"":"s") + " loaded in " + (Calendar.getInstance().getTime().getTime() - begin) + "ms");
/*
* Enable Plugins
*/
api.executeEvent(new SubEnableEvent(this));
log.info(i + " Plugin"+((i == 1)?"":"s") + " loaded in " + (Calendar.getInstance().getTime().getTime() - begin) + "ms");
}
api.addCommand((command, cargs) -> log.info(
System.getProperty("os.name") + ' ' + System.getProperty("os.version") + ',',
"Java " + System.getProperty("java.version") + ',',
"SubServers.Host v" + version.toString() + ((bversion == null)?"":" BETA " + bversion.toString())), "ver", "version");
api.addCommand((command, cargs) -> stop(0), "stop", "exit");
loadDefaults();
running = true;
loop();
@ -169,11 +197,12 @@ public final class SubServers {
Scanner console = new Scanner(System.in);
while (running && console.hasNextLine()) {
if (!running) continue;
final String umsg = console.nextLine();
final CommandPreProcessEvent event;
api.runEvent(event = new CommandPreProcessEvent(this, umsg));
api.executeEvent(event = new CommandPreProcessEvent(this, umsg));
if (!event.isCancelled()) {
final String cmd = (umsg.contains(" ")?umsg.split(" "):new String[]{umsg})[0];
final String cmd = (umsg.startsWith("/"))?((umsg.contains(" ")?umsg.split(" "):new String[]{umsg})[0].substring(1)):((umsg.contains(" ")?umsg.split(" "):new String[]{umsg})[0]);
if (api.commands.keySet().contains(cmd.toLowerCase())) {
ArrayList<String> args = new ArrayList<String>();
args.addAll(Arrays.asList(umsg.contains(" ") ? umsg.split(" ") : new String[]{umsg}));
@ -193,11 +222,119 @@ public final class SubServers {
}
}
private void loadDefaults() {
new Command(null) {
@Override
public void command(String handle, String[] args) {
if (args.length == 0) {
log.info(
System.getProperty("os.name") + ' ' + System.getProperty("os.version") + ',',
"Java " + System.getProperty("java.version") + ',',
"SubServers.Host v" + version.toString() + ((bversion == null) ? "" : " BETA " + bversion.toString()));
} else if (api.plugins.get(args[0].toLowerCase()) != null) {
SubPluginInfo plugin = api.plugins.get(args[0].toLowerCase());
log.info(plugin.getName() + " v" + plugin.getVersion() + " by " + plugin.getAuthors().toString().substring(1, plugin.getAuthors().toString().length() - 1));
if (plugin.getWebsite() != null) log.info(plugin.getWebsite().toString());
if (plugin.getDescription() != null) log.info("", plugin.getDescription());
} else {
log.info("There is no plugin with that name");
}
}
}.usage("[plugin]").description("Gets the version of the System and SubServers or the specified Plugin").help(
"This command will print what OS you're running, your OS version,",
"your Java version, and the SubServers.Host version.",
"",
"If the [plugin] option is provided, it will print information about the specified plugin instead.",
"",
"Examples:",
" /version",
" /version ExamplePlugin"
).register("ver", "version");
new Command(null) {
public void command(String handle, String[] args) {
HashMap<String, String> commands = new LinkedHashMap<String, String>();
HashMap<Command, String> handles = new LinkedHashMap<Command, String>();
int length = 0;
for(String command : api.commands.keySet()) {
String formatted = "/ ";
Command cmd = api.commands.get(command);
String alias = (handles.keySet().contains(cmd))?handles.get(cmd):null;
if (alias != null) formatted = commands.get(alias);
if (cmd.usage().length == 0 || alias != null) {
formatted = formatted.replaceFirst("\\s", ((alias != null)?"|":"") + command + ' ');
} else {
String usage = "";
for (String str : cmd.usage()) usage += ((usage.length() == 0)?"":" ") + str;
formatted = formatted.replaceFirst("\\s", command + ' ' + usage + ' ');
}
if(formatted.length() > length) {
length = formatted.length();
}
if (alias == null) {
commands.put(command, formatted);
handles.put(cmd, command);
} else {
commands.put(alias, formatted);
}
}
if (args.length == 0) {
log.info("SubServers.Host Command List:");
for (String command : commands.keySet()) {
String formatted = commands.get(command);
Command cmd = api.commands.get(command);
while (formatted.length() < length) {
formatted += ' ';
}
formatted += ((cmd.description() == null || cmd.description().length() == 0)?" ":"- "+cmd.description());
log.info(formatted);
}
} else if (api.commands.keySet().contains((args[0].startsWith("/"))?args[0].toLowerCase().substring(1):args[0].toLowerCase())) {
Command cmd = api.commands.get((args[0].startsWith("/"))?args[0].toLowerCase().substring(1):args[0].toLowerCase());
String formatted = commands.get(Util.getBackwards(api.commands, cmd).get(0));
log.info(formatted.substring(0, formatted.length() - 1));
for (String line : cmd.help()) {
log.info(" " + line);
}
} else {
log.info("There is no command with that name");
}
}
}.usage("[command]").description("Prints a list of the commands and/or their descriptions").help(
"This command will print a list of all currently registered commands and aliases,",
"along with their usage and a short description.",
"",
"If the [command] option is provided, it will print that command, it's aliases,",
"it's usage, and an extended description like the one you see here instead.",
"",
"Examples:",
" /help",
" /help end"
).register("help", "?");
new Command(null) {
@Override
public void command(String handle, String[] args) {
stop(0);
}
}.description("Stops this SubServers instance").help(
"This command will shutdown this instance of SubServers.Host,",
"SubServers running on this host, and any plugins currently running via SubAPI.",
"",
"Example:",
" /stop"
).register("exit", "end");
}
public void stop(int exit) {
log.info("Shutting down...");
SubDisableEvent event = new SubDisableEvent(this, exit);
api.runEvent(event);
running = false;
SubDisableEvent event = new SubDisableEvent(this, exit);
api.executeEvent(event);
if (subdata != null) Util.isException(() -> subdata.destroy(false));
Util.isException(FileLogger::end);