Quick fix to add SubData Connection ID to the new API

This commit is contained in:
ME1312 2018-07-05 23:01:38 -04:00
parent 27b1d6b51a
commit 35c2e43192
No known key found for this signature in database
GPG Key ID: FEFFE2F698E88FA8
42 changed files with 198 additions and 180 deletions

View File

@ -263,9 +263,9 @@
<div-option class="option-2">
<form id="donate" action="https://www.paypal.com/cgi-bin/webscr" method="get" target="_blank"><!--
--><input type="hidden" name="cmd" value="_xclick" /><!--
--><input type="hidden" name="business" value="ECL5BPVRT5ANA" /><!--
--><input type="hidden" name="business" value="4S5QNFZGEFJN2" /><!--
--><input type="hidden" name="lc" value="US" /><!--
--><input type="hidden" name="item_name" value="Donation" /><!--
--><input type="hidden" name="item_name" value="SubServers%202%20Donation" /><!--
-->$<input type="number" name="amount" step="0.01" min="1" value="15.00" /><!--
--><input type="hidden" name="currency_code" value="USD" /><!--
--><input type="hidden" name="button_subtype" value="services" /><!--

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -1191,6 +1191,10 @@
<dd>
<div class="block">Gets the SubData Client</div>
</dd>
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Client/Bukkit/Network/API/Server.html#getSubData--">getSubData()</a></span> - Method in class net.ME1312.SubServers.Client.Bukkit.Network.API.<a href="net/ME1312/SubServers/Client/Bukkit/Network/API/Server.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network.API">Server</a></dt>
<dd>
<div class="block">Gets the SubData Client Address</div>
</dd>
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Client/Bukkit/SubAPI.html#getSubDataNetwork--">getSubDataNetwork()</a></span> - Method in class net.ME1312.SubServers.Client.Bukkit.<a href="net/ME1312/SubServers/Client/Bukkit/SubAPI.html" title="class in net.ME1312.SubServers.Client.Bukkit">SubAPI</a></dt>
<dd>
<div class="block">Gets the SubData Network Manager</div>
@ -2185,10 +2189,6 @@
<dd>
<div class="block">Create an API representation of a Server</div>
</dd>
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Client/Bukkit/Network/API/SubServer.html#SubServer-net.ME1312.SubServers.Client.Bukkit.Network.API.Host-net.ME1312.SubServers.Client.Bukkit.Library.Config.YAMLSection-">SubServer(Host, YAMLSection)</a></span> - Constructor for class net.ME1312.SubServers.Client.Bukkit.Network.API.<a href="net/ME1312/SubServers/Client/Bukkit/Network/API/SubServer.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network.API">SubServer</a></dt>
<dd>
<div class="block">Create an API representation of a Server</div>
</dd>
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Client/Bukkit/Graphic/InternalUIRenderer.html#subserverAdmin-java.lang.String-">subserverAdmin(String)</a></span> - Method in class net.ME1312.SubServers.Client.Bukkit.Graphic.<a href="net/ME1312/SubServers/Client/Bukkit/Graphic/InternalUIRenderer.html" title="class in net.ME1312.SubServers.Client.Bukkit.Graphic">InternalUIRenderer</a></dt>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Client/Bukkit/Graphic/UIRenderer.html#subserverAdmin-java.lang.String-">subserverAdmin(String)</a></span> - Method in class net.ME1312.SubServers.Client.Bukkit.Graphic.<a href="net/ME1312/SubServers/Client/Bukkit/Graphic/UIRenderer.html" title="class in net.ME1312.SubServers.Client.Bukkit.Graphic">UIRenderer</a></dt>

View File

@ -365,6 +365,20 @@ extends java.lang.Object</pre>
<div class="block">Download a new copy of the data from SubData</div>
</li>
</ul>
<a name="getSubData--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSubData</h4>
<pre>public&nbsp;java.lang.String&nbsp;getSubData()</pre>
<div class="block">Gets the SubData Client Address</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>SubData Client Address (or null if unlinked/unsupported)</dd>
</dl>
</li>
</ul>
<a name="isEnabled--">
<!-- -->
</a>
@ -393,20 +407,6 @@ extends java.lang.Object</pre>
</dl>
</li>
</ul>
<a name="getSubData--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSubData</h4>
<pre>public&nbsp;java.lang.String&nbsp;getSubData()</pre>
<div class="block">Gets the SubData Client Address</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>SubData Client Address (or null if unlinked/unsupported)</dd>
</dl>
</li>
</ul>
<a name="getPath--">
<!-- -->
</a>

View File

