SubServers-2/Javadoc/SubServers.Bungee/net/ME1312/SubServers/Bungee/SubAPI.html
2017-01-26 17:19:48 -05:00

701 lines
29 KiB
HTML

<!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>SubAPI (SubServers.Bungee)</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="SubAPI (SubServers.Bungee)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":9,"i9":42,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10};
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated 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/Bungee/Launch.html" title="class in net.ME1312.SubServers.Bungee"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../net/ME1312/SubServers/Bungee/SubCommand.html" title="class in net.ME1312.SubServers.Bungee"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?net/ME1312/SubServers/Bungee/SubAPI.html" target="_top">Frames</a></li>
<li><a href="SubAPI.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#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.Bungee</div>
<h2 title="Class SubAPI" class="title">Class SubAPI</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>net.ME1312.SubServers.Bungee.SubAPI</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public final class <span class="typeNameLabel">SubAPI</span>
extends java.lang.Object</pre>
<div class="block">SubAPI 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">&nbsp;</span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t6" class="tableTab"><span><a href="javascript:show(32);">Deprecated Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/ME1312/SubServers/Bungee/SubAPI.html#addHostDriver-java.lang.Class-java.lang.String-">addHostDriver</a></span>(java.lang.Class&lt;? extends <a href="../../../../net/ME1312/SubServers/Bungee/Host/Host.html" title="class in net.ME1312.SubServers.Bungee.Host">Host</a>&gt;&nbsp;driver,
java.lang.String&nbsp;handle)</code>
<div class="block">Adds a Driver for Hosts</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/Bungee/SubAPI.html#addListener-java.lang.Runnable-java.lang.Runnable-">addListener</a></span>(java.lang.Runnable&nbsp;enable,
java.lang.Runnable&nbsp;disable)</code>
<div class="block">Adds a SubAPI Listener</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code><a href="../../../../net/ME1312/SubServers/Bungee/Host/Server.html" title="class in net.ME1312.SubServers.Bungee.Host">Server</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/ME1312/SubServers/Bungee/SubAPI.html#addServer-java.lang.String-java.net.InetAddress-int-java.lang.String-boolean-boolean-">addServer</a></span>(java.lang.String&nbsp;name,
java.net.InetAddress&nbsp;ip,
int&nbsp;port,
java.lang.String&nbsp;motd,
boolean&nbsp;hidden,
boolean&nbsp;restricted)</code>
<div class="block">Adds a Server to the Network</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code><a href="../../../../net/ME1312/SubServers/Bungee/Host/Server.html" title="class in net.ME1312.SubServers.Bungee.Host">Server</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/ME1312/SubServers/Bungee/SubAPI.html#addServer-java.util.UUID-java.lang.String-java.net.InetAddress-int-java.lang.String-boolean-boolean-">addServer</a></span>(java.util.UUID&nbsp;player,
java.lang.String&nbsp;name,
java.net.InetAddress&nbsp;ip,
int&nbsp;port,
java.lang.String&nbsp;motd,
boolean&nbsp;hidden,
boolean&nbsp;restricted)</code>
<div class="block">Adds a Server to the Network</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code><a href="../../../../net/ME1312/SubServers/Bungee/Library/Version/Version.html" title="class in net.ME1312.SubServers.Bungee.Library.Version">Version</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/ME1312/SubServers/Bungee/SubAPI.html#getBetaVersion--">getBetaVersion</a></span>()</code>
<div class="block">Gets the SubServers Beta Version</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code><a href="../../../../net/ME1312/SubServers/Bungee/Library/Version/Version.html" title="class in net.ME1312.SubServers.Bungee.Library.Version">Version</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/ME1312/SubServers/Bungee/SubAPI.html#getGameVersion--">getGameVersion</a></span>()</code>
<div class="block">Gets the Recommended Minecraft Version</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code><a href="../../../../net/ME1312/SubServers/Bungee/Host/Host.html" title="class in net.ME1312.SubServers.Bungee.Host">Host</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/ME1312/SubServers/Bungee/SubAPI.html#getHost-java.lang.String-">getHost</a></span>(java.lang.String&nbsp;name)</code>
<div class="block">Gets a Host</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>java.util.Map&lt;java.lang.String,<a href="../../../../net/ME1312/SubServers/Bungee/Host/Host.html" title="class in net.ME1312.SubServers.Bungee.Host">Host</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/ME1312/SubServers/Bungee/SubAPI.html#getHosts--">getHosts</a></span>()</code>
<div class="block">Gets the Hosts</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>static <a href="../../../../net/ME1312/SubServers/Bungee/SubAPI.html" title="class in net.ME1312.SubServers.Bungee">SubAPI</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/ME1312/SubServers/Bungee/SubAPI.html#getInstance--">getInstance</a></span>()</code>
<div class="block">Gets the SubAPI Methods</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code><a href="../../../../net/ME1312/SubServers/Bungee/SubPlugin.html" title="class in net.ME1312.SubServers.Bungee">SubPlugin</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/ME1312/SubServers/Bungee/SubAPI.html#getInternals--">getInternals</a></span>()</code>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;
<div class="block"><span class="deprecationComment">Use SubAPI Methods when available</span></div>
</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>java.util.Map&lt;java.lang.String,java.lang.String&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/ME1312/SubServers/Bungee/SubAPI.html#getLang--">getLang</a></span>()</code>
<div class="block">Gets the SubServers Lang</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/ME1312/SubServers/Bungee/SubAPI.html#getLang-java.lang.String-">getLang</a></span>(java.lang.String&nbsp;key)</code>
<div class="block">Gets a value from the SubServers Lang</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code><a href="../../../../net/ME1312/SubServers/Bungee/Library/Version/Version.html" title="class in net.ME1312.SubServers.Bungee.Library.Version">Version</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/ME1312/SubServers/Bungee/SubAPI.html#getProxyVersion--">getProxyVersion</a></span>()</code>
<div class="block">Gets the BungeeCord Version</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code><a href="../../../../net/ME1312/SubServers/Bungee/Library/UniversalFile.html" title="class in net.ME1312.SubServers.Bungee.Library">UniversalFile</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/ME1312/SubServers/Bungee/SubAPI.html#getRuntimeDirectory--">getRuntimeDirectory</a></span>()</code>
<div class="block">Gets the Runtime Directory</div>
</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code><a href="../../../../net/ME1312/SubServers/Bungee/Host/Server.html" title="class in net.ME1312.SubServers.Bungee.Host">Server</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/ME1312/SubServers/Bungee/SubAPI.html#getServer-java.lang.String-">getServer</a></span>(java.lang.String&nbsp;name)</code>
<div class="block">Gets a Server</div>
</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code>java.util.Map&lt;java.lang.String,<a href="../../../../net/ME1312/SubServers/Bungee/Host/Server.html" title="class in net.ME1312.SubServers.Bungee.Host">Server</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/ME1312/SubServers/Bungee/SubAPI.html#getServers--">getServers</a></span>()</code>
<div class="block">Gets the Servers (including SubServers)</div>
</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code><a href="../../../../net/ME1312/SubServers/Bungee/Network/SubDataServer.html" title="class in net.ME1312.SubServers.Bungee.Network">SubDataServer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/ME1312/SubServers/Bungee/SubAPI.html#getSubDataNetwork--">getSubDataNetwork</a></span>()</code>
<div class="block">Gets the SubData Network Manager</div>
</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code><a href="../../../../net/ME1312/SubServers/Bungee/Host/SubServer.html" title="class in net.ME1312.SubServers.Bungee.Host">SubServer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/ME1312/SubServers/Bungee/SubAPI.html#getSubServer-java.lang.String-">getSubServer</a></span>(java.lang.String&nbsp;name)</code>
<div class="block">Gets a SubServer</div>
</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code>java.util.Map&lt;java.lang.String,<a href="../../../../net/ME1312/SubServers/Bungee/Host/SubServer.html" title="class in net.ME1312.SubServers.Bungee.Host">SubServer</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/ME1312/SubServers/Bungee/SubAPI.html#getSubServers--">getSubServers</a></span>()</code>
<div class="block">Gets the SubServers</div>
</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code><a href="../../../../net/ME1312/SubServers/Bungee/Library/Version/Version.html" title="class in net.ME1312.SubServers.Bungee.Library.Version">Version</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/ME1312/SubServers/Bungee/SubAPI.html#getWrapperVersion--">getWrapperVersion</a></span>()</code>
<div class="block">Gets the SubServers Version</div>
</td>
</tr>
<tr id="i20" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../net/ME1312/SubServers/Bungee/SubAPI.html#setLang-java.lang.String-java.lang.String-">setLang</a></span>(java.lang.String&nbsp;key,
java.lang.String&nbsp;value)</code>
<div class="block">Adds to the Language Map</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</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="getInstance--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getInstance</h4>
<pre>public static&nbsp;<a href="../../../../net/ME1312/SubServers/Bungee/SubAPI.html" title="class in net.ME1312.SubServers.Bungee">SubAPI</a>&nbsp;getInstance()</pre>
<div class="block">Gets the SubAPI Methods</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>SubAPI</dd>
</dl>
</li>
</ul>
<a name="getInternals--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getInternals</h4>
<pre>@Deprecated
public&nbsp;<a href="../../../../net/ME1312/SubServers/Bungee/SubPlugin.html" title="class in net.ME1312.SubServers.Bungee">SubPlugin</a>&nbsp;getInternals()</pre>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;<span class="deprecationComment">Use SubAPI Methods when available</span></div>
<div class="block">Gets the SubServers Internals</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>SubPlugin Internals</dd>
</dl>
</li>
</ul>
<a name="addListener-java.lang.Runnable-java.lang.Runnable-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addListener</h4>
<pre>public&nbsp;void&nbsp;addListener(java.lang.Runnable&nbsp;enable,
java.lang.Runnable&nbsp;disable)</pre>
<div class="block">Adds a SubAPI Listener</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>enable</code> - An Event that will be called when SubAPI is ready</dd>
<dd><code>disable</code> - An Event that will be called before SubAPI is disabled</dd>
</dl>
</li>
</ul>
<a name="getSubDataNetwork--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSubDataNetwork</h4>
<pre>public&nbsp;<a href="../../../../net/ME1312/SubServers/Bungee/Network/SubDataServer.html" title="class in net.ME1312.SubServers.Bungee.Network">SubDataServer</a>&nbsp;getSubDataNetwork()</pre>
<div class="block">Gets the SubData Network Manager</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>SubData Network Manager</dd>
</dl>
</li>
</ul>
<a name="addHostDriver-java.lang.Class-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addHostDriver</h4>
<pre>public&nbsp;void&nbsp;addHostDriver(java.lang.Class&lt;? extends <a href="../../../../net/ME1312/SubServers/Bungee/Host/Host.html" title="class in net.ME1312.SubServers.Bungee.Host">Host</a>&gt;&nbsp;driver,
java.lang.String&nbsp;handle)</pre>
<div class="block">Adds a Driver for Hosts</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>driver</code> - Driver to add</dd>
<dd><code>handle</code> - Handle to Bind</dd>
</dl>
</li>
</ul>
<a name="getHosts--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getHosts</h4>
<pre>public&nbsp;java.util.Map&lt;java.lang.String,<a href="../../../../net/ME1312/SubServers/Bungee/Host/Host.html" title="class in net.ME1312.SubServers.Bungee.Host">Host</a>&gt;&nbsp;getHosts()</pre>
<div class="block">Gets the Hosts</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Host Map</dd>
</dl>
</li>
</ul>
<a name="getHost-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getHost</h4>
<pre>public&nbsp;<a href="../../../../net/ME1312/SubServers/Bungee/Host/Host.html" title="class in net.ME1312.SubServers.Bungee.Host">Host</a>&nbsp;getHost(java.lang.String&nbsp;name)</pre>
<div class="block">Gets a Host</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>name</code> - Host name</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a Host</dd>
</dl>
</li>
</ul>
<a name="getServers--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getServers</h4>
<pre>public&nbsp;java.util.Map&lt;java.lang.String,<a href="../../../../net/ME1312/SubServers/Bungee/Host/Server.html" title="class in net.ME1312.SubServers.Bungee.Host">Server</a>&gt;&nbsp;getServers()</pre>
<div class="block">Gets the Servers (including SubServers)</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Server Map</dd>
</dl>
</li>
</ul>
<a name="addServer-java.lang.String-java.net.InetAddress-int-java.lang.String-boolean-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addServer</h4>
<pre>public&nbsp;<a href="../../../../net/ME1312/SubServers/Bungee/Host/Server.html" title="class in net.ME1312.SubServers.Bungee.Host">Server</a>&nbsp;addServer(java.lang.String&nbsp;name,
java.net.InetAddress&nbsp;ip,
int&nbsp;port,
java.lang.String&nbsp;motd,
boolean&nbsp;hidden,
boolean&nbsp;restricted)</pre>
<div class="block">Adds a Server to the Network</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>name</code> - Name of the Server</dd>
<dd><code>ip</code> - IP of the Server</dd>
<dd><code>port</code> - Port of the Server</dd>
<dd><code>motd</code> - MOTD of the Server</dd>
<dd><code>hidden</code> - if the server should be hidden from players</dd>
<dd><code>restricted</code> - Players will need a permission to join if true</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The Server</dd>
</dl>
</li>
</ul>
<a name="addServer-java.util.UUID-java.lang.String-java.net.InetAddress-int-java.lang.String-boolean-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addServer</h4>
<pre>public&nbsp;<a href="../../../../net/ME1312/SubServers/Bungee/Host/Server.html" title="class in net.ME1312.SubServers.Bungee.Host">Server</a>&nbsp;addServer(java.util.UUID&nbsp;player,
java.lang.String&nbsp;name,
java.net.InetAddress&nbsp;ip,
int&nbsp;port,
java.lang.String&nbsp;motd,
boolean&nbsp;hidden,
boolean&nbsp;restricted)</pre>
<div class="block">Adds a Server to the Network</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>player</code> - Player who added</dd>
<dd><code>name</code> - Name of the Server</dd>
<dd><code>ip</code> - IP of the Server</dd>
<dd><code>port</code> - Port of the Server</dd>
<dd><code>motd</code> - MOTD of the Server</dd>
<dd><code>hidden</code> - If the server should be hidden from players</dd>
<dd><code>restricted</code> - Players will need a permission to join if true</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The Server</dd>
</dl>
</li>
</ul>
<a name="getServer-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getServer</h4>
<pre>public&nbsp;<a href="../../../../net/ME1312/SubServers/Bungee/Host/Server.html" title="class in net.ME1312.SubServers.Bungee.Host">Server</a>&nbsp;getServer(java.lang.String&nbsp;name)</pre>
<div class="block">Gets a Server</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>name</code> - Server name</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a Server</dd>
</dl>
</li>
</ul>
<a name="getSubServers--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSubServers</h4>
<pre>public&nbsp;java.util.Map&lt;java.lang.String,<a href="../../../../net/ME1312/SubServers/Bungee/Host/SubServer.html" title="class in net.ME1312.SubServers.Bungee.Host">SubServer</a>&gt;&nbsp;getSubServers()</pre>
<div class="block">Gets the SubServers</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>SubServer Map</dd>
</dl>
</li>
</ul>
<a name="getSubServer-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSubServer</h4>
<pre>public&nbsp;<a href="../../../../net/ME1312/SubServers/Bungee/Host/SubServer.html" title="class in net.ME1312.SubServers.Bungee.Host">SubServer</a>&nbsp;getSubServer(java.lang.String&nbsp;name)</pre>
<div class="block">Gets a SubServer</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>name</code> - SubServer name</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a SubServer</dd>
</dl>
</li>
</ul>
<a name="setLang-java.lang.String-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setLang</h4>
<pre>public&nbsp;void&nbsp;setLang(java.lang.String&nbsp;key,
java.lang.String&nbsp;value)</pre>
<div class="block">Adds to the Language Map</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>key</code> - Key</dd>
<dd><code>value</code> - Lang Value</dd>
</dl>
</li>
</ul>
<a name="getLang-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLang</h4>
<pre>public&nbsp;java.lang.String&nbsp;getLang(java.lang.String&nbsp;key)</pre>
<div class="block">Gets a value from the SubServers Lang</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>key</code> - Key</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Lang Value</dd>
</dl>
</li>
</ul>
<a name="getLang--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLang</h4>
<pre>public&nbsp;java.util.Map&lt;java.lang.String,java.lang.String&gt;&nbsp;getLang()</pre>
<div class="block">Gets the SubServers Lang</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>SubServers Lang</dd>
</dl>
</li>
</ul>
<a name="getRuntimeDirectory--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRuntimeDirectory</h4>
<pre>public&nbsp;<a href="../../../../net/ME1312/SubServers/Bungee/Library/UniversalFile.html" title="class in net.ME1312.SubServers.Bungee.Library">UniversalFile</a>&nbsp;getRuntimeDirectory()</pre>
<div class="block">Gets the Runtime Directory</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Directory</dd>
</dl>
</li>
</ul>
<a name="getBetaVersion--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getBetaVersion</h4>
<pre>public&nbsp;<a href="../../../../net/ME1312/SubServers/Bungee/Library/Version/Version.html" title="class in net.ME1312.SubServers.Bungee.Library.Version">Version</a>&nbsp;getBetaVersion()</pre>
<div class="block">Gets the SubServers Beta Version</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>SubServers Beta Version (or null if this is a release version)</dd>
</dl>
</li>
</ul>
<a name="getWrapperVersion--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getWrapperVersion</h4>
<pre>public&nbsp;<a href="../../../../net/ME1312/SubServers/Bungee/Library/Version/Version.html" title="class in net.ME1312.SubServers.Bungee.Library.Version">Version</a>&nbsp;getWrapperVersion()</pre>
<div class="block">Gets the SubServers Version</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>SubServers Version</dd>
</dl>
</li>
</ul>
<a name="getProxyVersion--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getProxyVersion</h4>
<pre>public&nbsp;<a href="../../../../net/ME1312/SubServers/Bungee/Library/Version/Version.html" title="class in net.ME1312.SubServers.Bungee.Library.Version">Version</a>&nbsp;getProxyVersion()</pre>
<div class="block">Gets the BungeeCord Version</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>BungeeCord Version</dd>
</dl>
</li>
</ul>
<a name="getGameVersion--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>getGameVersion</h4>
<pre>public&nbsp;<a href="../../../../net/ME1312/SubServers/Bungee/Library/Version/Version.html" title="class in net.ME1312.SubServers.Bungee.Library.Version">Version</a>&nbsp;getGameVersion()</pre>
<div class="block">Gets the Recommended Minecraft Version</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Minecraft Version</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/Bungee/Launch.html" title="class in net.ME1312.SubServers.Bungee"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../net/ME1312/SubServers/Bungee/SubCommand.html" title="class in net.ME1312.SubServers.Bungee"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?net/ME1312/SubServers/Bungee/SubAPI.html" target="_top">Frames</a></li>
<li><a href="SubAPI.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>