mirror of
https://github.com/ME1312/SubServers-2.git
synced 2025-01-25 00:51:22 +01:00
SubServers Release v2.11.2e
This commit is contained in:
parent
6010edb868
commit
f0f5da7816
Binary file not shown.
Binary file not shown.
@ -12,6 +12,7 @@
|
||||
<div class="indexContainer">
|
||||
<ul>
|
||||
<li><a href="net/ME1312/SubServers/Client/Bukkit/Library/Container.html" title="class in net.ME1312.SubServers.Client.Bukkit.Library" target="classFrame">Container</a></li>
|
||||
<li><a href="net/ME1312/SubServers/Client/Bukkit/Library/ExtraDataHandler.html" title="interface in net.ME1312.SubServers.Client.Bukkit.Library" target="classFrame"><span class="interfaceName">ExtraDataHandler</span></a></li>
|
||||
<li><a href="net/ME1312/SubServers/Client/Bukkit/Library/Exception/IllegalPacketException.html" title="class in net.ME1312.SubServers.Client.Bukkit.Library.Exception" target="classFrame">IllegalPacketException</a></li>
|
||||
<li><a href="net/ME1312/SubServers/Client/Bukkit/Library/JSONCallback.html" title="interface in net.ME1312.SubServers.Client.Bukkit.Library" target="classFrame"><span class="interfaceName">JSONCallback</span></a></li>
|
||||
<li><a href="net/ME1312/SubServers/Client/Bukkit/Library/NamedContainer.html" title="class in net.ME1312.SubServers.Client.Bukkit.Library" target="classFrame">NamedContainer</a></li>
|
||||
|
@ -12,6 +12,7 @@
|
||||
<div class="indexContainer">
|
||||
<ul>
|
||||
<li><a href="net/ME1312/SubServers/Client/Bukkit/Library/Container.html" title="class in net.ME1312.SubServers.Client.Bukkit.Library">Container</a></li>
|
||||
<li><a href="net/ME1312/SubServers/Client/Bukkit/Library/ExtraDataHandler.html" title="interface in net.ME1312.SubServers.Client.Bukkit.Library"><span class="interfaceName">ExtraDataHandler</span></a></li>
|
||||
<li><a href="net/ME1312/SubServers/Client/Bukkit/Library/Exception/IllegalPacketException.html" title="class in net.ME1312.SubServers.Client.Bukkit.Library.Exception">IllegalPacketException</a></li>
|
||||
<li><a href="net/ME1312/SubServers/Client/Bukkit/Library/JSONCallback.html" title="interface in net.ME1312.SubServers.Client.Bukkit.Library"><span class="interfaceName">JSONCallback</span></a></li>
|
||||
<li><a href="net/ME1312/SubServers/Client/Bukkit/Library/NamedContainer.html" title="class in net.ME1312.SubServers.Client.Bukkit.Library">NamedContainer</a></li>
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -119,6 +119,7 @@ var activeTableTab = "activeTableTab";
|
||||
<pre>public class <span class="typeNameLabel">SubAddServerEvent</span>
|
||||
extends org.bukkit.event.Event
|
||||
implements <a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/SubEvent.html" title="interface in net.ME1312.SubServers.Client.Bukkit.Library">SubEvent</a></pre>
|
||||
<div class="block">Add Server Event</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
@ -119,6 +119,7 @@ var activeTableTab = "activeTableTab";
|
||||
<pre>public class <span class="typeNameLabel">SubCreateEvent</span>
|
||||
extends org.bukkit.event.Event
|
||||
implements <a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/SubEvent.html" title="interface in net.ME1312.SubServers.Client.Bukkit.Library">SubEvent</a></pre>
|
||||
<div class="block">Server Create Event</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
@ -119,6 +119,7 @@ var activeTableTab = "activeTableTab";
|
||||
<pre>public class <span class="typeNameLabel">SubDataRecieveGenericInfoEvent</span>
|
||||
extends org.bukkit.event.Event
|
||||
implements <a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/SubEvent.html" title="interface in net.ME1312.SubServers.Client.Bukkit.Library">SubEvent</a></pre>
|
||||
<div class="block">SubData Recieve Generic Info Event</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
@ -119,6 +119,7 @@ var activeTableTab = "activeTableTab";
|
||||
<pre>public class <span class="typeNameLabel">SubRemoveServerEvent</span>
|
||||
extends org.bukkit.event.Event
|
||||
implements <a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/SubEvent.html" title="interface in net.ME1312.SubServers.Client.Bukkit.Library">SubEvent</a></pre>
|
||||
<div class="block">Remove Server Event</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
@ -155,7 +156,7 @@ implements <a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Librar
|
||||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Event/SubRemoveServerEvent.html#SubRemoveServerEvent-java.util.UUID-java.lang.String-java.lang.String-">SubRemoveServerEvent</a></span>(java.util.UUID player,
|
||||
java.lang.String host,
|
||||
java.lang.String server)</code>
|
||||
<div class="block">Server Add Event</div>
|
||||
<div class="block">Server Remove Event</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@ -196,7 +197,7 @@ implements <a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Librar
|
||||
<tr id="i4" class="altColor">
|
||||
<td class="colFirst"><code>java.lang.String</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Event/SubRemoveServerEvent.html#getServer--">getServer</a></span>()</code>
|
||||
<div class="block">Gets the Server to be Added</div>
|
||||
<div class="block">Gets the Server to be Removed</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@ -237,7 +238,7 @@ implements <a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Librar
|
||||
<pre>public SubRemoveServerEvent(java.util.UUID player,
|
||||
java.lang.String host,
|
||||
java.lang.String server)</pre>
|
||||
<div class="block">Server Add Event</div>
|
||||
<div class="block">Server Remove Event</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>player</code> - Player Adding Server</dd>
|
||||
@ -260,10 +261,10 @@ implements <a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Librar
|
||||
<li class="blockList">
|
||||
<h4>getServer</h4>
|
||||
<pre>public java.lang.String getServer()</pre>
|
||||
<div class="block">Gets the Server to be Added</div>
|
||||
<div class="block">Gets the Server to be Removed</div>
|
||||
<dl>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>The Server to be Added</dd>
|
||||
<dd>The Server to be Removed</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
|
@ -119,6 +119,7 @@ var activeTableTab = "activeTableTab";
|
||||
<pre>public class <span class="typeNameLabel">SubSendCommandEvent</span>
|
||||
extends org.bukkit.event.Event
|
||||
implements <a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/SubEvent.html" title="interface in net.ME1312.SubServers.Client.Bukkit.Library">SubEvent</a></pre>
|
||||
<div class="block">Send Command Event</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
@ -119,6 +119,7 @@ var activeTableTab = "activeTableTab";
|
||||
<pre>public class <span class="typeNameLabel">SubStartEvent</span>
|
||||
extends org.bukkit.event.Event
|
||||
implements <a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/SubEvent.html" title="interface in net.ME1312.SubServers.Client.Bukkit.Library">SubEvent</a></pre>
|
||||
<div class="block">Start Server Event</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
@ -119,6 +119,7 @@ var activeTableTab = "activeTableTab";
|
||||
<pre>public class <span class="typeNameLabel">SubStopEvent</span>
|
||||
extends org.bukkit.event.Event
|
||||
implements <a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/SubEvent.html" title="interface in net.ME1312.SubServers.Client.Bukkit.Library">SubEvent</a></pre>
|
||||
<div class="block">Server Stop Event</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
@ -119,6 +119,7 @@ var activeTableTab = "activeTableTab";
|
||||
<pre>public class <span class="typeNameLabel">SubStoppedEvent</span>
|
||||
extends org.bukkit.event.Event
|
||||
implements <a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/SubEvent.html" title="interface in net.ME1312.SubServers.Client.Bukkit.Library">SubEvent</a></pre>
|
||||
<div class="block">Server Shell Exit Event</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
@ -82,35 +82,51 @@
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Event/SubAddServerEvent.html" title="class in net.ME1312.SubServers.Client.Bukkit.Event">SubAddServerEvent</a></td>
|
||||
<td class="colLast"> </td>
|
||||
<td class="colLast">
|
||||
<div class="block">Add Server Event</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Event/SubCreateEvent.html" title="class in net.ME1312.SubServers.Client.Bukkit.Event">SubCreateEvent</a></td>
|
||||
<td class="colLast"> </td>
|
||||
<td class="colLast">
|
||||
<div class="block">Server Create Event</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Event/SubDataRecieveGenericInfoEvent.html" title="class in net.ME1312.SubServers.Client.Bukkit.Event">SubDataRecieveGenericInfoEvent</a></td>
|
||||
<td class="colLast"> </td>
|
||||
<td class="colLast">
|
||||
<div class="block">SubData Recieve Generic Info Event</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Event/SubRemoveServerEvent.html" title="class in net.ME1312.SubServers.Client.Bukkit.Event">SubRemoveServerEvent</a></td>
|
||||
<td class="colLast"> </td>
|
||||
<td class="colLast">
|
||||
<div class="block">Remove Server Event</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Event/SubSendCommandEvent.html" title="class in net.ME1312.SubServers.Client.Bukkit.Event">SubSendCommandEvent</a></td>
|
||||
<td class="colLast"> </td>
|
||||
<td class="colLast">
|
||||
<div class="block">Send Command Event</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Event/SubStartEvent.html" title="class in net.ME1312.SubServers.Client.Bukkit.Event">SubStartEvent</a></td>
|
||||
<td class="colLast"> </td>
|
||||
<td class="colLast">
|
||||
<div class="block">Start Server Event</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Event/SubStopEvent.html" title="class in net.ME1312.SubServers.Client.Bukkit.Event">SubStopEvent</a></td>
|
||||
<td class="colLast"> </td>
|
||||
<td class="colLast">
|
||||
<div class="block">Server Stop Event</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Event/SubStoppedEvent.html" title="class in net.ME1312.SubServers.Client.Bukkit.Event">SubStoppedEvent</a></td>
|
||||
<td class="colLast"> </td>
|
||||
<td class="colLast">
|
||||
<div class="block">Server Shell Exit Event</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
@ -100,6 +100,7 @@ var activeTableTab = "activeTableTab";
|
||||
<hr>
|
||||
<br>
|
||||
<pre>public interface <span class="typeNameLabel">Renderer</span></pre>
|
||||
<div class="block">GUI Renderer Layout Class</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
@ -120,16 +121,22 @@ var activeTableTab = "activeTableTab";
|
||||
</tr>
|
||||
<tr id="i0" class="altColor">
|
||||
<td class="colFirst"><code>org.bukkit.inventory.ItemStack</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Graphic/Renderer.html#getIcon--">getIcon</a></span>()</code> </td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Graphic/Renderer.html#getIcon--">getIcon</a></span>()</code>
|
||||
<div class="block">Get Renderer Icon</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i1" class="rowColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Graphic/Renderer.html#isEnabled-java.lang.String-">isEnabled</a></span>(java.lang.String object)</code> </td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Graphic/Renderer.html#isEnabled-java.lang.String-">isEnabled</a></span>(java.lang.String object)</code>
|
||||
<div class="block">Check if this Renderer is enabled for this Object</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i2" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Graphic/Renderer.html#open-org.bukkit.entity.Player-java.lang.String-">open</a></span>(org.bukkit.entity.Player player,
|
||||
java.lang.String object)</code> </td>
|
||||
java.lang.String object)</code>
|
||||
<div class="block">Open the GUI</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
@ -154,6 +161,12 @@ var activeTableTab = "activeTableTab";
|
||||
<h4>open</h4>
|
||||
<pre>void open(org.bukkit.entity.Player player,
|
||||
java.lang.String object)</pre>
|
||||
<div class="block">Open the GUI</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>player</code> - Player Opening</dd>
|
||||
<dd><code>object</code> - Object Name</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getIcon--">
|
||||
@ -163,6 +176,11 @@ var activeTableTab = "activeTableTab";
|
||||
<li class="blockList">
|
||||
<h4>getIcon</h4>
|
||||
<pre>org.bukkit.inventory.ItemStack getIcon()</pre>
|
||||
<div class="block">Get Renderer Icon</div>
|
||||
<dl>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>Icon</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="isEnabled-java.lang.String-">
|
||||
@ -172,6 +190,13 @@ var activeTableTab = "activeTableTab";
|
||||
<li class="blockList">
|
||||
<h4>isEnabled</h4>
|
||||
<pre>boolean isEnabled(java.lang.String object)</pre>
|
||||
<div class="block">Check if this Renderer is enabled for this Object</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>object</code> - Object Name</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>Enabled Status</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
|
@ -114,6 +114,7 @@ var activeTableTab = "activeTableTab";
|
||||
<pre>public class <span class="typeNameLabel">UIListener</span>
|
||||
extends java.lang.Object
|
||||
implements org.bukkit.event.Listener</pre>
|
||||
<div class="block">GUI Listener</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
@ -132,7 +133,9 @@ implements org.bukkit.event.Listener</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/Client/Bukkit/Graphic/UIListener.html#UIListener-net.ME1312.SubServers.Client.Bukkit.SubPlugin-">UIListener</a></span>(<a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/SubPlugin.html" title="class in net.ME1312.SubServers.Client.Bukkit">SubPlugin</a> plugin)</code> </td>
|
||||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Graphic/UIListener.html#UIListener-net.ME1312.SubServers.Client.Bukkit.SubPlugin-">UIListener</a></span>(<a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/SubPlugin.html" title="class in net.ME1312.SubServers.Client.Bukkit">SubPlugin</a> plugin)</code>
|
||||
<div class="block">Creates a new GUI Listener</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
@ -151,15 +154,21 @@ implements org.bukkit.event.Listener</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/Client/Bukkit/Graphic/UIListener.html#clean-org.bukkit.event.player.PlayerQuitEvent-">clean</a></span>(org.bukkit.event.player.PlayerQuitEvent event)</code> </td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Graphic/UIListener.html#clean-org.bukkit.event.player.PlayerQuitEvent-">clean</a></span>(org.bukkit.event.player.PlayerQuitEvent event)</code>
|
||||
<div class="block">Clean Renderers</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/Client/Bukkit/Graphic/UIListener.html#click-org.bukkit.event.inventory.InventoryClickEvent-">click</a></span>(org.bukkit.event.inventory.InventoryClickEvent event)</code> </td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Graphic/UIListener.html#click-org.bukkit.event.inventory.InventoryClickEvent-">click</a></span>(org.bukkit.event.inventory.InventoryClickEvent event)</code>
|
||||
<div class="block">Click Listener</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i2" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Graphic/UIListener.html#close-org.bukkit.event.inventory.InventoryCloseEvent-">close</a></span>(org.bukkit.event.inventory.InventoryCloseEvent event)</code> </td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Graphic/UIListener.html#close-org.bukkit.event.inventory.InventoryCloseEvent-">close</a></span>(org.bukkit.event.inventory.InventoryCloseEvent event)</code>
|
||||
<div class="block">GUI Close Listener</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i3" class="rowColor">
|
||||
<td class="colFirst"><code><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Graphic/UIRenderer.html" title="class in net.ME1312.SubServers.Client.Bukkit.Graphic">UIRenderer</a></code></td>
|
||||
@ -169,11 +178,15 @@ implements org.bukkit.event.Listener</pre>
|
||||
</tr>
|
||||
<tr id="i4" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Graphic/UIListener.html#input-org.bukkit.event.player.PlayerChatEvent-">input</a></span>(org.bukkit.event.player.PlayerChatEvent event)</code> </td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Graphic/UIListener.html#input-org.bukkit.event.player.PlayerChatEvent-">input</a></span>(org.bukkit.event.player.PlayerChatEvent event)</code>
|
||||
<div class="block">Input Listener</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i5" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Graphic/UIListener.html#input-org.bukkit.event.player.PlayerCommandPreprocessEvent-">input</a></span>(org.bukkit.event.player.PlayerCommandPreprocessEvent event)</code> </td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Graphic/UIListener.html#input-org.bukkit.event.player.PlayerCommandPreprocessEvent-">input</a></span>(org.bukkit.event.player.PlayerCommandPreprocessEvent event)</code>
|
||||
<div class="block">Input Listener</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
@ -204,6 +217,11 @@ implements org.bukkit.event.Listener</pre>
|
||||
<li class="blockList">
|
||||
<h4>UIListener</h4>
|
||||
<pre>public UIListener(<a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/SubPlugin.html" title="class in net.ME1312.SubServers.Client.Bukkit">SubPlugin</a> plugin)</pre>
|
||||
<div class="block">Creates a new GUI Listener</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>plugin</code> - Event</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
@ -237,6 +255,11 @@ implements org.bukkit.event.Listener</pre>
|
||||
<li class="blockList">
|
||||
<h4>click</h4>
|
||||
<pre>public void click(org.bukkit.event.inventory.InventoryClickEvent event)</pre>
|
||||
<div class="block">Click Listener</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>event</code> - Event</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="input-org.bukkit.event.player.PlayerChatEvent-">
|
||||
@ -246,6 +269,11 @@ implements org.bukkit.event.Listener</pre>
|
||||
<li class="blockList">
|
||||
<h4>input</h4>
|
||||
<pre>public void input(org.bukkit.event.player.PlayerChatEvent event)</pre>
|
||||
<div class="block">Input Listener</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>event</code> - Event</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="input-org.bukkit.event.player.PlayerCommandPreprocessEvent-">
|
||||
@ -255,6 +283,11 @@ implements org.bukkit.event.Listener</pre>
|
||||
<li class="blockList">
|
||||
<h4>input</h4>
|
||||
<pre>public void input(org.bukkit.event.player.PlayerCommandPreprocessEvent event)</pre>
|
||||
<div class="block">Input Listener</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>event</code> - Event</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="close-org.bukkit.event.inventory.InventoryCloseEvent-">
|
||||
@ -264,6 +297,11 @@ implements org.bukkit.event.Listener</pre>
|
||||
<li class="blockList">
|
||||
<h4>close</h4>
|
||||
<pre>public void close(org.bukkit.event.inventory.InventoryCloseEvent event)</pre>
|
||||
<div class="block">GUI Close Listener</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>event</code> - Event</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="clean-org.bukkit.event.player.PlayerQuitEvent-">
|
||||
@ -273,6 +311,11 @@ implements org.bukkit.event.Listener</pre>
|
||||
<li class="blockList">
|
||||
<h4>clean</h4>
|
||||
<pre>public void clean(org.bukkit.event.player.PlayerQuitEvent event)</pre>
|
||||
<div class="block">Clean Renderers</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>event</code> - Event</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
|
@ -118,6 +118,7 @@ var activeTableTab = "activeTableTab";
|
||||
<br>
|
||||
<pre>public static class <span class="typeNameLabel">UIRenderer.CreatorOptions</span>
|
||||
extends <a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Graphic/UIRenderer.Options.html" title="class in net.ME1312.SubServers.Client.Bukkit.Graphic">UIRenderer.Options</a></pre>
|
||||
<div class="block">SubCreator Options Class</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
@ -117,6 +117,7 @@ var activeTableTab = "activeTableTab";
|
||||
<br>
|
||||
<pre>public abstract static class <span class="typeNameLabel">UIRenderer.Options</span>
|
||||
extends java.lang.Object</pre>
|
||||
<div class="block">Options Layout Class</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
@ -129,11 +129,15 @@ extends java.lang.Object</pre>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>static class </code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Graphic/UIRenderer.CreatorOptions.html" title="class in net.ME1312.SubServers.Client.Bukkit.Graphic">UIRenderer.CreatorOptions</a></span></code> </td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Graphic/UIRenderer.CreatorOptions.html" title="class in net.ME1312.SubServers.Client.Bukkit.Graphic">UIRenderer.CreatorOptions</a></span></code>
|
||||
<div class="block">SubCreator Options Class</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>static class </code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Graphic/UIRenderer.Options.html" title="class in net.ME1312.SubServers.Client.Bukkit.Graphic">UIRenderer.Options</a></span></code> </td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Graphic/UIRenderer.Options.html" title="class in net.ME1312.SubServers.Client.Bukkit.Graphic">UIRenderer.Options</a></span></code>
|
||||
<div class="block">Options Layout Class</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
|
@ -82,7 +82,9 @@
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Graphic/Renderer.html" title="interface in net.ME1312.SubServers.Client.Bukkit.Graphic">Renderer</a></td>
|
||||
<td class="colLast"> </td>
|
||||
<td class="colLast">
|
||||
<div class="block">GUI Renderer Layout Class</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
@ -97,7 +99,9 @@
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Graphic/UIListener.html" title="class in net.ME1312.SubServers.Client.Bukkit.Graphic">UIListener</a></td>
|
||||
<td class="colLast"> </td>
|
||||
<td class="colLast">
|
||||
<div class="block">GUI Listener</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Graphic/UIRenderer.html" title="class in net.ME1312.SubServers.Client.Bukkit.Graphic">UIRenderer</a></td>
|
||||
@ -105,11 +109,15 @@
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Graphic/UIRenderer.CreatorOptions.html" title="class in net.ME1312.SubServers.Client.Bukkit.Graphic">UIRenderer.CreatorOptions</a></td>
|
||||
<td class="colLast"> </td>
|
||||
<td class="colLast">
|
||||
<div class="block">SubCreator Options Class</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Graphic/UIRenderer.Options.html" title="class in net.ME1312.SubServers.Client.Bukkit.Graphic">UIRenderer.Options</a></td>
|
||||
<td class="colLast"> </td>
|
||||
<td class="colLast">
|
||||
<div class="block">Options Layout Class</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
@ -109,6 +109,7 @@ var activeTableTab = "activeTableTab";
|
||||
<br>
|
||||
<pre>public class <span class="typeNameLabel">YAMLConfig</span>
|
||||
extends java.lang.Object</pre>
|
||||
<div class="block">YAML Config Class</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
@ -127,7 +128,9 @@ extends java.lang.Object</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/Client/Bukkit/Library/Config/YAMLConfig.html#YAMLConfig-java.io.File-">YAMLConfig</a></span>(java.io.File file)</code> </td>
|
||||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Config/YAMLConfig.html#YAMLConfig-java.io.File-">YAMLConfig</a></span>(java.io.File file)</code>
|
||||
<div class="block">Creates/Loads a YAML Formatted Config</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
@ -146,23 +149,33 @@ extends java.lang.Object</pre>
|
||||
</tr>
|
||||
<tr id="i0" class="altColor">
|
||||
<td class="colFirst"><code><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Config/YAMLSection.html" title="class in net.ME1312.SubServers.Client.Bukkit.Library.Config">YAMLSection</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Config/YAMLConfig.html#get--">get</a></span>()</code> </td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Config/YAMLConfig.html#get--">get</a></span>()</code>
|
||||
<div class="block">Get Config Contents</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/Client/Bukkit/Library/Config/YAMLConfig.html#reload--">reload</a></span>()</code> </td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Config/YAMLConfig.html#reload--">reload</a></span>()</code>
|
||||
<div class="block">Reload Config Contents</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i2" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Config/YAMLConfig.html#save--">save</a></span>()</code> </td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Config/YAMLConfig.html#save--">save</a></span>()</code>
|
||||
<div class="block">Save Config Contents</div>
|
||||
</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/Client/Bukkit/Library/Config/YAMLConfig.html#set-net.ME1312.SubServers.Client.Bukkit.Library.Config.YAMLSection-">set</a></span>(<a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Config/YAMLSection.html" title="class in net.ME1312.SubServers.Client.Bukkit.Library.Config">YAMLSection</a> yaml)</code> </td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Config/YAMLConfig.html#set-net.ME1312.SubServers.Client.Bukkit.Library.Config.YAMLSection-">set</a></span>(<a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Config/YAMLSection.html" title="class in net.ME1312.SubServers.Client.Bukkit.Library.Config">YAMLSection</a> value)</code>
|
||||
<div class="block">Set Config Contents</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i4" class="altColor">
|
||||
<td class="colFirst"><code>org.json.JSONObject</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Config/YAMLConfig.html#toJSON--">toJSON</a></span>()</code> </td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Config/YAMLConfig.html#toJSON--">toJSON</a></span>()</code>
|
||||
<div class="block">Converts Config Contents to JSON</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i5" class="rowColor">
|
||||
<td class="colFirst"><code>java.lang.String</code></td>
|
||||
@ -199,7 +212,10 @@ extends java.lang.Object</pre>
|
||||
<pre>public YAMLConfig(java.io.File file)
|
||||
throws java.io.IOException,
|
||||
org.yaml.snakeyaml.error.YAMLException</pre>
|
||||
<div class="block">Creates/Loads a YAML Formatted Config</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>file</code> - </dd>
|
||||
<dt><span class="throwsLabel">Throws:</span></dt>
|
||||
<dd><code>java.io.IOException</code></dd>
|
||||
<dd><code>org.yaml.snakeyaml.error.YAMLException</code></dd>
|
||||
@ -221,6 +237,11 @@ extends java.lang.Object</pre>
|
||||
<li class="blockList">
|
||||
<h4>get</h4>
|
||||
<pre>public <a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Config/YAMLSection.html" title="class in net.ME1312.SubServers.Client.Bukkit.Library.Config">YAMLSection</a> get()</pre>
|
||||
<div class="block">Get Config Contents</div>
|
||||
<dl>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>Config Contents</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="set-net.ME1312.SubServers.Client.Bukkit.Library.Config.YAMLSection-">
|
||||
@ -229,7 +250,12 @@ extends java.lang.Object</pre>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>set</h4>
|
||||
<pre>public void set(<a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Config/YAMLSection.html" title="class in net.ME1312.SubServers.Client.Bukkit.Library.Config">YAMLSection</a> yaml)</pre>
|
||||
<pre>public void set(<a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Config/YAMLSection.html" title="class in net.ME1312.SubServers.Client.Bukkit.Library.Config">YAMLSection</a> value)</pre>
|
||||
<div class="block">Set Config Contents</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>value</code> - Value</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="reload--">
|
||||
@ -240,6 +266,7 @@ extends java.lang.Object</pre>
|
||||
<h4>reload</h4>
|
||||
<pre>public void reload()
|
||||
throws java.io.IOException</pre>
|
||||
<div class="block">Reload Config Contents</div>
|
||||
<dl>
|
||||
<dt><span class="throwsLabel">Throws:</span></dt>
|
||||
<dd><code>java.io.IOException</code></dd>
|
||||
@ -254,6 +281,7 @@ extends java.lang.Object</pre>
|
||||
<h4>save</h4>
|
||||
<pre>public void save()
|
||||
throws java.io.IOException</pre>
|
||||
<div class="block">Save Config Contents</div>
|
||||
<dl>
|
||||
<dt><span class="throwsLabel">Throws:</span></dt>
|
||||
<dd><code>java.io.IOException</code></dd>
|
||||
@ -280,6 +308,11 @@ extends java.lang.Object</pre>
|
||||
<li class="blockList">
|
||||
<h4>toJSON</h4>
|
||||
<pre>public org.json.JSONObject toJSON()</pre>
|
||||
<div class="block">Converts Config Contents to JSON</div>
|
||||
<dl>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>JSON Formatted Config Contents</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -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,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10};
|
||||
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10};
|
||||
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
|
||||
var altColor = "altColor";
|
||||
var rowColor = "rowColor";
|
||||
@ -74,13 +74,13 @@ var activeTableTab = "activeTableTab";
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.detail">Constr</a> | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
@ -109,32 +109,13 @@ var activeTableTab = "activeTableTab";
|
||||
<br>
|
||||
<pre>public class <span class="typeNameLabel">YAMLValue</span>
|
||||
extends java.lang.Object</pre>
|
||||
<div class="block">YAML Value Class</div>
|
||||
</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"> </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/Client/Bukkit/Library/Config/YAMLValue.html#YAMLValue-java.lang.Object-net.ME1312.SubServers.Client.Bukkit.Library.Config.YAMLSection-java.lang.String-org.yaml.snakeyaml.Yaml-">YAMLValue</a></span>(java.lang.Object obj,
|
||||
<a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Config/YAMLSection.html" title="class in net.ME1312.SubServers.Client.Bukkit.Library.Config">YAMLSection</a> up,
|
||||
java.lang.String label,
|
||||
org.yaml.snakeyaml.Yaml yaml)</code> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.summary">
|
||||
@ -149,87 +130,129 @@ extends java.lang.Object</pre>
|
||||
</tr>
|
||||
<tr id="i0" class="altColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Config/YAMLValue.html#asBoolean--">asBoolean</a></span>()</code> </td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Config/YAMLValue.html#asBoolean--">asBoolean</a></span>()</code>
|
||||
<div class="block">Get Object as Boolean</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i1" class="rowColor">
|
||||
<td class="colFirst"><code>java.util.List<java.lang.Boolean></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Config/YAMLValue.html#asBooleanList--">asBooleanList</a></span>()</code> </td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Config/YAMLValue.html#asBooleanList--">asBooleanList</a></span>()</code>
|
||||
<div class="block">Get Object as List</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i2" class="altColor">
|
||||
<td class="colFirst"><code>java.lang.String</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Config/YAMLValue.html#asColoredString-char-">asColoredString</a></span>(char color)</code> </td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Config/YAMLValue.html#asColoredString-char-">asColoredString</a></span>(char color)</code>
|
||||
<div class="block">Get Object as Colored String</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i3" class="rowColor">
|
||||
<td class="colFirst"><code>java.util.List<java.lang.String></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Config/YAMLValue.html#asColoredStringList-char-">asColoredStringList</a></span>(char color)</code> </td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Config/YAMLValue.html#asColoredStringList-char-">asColoredStringList</a></span>(char color)</code>
|
||||
<div class="block">Get Object as Colored String List</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i4" class="altColor">
|
||||
<td class="colFirst"><code>double</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Config/YAMLValue.html#asDouble--">asDouble</a></span>()</code> </td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Config/YAMLValue.html#asDouble--">asDouble</a></span>()</code>
|
||||
<div class="block">Get Object as Double</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i5" class="rowColor">
|
||||
<td class="colFirst"><code>java.util.List<java.lang.Double></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Config/YAMLValue.html#asDoubleList--">asDoubleList</a></span>()</code> </td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Config/YAMLValue.html#asDoubleList--">asDoubleList</a></span>()</code>
|
||||
<div class="block">Get Object as Double List</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i6" class="altColor">
|
||||
<td class="colFirst"><code>float</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Config/YAMLValue.html#asFloat--">asFloat</a></span>()</code> </td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Config/YAMLValue.html#asFloat--">asFloat</a></span>()</code>
|
||||
<div class="block">Get Object as Float</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i7" class="rowColor">
|
||||
<td class="colFirst"><code>java.util.List<java.lang.Float></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Config/YAMLValue.html#asFloatList--">asFloatList</a></span>()</code> </td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Config/YAMLValue.html#asFloatList--">asFloatList</a></span>()</code>
|
||||
<div class="block">Get Object as Float List</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i8" class="altColor">
|
||||
<td class="colFirst"><code>int</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Config/YAMLValue.html#asInt--">asInt</a></span>()</code> </td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Config/YAMLValue.html#asInt--">asInt</a></span>()</code>
|
||||
<div class="block">Get Object as Integer</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i9" class="rowColor">
|
||||
<td class="colFirst"><code>java.util.List<java.lang.Integer></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Config/YAMLValue.html#asIntList--">asIntList</a></span>()</code> </td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Config/YAMLValue.html#asIntList--">asIntList</a></span>()</code>
|
||||
<div class="block">Get Object as Integer List</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i10" class="altColor">
|
||||
<td class="colFirst"><code>long</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Config/YAMLValue.html#asLong--">asLong</a></span>()</code> </td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Config/YAMLValue.html#asLong--">asLong</a></span>()</code>
|
||||
<div class="block">Get Object as Long</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i11" class="rowColor">
|
||||
<td class="colFirst"><code>java.util.List<java.lang.Long></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Config/YAMLValue.html#asLongList--">asLongList</a></span>()</code> </td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Config/YAMLValue.html#asLongList--">asLongList</a></span>()</code>
|
||||
<div class="block">Get Object as Long List</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i12" class="altColor">
|
||||
<td class="colFirst"><code>java.lang.Object</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Config/YAMLValue.html#asObject--">asObject</a></span>()</code> </td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Config/YAMLValue.html#asObject--">asObject</a></span>()</code>
|
||||
<div class="block">Get Object</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i13" class="rowColor">
|
||||
<td class="colFirst"><code>java.util.List<?></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Config/YAMLValue.html#asObjectList--">asObjectList</a></span>()</code> </td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Config/YAMLValue.html#asObjectList--">asObjectList</a></span>()</code>
|
||||
<div class="block">Get Object as List</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i14" class="altColor">
|
||||
<td class="colFirst"><code>java.lang.String</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Config/YAMLValue.html#asRawString--">asRawString</a></span>()</code> </td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Config/YAMLValue.html#asRawString--">asRawString</a></span>()</code>
|
||||
<div class="block">Get Object as Unparsed String</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i15" class="rowColor">
|
||||
<td class="colFirst"><code>java.util.List<java.lang.String></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Config/YAMLValue.html#asRawStringList--">asRawStringList</a></span>()</code> </td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Config/YAMLValue.html#asRawStringList--">asRawStringList</a></span>()</code>
|
||||
<div class="block">Get Object as Unparsed String List</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i16" class="altColor">
|
||||
<td class="colFirst"><code><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Config/YAMLSection.html" title="class in net.ME1312.SubServers.Client.Bukkit.Library.Config">YAMLSection</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Config/YAMLValue.html#asSection--">asSection</a></span>()</code> </td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Config/YAMLValue.html#asSection--">asSection</a></span>()</code>
|
||||
<div class="block">Get Object as YAML Section</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i17" class="rowColor">
|
||||
<td class="colFirst"><code>java.util.List<<a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Config/YAMLSection.html" title="class in net.ME1312.SubServers.Client.Bukkit.Library.Config">YAMLSection</a>></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Config/YAMLValue.html#asSectionList--">asSectionList</a></span>()</code> </td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Config/YAMLValue.html#asSectionList--">asSectionList</a></span>()</code>
|
||||
<div class="block">Get Object as YAML Section List</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i18" class="altColor">
|
||||
<td class="colFirst"><code>java.lang.String</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Config/YAMLValue.html#asString--">asString</a></span>()</code> </td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Config/YAMLValue.html#asString--">asString</a></span>()</code>
|
||||
<div class="block">Get Object as String</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i19" class="rowColor">
|
||||
<td class="colFirst"><code>java.util.List<java.lang.String></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Config/YAMLValue.html#asStringList--">asStringList</a></span>()</code> </td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Config/YAMLValue.html#asStringList--">asStringList</a></span>()</code>
|
||||
<div class="block">Get Object as String List</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i20" class="altColor">
|
||||
<td class="colFirst"><code>java.util.UUID</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Config/YAMLValue.html#asUUID--">asUUID</a></span>()</code> </td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Config/YAMLValue.html#asUUID--">asUUID</a></span>()</code>
|
||||
<div class="block">Get Object as UUID</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i21" class="rowColor">
|
||||
<td class="colFirst"><code>java.util.List<java.util.UUID></code></td>
|
||||
@ -237,41 +260,65 @@ extends java.lang.Object</pre>
|
||||
</tr>
|
||||
<tr id="i22" class="altColor">
|
||||
<td class="colFirst"><code><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Config/YAMLSection.html" title="class in net.ME1312.SubServers.Client.Bukkit.Library.Config">YAMLSection</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Config/YAMLValue.html#getDefiningSection--">getDefiningSection</a></span>()</code> </td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Config/YAMLValue.html#getDefiningSection--">getDefiningSection</a></span>()</code>
|
||||
<div class="block">Get the YAML Section this Object was defined in</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i23" class="rowColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Config/YAMLValue.html#isBoolean--">isBoolean</a></span>()</code> </td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Config/YAMLValue.html#isBoolean--">isBoolean</a></span>()</code>
|
||||
<div class="block">Check if object is a Boolean</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i24" class="altColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Config/YAMLValue.html#isDouble--">isDouble</a></span>()</code> </td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Config/YAMLValue.html#isDouble--">isDouble</a></span>()</code>
|
||||
<div class="block">Check if object is a Double</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i25" class="rowColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Config/YAMLValue.html#isFloat-java.lang.String-">isFloat</a></span>(java.lang.String path)</code> </td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Config/YAMLValue.html#isFloat-java.lang.String-">isFloat</a></span>(java.lang.String path)</code>
|
||||
<div class="block">Check if object is a Float</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i26" class="altColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Config/YAMLValue.html#isInt--">isInt</a></span>()</code> </td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Config/YAMLValue.html#isInt--">isInt</a></span>()</code>
|
||||
<div class="block">Check if object is an Integer</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i27" class="rowColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Config/YAMLValue.html#isList--">isList</a></span>()</code> </td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Config/YAMLValue.html#isList--">isList</a></span>()</code>
|
||||
<div class="block">Check if object is a List</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i28" class="altColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Config/YAMLValue.html#isLong--">isLong</a></span>()</code> </td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Config/YAMLValue.html#isLong--">isLong</a></span>()</code>
|
||||
<div class="block">Check if object is a Long</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i29" class="rowColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Config/YAMLValue.html#isSection--">isSection</a></span>()</code> </td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Config/YAMLValue.html#isSection--">isSection</a></span>()</code>
|
||||
<div class="block">Check if object is a YAML Section</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i30" class="altColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Config/YAMLValue.html#isString--">isString</a></span>()</code> </td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Config/YAMLValue.html#isString--">isString</a></span>()</code>
|
||||
<div class="block">Check if object is a String</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i31" class="rowColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Config/YAMLValue.html#isUUID-java.lang.String-">isUUID</a></span>(java.lang.String handle)</code>
|
||||
<div class="block">Check if object is a UUID</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i32" class="altColor">
|
||||
<td class="colFirst"><code>java.lang.String</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Config/YAMLValue.html#toString--">toString</a></span>()</code> </td>
|
||||
</tr>
|
||||
@ -291,26 +338,6 @@ extends java.lang.Object</pre>
|
||||
<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="YAMLValue-java.lang.Object-net.ME1312.SubServers.Client.Bukkit.Library.Config.YAMLSection-java.lang.String-org.yaml.snakeyaml.Yaml-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>YAMLValue</h4>
|
||||
<pre>public YAMLValue(java.lang.Object obj,
|
||||
<a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Config/YAMLSection.html" title="class in net.ME1312.SubServers.Client.Bukkit.Library.Config">YAMLSection</a> up,
|
||||
java.lang.String label,
|
||||
org.yaml.snakeyaml.Yaml yaml)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.detail">
|
||||
@ -324,6 +351,11 @@ extends java.lang.Object</pre>
|
||||
<li class="blockList">
|
||||
<h4>getDefiningSection</h4>
|
||||
<pre>public <a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Config/YAMLSection.html" title="class in net.ME1312.SubServers.Client.Bukkit.Library.Config">YAMLSection</a> getDefiningSection()</pre>
|
||||
<div class="block">Get the YAML Section this Object was defined in</div>
|
||||
<dl>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>YAML Section</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="asObject--">
|
||||
@ -333,6 +365,11 @@ extends java.lang.Object</pre>
|
||||
<li class="blockList">
|
||||
<h4>asObject</h4>
|
||||
<pre>public java.lang.Object asObject()</pre>
|
||||
<div class="block">Get Object</div>
|
||||
<dl>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>Object</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="asObjectList--">
|
||||
@ -342,6 +379,11 @@ extends java.lang.Object</pre>
|
||||
<li class="blockList">
|
||||
<h4>asObjectList</h4>
|
||||
<pre>public java.util.List<?> asObjectList()</pre>
|
||||
<div class="block">Get Object as List</div>
|
||||
<dl>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>List</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="asBoolean--">
|
||||
@ -351,6 +393,11 @@ extends java.lang.Object</pre>
|
||||
<li class="blockList">
|
||||
<h4>asBoolean</h4>
|
||||
<pre>public boolean asBoolean()</pre>
|
||||
<div class="block">Get Object as Boolean</div>
|
||||
<dl>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>Boolean</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="asBooleanList--">
|
||||
@ -360,6 +407,11 @@ extends java.lang.Object</pre>
|
||||
<li class="blockList">
|
||||
<h4>asBooleanList</h4>
|
||||
<pre>public java.util.List<java.lang.Boolean> asBooleanList()</pre>
|
||||
<div class="block">Get Object as List</div>
|
||||
<dl>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>List</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="asSection--">
|
||||
@ -369,6 +421,11 @@ extends java.lang.Object</pre>
|
||||
<li class="blockList">
|
||||
<h4>asSection</h4>
|
||||
<pre>public <a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Config/YAMLSection.html" title="class in net.ME1312.SubServers.Client.Bukkit.Library.Config">YAMLSection</a> asSection()</pre>
|
||||
<div class="block">Get Object as YAML Section</div>
|
||||
<dl>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>YAML Section</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="asSectionList--">
|
||||
@ -378,6 +435,11 @@ extends java.lang.Object</pre>
|
||||
<li class="blockList">
|
||||
<h4>asSectionList</h4>
|
||||
<pre>public java.util.List<<a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Config/YAMLSection.html" title="class in net.ME1312.SubServers.Client.Bukkit.Library.Config">YAMLSection</a>> asSectionList()</pre>
|
||||
<div class="block">Get Object as YAML Section List</div>
|
||||
<dl>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>YAML Section List</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="asDouble--">
|
||||
@ -387,6 +449,11 @@ extends java.lang.Object</pre>
|
||||
<li class="blockList">
|
||||
<h4>asDouble</h4>
|
||||
<pre>public double asDouble()</pre>
|
||||
<div class="block">Get Object as Double</div>
|
||||
<dl>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>Double</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="asDoubleList--">
|
||||
@ -396,6 +463,11 @@ extends java.lang.Object</pre>
|
||||
<li class="blockList">
|
||||
<h4>asDoubleList</h4>
|
||||
<pre>public java.util.List<java.lang.Double> asDoubleList()</pre>
|
||||
<div class="block">Get Object as Double List</div>
|
||||
<dl>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>Double List</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="asFloat--">
|
||||
@ -405,6 +477,11 @@ extends java.lang.Object</pre>
|
||||
<li class="blockList">
|
||||
<h4>asFloat</h4>
|
||||
<pre>public float asFloat()</pre>
|
||||
<div class="block">Get Object as Float</div>
|
||||
<dl>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>Float</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="asFloatList--">
|
||||
@ -414,6 +491,11 @@ extends java.lang.Object</pre>
|
||||
<li class="blockList">
|
||||
<h4>asFloatList</h4>
|
||||
<pre>public java.util.List<java.lang.Float> asFloatList()</pre>
|
||||
<div class="block">Get Object as Float List</div>
|
||||
<dl>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>Float List</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="asInt--">
|
||||
@ -423,6 +505,11 @@ extends java.lang.Object</pre>
|
||||
<li class="blockList">
|
||||
<h4>asInt</h4>
|
||||
<pre>public int asInt()</pre>
|
||||
<div class="block">Get Object as Integer</div>
|
||||
<dl>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>Integer</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="asIntList--">
|
||||
@ -432,6 +519,11 @@ extends java.lang.Object</pre>
|
||||
<li class="blockList">
|
||||
<h4>asIntList</h4>
|
||||
<pre>public java.util.List<java.lang.Integer> asIntList()</pre>
|
||||
<div class="block">Get Object as Integer List</div>
|
||||
<dl>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>Integer List</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="asLong--">
|
||||
@ -441,6 +533,11 @@ extends java.lang.Object</pre>
|
||||
<li class="blockList">
|
||||
<h4>asLong</h4>
|
||||
<pre>public long asLong()</pre>
|
||||
<div class="block">Get Object as Long</div>
|
||||
<dl>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>Long</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="asLongList--">
|
||||
@ -450,6 +547,11 @@ extends java.lang.Object</pre>
|
||||
<li class="blockList">
|
||||
<h4>asLongList</h4>
|
||||
<pre>public java.util.List<java.lang.Long> asLongList()</pre>
|
||||
<div class="block">Get Object as Long List</div>
|
||||
<dl>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>Long List</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="asRawString--">
|
||||
@ -459,6 +561,11 @@ extends java.lang.Object</pre>
|
||||
<li class="blockList">
|
||||
<h4>asRawString</h4>
|
||||
<pre>public java.lang.String asRawString()</pre>
|
||||
<div class="block">Get Object as Unparsed String</div>
|
||||
<dl>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>Unparsed String</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="asRawStringList--">
|
||||
@ -468,6 +575,11 @@ extends java.lang.Object</pre>
|
||||
<li class="blockList">
|
||||
<h4>asRawStringList</h4>
|
||||
<pre>public java.util.List<java.lang.String> asRawStringList()</pre>
|
||||
<div class="block">Get Object as Unparsed String List</div>
|
||||
<dl>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>Unparsed String List</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="asString--">
|
||||
@ -477,6 +589,11 @@ extends java.lang.Object</pre>
|
||||
<li class="blockList">
|
||||
<h4>asString</h4>
|
||||
<pre>public java.lang.String asString()</pre>
|
||||
<div class="block">Get Object as String</div>
|
||||
<dl>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>String</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="asStringList--">
|
||||
@ -486,6 +603,11 @@ extends java.lang.Object</pre>
|
||||
<li class="blockList">
|
||||
<h4>asStringList</h4>
|
||||
<pre>public java.util.List<java.lang.String> asStringList()</pre>
|
||||
<div class="block">Get Object as String List</div>
|
||||
<dl>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>String List</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="asColoredString-char-">
|
||||
@ -495,6 +617,13 @@ extends java.lang.Object</pre>
|
||||
<li class="blockList">
|
||||
<h4>asColoredString</h4>
|
||||
<pre>public java.lang.String asColoredString(char color)</pre>
|
||||
<div class="block">Get Object as Colored String</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>color</code> - Color Char to parse</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>Colored String</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="asColoredStringList-char-">
|
||||
@ -504,6 +633,13 @@ extends java.lang.Object</pre>
|
||||
<li class="blockList">
|
||||
<h4>asColoredStringList</h4>
|
||||
<pre>public java.util.List<java.lang.String> asColoredStringList(char color)</pre>
|
||||
<div class="block">Get Object as Colored String List</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>color</code> - Color Char to parse</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>Colored String List</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="asUUID--">
|
||||
@ -513,6 +649,11 @@ extends java.lang.Object</pre>
|
||||
<li class="blockList">
|
||||
<h4>asUUID</h4>
|
||||
<pre>public java.util.UUID asUUID()</pre>
|
||||
<div class="block">Get Object as UUID</div>
|
||||
<dl>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>UUID</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="asUUIDList--">
|
||||
@ -531,6 +672,11 @@ extends java.lang.Object</pre>
|
||||
<li class="blockList">
|
||||
<h4>isBoolean</h4>
|
||||
<pre>public boolean isBoolean()</pre>
|
||||
<div class="block">Check if object is a Boolean</div>
|
||||
<dl>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>Boolean Status</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="isSection--">
|
||||
@ -540,6 +686,11 @@ extends java.lang.Object</pre>
|
||||
<li class="blockList">
|
||||
<h4>isSection</h4>
|
||||
<pre>public boolean isSection()</pre>
|
||||
<div class="block">Check if object is a YAML Section</div>
|
||||
<dl>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>YAML Section Status</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="isDouble--">
|
||||
@ -549,6 +700,11 @@ extends java.lang.Object</pre>
|
||||
<li class="blockList">
|
||||
<h4>isDouble</h4>
|
||||
<pre>public boolean isDouble()</pre>
|
||||
<div class="block">Check if object is a Double</div>
|
||||
<dl>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>Double Status</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="isFloat-java.lang.String-">
|
||||
@ -558,6 +714,11 @@ extends java.lang.Object</pre>
|
||||
<li class="blockList">
|
||||
<h4>isFloat</h4>
|
||||
<pre>public boolean isFloat(java.lang.String path)</pre>
|
||||
<div class="block">Check if object is a Float</div>
|
||||
<dl>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>Float Status</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="isInt--">
|
||||
@ -567,6 +728,11 @@ extends java.lang.Object</pre>
|
||||
<li class="blockList">
|
||||
<h4>isInt</h4>
|
||||
<pre>public boolean isInt()</pre>
|
||||
<div class="block">Check if object is an Integer</div>
|
||||
<dl>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>Integer Status</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="isList--">
|
||||
@ -576,6 +742,11 @@ extends java.lang.Object</pre>
|
||||
<li class="blockList">
|
||||
<h4>isList</h4>
|
||||
<pre>public boolean isList()</pre>
|
||||
<div class="block">Check if object is a List</div>
|
||||
<dl>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>List Status</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="isLong--">
|
||||
@ -585,6 +756,11 @@ extends java.lang.Object</pre>
|
||||
<li class="blockList">
|
||||
<h4>isLong</h4>
|
||||
<pre>public boolean isLong()</pre>
|
||||
<div class="block">Check if object is a Long</div>
|
||||
<dl>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>Long Status</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="isString--">
|
||||
@ -594,6 +770,25 @@ extends java.lang.Object</pre>
|
||||
<li class="blockList">
|
||||
<h4>isString</h4>
|
||||
<pre>public boolean isString()</pre>
|
||||
<div class="block">Check if object is a String</div>
|
||||
<dl>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>String Status</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="isUUID-java.lang.String-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>isUUID</h4>
|
||||
<pre>public boolean isUUID(java.lang.String handle)</pre>
|
||||
<div class="block">Check if object is a UUID</div>
|
||||
<dl>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>UUID Status</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="toString--">
|
||||
@ -663,13 +858,13 @@ extends java.lang.Object</pre>
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.detail">Constr</a> | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
@ -82,15 +82,21 @@
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Config/YAMLConfig.html" title="class in net.ME1312.SubServers.Client.Bukkit.Library.Config">YAMLConfig</a></td>
|
||||
<td class="colLast"> </td>
|
||||
<td class="colLast">
|
||||
<div class="block">YAML Config Class</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Config/YAMLSection.html" title="class in net.ME1312.SubServers.Client.Bukkit.Library.Config">YAMLSection</a></td>
|
||||
<td class="colLast"> </td>
|
||||
<td class="colLast">
|
||||
<div class="block">YAML Config Section Class</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Config/YAMLValue.html" title="class in net.ME1312.SubServers.Client.Bukkit.Library.Config">YAMLValue</a></td>
|
||||
<td class="colLast"> </td>
|
||||
<td class="colLast">
|
||||
<div class="block">YAML Value Class</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
@ -48,7 +48,7 @@ var activeTableTab = "activeTableTab";
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev Class</li>
|
||||
<li><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/JSONCallback.html" title="interface in net.ME1312.SubServers.Client.Bukkit.Library"><span class="typeNameLink">Next Class</span></a></li>
|
||||
<li><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/ExtraDataHandler.html" title="interface in net.ME1312.SubServers.Client.Bukkit.Library"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../../index.html?net/ME1312/SubServers/Client/Bukkit/Library/Container.html" target="_top">Frames</a></li>
|
||||
@ -106,6 +106,10 @@ var activeTableTab = "activeTableTab";
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Type Parameters:</span></dt>
|
||||
<dd><code>V</code> - Item</dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt>Direct Known Subclasses:</dt>
|
||||
<dd><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/NamedContainer.html" title="class in net.ME1312.SubServers.Client.Bukkit.Library">NamedContainer</a></dd>
|
||||
</dl>
|
||||
@ -114,10 +118,6 @@ var activeTableTab = "activeTableTab";
|
||||
<pre>public class <span class="typeNameLabel">Container<V></span>
|
||||
extends java.lang.Object</pre>
|
||||
<div class="block">Container Class</div>
|
||||
<dl>
|
||||
<dt><span class="simpleTagLabel">Author:</span></dt>
|
||||
<dd>ME1312</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
@ -271,7 +271,7 @@ extends java.lang.Object</pre>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev Class</li>
|
||||
<li><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/JSONCallback.html" title="interface in net.ME1312.SubServers.Client.Bukkit.Library"><span class="typeNameLink">Next Class</span></a></li>
|
||||
<li><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/ExtraDataHandler.html" title="interface in net.ME1312.SubServers.Client.Bukkit.Library"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../../index.html?net/ME1312/SubServers/Client/Bukkit/Library/Container.html" target="_top">Frames</a></li>
|
||||
|
@ -127,6 +127,7 @@
|
||||
<br>
|
||||
<pre>public class <span class="typeNameLabel">IllegalPacketException</span>
|
||||
extends java.lang.IllegalStateException</pre>
|
||||
<div class="block">Illegal Packet Exception</div>
|
||||
<dl>
|
||||
<dt><span class="seeLabel">See Also:</span></dt>
|
||||
<dd><a href="../../../../../../../serialized-form.html#net.ME1312.SubServers.Client.Bukkit.Library.Exception.IllegalPacketException">Serialized Form</a></dd>
|
||||
|
@ -82,7 +82,9 @@
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Exception/IllegalPacketException.html" title="class in net.ME1312.SubServers.Client.Bukkit.Library.Exception">IllegalPacketException</a></td>
|
||||
<td class="colLast"> </td>
|
||||
<td class="colLast">
|
||||
<div class="block">Illegal Packet Exception</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
@ -0,0 +1,313 @@
|
||||
<!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>ExtraDataHandler (SubServers.Client.Bukkit)</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="ExtraDataHandler (SubServers.Client.Bukkit)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var methods = {"i0":6,"i1":6,"i2":6,"i3":6,"i4":6};
|
||||
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"]};
|
||||
var altColor = "altColor";
|
||||
var rowColor = "rowColor";
|
||||
var tableTab = "tableTab";
|
||||
var activeTableTab = "activeTableTab";
|
||||
</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/Client/Bukkit/Library/Container.html" title="class in net.ME1312.SubServers.Client.Bukkit.Library"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/JSONCallback.html" title="interface in net.ME1312.SubServers.Client.Bukkit.Library"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../../index.html?net/ME1312/SubServers/Client/Bukkit/Library/ExtraDataHandler.html" target="_top">Frames</a></li>
|
||||
<li><a href="ExtraDataHandler.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../../../allclasses-noframe.html">All 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: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.detail">Method</a></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.Client.Bukkit.Library</div>
|
||||
<h2 title="Interface ExtraDataHandler" class="title">Interface ExtraDataHandler</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<hr>
|
||||
<br>
|
||||
<pre>public interface <span class="typeNameLabel">ExtraDataHandler</span></pre>
|
||||
<div class="block">Extra Data Handler Layout Class</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.summary">
|
||||
<!-- -->
|
||||
</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"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd"> </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/Client/Bukkit/Library/ExtraDataHandler.html#addExtra-java.lang.String-java.lang.Object-">addExtra</a></span>(java.lang.String handle,
|
||||
java.lang.Object value)</code>
|
||||
<div class="block">Add an extra value to this Server</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i1" class="rowColor">
|
||||
<td class="colFirst"><code><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Config/YAMLSection.html" title="class in net.ME1312.SubServers.Client.Bukkit.Library.Config">YAMLSection</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/ExtraDataHandler.html#getExtra--">getExtra</a></span>()</code>
|
||||
<div class="block">Get the extra value section</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i2" class="altColor">
|
||||
<td class="colFirst"><code><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Config/YAMLValue.html" title="class in net.ME1312.SubServers.Client.Bukkit.Library.Config">YAMLValue</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/ExtraDataHandler.html#getExtra-java.lang.String-">getExtra</a></span>(java.lang.String handle)</code>
|
||||
<div class="block">Get an extra value</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i3" class="rowColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/ExtraDataHandler.html#hasExtra-java.lang.String-">hasExtra</a></span>(java.lang.String handle)</code>
|
||||
<div class="block">Determine if an extra value exists</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i4" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/ExtraDataHandler.html#removeExtra-java.lang.String-">removeExtra</a></span>(java.lang.String handle)</code>
|
||||
<div class="block">Remove an extra value from this Server</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Detail</h3>
|
||||
<a name="addExtra-java.lang.String-java.lang.Object-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>addExtra</h4>
|
||||
<pre>void addExtra(java.lang.String handle,
|
||||
java.lang.Object value)</pre>
|
||||
<div class="block">Add an extra value to this Server</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>handle</code> - Handle</dd>
|
||||
<dd><code>value</code> - Value</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="hasExtra-java.lang.String-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>hasExtra</h4>
|
||||
<pre>boolean hasExtra(java.lang.String handle)</pre>
|
||||
<div class="block">Determine if an extra value exists</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>handle</code> - Handle</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>Value Status</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getExtra-java.lang.String-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getExtra</h4>
|
||||
<pre><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Config/YAMLValue.html" title="class in net.ME1312.SubServers.Client.Bukkit.Library.Config">YAMLValue</a> getExtra(java.lang.String handle)</pre>
|
||||
<div class="block">Get an extra value</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>handle</code> - Handle</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>Value</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getExtra--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getExtra</h4>
|
||||
<pre><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Config/YAMLSection.html" title="class in net.ME1312.SubServers.Client.Bukkit.Library.Config">YAMLSection</a> getExtra()</pre>
|
||||
<div class="block">Get the extra value section</div>
|
||||
<dl>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>Extra Value Section</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="removeExtra-java.lang.String-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>removeExtra</h4>
|
||||
<pre>void removeExtra(java.lang.String handle)</pre>
|
||||
<div class="block">Remove an extra value from this Server</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>handle</code> - Handle</dd>
|
||||
</dl>
|
||||
</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/Client/Bukkit/Library/Container.html" title="class in net.ME1312.SubServers.Client.Bukkit.Library"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/JSONCallback.html" title="interface in net.ME1312.SubServers.Client.Bukkit.Library"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../../index.html?net/ME1312/SubServers/Client/Bukkit/Library/ExtraDataHandler.html" target="_top">Frames</a></li>
|
||||
<li><a href="ExtraDataHandler.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../../../allclasses-noframe.html">All 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: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</body>
|
||||
</html>
|
@ -47,7 +47,7 @@ var activeTableTab = "activeTableTab";
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Container.html" title="class in net.ME1312.SubServers.Client.Bukkit.Library"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/ExtraDataHandler.html" title="interface in net.ME1312.SubServers.Client.Bukkit.Library"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/NamedContainer.html" title="class in net.ME1312.SubServers.Client.Bukkit.Library"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
@ -100,6 +100,7 @@ var activeTableTab = "activeTableTab";
|
||||
<hr>
|
||||
<br>
|
||||
<pre>public interface <span class="typeNameLabel">JSONCallback</span></pre>
|
||||
<div class="block">JSON Callback Class</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
@ -120,7 +121,9 @@ var activeTableTab = "activeTableTab";
|
||||
</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/Client/Bukkit/Library/JSONCallback.html#run-org.json.JSONObject-">run</a></span>(org.json.JSONObject json)</code> </td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/JSONCallback.html#run-org.json.JSONObject-">run</a></span>(org.json.JSONObject json)</code>
|
||||
<div class="block">Run the Callback</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
@ -144,6 +147,11 @@ var activeTableTab = "activeTableTab";
|
||||
<li class="blockList">
|
||||
<h4>run</h4>
|
||||
<pre>void run(org.json.JSONObject json)</pre>
|
||||
<div class="block">Run the Callback</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>json</code> - JSON</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
@ -173,7 +181,7 @@ var activeTableTab = "activeTableTab";
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Container.html" title="class in net.ME1312.SubServers.Client.Bukkit.Library"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/ExtraDataHandler.html" title="interface in net.ME1312.SubServers.Client.Bukkit.Library"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/NamedContainer.html" title="class in net.ME1312.SubServers.Client.Bukkit.Library"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
|
@ -110,10 +110,16 @@ var activeTableTab = "activeTableTab";
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Type Parameters:</span></dt>
|
||||
<dd><code>T</code> - Name</dd>
|
||||
<dd><code>V</code> - Item</dd>
|
||||
</dl>
|
||||
<hr>
|
||||
<br>
|
||||
<pre>public class <span class="typeNameLabel">NamedContainer<T,V></span>
|
||||
extends <a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Container.html" title="class in net.ME1312.SubServers.Client.Bukkit.Library">Container</a><V></pre>
|
||||
<div class="block">Named Container Class</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
@ -120,8 +120,6 @@ var activeTableTab = "activeTableTab";
|
||||
extends java.io.File</pre>
|
||||
<div class="block">Universal File Class</div>
|
||||
<dl>
|
||||
<dt><span class="simpleTagLabel">Author:</span></dt>
|
||||
<dd>ME1312</dd>
|
||||
<dt><span class="seeLabel">See Also:</span></dt>
|
||||
<dd><a href="../../../../../../serialized-form.html#net.ME1312.SubServers.Client.Bukkit.Library.UniversalFile">Serialized Form</a></dd>
|
||||
</dl>
|
||||
|
@ -109,6 +109,7 @@ var activeTableTab = "activeTableTab";
|
||||
<br>
|
||||
<pre>public final class <span class="typeNameLabel">Util</span>
|
||||
extends java.lang.Object</pre>
|
||||
<div class="block">SubServers Utility Class</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
@ -150,23 +151,33 @@ extends java.lang.Object</pre>
|
||||
<td class="colFirst"><code>static void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Util.html#copyFromJar-java.lang.ClassLoader-java.lang.String-java.lang.String-">copyFromJar</a></span>(java.lang.ClassLoader loader,
|
||||
java.lang.String resource,
|
||||
java.lang.String destination)</code> </td>
|
||||
java.lang.String destination)</code>
|
||||
<div class="block">Copy from the Class Loader</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i1" 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#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> runnable)</code> </td>
|
||||
<td class="colFirst"><code>static void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Util.html#deleteDirectory-java.io.File-">deleteDirectory</a></span>(java.io.File folder)</code>
|
||||
<div class="block">Delete Directory</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i2" 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#isSpigot--">isSpigot</a></span>()</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> runnable)</code>
|
||||
<div class="block">Determines if an Exception will occur</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i3" 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 rd)</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 rd)</code>
|
||||
<div class="block">Read Everything from Reader</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i4" 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 str)</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 str)</code>
|
||||
<div class="block">Parse escapes in a Java String</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
@ -198,7 +209,12 @@ extends java.lang.Object</pre>
|
||||
<h4>readAll</h4>
|
||||
<pre>public static java.lang.String readAll(java.io.Reader rd)
|
||||
throws java.io.IOException</pre>
|
||||
<div class="block">Read Everything from Reader</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>rd</code> - Reader</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>Reader Contents</dd>
|
||||
<dt><span class="throwsLabel">Throws:</span></dt>
|
||||
<dd><code>java.io.IOException</code></dd>
|
||||
</dl>
|
||||
@ -213,15 +229,13 @@ extends java.lang.Object</pre>
|
||||
<pre>public static void copyFromJar(java.lang.ClassLoader loader,
|
||||
java.lang.String resource,
|
||||
java.lang.String destination)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="isSpigot--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>isSpigot</h4>
|
||||
<pre>public static boolean isSpigot()</pre>
|
||||
<div class="block">Copy from the Class Loader</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>loader</code> - ClassLoader</dd>
|
||||
<dd><code>resource</code> - Location From</dd>
|
||||
<dd><code>destination</code> - Location To</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="isException-net.ME1312.SubServers.Client.Bukkit.Library.Util.ExceptionRunnable-">
|
||||
@ -231,6 +245,27 @@ extends java.lang.Object</pre>
|
||||
<li class="blockList">
|
||||
<h4>isException</h4>
|
||||
<pre>public static boolean isException(<a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Util.ExceptionRunnable.html" title="interface in net.ME1312.SubServers.Client.Bukkit.Library">Util.ExceptionRunnable</a> runnable)</pre>
|
||||
<div class="block">Determines if an Exception will occur</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>runnable</code> - Runnable</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>If an Exception occured</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="deleteDirectory-java.io.File-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>deleteDirectory</h4>
|
||||
<pre>public static void deleteDirectory(java.io.File folder)</pre>
|
||||
<div class="block">Delete Directory</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>folder</code> - Location</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="unescapeJavaString-java.lang.String-">
|
||||
@ -240,6 +275,13 @@ extends java.lang.Object</pre>
|
||||
<li class="blockList">
|
||||
<h4>unescapeJavaString</h4>
|
||||
<pre>public static java.lang.String unescapeJavaString(java.lang.String str)</pre>
|
||||
<div class="block">Parse escapes in a Java String</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>str</code> - String</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>Unescaped String</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
|
@ -116,8 +116,6 @@ extends java.lang.Object
|
||||
implements java.io.Serializable, java.lang.Comparable<<a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Version/Version.html" title="class in net.ME1312.SubServers.Client.Bukkit.Library.Version">Version</a>></pre>
|
||||
<div class="block">Version Class</div>
|
||||
<dl>
|
||||
<dt><span class="simpleTagLabel">Author:</span></dt>
|
||||
<dd>ME1312</dd>
|
||||
<dt><span class="seeLabel">See Also:</span></dt>
|
||||
<dd><a href="../../../../../../../serialized-form.html#net.ME1312.SubServers.Client.Bukkit.Library.Version.Version">Serialized Form</a></dd>
|
||||
</dl>
|
||||
|
@ -12,6 +12,7 @@
|
||||
<div class="indexContainer">
|
||||
<h2 title="Interfaces">Interfaces</h2>
|
||||
<ul title="Interfaces">
|
||||
<li><a href="ExtraDataHandler.html" title="interface in net.ME1312.SubServers.Client.Bukkit.Library" target="classFrame"><span class="interfaceName">ExtraDataHandler</span></a></li>
|
||||
<li><a href="JSONCallback.html" title="interface in net.ME1312.SubServers.Client.Bukkit.Library" target="classFrame"><span class="interfaceName">JSONCallback</span></a></li>
|
||||
<li><a href="SubEvent.html" title="interface in net.ME1312.SubServers.Client.Bukkit.Library" target="classFrame"><span class="interfaceName">SubEvent</span></a></li>
|
||||
<li><a href="Util.ExceptionRunnable.html" title="interface in net.ME1312.SubServers.Client.Bukkit.Library" target="classFrame"><span class="interfaceName">Util.ExceptionRunnable</span></a></li>
|
||||
|
@ -81,14 +81,22 @@
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/JSONCallback.html" title="interface in net.ME1312.SubServers.Client.Bukkit.Library">JSONCallback</a></td>
|
||||
<td class="colLast"> </td>
|
||||
<td class="colFirst"><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/ExtraDataHandler.html" title="interface in net.ME1312.SubServers.Client.Bukkit.Library">ExtraDataHandler</a></td>
|
||||
<td class="colLast">
|
||||
<div class="block">Extra Data Handler Layout Class</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/JSONCallback.html" title="interface in net.ME1312.SubServers.Client.Bukkit.Library">JSONCallback</a></td>
|
||||
<td class="colLast">
|
||||
<div class="block">JSON Callback Class</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/SubEvent.html" title="interface in net.ME1312.SubServers.Client.Bukkit.Library">SubEvent</a></td>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Util.ExceptionRunnable.html" title="interface in net.ME1312.SubServers.Client.Bukkit.Library">Util.ExceptionRunnable</a></td>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
@ -111,7 +119,9 @@
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/NamedContainer.html" title="class in net.ME1312.SubServers.Client.Bukkit.Library">NamedContainer</a><T,V></td>
|
||||
<td class="colLast"> </td>
|
||||
<td class="colLast">
|
||||
<div class="block">Named Container Class</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/UniversalFile.html" title="class in net.ME1312.SubServers.Client.Bukkit.Library">UniversalFile</a></td>
|
||||
@ -121,7 +131,9 @@
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Util.html" title="class in net.ME1312.SubServers.Client.Bukkit.Library">Util</a></td>
|
||||
<td class="colLast"> </td>
|
||||
<td class="colLast">
|
||||
<div class="block">SubServers Utility Class</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
@ -95,6 +95,7 @@
|
||||
</ul>
|
||||
<h2 title="Interface Hierarchy">Interface Hierarchy</h2>
|
||||
<ul>
|
||||
<li type="circle">net.ME1312.SubServers.Client.Bukkit.Library.<a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/ExtraDataHandler.html" title="interface in net.ME1312.SubServers.Client.Bukkit.Library"><span class="typeNameLink">ExtraDataHandler</span></a></li>
|
||||
<li type="circle">net.ME1312.SubServers.Client.Bukkit.Library.<a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/JSONCallback.html" title="interface in net.ME1312.SubServers.Client.Bukkit.Library"><span class="typeNameLink">JSONCallback</span></a></li>
|
||||
<li type="circle">net.ME1312.SubServers.Client.Bukkit.Library.<a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/SubEvent.html" title="interface in net.ME1312.SubServers.Client.Bukkit.Library"><span class="typeNameLink">SubEvent</span></a></li>
|
||||
<li type="circle">net.ME1312.SubServers.Client.Bukkit.Library.<a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Util.ExceptionRunnable.html" title="interface in net.ME1312.SubServers.Client.Bukkit.Library"><span class="typeNameLink">Util.ExceptionRunnable</span></a></li>
|
||||
|
@ -105,10 +105,6 @@ var activeTableTab = "activeTableTab";
|
||||
<br>
|
||||
<pre>public interface <span class="typeNameLabel">PacketIn</span></pre>
|
||||
<div class="block">PacketIn Layout Class</div>
|
||||
<dl>
|
||||
<dt><span class="simpleTagLabel">Author:</span></dt>
|
||||
<dd>ME1312</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
@ -105,10 +105,6 @@ var activeTableTab = "activeTableTab";
|
||||
<br>
|
||||
<pre>public interface <span class="typeNameLabel">PacketOut</span></pre>
|
||||
<div class="block">PacketOut Layout Class</div>
|
||||
<dl>
|
||||
<dt><span class="simpleTagLabel">Author:</span></dt>
|
||||
<dd>ME1312</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
@ -109,6 +109,7 @@ var activeTableTab = "activeTableTab";
|
||||
<br>
|
||||
<pre>public final class <span class="typeNameLabel">SubDataClient</span>
|
||||
extends java.lang.Object</pre>
|
||||
<div class="block">SubData Direct Client Class</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
@ -105,7 +105,9 @@
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a href="../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/SubDataClient.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network">SubDataClient</a></td>
|
||||
<td class="colLast"> </td>
|
||||
<td class="colLast">
|
||||
<div class="block">SubData Direct Client Class</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
@ -123,6 +123,7 @@ var activeTableTab = "activeTableTab";
|
||||
<br>
|
||||
<pre>public final class <span class="typeNameLabel">SubPlugin</span>
|
||||
extends org.bukkit.plugin.java.JavaPlugin</pre>
|
||||
<div class="block">SubServers Client Plugin Class</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
@ -142,22 +143,26 @@ extends org.bukkit.plugin.java.JavaPlugin</pre>
|
||||
<th class="colLast" scope="col">Field and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code><a href="../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Version/Version.html" title="class in net.ME1312.SubServers.Client.Bukkit.Library.Version">Version</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Client/Bukkit/SubPlugin.html#bversion">bversion</a></span></code> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code><a href="../../../../../net/ME1312/SubServers/Client/Bukkit/Graphic/UIListener.html" title="class in net.ME1312.SubServers.Client.Bukkit.Graphic">UIListener</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Client/Bukkit/SubPlugin.html#gui">gui</a></span></code> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code><a href="../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Config/YAMLSection.html" title="class in net.ME1312.SubServers.Client.Bukkit.Library.Config">YAMLSection</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Client/Bukkit/SubPlugin.html#lang">lang</a></span></code> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code><a href="../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Config/YAMLConfig.html" title="class in net.ME1312.SubServers.Client.Bukkit.Library.Config">YAMLConfig</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Client/Bukkit/SubPlugin.html#pluginconf">pluginconf</a></span></code> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code><a href="../../../../../net/ME1312/SubServers/Client/Bukkit/Network/SubDataClient.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network">SubDataClient</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Client/Bukkit/SubPlugin.html#subdata">subdata</a></span></code> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code><a href="../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Version/Version.html" title="class in net.ME1312.SubServers.Client.Bukkit.Library.Version">Version</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Client/Bukkit/SubPlugin.html#version">version</a></span></code> </td>
|
||||
</tr>
|
||||
@ -195,11 +200,15 @@ extends org.bukkit.plugin.java.JavaPlugin</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/Client/Bukkit/SubPlugin.html#onDisable--">onDisable</a></span>()</code> </td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Client/Bukkit/SubPlugin.html#onDisable--">onDisable</a></span>()</code>
|
||||
<div class="block">Disable Plugin</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/Client/Bukkit/SubPlugin.html#onEnable--">onEnable</a></span>()</code> </td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../net/ME1312/SubServers/Client/Bukkit/SubPlugin.html#onEnable--">onEnable</a></span>()</code>
|
||||
<div class="block">Enable Plugin</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
@ -276,10 +285,19 @@ extends org.bukkit.plugin.java.JavaPlugin</pre>
|
||||
<a name="version">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>version</h4>
|
||||
<pre>public <a href="../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Version/Version.html" title="class in net.ME1312.SubServers.Client.Bukkit.Library.Version">Version</a> version</pre>
|
||||
<pre>public final <a href="../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Version/Version.html" title="class in net.ME1312.SubServers.Client.Bukkit.Library.Version">Version</a> version</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="bversion">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>bversion</h4>
|
||||
<pre>public final <a href="../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Version/Version.html" title="class in net.ME1312.SubServers.Client.Bukkit.Library.Version">Version</a> bversion</pre>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
@ -314,6 +332,7 @@ extends org.bukkit.plugin.java.JavaPlugin</pre>
|
||||
<li class="blockList">
|
||||
<h4>onEnable</h4>
|
||||
<pre>public void onEnable()</pre>
|
||||
<div class="block">Enable Plugin</div>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code>onEnable</code> in interface <code>org.bukkit.plugin.Plugin</code></dd>
|
||||
@ -329,6 +348,7 @@ extends org.bukkit.plugin.java.JavaPlugin</pre>
|
||||
<li class="blockList">
|
||||
<h4>onDisable</h4>
|
||||
<pre>public void onDisable()</pre>
|
||||
<div class="block">Disable Plugin</div>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code>onDisable</code> in interface <code>org.bukkit.plugin.Plugin</code></dd>
|
||||
|
@ -86,7 +86,9 @@
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><a href="../../../../../net/ME1312/SubServers/Client/Bukkit/SubPlugin.html" title="class in net.ME1312.SubServers.Client.Bukkit">SubPlugin</a></td>
|
||||
<td class="colLast"> </td>
|
||||
<td class="colLast">
|
||||
<div class="block">SubServers Client Plugin Class</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
@ -170,6 +170,7 @@
|
||||
</ul>
|
||||
<h2 title="Interface Hierarchy">Interface Hierarchy</h2>
|
||||
<ul>
|
||||
<li type="circle">net.ME1312.SubServers.Client.Bukkit.Library.<a href="net/ME1312/SubServers/Client/Bukkit/Library/ExtraDataHandler.html" title="interface in net.ME1312.SubServers.Client.Bukkit.Library"><span class="typeNameLink">ExtraDataHandler</span></a></li>
|
||||
<li type="circle">net.ME1312.SubServers.Client.Bukkit.Library.<a href="net/ME1312/SubServers/Client/Bukkit/Library/JSONCallback.html" title="interface in net.ME1312.SubServers.Client.Bukkit.Library"><span class="typeNameLink">JSONCallback</span></a></li>
|
||||
<li type="circle">net.ME1312.SubServers.Client.Bukkit.Network.<a href="net/ME1312/SubServers/Client/Bukkit/Network/PacketIn.html" title="interface in net.ME1312.SubServers.Client.Bukkit.Network"><span class="typeNameLink">PacketIn</span></a></li>
|
||||
<li type="circle">net.ME1312.SubServers.Client.Bukkit.Network.<a href="net/ME1312/SubServers/Client/Bukkit/Network/PacketOut.html" title="interface in net.ME1312.SubServers.Client.Bukkit.Network"><span class="typeNameLink">PacketOut</span></a></li>
|
||||
|
@ -2,5 +2,4 @@ Manifest-Version: 1.0
|
||||
Class-Path: BungeeCord.jar
|
||||
Main-Class: net.ME1312.SubServers.Bungee.Launch
|
||||
Implementation-Version: 2.11.2e
|
||||
Specification-Version: 3
|
||||
|
||||
Specification-Version: 0
|
||||
|
@ -33,15 +33,8 @@ public final class Launch {
|
||||
System.out.println("*** http://ci.md-5.net/job/BungeeCord ***");
|
||||
System.out.println("*******************************************");
|
||||
System.out.println("");
|
||||
System.exit(1);
|
||||
} else {
|
||||
System.out.println("");
|
||||
System.out.println("*******************************************");
|
||||
System.out.println("*** Warning: this build is Unofficial ***");
|
||||
System.out.println("*** ***");
|
||||
System.out.println("*** Please report all issues to ME1312, ***");
|
||||
System.out.println("*** NOT the Spigot Team. Thank You! ***");
|
||||
System.out.println("*******************************************");
|
||||
|
||||
Security.setProperty("networkaddress.cache.ttl", "30");
|
||||
Security.setProperty("networkaddress.cache.negative.ttl", "10");
|
||||
joptsimple.OptionParser parser = new joptsimple.OptionParser();
|
||||
@ -58,6 +51,13 @@ public final class Launch {
|
||||
System.out.println("SubServers v" + SubPlugin.class.getPackage().getImplementationVersion() + ((SubPlugin.class.getPackage().getSpecificationVersion().equals("0"))?"":" BETA "+SubPlugin.class.getPackage().getSpecificationVersion()));
|
||||
System.out.println("");
|
||||
} else {
|
||||
System.out.println("");
|
||||
System.out.println("*******************************************");
|
||||
System.out.println("*** Warning: this build is Unofficial ***");
|
||||
System.out.println("*** ***");
|
||||
System.out.println("*** Please report all issues to ME1312, ***");
|
||||
System.out.println("*** NOT the Spigot Team. Thank You! ***");
|
||||
System.out.println("*******************************************");
|
||||
try {
|
||||
if (net.md_5.bungee.BungeeCord.class.getPackage().getSpecificationVersion() != null) {
|
||||
Date date = (new SimpleDateFormat("yyyyMMdd")).parse(net.md_5.bungee.BungeeCord.class.getPackage().getSpecificationVersion());
|
||||
|
@ -5,10 +5,7 @@ import org.yaml.snakeyaml.DumperOptions;
|
||||
import org.yaml.snakeyaml.Yaml;
|
||||
import org.yaml.snakeyaml.error.YAMLException;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.FileInputStream;
|
||||
import java.io.FileWriter;
|
||||
import java.io.IOException;
|
||||
import java.io.*;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
@ -29,8 +26,10 @@ public class YAMLConfig {
|
||||
*/
|
||||
@SuppressWarnings("unchecked")
|
||||
public YAMLConfig(File file) throws IOException, YAMLException {
|
||||
this.file = file;
|
||||
this.yaml = new Yaml(getDumperOptions());
|
||||
if (file.exists()) {
|
||||
this.config = new YAMLSection((Map<String, ?>) (this.yaml = new Yaml(getDumperOptions())).load(new FileInputStream(this.file = file)), null, null, yaml);
|
||||
this.config = new YAMLSection((Map<String, ?>) yaml.load(new FileInputStream(file)), null, null, yaml);
|
||||
} else {
|
||||
this.config = new YAMLSection(null, null, null, yaml);
|
||||
}
|
||||
|
@ -6,6 +6,9 @@ import org.bukkit.event.HandlerList;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* Add Server Event
|
||||
*/
|
||||
public class SubAddServerEvent extends Event implements SubEvent {
|
||||
private UUID player;
|
||||
private String host;
|
||||
@ -25,6 +28,7 @@ public class SubAddServerEvent extends Event implements SubEvent {
|
||||
|
||||
/**
|
||||
* Gets the Server to be Added
|
||||
*
|
||||
* @return The Server to be Added
|
||||
*/
|
||||
public String getServer() { return server; }
|
||||
@ -40,6 +44,7 @@ public class SubAddServerEvent extends Event implements SubEvent {
|
||||
|
||||
/**
|
||||
* Gets the player that triggered the Event
|
||||
*
|
||||
* @return The Player that triggered this Event or null if Console
|
||||
*/
|
||||
public UUID getPlayer() { return player; }
|
||||
|
@ -8,6 +8,9 @@ import org.bukkit.event.HandlerList;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* Server Create Event
|
||||
*/
|
||||
public class SubCreateEvent extends Event implements SubEvent {
|
||||
private UUID player;
|
||||
private String host;
|
||||
@ -121,6 +124,7 @@ public class SubCreateEvent extends Event implements SubEvent {
|
||||
|
||||
/**
|
||||
* Gets the player that triggered the Event
|
||||
*
|
||||
* @return The Player that triggered this Event or null if Console
|
||||
*/
|
||||
public UUID getPlayer() { return player; }
|
||||
|
@ -6,6 +6,9 @@ import org.bukkit.event.Event;
|
||||
import org.bukkit.event.HandlerList;
|
||||
import org.json.JSONObject;
|
||||
|
||||
/**
|
||||
* SubData Recieve Generic Info Event
|
||||
*/
|
||||
public class SubDataRecieveGenericInfoEvent extends Event implements SubEvent {
|
||||
private String handle;
|
||||
private Version version;
|
||||
|
@ -6,13 +6,16 @@ import org.bukkit.event.HandlerList;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* Remove Server Event
|
||||
*/
|
||||
public class SubRemoveServerEvent extends Event implements SubEvent {
|
||||
private UUID player;
|
||||
private String host;
|
||||
private String server;
|
||||
|
||||
/**
|
||||
* Server Add Event
|
||||
* Server Remove Event
|
||||
*
|
||||
* @param player Player Adding Server
|
||||
* @param server Server Starting
|
||||
@ -24,8 +27,9 @@ public class SubRemoveServerEvent extends Event implements SubEvent {
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the Server to be Added
|
||||
* @return The Server to be Added
|
||||
* Gets the Server to be Removed
|
||||
*
|
||||
* @return The Server to be Removed
|
||||
*/
|
||||
public String getServer() { return server; }
|
||||
|
||||
@ -40,6 +44,7 @@ public class SubRemoveServerEvent extends Event implements SubEvent {
|
||||
|
||||
/**
|
||||
* Gets the player that triggered the Event
|
||||
*
|
||||
* @return The Player that triggered this Event or null if Console
|
||||
*/
|
||||
public UUID getPlayer() { return player; }
|
||||
|
@ -6,6 +6,9 @@ import org.bukkit.event.HandlerList;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* Send Command Event
|
||||
*/
|
||||
public class SubSendCommandEvent extends Event implements SubEvent {
|
||||
private UUID player;
|
||||
private String server;
|
||||
@ -25,12 +28,14 @@ public class SubSendCommandEvent extends Event implements SubEvent {
|
||||
|
||||
/**
|
||||
* Gets the Server Effected
|
||||
*
|
||||
* @return The Server Effected
|
||||
*/
|
||||
public String getServer() { return server; }
|
||||
|
||||
/**
|
||||
* Gets the player that triggered the Event
|
||||
*
|
||||
* @return The Player that triggered this Event or null if Console
|
||||
*/
|
||||
public UUID getPlayer() { return player; }
|
||||
|
@ -6,6 +6,9 @@ import org.bukkit.event.HandlerList;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* Start Server Event
|
||||
*/
|
||||
public class SubStartEvent extends Event implements SubEvent {
|
||||
private boolean cancelled = false;
|
||||
private UUID player;
|
||||
@ -24,12 +27,14 @@ public class SubStartEvent extends Event implements SubEvent {
|
||||
|
||||
/**
|
||||
* Gets the Server Effected
|
||||
*
|
||||
* @return The Server Effected
|
||||
*/
|
||||
public String getServer() { return server; }
|
||||
|
||||
/**
|
||||
* Gets the player that triggered the Event
|
||||
*
|
||||
* @return The Player that triggered this Event or null if Console
|
||||
*/
|
||||
public UUID getPlayer() { return player; }
|
||||
|
@ -7,6 +7,9 @@ import org.bukkit.event.HandlerList;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* Server Stop Event
|
||||
*/
|
||||
public class SubStopEvent extends Event implements SubEvent {
|
||||
private UUID player;
|
||||
private String server;
|
||||
@ -27,12 +30,14 @@ public class SubStopEvent extends Event implements SubEvent {
|
||||
|
||||
/**
|
||||
* Gets the Server Effected
|
||||
*
|
||||
* @return The Server Effected
|
||||
*/
|
||||
public String getServer() { return server; }
|
||||
|
||||
/**
|
||||
* Gets the player that triggered the Event
|
||||
*
|
||||
* @return The Player that triggered this Event or null if Console
|
||||
*/
|
||||
public UUID getPlayer() { return player; }
|
||||
|
@ -4,6 +4,9 @@ import net.ME1312.SubServers.Client.Bukkit.Library.SubEvent;
|
||||
import org.bukkit.event.Event;
|
||||
import org.bukkit.event.HandlerList;
|
||||
|
||||
/**
|
||||
* Server Shell Exit Event
|
||||
*/
|
||||
public class SubStoppedEvent extends Event implements SubEvent {
|
||||
private String server;
|
||||
|
||||
@ -18,6 +21,7 @@ public class SubStoppedEvent extends Event implements SubEvent {
|
||||
|
||||
/**
|
||||
* Gets the Server Effected
|
||||
*
|
||||
* @return The Server Effected
|
||||
*/
|
||||
public String getServer() { return server; }
|
||||
|
@ -3,8 +3,31 @@ package net.ME1312.SubServers.Client.Bukkit.Graphic;
|
||||
import org.bukkit.entity.Player;
|
||||
import org.bukkit.inventory.ItemStack;
|
||||
|
||||
/**
|
||||
* GUI Renderer Layout Class
|
||||
*/
|
||||
public interface Renderer {
|
||||
|
||||
/**
|
||||
* Open the GUI
|
||||
*
|
||||
* @param player Player Opening
|
||||
* @param object Object Name
|
||||
*/
|
||||
void open(Player player, String object);
|
||||
|
||||
/**
|
||||
* Get Renderer Icon
|
||||
*
|
||||
* @return Icon
|
||||
*/
|
||||
ItemStack getIcon();
|
||||
|
||||
/**
|
||||
* Check if this Renderer is enabled for this Object
|
||||
*
|
||||
* @param object Object Name
|
||||
* @return Enabled Status
|
||||
*/
|
||||
boolean isEnabled(String object);
|
||||
}
|
||||
|
@ -23,11 +23,19 @@ import org.json.JSONObject;
|
||||
import java.util.HashMap;
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* GUI Listener
|
||||
*/
|
||||
public class UIListener implements Listener {
|
||||
private HashMap<UUID, JSONCallback> input = new HashMap<UUID, JSONCallback>();
|
||||
private HashMap<UUID, UIRenderer> gui = new HashMap<UUID, UIRenderer>();
|
||||
private SubPlugin plugin;
|
||||
|
||||
/**
|
||||
* Creates a new GUI Listener
|
||||
*
|
||||
* @param plugin Event
|
||||
*/
|
||||
public UIListener(SubPlugin plugin) {
|
||||
this.plugin = plugin;
|
||||
Bukkit.getPluginManager().registerEvents(this, plugin);
|
||||
@ -44,6 +52,11 @@ public class UIListener implements Listener {
|
||||
return gui.get(player.getUniqueId());
|
||||
}
|
||||
|
||||
/**
|
||||
* Click Listener
|
||||
*
|
||||
* @param event Event
|
||||
*/
|
||||
@EventHandler(priority = EventPriority.HIGHEST)
|
||||
public void click(InventoryClickEvent event) {
|
||||
Player player = (Player) event.getWhoClicked();
|
||||
@ -371,6 +384,11 @@ public class UIListener implements Listener {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Input Listener
|
||||
*
|
||||
* @param event Event
|
||||
*/
|
||||
@SuppressWarnings("deprecation")
|
||||
@EventHandler(priority = EventPriority.HIGHEST)
|
||||
public void input(org.bukkit.event.player.PlayerChatEvent event) {
|
||||
@ -383,6 +401,11 @@ public class UIListener implements Listener {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Input Listener
|
||||
*
|
||||
* @param event Event
|
||||
*/
|
||||
@EventHandler(priority = EventPriority.HIGHEST)
|
||||
public void input(PlayerCommandPreprocessEvent event) {
|
||||
if (!event.isCancelled() && input.keySet().contains(event.getPlayer().getUniqueId())) {
|
||||
@ -394,11 +417,21 @@ public class UIListener implements Listener {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* GUI Close Listener
|
||||
*
|
||||
* @param event Event
|
||||
*/
|
||||
@EventHandler
|
||||
public void close(InventoryCloseEvent event) {
|
||||
if (gui.keySet().contains(event.getPlayer().getUniqueId())) gui.get(event.getPlayer().getUniqueId()).open = false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Clean Renderers
|
||||
*
|
||||
* @param event Event
|
||||
*/
|
||||
@EventHandler
|
||||
public void clean(PlayerQuitEvent event) {
|
||||
if (gui.keySet().contains(event.getPlayer().getUniqueId())) {
|
||||
|
@ -32,6 +32,10 @@ public class UIRenderer {
|
||||
protected boolean open = false;
|
||||
protected final UUID player;
|
||||
private SubPlugin plugin;
|
||||
|
||||
/**
|
||||
* Options Layout Class
|
||||
*/
|
||||
public abstract static class Options {
|
||||
List<Runnable> history = new LinkedList<Runnable>();
|
||||
private boolean init = false;
|
||||
@ -618,6 +622,10 @@ public class UIRenderer {
|
||||
}
|
||||
}));
|
||||
}
|
||||
|
||||
/**
|
||||
* SubCreator Options Class
|
||||
*/
|
||||
public static class CreatorOptions extends Options {
|
||||
private String host;
|
||||
private String name = null;
|
||||
|
@ -11,34 +11,66 @@ import java.io.FileWriter;
|
||||
import java.io.IOException;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* YAML Config Class
|
||||
*/
|
||||
@SuppressWarnings("unused")
|
||||
public class YAMLConfig {
|
||||
private File file;
|
||||
private Yaml yaml;
|
||||
private YAMLSection config;
|
||||
|
||||
/**
|
||||
* Creates/Loads a YAML Formatted Config
|
||||
*
|
||||
* @param file
|
||||
* @throws IOException
|
||||
* @throws YAMLException
|
||||
*/
|
||||
@SuppressWarnings("unchecked")
|
||||
public YAMLConfig(File file) throws IOException, YAMLException {
|
||||
this.file = file;
|
||||
this.yaml = new Yaml(getDumperOptions());
|
||||
if (file.exists()) {
|
||||
this.config = new YAMLSection((Map<String, ?>) (this.yaml = new Yaml(getDumperOptions())).load(new FileInputStream(this.file = file)), null, null, yaml);
|
||||
this.config = new YAMLSection((Map<String, ?>) yaml.load(new FileInputStream(file)), null, null, yaml);
|
||||
} else {
|
||||
this.config = new YAMLSection(null, null, null, yaml);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Config Contents
|
||||
*
|
||||
* @return Config Contents
|
||||
*/
|
||||
public YAMLSection get() {
|
||||
return config;
|
||||
}
|
||||
|
||||
public void set(YAMLSection yaml) {
|
||||
config = yaml;
|
||||
/**
|
||||
* Set Config Contents
|
||||
*
|
||||
* @param value Value
|
||||
*/
|
||||
public void set(YAMLSection value) {
|
||||
config = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Reload Config Contents
|
||||
*
|
||||
* @throws IOException
|
||||
*/
|
||||
@SuppressWarnings("unchecked")
|
||||
public void reload() throws IOException {
|
||||
config = new YAMLSection((Map<String, Object>) yaml.load(new FileInputStream(file)), null, null, yaml);
|
||||
}
|
||||
|
||||
/**
|
||||
* Save Config Contents
|
||||
*
|
||||
* @throws IOException
|
||||
*/
|
||||
public void save() throws IOException {
|
||||
FileWriter writer = new FileWriter(file);
|
||||
yaml.dump(config.map, writer);
|
||||
@ -50,6 +82,11 @@ public class YAMLConfig {
|
||||
return yaml.dump(config.map);
|
||||
}
|
||||
|
||||
/**
|
||||
* Converts Config Contents to JSON
|
||||
*
|
||||
* @return JSON Formatted Config Contents
|
||||
*/
|
||||
public JSONObject toJSON() {
|
||||
return new JSONObject(config.map);
|
||||
}
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -1,6 +1,7 @@
|
||||
package net.ME1312.SubServers.Client.Bukkit.Library.Config;
|
||||
|
||||
import org.bukkit.ChatColor;
|
||||
import net.ME1312.SubServers.Client.Bukkit.Library.Util;
|
||||
import net.md_5.bungee.api.ChatColor;
|
||||
import org.yaml.snakeyaml.Yaml;
|
||||
|
||||
import java.util.ArrayList;
|
||||
@ -8,6 +9,9 @@ import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* YAML Value Class
|
||||
*/
|
||||
@SuppressWarnings({"unchecked", "unused"})
|
||||
public class YAMLValue {
|
||||
protected Object obj;
|
||||
@ -15,37 +19,72 @@ public class YAMLValue {
|
||||
protected YAMLSection up;
|
||||
private Yaml yaml;
|
||||
|
||||
public YAMLValue(Object obj, YAMLSection up, String label, Yaml yaml) {
|
||||
protected YAMLValue(Object obj, YAMLSection up, String label, Yaml yaml) {
|
||||
this.obj = obj;
|
||||
this.label = label;
|
||||
this.yaml = yaml;
|
||||
this.up = up;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the YAML Section this Object was defined in
|
||||
*
|
||||
* @return YAML Section
|
||||
*/
|
||||
public YAMLSection getDefiningSection() {
|
||||
return up;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Object
|
||||
*
|
||||
* @return Object
|
||||
*/
|
||||
public Object asObject() {
|
||||
return obj;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Object as List
|
||||
*
|
||||
* @return List
|
||||
*/
|
||||
public List<?> asObjectList() {
|
||||
return (List<?>) obj;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Object as Boolean
|
||||
*
|
||||
* @return Boolean
|
||||
*/
|
||||
public boolean asBoolean() {
|
||||
return (boolean) obj;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Object as List
|
||||
*
|
||||
* @return List
|
||||
*/
|
||||
public List<Boolean> asBooleanList() {
|
||||
return (List<Boolean>) obj;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Object as YAML Section
|
||||
*
|
||||
* @return YAML Section
|
||||
*/
|
||||
public YAMLSection asSection() {
|
||||
return new YAMLSection((Map<String, ?>) obj, up, label, yaml);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Object as YAML Section List
|
||||
*
|
||||
* @return YAML Section List
|
||||
*/
|
||||
public List<YAMLSection> asSectionList() {
|
||||
List<YAMLSection> values = new ArrayList<YAMLSection>();
|
||||
for (Map<String, ?> value : (List<? extends Map<String, ?>>) obj) {
|
||||
@ -54,70 +93,147 @@ public class YAMLValue {
|
||||
return values;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Object as Double
|
||||
*
|
||||
* @return Double
|
||||
*/
|
||||
public double asDouble() {
|
||||
return (double) obj;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Object as Double List
|
||||
*
|
||||
* @return Double List
|
||||
*/
|
||||
public List<Double> asDoubleList() {
|
||||
return (List<Double>) obj;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Object as Float
|
||||
*
|
||||
* @return Float
|
||||
*/
|
||||
public float asFloat() {
|
||||
return (float) obj;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Object as Float List
|
||||
*
|
||||
* @return Float List
|
||||
*/
|
||||
public List<Float> asFloatList() {
|
||||
return (List<Float>) obj;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Object as Integer
|
||||
*
|
||||
* @return Integer
|
||||
*/
|
||||
public int asInt() {
|
||||
return (int) obj;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Object as Integer List
|
||||
*
|
||||
* @return Integer List
|
||||
*/
|
||||
public List<Integer> asIntList() {
|
||||
return (List<Integer>) obj;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Object as Long
|
||||
*
|
||||
* @return Long
|
||||
*/
|
||||
public long asLong() {
|
||||
return (long) obj;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Object as Long List
|
||||
*
|
||||
* @return Long List
|
||||
*/
|
||||
public List<Long> asLongList() {
|
||||
return (List<Long>) obj;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Object as Unparsed String
|
||||
*
|
||||
* @return Unparsed String
|
||||
*/
|
||||
public String asRawString() {
|
||||
return (String) obj;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Object as Unparsed String List
|
||||
*
|
||||
* @return Unparsed String List
|
||||
*/
|
||||
public List<String> asRawStringList() {
|
||||
return (List<String>) obj;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Object as String
|
||||
*
|
||||
* @return String
|
||||
*/
|
||||
public String asString() {
|
||||
return YAMLSection.unescapeJavaString((String) obj);
|
||||
return Util.unescapeJavaString((String) obj);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Object as String List
|
||||
*
|
||||
* @return String List
|
||||
*/
|
||||
public List<String> asStringList() {
|
||||
List<String> values = new ArrayList<String>();
|
||||
for (String value : (List<String>) obj) {
|
||||
values.add(YAMLSection.unescapeJavaString(value));
|
||||
values.add(Util.unescapeJavaString(value));
|
||||
}
|
||||
return values;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Object as Colored String
|
||||
*
|
||||
* @param color Color Char to parse
|
||||
* @return Colored String
|
||||
*/
|
||||
public String asColoredString(char color) {
|
||||
return ChatColor.translateAlternateColorCodes(color, YAMLSection.unescapeJavaString((String) obj));
|
||||
return ChatColor.translateAlternateColorCodes(color, Util.unescapeJavaString((String) obj));
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Object as Colored String List
|
||||
*
|
||||
* @param color Color Char to parse
|
||||
* @return Colored String List
|
||||
*/
|
||||
public List<String> asColoredStringList(char color) {
|
||||
List<String> values = new ArrayList<String>();
|
||||
for (String value : (List<String>) obj) {
|
||||
values.add(ChatColor.translateAlternateColorCodes(color, YAMLSection.unescapeJavaString(value)));
|
||||
values.add(ChatColor.translateAlternateColorCodes(color, Util.unescapeJavaString(value)));
|
||||
}
|
||||
return values;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Object as UUID
|
||||
*
|
||||
* @return UUID
|
||||
*/
|
||||
public UUID asUUID() {
|
||||
return UUID.fromString((String) obj);
|
||||
}
|
||||
@ -130,38 +246,87 @@ public class YAMLValue {
|
||||
return values;
|
||||
}
|
||||
|
||||
/**
|
||||
* Check if object is a Boolean
|
||||
*
|
||||
* @return Boolean Status
|
||||
*/
|
||||
public boolean isBoolean() {
|
||||
return (obj instanceof Boolean);
|
||||
}
|
||||
|
||||
/**
|
||||
* Check if object is a YAML Section
|
||||
*
|
||||
* @return YAML Section Status
|
||||
*/
|
||||
public boolean isSection() {
|
||||
return (obj instanceof Map);
|
||||
}
|
||||
|
||||
/**
|
||||
* Check if object is a Double
|
||||
*
|
||||
* @return Double Status
|
||||
*/
|
||||
public boolean isDouble() {
|
||||
return (obj instanceof Double);
|
||||
}
|
||||
|
||||
/**
|
||||
* Check if object is a Float
|
||||
*
|
||||
* @return Float Status
|
||||
*/
|
||||
public boolean isFloat(String path) {
|
||||
return (obj instanceof Float);
|
||||
}
|
||||
|
||||
/**
|
||||
* Check if object is an Integer
|
||||
*
|
||||
* @return Integer Status
|
||||
*/
|
||||
public boolean isInt() {
|
||||
return (obj instanceof Integer);
|
||||
}
|
||||
|
||||
/**
|
||||
* Check if object is a List
|
||||
*
|
||||
* @return List Status
|
||||
*/
|
||||
public boolean isList() {
|
||||
return (obj instanceof List);
|
||||
}
|
||||
|
||||
/**
|
||||
* Check if object is a Long
|
||||
*
|
||||
* @return Long Status
|
||||
*/
|
||||
public boolean isLong() {
|
||||
return (obj instanceof Long);
|
||||
}
|
||||
|
||||
/**
|
||||
* Check if object is a String
|
||||
*
|
||||
* @return String Status
|
||||
*/
|
||||
public boolean isString() {
|
||||
return (obj instanceof String);
|
||||
}
|
||||
|
||||
/**
|
||||
* Check if object is a UUID
|
||||
*
|
||||
* @return UUID Status
|
||||
*/
|
||||
public boolean isUUID(String handle) {
|
||||
return (obj instanceof String && !Util.isException(() -> UUID.fromString((String) obj)));
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return obj.toString();
|
||||
|
@ -3,7 +3,7 @@ package net.ME1312.SubServers.Client.Bukkit.Library;
|
||||
/**
|
||||
* Container Class
|
||||
*
|
||||
* @author ME1312
|
||||
* @param <V> Item
|
||||
*/
|
||||
public class Container<V> {
|
||||
private V obj;
|
||||
|
@ -1,5 +1,8 @@
|
||||
package net.ME1312.SubServers.Client.Bukkit.Library.Exception;
|
||||
|
||||
/**
|
||||
* Illegal Packet Exception
|
||||
*/
|
||||
public class IllegalPacketException extends IllegalStateException {
|
||||
public IllegalPacketException() {}
|
||||
public IllegalPacketException(String s) {
|
||||
|
@ -0,0 +1,47 @@
|
||||
package net.ME1312.SubServers.Client.Bukkit.Library;
|
||||
|
||||
import net.ME1312.SubServers.Client.Bukkit.Library.Config.YAMLSection;
|
||||
import net.ME1312.SubServers.Client.Bukkit.Library.Config.YAMLValue;
|
||||
|
||||
/**
|
||||
* Extra Data Handler Layout Class
|
||||
*/
|
||||
public interface ExtraDataHandler {
|
||||
/**
|
||||
* Add an extra value to this Server
|
||||
*
|
||||
* @param handle Handle
|
||||
* @param value Value
|
||||
*/
|
||||
void addExtra(String handle, Object value);
|
||||
|
||||
/**
|
||||
* Determine if an extra value exists
|
||||
*
|
||||
* @param handle Handle
|
||||
* @return Value Status
|
||||
*/
|
||||
boolean hasExtra(String handle);
|
||||
|
||||
/**
|
||||
* Get an extra value
|
||||
*
|
||||
* @param handle Handle
|
||||
* @return Value
|
||||
*/
|
||||
YAMLValue getExtra(String handle);
|
||||
|
||||
/**
|
||||
* Get the extra value section
|
||||
*
|
||||
* @return Extra Value Section
|
||||
*/
|
||||
YAMLSection getExtra();
|
||||
|
||||
/**
|
||||
* Remove an extra value from this Server
|
||||
*
|
||||
* @param handle Handle
|
||||
*/
|
||||
void removeExtra(String handle);
|
||||
}
|
@ -2,6 +2,14 @@ package net.ME1312.SubServers.Client.Bukkit.Library;
|
||||
|
||||
import org.json.JSONObject;
|
||||
|
||||
/**
|
||||
* JSON Callback Class
|
||||
*/
|
||||
public interface JSONCallback {
|
||||
/**
|
||||
* Run the Callback
|
||||
*
|
||||
* @param json JSON
|
||||
*/
|
||||
void run(JSONObject json);
|
||||
}
|
||||
|
@ -1,5 +1,10 @@
|
||||
package net.ME1312.SubServers.Client.Bukkit.Library;
|
||||
|
||||
/**
|
||||
* Named Container Class
|
||||
* @param <T> Name
|
||||
* @param <V> Item
|
||||
*/
|
||||
public class NamedContainer<T, V> extends Container<V> {
|
||||
private T name;
|
||||
|
||||
|
@ -4,8 +4,6 @@ import java.io.File;
|
||||
|
||||
/**
|
||||
* Universal File Class
|
||||
*
|
||||
* @author ME1312
|
||||
*/
|
||||
public class UniversalFile extends File {
|
||||
|
||||
|
@ -2,12 +2,22 @@ package net.ME1312.SubServers.Client.Bukkit.Library;
|
||||
|
||||
import java.io.*;
|
||||
|
||||
/**
|
||||
* SubServers Utility Class
|
||||
*/
|
||||
public final class Util {
|
||||
private Util(){}
|
||||
public interface ExceptionRunnable {
|
||||
void run() throws Throwable;
|
||||
}
|
||||
|
||||
/**
|
||||
* Read Everything from Reader
|
||||
*
|
||||
* @param rd Reader
|
||||
* @return Reader Contents
|
||||
* @throws IOException
|
||||
*/
|
||||
public static String readAll(Reader rd) throws IOException {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
int cp;
|
||||
@ -17,6 +27,13 @@ public final class Util {
|
||||
return sb.toString();
|
||||
}
|
||||
|
||||
/**
|
||||
* Copy from the Class Loader
|
||||
*
|
||||
* @param loader ClassLoader
|
||||
* @param resource Location From
|
||||
* @param destination Location To
|
||||
*/
|
||||
public static void copyFromJar(ClassLoader loader, String resource, String destination) {
|
||||
InputStream resStreamIn = loader.getResourceAsStream(resource);
|
||||
File resDestFile = new File(destination);
|
||||
@ -34,13 +51,12 @@ public final class Util {
|
||||
}
|
||||
}
|
||||
|
||||
public static boolean isSpigot() {
|
||||
final Container<Boolean> spigot = new Container<Boolean>(false);
|
||||
return !isException(() -> {
|
||||
if (Class.forName("org.spigotmc.SpigotConfig") != null) spigot.set(true);
|
||||
}) && spigot.get();
|
||||
}
|
||||
|
||||
/**
|
||||
* Determines if an Exception will occur
|
||||
*
|
||||
* @param runnable Runnable
|
||||
* @return If an Exception occured
|
||||
*/
|
||||
public static boolean isException(ExceptionRunnable runnable) {
|
||||
try {
|
||||
runnable.run();
|
||||
@ -50,6 +66,31 @@ public final class Util {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Delete Directory
|
||||
*
|
||||
* @param folder Location
|
||||
*/
|
||||
public static void deleteDirectory(File folder) {
|
||||
File[] files = folder.listFiles();
|
||||
if(files!=null) {
|
||||
for(File f: files) {
|
||||
if(f.isDirectory()) {
|
||||
deleteDirectory(f);
|
||||
} else {
|
||||
f.delete();
|
||||
}
|
||||
}
|
||||
}
|
||||
folder.delete();
|
||||
}
|
||||
|
||||
/**
|
||||
* Parse escapes in a Java String
|
||||
*
|
||||
* @param str String
|
||||
* @return Unescaped String
|
||||
*/
|
||||
public static String unescapeJavaString(String str) {
|
||||
|
||||
StringBuilder sb = new StringBuilder(str.length());
|
||||
|
@ -4,8 +4,6 @@ import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* Version Class
|
||||
*
|
||||
* @author ME1312
|
||||
*/
|
||||
@SuppressWarnings("serial")
|
||||
public class Version implements Serializable, Comparable<Version> {
|
||||
|
@ -5,8 +5,6 @@ import org.json.JSONObject;
|
||||
|
||||
/**
|
||||
* PacketIn Layout Class
|
||||
*
|
||||
* @author ME1312
|
||||
*/
|
||||
public interface PacketIn {
|
||||
/**
|
||||
|
@ -5,8 +5,6 @@ import org.json.JSONObject;
|
||||
|
||||
/**
|
||||
* PacketOut Layout Class
|
||||
*
|
||||
* @author ME1312
|
||||
*/
|
||||
public interface PacketOut {
|
||||
/**
|
||||
|
@ -20,6 +20,9 @@ import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* SubData Direct Client Class
|
||||
*/
|
||||
public final class SubDataClient {
|
||||
private static HashMap<Class<? extends PacketOut>, String> pOut = new HashMap<Class<? extends PacketOut>, String>();
|
||||
private static HashMap<String, List<PacketIn>> pIn = new HashMap<String, List<PacketIn>>();
|
||||
|
@ -1,6 +1,7 @@
|
||||
package net.ME1312.SubServers.Client.Bukkit;
|
||||
|
||||
import net.ME1312.SubServers.Client.Bukkit.Graphic.UIRenderer;
|
||||
import net.ME1312.SubServers.Client.Bukkit.Library.Container;
|
||||
import net.ME1312.SubServers.Client.Bukkit.Library.Util;
|
||||
import net.ME1312.SubServers.Client.Bukkit.Library.Version.Version;
|
||||
import net.ME1312.SubServers.Client.Bukkit.Network.Packet.*;
|
||||
@ -42,7 +43,10 @@ public final class SubCommand implements CommandExecutor {
|
||||
plugin.subdata.sendPacket(new PacketDownloadServerList(null, UUID.randomUUID().toString(), json -> {
|
||||
int i = 0;
|
||||
TreeMap<String, JSONObject> servers = new TreeMap<String, JSONObject>();
|
||||
if (Util.isSpigot() && sender instanceof Player) {
|
||||
Container<Boolean> spigot = new Container<Boolean>(false);
|
||||
if (!Util.isException(() -> {
|
||||
if (Class.forName("org.spigotmc.SpigotConfig") != null) spigot.set(true);
|
||||
}) && spigot.get() && sender instanceof Player) {
|
||||
net.md_5.bungee.api.chat.TextComponent hostm = new net.md_5.bungee.api.chat.TextComponent(ChatColor.RESET.toString());
|
||||
net.md_5.bungee.api.chat.TextComponent serverm = new net.md_5.bungee.api.chat.TextComponent(ChatColor.RESET.toString());
|
||||
net.md_5.bungee.api.chat.TextComponent div = new net.md_5.bungee.api.chat.TextComponent(plugin.lang.getSection("Lang").getColoredString("Command.List.Divider", '&'));
|
||||
|
@ -13,22 +13,31 @@ import org.bukkit.plugin.java.JavaPlugin;
|
||||
import java.io.*;
|
||||
import java.net.InetAddress;
|
||||
import java.nio.file.Files;
|
||||
import java.util.Arrays;
|
||||
|
||||
/**
|
||||
* SubServers Client Plugin Class
|
||||
*/
|
||||
public final class SubPlugin extends JavaPlugin {
|
||||
public YAMLConfig pluginconf;
|
||||
public YAMLSection lang = null;
|
||||
public SubDataClient subdata = null;
|
||||
|
||||
public UIListener gui = null;
|
||||
public Version version;
|
||||
protected Version bversion = new Version(2);
|
||||
public final Version version;
|
||||
public final Version bversion = new Version(2);
|
||||
|
||||
//public final SubAPI api = new SubAPI(this);
|
||||
|
||||
public SubPlugin() {
|
||||
super();
|
||||
version = new Version(getDescription().getVersion());
|
||||
}
|
||||
|
||||
/**
|
||||
* Enable Plugin
|
||||
*/
|
||||
@Override
|
||||
public void onEnable() {
|
||||
version = new Version(getDescription().getVersion());
|
||||
try {
|
||||
Bukkit.getLogger().info("SubServers > Loading SubServers v" + version.toString() + " Libraries... ");
|
||||
getDataFolder().mkdirs();
|
||||
@ -57,6 +66,9 @@ public final class SubPlugin extends JavaPlugin {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Disable Plugin
|
||||
*/
|
||||
@Override
|
||||
public void onDisable() {
|
||||
if (subdata != null)
|
||||
|
Loading…
Reference in New Issue
Block a user