@ -17,7 +17,7 @@
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10};
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};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
@ -197,30 +197,36 @@ extends java.lang.Object</pre>
</td>
</tr>
<tr id="i8" 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/Network/API/Server.html#getSubData--">getSubData</a></span>()</code>
<div class="block">Gets the SubData Client Address</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/API/Server.html#getTimestamp--">getTimestamp</a></span>()</code>
<div class="block">Get the Timestamp for when the data was last refreshed</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<tr id="i10" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/API/Server.html#isHidden--">isHidden</a></span>()</code>
<div class="block">If the server is hidden from players</div>
</td>
</tr>
<tr id="i10" class="altColor">
<tr id="i11" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/API/Server.html#isRestricted--">isRestricted</a></span>()</code>
<div class="block">Gets if the Server is Restricted</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<tr id="i12" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/API/Server.html#refresh--">refresh</a></span>()</code>
<div class="block">Download a new copy of the data from SubData</div>
</td>
</tr>
<tr id="i12" class="altColor">
<tr id="i13" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/API/Server.html#toString--">toString</a></span>()</code>&nbsp;</td>
</tr>
@ -291,6 +297,20 @@ extends java.lang.Object</pre>
<div class="block">Download a new copy of the data from SubData</div>
</li>
</ul>
<a name="getSubData--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSubData</h4>
<pre>public&nbsp;java.lang.String&nbsp;getSubData()</pre>
<div class="block">Gets the SubData Client Address</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>SubData Client Address (or null if not linked)</dd>
</dl>
</li>
</ul>
<a name="getName--">
<!-- -->
</a>

View File

@ -132,12 +132,6 @@ extends <a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Networ
<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/Network/API/SubServer.html#SubServer-net.ME1312.SubServers.Client.Bukkit.Network.API.Host-net.ME1312.SubServers.Client.Bukkit.Library.Config.YAMLSection-">SubServer</a></span>(<a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/API/Host.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network.API">Host</a>&nbsp;host,
<a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Config/YAMLSection.html" title="class in net.ME1312.SubServers.Client.Bukkit.Library.Config">YAMLSection</a>&nbsp;raw)</code>
<div class="block">Create an API representation of a Server</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/API/SubServer.html#SubServer-net.ME1312.SubServers.Client.Bukkit.Library.Config.YAMLSection-">SubServer</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>&nbsp;raw)</code>
<div class="block">Create an API representation of a Server</div>
</td>
@ -354,7 +348,7 @@ extends <a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Networ
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;net.ME1312.SubServers.Client.Bukkit.Network.API.<a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/API/Server.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network.API">Server</a></h3>
<code><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/API/Server.html#getAddress--">getAddress</a>, <a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/API/Server.html#getDisplayName--">getDisplayName</a>, <a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/API/Server.html#getGroups--">getGroups</a>, <a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/API/Server.html#getMotd--">getMotd</a>, <a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/API/Server.html#getName--">getName</a>, <a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/API/Server.html#getPlayers--">getPlayers</a>, <a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/API/Server.html#getSignature--">getSignature</a>, <a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/API/Server.html#getTimestamp--">getTimestamp</a>, <a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/API/Server.html#isHidden--">isHidden</a>, <a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/API/Server.html#isRestricted--">isRestricted</a>, <a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/API/Server.html#toString--">toString</a></code></li>
<code><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/API/Server.html#getAddress--">getAddress</a>, <a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/API/Server.html#getDisplayName--">getDisplayName</a>, <a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/API/Server.html#getGroups--">getGroups</a>, <a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/API/Server.html#getMotd--">getMotd</a>, <a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/API/Server.html#getName--">getName</a>, <a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/API/Server.html#getPlayers--">getPlayers</a>, <a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/API/Server.html#getSignature--">getSignature</a>, <a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/API/Server.html#getSubData--">getSubData</a>, <a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/API/Server.html#getTimestamp--">getTimestamp</a>, <a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/API/Server.html#isHidden--">isHidden</a>, <a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/API/Server.html#isRestricted--">isRestricted</a>, <a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/API/Server.html#toString--">toString</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
@ -380,7 +374,7 @@ extends <a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Networ
<a name="SubServer-net.ME1312.SubServers.Client.Bukkit.Library.Config.YAMLSection-">
<!-- -->
</a>
<ul class="blockList">
<ul class="blockListLast">
<li class="blockList">
<h4>SubServer</h4>
<pre>public&nbsp;SubServer(<a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Config/YAMLSection.html" title="class in net.ME1312.SubServers.Client.Bukkit.Library.Config">YAMLSection</a>&nbsp;raw)</pre>
@ -391,22 +385,6 @@ extends <a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Networ
</dl>
</li>
</ul>
<a name="SubServer-net.ME1312.SubServers.Client.Bukkit.Network.API.Host-net.ME1312.SubServers.Client.Bukkit.Library.Config.YAMLSection-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>SubServer</h4>
<pre>public&nbsp;SubServer(<a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Network/API/Host.html" title="class in net.ME1312.SubServers.Client.Bukkit.Network.API">Host</a>&nbsp;host,
<a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Config/YAMLSection.html" title="class in net.ME1312.SubServers.Client.Bukkit.Library.Config">YAMLSection</a>&nbsp;raw)</pre>
<div class="block">Create an API representation of a Server</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>host</code> - Host</dd>
<dd><code>raw</code> - JSON representation of the Server</dd>
</dl>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->

Binary file not shown.

View File

@ -1355,6 +1355,10 @@
<dd>
<div class="block">Gets the SubData Client</div>
</dd>
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Host/Network/API/Server.html#getSubData--">getSubData()</a></span> - Method in class net.ME1312.SubServers.Host.Network.API.<a href="net/ME1312/SubServers/Host/Network/API/Server.html" title="class in net.ME1312.SubServers.Host.Network.API">Server</a></dt>
<dd>
<div class="block">Gets the SubData Client Address</div>
</dd>
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Host/SubAPI.html#getSubDataNetwork--">getSubDataNetwork()</a></span> - Method in class net.ME1312.SubServers.Host.<a href="net/ME1312/SubServers/Host/SubAPI.html" title="class in net.ME1312.SubServers.Host">SubAPI</a></dt>
<dd>
<div class="block">Gets the SubData Network Manager</div>
@ -2674,10 +2678,6 @@
<dd>
<div class="block">Create an API representation of a Server</div>
</dd>
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Host/Network/API/SubServer.html#SubServer-net.ME1312.SubServers.Host.Network.API.Host-net.ME1312.SubServers.Host.Library.Config.YAMLSection-">SubServer(Host, YAMLSection)</a></span> - Constructor for class net.ME1312.SubServers.Host.Network.API.<a href="net/ME1312/SubServers/Host/Network/API/SubServer.html" title="class in net.ME1312.SubServers.Host.Network.API">SubServer</a></dt>
<dd>
<div class="block">Create an API representation of a Server</div>
</dd>
<dt><a href="net/ME1312/SubServers/Host/API/Event/SubStartEvent.html" title="class in net.ME1312.SubServers.Host.API.Event"><span class="typeNameLink">SubStartEvent</span></a> - Class in <a href="net/ME1312/SubServers/Host/API/Event/package-summary.html">net.ME1312.SubServers.Host.API.Event</a></dt>
<dd>
<div class="block">Start Server Event</div>

View File

@ -365,6 +365,20 @@ extends java.lang.Object</pre>
<div class="block">Download a new copy of the data from SubData</div>
</li>
</ul>
<a name="getSubData--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSubData</h4>
<pre>public&nbsp;java.lang.String&nbsp;getSubData()</pre>
<div class="block">Gets the SubData Client Address</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>SubData Client Address (or null if unlinked/unsupported)</dd>
</dl>
</li>
</ul>
<a name="isEnabled--">
<!-- -->
</a>
@ -393,20 +407,6 @@ extends java.lang.Object</pre>
</dl>
</li>
</ul>
<a name="getSubData--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSubData</h4>
<pre>public&nbsp;java.lang.String&nbsp;getSubData()</pre>
<div class="block">Gets the SubData Client Address</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>SubData Client Address (or null if unlinked/unsupported)</dd>
</dl>
</li>
</ul>
<a name="getPath--">
<!-- -->
</a>

View File

@ -17,7 +17,7 @@
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10};
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};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
@ -197,30 +197,36 @@ extends java.lang.Object</pre>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Host/Network/API/Server.html#getSubData--">getSubData</a></span>()</code>
<div class="block">Gets the SubData Client Address</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Host/Network/API/Server.html#getTimestamp--">getTimestamp</a></span>()</code>
<div class="block">Get the Timestamp for when the data was last refreshed</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<tr id="i10" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Host/Network/API/Server.html#isHidden--">isHidden</a></span>()</code>
<div class="block">If the server is hidden from players</div>
</td>
</tr>
<tr id="i10" class="altColor">
<tr id="i11" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Host/Network/API/Server.html#isRestricted--">isRestricted</a></span>()</code>
<div class="block">Gets if the Server is Restricted</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<tr id="i12" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Host/Network/API/Server.html#refresh--">refresh</a></span>()</code>
<div class="block">Download a new copy of the data from SubData</div>
</td>
</tr>
<tr id="i12" class="altColor">
<tr id="i13" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Host/Network/API/Server.html#toString--">toString</a></span>()</code>&nbsp;</td>
</tr>
@ -291,6 +297,20 @@ extends java.lang.Object</pre>
<div class="block">Download a new copy of the data from SubData</div>
</li>
</ul>
<a name="getSubData--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSubData</h4>
<pre>public&nbsp;java.lang.String&nbsp;getSubData()</pre>
<div class="block">Gets the SubData Client Address</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>SubData Client Address (or null if not linked)</dd>
</dl>
</li>
</ul>
<a name="getName--">
<!-- -->
</a>

View File

@ -132,12 +132,6 @@ extends <a href="../../../../../../net/ME1312/SubServers/Host/Network/API/Server
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Host/Network/API/SubServer.html#SubServer-net.ME1312.SubServers.Host.Network.API.Host-net.ME1312.SubServers.Host.Library.Config.YAMLSection-">SubServer</a></span>(<a href="../../../../../../net/ME1312/SubServers/Host/Network/API/Host.html" title="class in net.ME1312.SubServers.Host.Network.API">Host</a>&nbsp;host,
<a href="../../../../../../net/ME1312/SubServers/Host/Library/Config/YAMLSection.html" title="class in net.ME1312.SubServers.Host.Library.Config">YAMLSection</a>&nbsp;raw)</code>
<div class="block">Create an API representation of a Server</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Host/Network/API/SubServer.html#SubServer-net.ME1312.SubServers.Host.Library.Config.YAMLSection-">SubServer</a></span>(<a href="../../../../../../net/ME1312/SubServers/Host/Library/Config/YAMLSection.html" title="class in net.ME1312.SubServers.Host.Library.Config">YAMLSection</a>&nbsp;raw)</code>
<div class="block">Create an API representation of a Server</div>
</td>
@ -354,7 +348,7 @@ extends <a href="../../../../../../net/ME1312/SubServers/Host/Network/API/Server
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;net.ME1312.SubServers.Host.Network.API.<a href="../../../../../../net/ME1312/SubServers/Host/Network/API/Server.html" title="class in net.ME1312.SubServers.Host.Network.API">Server</a></h3>
<code><a href="../../../../../../net/ME1312/SubServers/Host/Network/API/Server.html#getAddress--">getAddress</a>, <a href="../../../../../../net/ME1312/SubServers/Host/Network/API/Server.html#getDisplayName--">getDisplayName</a>, <a href="../../../../../../net/ME1312/SubServers/Host/Network/API/Server.html#getGroups--">getGroups</a>, <a href="../../../../../../net/ME1312/SubServers/Host/Network/API/Server.html#getMotd--">getMotd</a>, <a href="../../../../../../net/ME1312/SubServers/Host/Network/API/Server.html#getName--">getName</a>, <a href="../../../../../../net/ME1312/SubServers/Host/Network/API/Server.html#getPlayers--">getPlayers</a>, <a href="../../../../../../net/ME1312/SubServers/Host/Network/API/Server.html#getSignature--">getSignature</a>, <a href="../../../../../../net/ME1312/SubServers/Host/Network/API/Server.html#getTimestamp--">getTimestamp</a>, <a href="../../../../../../net/ME1312/SubServers/Host/Network/API/Server.html#isHidden--">isHidden</a>, <a href="../../../../../../net/ME1312/SubServers/Host/Network/API/Server.html#isRestricted--">isRestricted</a>, <a href="../../../../../../net/ME1312/SubServers/Host/Network/API/Server.html#toString--">toString</a></code></li>
<code><a href="../../../../../../net/ME1312/SubServers/Host/Network/API/Server.html#getAddress--">getAddress</a>, <a href="../../../../../../net/ME1312/SubServers/Host/Network/API/Server.html#getDisplayName--">getDisplayName</a>, <a href="../../../../../../net/ME1312/SubServers/Host/Network/API/Server.html#getGroups--">getGroups</a>, <a href="../../../../../../net/ME1312/SubServers/Host/Network/API/Server.html#getMotd--">getMotd</a>, <a href="../../../../../../net/ME1312/SubServers/Host/Network/API/Server.html#getName--">getName</a>, <a href="../../../../../../net/ME1312/SubServers/Host/Network/API/Server.html#getPlayers--">getPlayers</a>, <a href="../../../../../../net/ME1312/SubServers/Host/Network/API/Server.html#getSignature--">getSignature</a>, <a href="../../../../../../net/ME1312/SubServers/Host/Network/API/Server.html#getSubData--">getSubData</a>, <a href="../../../../../../net/ME1312/SubServers/Host/Network/API/Server.html#getTimestamp--">getTimestamp</a>, <a href="../../../../../../net/ME1312/SubServers/Host/Network/API/Server.html#isHidden--">isHidden</a>, <a href="../../../../../../net/ME1312/SubServers/Host/Network/API/Server.html#isRestricted--">isRestricted</a>, <a href="../../../../../../net/ME1312/SubServers/Host/Network/API/Server.html#toString--">toString</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
@ -380,7 +374,7 @@ extends <a href="../../../../../../net/ME1312/SubServers/Host/Network/API/Server
<a name="SubServer-net.ME1312.SubServers.Host.Library.Config.YAMLSection-">
<!-- -->
</a>
<ul class="blockList">
<ul class="blockListLast">
<li class="blockList">
<h4>SubServer</h4>
<pre>public&nbsp;SubServer(<a href="../../../../../../net/ME1312/SubServers/Host/Library/Config/YAMLSection.html" title="class in net.ME1312.SubServers.Host.Library.Config">YAMLSection</a>&nbsp;raw)</pre>
@ -391,22 +385,6 @@ extends <a href="../../../../../../net/ME1312/SubServers/Host/Network/API/Server
</dl>
</li>
</ul>
<a name="SubServer-net.ME1312.SubServers.Host.Network.API.Host-net.ME1312.SubServers.Host.Library.Config.YAMLSection-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>SubServer</h4>
<pre>public&nbsp;SubServer(<a href="../../../../../../net/ME1312/SubServers/Host/Network/API/Host.html" title="class in net.ME1312.SubServers.Host.Network.API">Host</a>&nbsp;host,
<a href="../../../../../../net/ME1312/SubServers/Host/Library/Config/YAMLSection.html" title="class in net.ME1312.SubServers.Host.Library.Config">YAMLSection</a>&nbsp;raw)</pre>
<div class="block">Create an API representation of a Server</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>host</code> - Host</dd>
<dd><code>raw</code> - JSON representation of the Server</dd>
</dl>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->

Binary file not shown.

View File

@ -1125,6 +1125,10 @@
<dd>
<div class="block">Gets the SubData Client</div>
</dd>
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Sync/Network/API/Server.html#getSubData--">getSubData()</a></span> - Method in class net.ME1312.SubServers.Sync.Network.API.<a href="net/ME1312/SubServers/Sync/Network/API/Server.html" title="class in net.ME1312.SubServers.Sync.Network.API">Server</a></dt>
<dd>
<div class="block">Gets the SubData Client Address</div>
</dd>
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Sync/SubAPI.html#getSubDataNetwork--">getSubDataNetwork()</a></span> - Method in class net.ME1312.SubServers.Sync.<a href="net/ME1312/SubServers/Sync/SubAPI.html" title="class in net.ME1312.SubServers.Sync">SubAPI</a></dt>
<dd>
<div class="block">Gets the SubData Network Manager</div>
@ -2035,10 +2039,6 @@
<dd>
<div class="block">Create an API representation of a Server</div>
</dd>
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Sync/Network/API/SubServer.html#SubServer-net.ME1312.SubServers.Sync.Network.API.Host-net.ME1312.SubServers.Sync.Library.Config.YAMLSection-">SubServer(Host, YAMLSection)</a></span> - Constructor for class net.ME1312.SubServers.Sync.Network.API.<a href="net/ME1312/SubServers/Sync/Network/API/SubServer.html" title="class in net.ME1312.SubServers.Sync.Network.API">SubServer</a></dt>
<dd>
<div class="block">Create an API representation of a Server</div>
</dd>
<dt><a href="net/ME1312/SubServers/Sync/Server/SubServer.html" title="class in net.ME1312.SubServers.Sync.Server"><span class="typeNameLink">SubServer</span></a> - Class in <a href="net/ME1312/SubServers/Sync/Server/package-summary.html">net.ME1312.SubServers.Sync.Server</a></dt>
<dd>
<div class="block">SubServer Class</div>

View File

@ -365,6 +365,20 @@ extends java.lang.Object</pre>
<div class="block">Download a new copy of the data from SubData</div>
</li>
</ul>
<a name="getSubData--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSubData</h4>
<pre>public&nbsp;java.lang.String&nbsp;getSubData()</pre>
<div class="block">Gets the SubData Client Address</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>SubData Client Address (or null if unlinked/unsupported)</dd>
</dl>
</li>
</ul>
<a name="isEnabled--">
<!-- -->
</a>
@ -393,20 +407,6 @@ extends java.lang.Object</pre>
</dl>
</li>
</ul>
<a name="getSubData--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSubData</h4>
<pre>public&nbsp;java.lang.String&nbsp;getSubData()</pre>
<div class="block">Gets the SubData Client Address</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>SubData Client Address (or null if unlinked/unsupported)</dd>
</dl>
</li>
</ul>
<a name="getPath--">
<!-- -->
</a>

View File

@ -17,7 +17,7 @@
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10};
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};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
@ -197,30 +197,36 @@ extends java.lang.Object</pre>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Sync/Network/API/Server.html#getSubData--">getSubData</a></span>()</code>
<div class="block">Gets the SubData Client Address</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Sync/Network/API/Server.html#getTimestamp--">getTimestamp</a></span>()</code>
<div class="block">Get the Timestamp for when the data was last refreshed</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<tr id="i10" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Sync/Network/API/Server.html#isHidden--">isHidden</a></span>()</code>
<div class="block">If the server is hidden from players</div>
</td>
</tr>
<tr id="i10" class="altColor">
<tr id="i11" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Sync/Network/API/Server.html#isRestricted--">isRestricted</a></span>()</code>
<div class="block">Gets if the Server is Restricted</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<tr id="i12" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Sync/Network/API/Server.html#refresh--">refresh</a></span>()</code>
<div class="block">Download a new copy of the data from SubData</div>
</td>
</tr>
<tr id="i12" class="altColor">
<tr id="i13" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Sync/Network/API/Server.html#toString--">toString</a></span>()</code>&nbsp;</td>
</tr>
@ -291,6 +297,20 @@ extends java.lang.Object</pre>
<div class="block">Download a new copy of the data from SubData</div>
</li>
</ul>
<a name="getSubData--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSubData</h4>
<pre>public&nbsp;java.lang.String&nbsp;getSubData()</pre>
<div class="block">Gets the SubData Client Address</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>SubData Client Address (or null if not linked)</dd>
</dl>
</li>
</ul>
<a name="getName--">
<!-- -->
</a>

View File

@ -132,12 +132,6 @@ extends <a href="../../../../../../net/ME1312/SubServers/Sync/Network/API/Server
<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/Sync/Network/API/SubServer.html#SubServer-net.ME1312.SubServers.Sync.Network.API.Host-net.ME1312.SubServers.Sync.Library.Config.YAMLSection-">SubServer</a></span>(<a href="../../../../../../net/ME1312/SubServers/Sync/Network/API/Host.html" title="class in net.ME1312.SubServers.Sync.Network.API">Host</a>&nbsp;host,
<a href="../../../../../../net/ME1312/SubServers/Sync/Library/Config/YAMLSection.html" title="class in net.ME1312.SubServers.Sync.Library.Config">YAMLSection</a>&nbsp;raw)</code>
<div class="block">Create an API representation of a Server</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Sync/Network/API/SubServer.html#SubServer-net.ME1312.SubServers.Sync.Library.Config.YAMLSection-">SubServer</a></span>(<a href="../../../../../../net/ME1312/SubServers/Sync/Library/Config/YAMLSection.html" title="class in net.ME1312.SubServers.Sync.Library.Config">YAMLSection</a>&nbsp;raw)</code>
<div class="block">Create an API representation of a Server</div>
</td>
@ -354,7 +348,7 @@ extends <a href="../../../../../../net/ME1312/SubServers/Sync/Network/API/Server
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;net.ME1312.SubServers.Sync.Network.API.<a href="../../../../../../net/ME1312/SubServers/Sync/Network/API/Server.html" title="class in net.ME1312.SubServers.Sync.Network.API">Server</a></h3>
<code><a href="../../../../../../net/ME1312/SubServers/Sync/Network/API/Server.html#getAddress--">getAddress</a>, <a href="../../../../../../net/ME1312/SubServers/Sync/Network/API/Server.html#getDisplayName--">getDisplayName</a>, <a href="../../../../../../net/ME1312/SubServers/Sync/Network/API/Server.html#getGroups--">getGroups</a>, <a href="../../../../../../net/ME1312/SubServers/Sync/Network/API/Server.html#getMotd--">getMotd</a>, <a href="../../../../../../net/ME1312/SubServers/Sync/Network/API/Server.html#getName--">getName</a>, <a href="../../../../../../net/ME1312/SubServers/Sync/Network/API/Server.html#getPlayers--">getPlayers</a>, <a href="../../../../../../net/ME1312/SubServers/Sync/Network/API/Server.html#getSignature--">getSignature</a>, <a href="../../../../../../net/ME1312/SubServers/Sync/Network/API/Server.html#getTimestamp--">getTimestamp</a>, <a href="../../../../../../net/ME1312/SubServers/Sync/Network/API/Server.html#isHidden--">isHidden</a>, <a href="../../../../../../net/ME1312/SubServers/Sync/Network/API/Server.html#isRestricted--">isRestricted</a>, <a href="../../../../../../net/ME1312/SubServers/Sync/Network/API/Server.html#toString--">toString</a></code></li>
<code><a href="../../../../../../net/ME1312/SubServers/Sync/Network/API/Server.html#getAddress--">getAddress</a>, <a href="../../../../../../net/ME1312/SubServers/Sync/Network/API/Server.html#getDisplayName--">getDisplayName</a>, <a href="../../../../../../net/ME1312/SubServers/Sync/Network/API/Server.html#getGroups--">getGroups</a>, <a href="../../../../../../net/ME1312/SubServers/Sync/Network/API/Server.html#getMotd--">getMotd</a>, <a href="../../../../../../net/ME1312/SubServers/Sync/Network/API/Server.html#getName--">getName</a>, <a href="../../../../../../net/ME1312/SubServers/Sync/Network/API/Server.html#getPlayers--">getPlayers</a>, <a href="../../../../../../net/ME1312/SubServers/Sync/Network/API/Server.html#getSignature--">getSignature</a>, <a href="../../../../../../net/ME1312/SubServers/Sync/Network/API/Server.html#getSubData--">getSubData</a>, <a href="../../../../../../net/ME1312/SubServers/Sync/Network/API/Server.html#getTimestamp--">getTimestamp</a>, <a href="../../../../../../net/ME1312/SubServers/Sync/Network/API/Server.html#isHidden--">isHidden</a>, <a href="../../../../../../net/ME1312/SubServers/Sync/Network/API/Server.html#isRestricted--">isRestricted</a>, <a href="../../../../../../net/ME1312/SubServers/Sync/Network/API/Server.html#toString--">toString</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
@ -380,7 +374,7 @@ extends <a href="../../../../../../net/ME1312/SubServers/Sync/Network/API/Server
<a name="SubServer-net.ME1312.SubServers.Sync.Library.Config.YAMLSection-">
<!-- -->
</a>
<ul class="blockList">
<ul class="blockListLast">
<li class="blockList">
<h4>SubServer</h4>
<pre>public&nbsp;SubServer(<a href="../../../../../../net/ME1312/SubServers/Sync/Library/Config/YAMLSection.html" title="class in net.ME1312.SubServers.Sync.Library.Config">YAMLSection</a>&nbsp;raw)</pre>
@ -391,22 +385,6 @@ extends <a href="../../../../../../net/ME1312/SubServers/Sync/Network/API/Server
</dl>
</li>
</ul>
<a name="SubServer-net.ME1312.SubServers.Sync.Network.API.Host-net.ME1312.SubServers.Sync.Library.Config.YAMLSection-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>SubServer</h4>
<pre>public&nbsp;SubServer(<a href="../../../../../../net/ME1312/SubServers/Sync/Network/API/Host.html" title="class in net.ME1312.SubServers.Sync.Network.API">Host</a>&nbsp;host,
<a href="../../../../../../net/ME1312/SubServers/Sync/Library/Config/YAMLSection.html" title="class in net.ME1312.SubServers.Sync.Library.Config">YAMLSection</a>&nbsp;raw)</pre>
<div class="block">Create an API representation of a Server</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>host</code> - Host</dd>
<dd><code>raw</code> - JSON representation of the Server</dd>
</dl>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->

Binary file not shown.

View File

@ -2,4 +2,4 @@ Manifest-Version: 1.0
Class-Path: BungeeCord.jar Waterfall.jar
Main-Class: net.ME1312.SubServers.Bungee.Launch
Implementation-Title: SubServers.Bungee
Specification-Title: 18w26q
Specification-Title: 18w27a

View File

@ -119,17 +119,17 @@ public final class SubPlugin extends BungeeCord implements Listener {
Util.unzip(SubPlugin.class.getResourceAsStream("/net/ME1312/SubServers/Bungee/Library/Files/Templates/sponge.zip"), new UniversalFile(dir, "Templates"));
System.out.println("SubServers > Created ~/SubServers/Templates/Sponge");
} else {
if (new UniversalFile(dir, "Templates:Vanilla:template.yml").exists() && (new Version((new YAMLConfig(new UniversalFile(dir, "Templates:Vanilla:template.yml"))).get().getString("Version", "0")).compareTo(new Version("2.13a/pr4+"))) != 0) {
if (new UniversalFile(dir, "Templates:Vanilla:template.yml").exists() && (new Version((new YAMLConfig(new UniversalFile(dir, "Templates:Vanilla:template.yml"))).get().getString("Version", "0")).compareTo(new Version("2.13a/rv2+"))) != 0) {
Files.move(new UniversalFile(dir, "Templates:Vanilla").toPath(), new UniversalFile(dir, "Templates:Vanilla.old" + Math.round(Math.random() * 100000)).toPath());
Util.unzip(SubPlugin.class.getResourceAsStream("/net/ME1312/SubServers/Bungee/Library/Files/Templates/vanilla.zip"), new UniversalFile(dir, "Templates"));
System.out.println("SubServers > Updated ~/SubServers/Templates/Vanilla");
}
if (new UniversalFile(dir, "Templates:Spigot:template.yml").exists() && (new Version((new YAMLConfig(new UniversalFile(dir, "Templates:Spigot:template.yml"))).get().getString("Version", "0")).compareTo(new Version("2.13a+"))) != 0) {
if (new UniversalFile(dir, "Templates:Spigot:template.yml").exists() && (new Version((new YAMLConfig(new UniversalFile(dir, "Templates:Spigot:template.yml"))).get().getString("Version", "0")).compareTo(new Version("2.13a/rv2+"))) != 0) {
Files.move(new UniversalFile(dir, "Templates:Spigot").toPath(), new UniversalFile(dir, "Templates:Spigot.old" + Math.round(Math.random() * 100000)).toPath());
Util.unzip(SubPlugin.class.getResourceAsStream("/net/ME1312/SubServers/Bungee/Library/Files/Templates/spigot.zip"), new UniversalFile(dir, "Templates"));
System.out.println("SubServers > Updated ~/SubServers/Templates/Spigot");
}
if (new UniversalFile(dir, "Templates:Sponge:template.yml").exists() && (new Version((new YAMLConfig(new UniversalFile(dir, "Templates:Sponge:template.yml"))).get().getString("Version", "0")).compareTo(new Version("2.13a+"))) != 0) {
if (new UniversalFile(dir, "Templates:Sponge:template.yml").exists() && (new Version((new YAMLConfig(new UniversalFile(dir, "Templates:Sponge:template.yml"))).get().getString("Version", "0")).compareTo(new Version("2.13a/rv2+"))) != 0) {
Files.move(new UniversalFile(dir, "Templates:Sponge").toPath(), new UniversalFile(dir, "Templates:Sponge.old" + Math.round(Math.random() * 100000)).toPath());
Util.unzip(SubPlugin.class.getResourceAsStream("/net/ME1312/SubServers/Bungee/Library/Files/Templates/sponge.zip"), new UniversalFile(dir, "Templates"));
System.out.println("SubServers > Updated ~/SubServers/Templates/Sponge");

Binary file not shown.

View File

@ -1,3 +1,3 @@
Manifest-Version: 1.0
Implementation-Title: SubServers.Client.Bukkit
Specification-Title: 18w26q
Specification-Title: 18w27a

View File

@ -49,6 +49,14 @@ public class Host {
SubAPI.getInstance().getSubDataNetwork().sendPacket(new PacketDownloadServerList(name, null, data -> load(data.getSection("hosts").getSection(name))));
}
/**
* Gets the SubData Client Address
*
* @return SubData Client Address (or null if unlinked/unsupported)
*/
public String getSubData() {
return raw.getRawString("subdata", null);
}
/**
* Is this Host Enabled?
@ -72,15 +80,6 @@ public class Host {
}
}
/**
* Gets the SubData Client Address
*
* @return SubData Client Address (or null if unlinked/unsupported)
*/
public String getSubData() {
return raw.getRawString("subdata", null);
}
/**
* Get the host Directory Path
*

View File

@ -39,6 +39,15 @@ public class Server {
SubAPI.getInstance().getSubDataNetwork().sendPacket(new PacketDownloadServerList(null, null, data -> load(data.getSection("servers").getSection(name))));
}
/**
* Gets the SubData Client Address
*
* @return SubData Client Address (or null if not linked)
*/
public String getSubData() {
return raw.getRawString("subdata", null);
}
/**
* Get the Name of this Server
*

View File

@ -30,7 +30,7 @@ public class SubServer extends Server {
* @param host Host
* @param raw JSON representation of the Server
*/
public SubServer(Host host, YAMLSection raw) {
SubServer(Host host, YAMLSection raw) {
super(raw);
this.host = host;
}

Binary file not shown.

View File

@ -1,4 +1,4 @@
Manifest-Version: 1.0
Main-Class: net.ME1312.SubServers.Host.ExHost
Implementation-Title: SubServers.Host
Specification-Title: 18w26q
Specification-Title: 18w27a

View File

@ -49,6 +49,14 @@ public class Host {
SubAPI.getInstance().getSubDataNetwork().sendPacket(new PacketDownloadServerList(name, null, data -> load(data.getSection("hosts").getSection(name))));
}
/**
* Gets the SubData Client Address
*
* @return SubData Client Address (or null if unlinked/unsupported)
*/
public String getSubData() {
return raw.getRawString("subdata", null);
}
/**
* Is this Host Enabled?
@ -72,15 +80,6 @@ public class Host {
}
}
/**
* Gets the SubData Client Address
*
* @return SubData Client Address (or null if unlinked/unsupported)
*/
public String getSubData() {
return raw.getRawString("subdata", null);
}
/**
* Get the host Directory Path
*

View File

@ -39,6 +39,15 @@ public class Server {
SubAPI.getInstance().getSubDataNetwork().sendPacket(new PacketDownloadServerList(null, null, data -> load(data.getSection("servers").getSection(name))));
}
/**
* Gets the SubData Client Address
*
* @return SubData Client Address (or null if not linked)
*/
public String getSubData() {
return raw.getRawString("subdata", null);
}
/**
* Get the Name of this Server
*

View File

@ -32,7 +32,7 @@ public class SubServer extends Server {
* @param host Host
* @param raw JSON representation of the Server
*/
public SubServer(Host host, YAMLSection raw) {
SubServer(Host host, YAMLSection raw) {
super(raw);
this.host = host;
}

Binary file not shown.

View File

@ -2,4 +2,4 @@ Manifest-Version: 1.0
Class-Path: BungeeCord.jar Waterfall.jar
Main-Class: net.ME1312.SubServers.Sync.Launch
Implementation-Title: SubServers.Sync
Specification-Title: 18w26q
Specification-Title: 18w27a

View File

@ -49,6 +49,14 @@ public class Host {
SubAPI.getInstance().getSubDataNetwork().sendPacket(new PacketDownloadServerList(name, null, data -> load(data.getSection("hosts").getSection(name))));
}
/**
* Gets the SubData Client Address
*
* @return SubData Client Address (or null if unlinked/unsupported)
*/
public String getSubData() {
return raw.getRawString("subdata", null);
}
/**
* Is this Host Enabled?
@ -72,15 +80,6 @@ public class Host {
}
}
/**
* Gets the SubData Client Address
*
* @return SubData Client Address (or null if unlinked/unsupported)
*/
public String getSubData() {
return raw.getRawString("subdata", null);
}
/**
* Get the host Directory Path
*

View File

@ -39,6 +39,15 @@ public class Server {
SubAPI.getInstance().getSubDataNetwork().sendPacket(new PacketDownloadServerList(null, null, data -> load(data.getSection("servers").getSection(name))));
}
/**
* Gets the SubData Client Address
*
* @return SubData Client Address (or null if not linked)
*/
public String getSubData() {
return raw.getRawString("subdata", null);
}
/**
* Get the Name of this Server
*

View File

@ -32,7 +32,7 @@ public class SubServer extends Server {
* @param host Host
* @param raw JSON representation of the Server
*/
public SubServer(Host host, YAMLSection raw) {
SubServer(Host host, YAMLSection raw) {
super(raw);
this.host = host;
}