Finalize Pre-Release 2

This commit is contained in:
ME1312 2018-04-07 20:38:57 -04:00
parent 69bb3d299a
commit ce84fd2216
28 changed files with 44 additions and 108 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -142,30 +142,27 @@ extends java.lang.Enum&lt;<a href="../../../../../../net/ME1312/SubServers/Bunge
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Bungee/Library/Version/VersionType.html#BETA">BETA</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Bungee/Library/Version/VersionType.html#PATCH">PATCH</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Bungee/Library/Version/VersionType.html#PRE_ALPHA">PRE_ALPHA</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Bungee/Library/Version/VersionType.html#PRE_BETA">PRE_BETA</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Bungee/Library/Version/VersionType.html#PRE_RELEASE">PRE_RELEASE</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Bungee/Library/Version/VersionType.html#PREVIEW">PREVIEW</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Bungee/Library/Version/VersionType.html#RELEASE">RELEASE</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Bungee/Library/Version/VersionType.html#REVISION">REVISION</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Bungee/Library/Version/VersionType.html#UPDATE">UPDATE</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Bungee/Library/Version/VersionType.html#VERSION">VERSION</a></span></code>&nbsp;</td>
</tr>
</table>
@ -309,21 +306,12 @@ the order they are declared.</div>
<a name="UPDATE">
<!-- -->
</a>
<ul class="blockList">
<ul class="blockListLast">
<li class="blockList">
<h4>UPDATE</h4>
<pre>public static final&nbsp;<a href="../../../../../../net/ME1312/SubServers/Bungee/Library/Version/VersionType.html" title="enum in net.ME1312.SubServers.Bungee.Library.Version">VersionType</a> UPDATE</pre>
</li>
</ul>
<a name="PATCH">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>PATCH</h4>
<pre>public static final&nbsp;<a href="../../../../../../net/ME1312/SubServers/Bungee/Library/Version/VersionType.html" title="enum in net.ME1312.SubServers.Bungee.Library.Version">VersionType</a> PATCH</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->

Binary file not shown.

View File

@ -142,30 +142,27 @@ extends java.lang.Enum&lt;<a href="../../../../../../../net/ME1312/SubServers/Cl
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Version/VersionType.html#BETA">BETA</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Version/VersionType.html#PATCH">PATCH</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Version/VersionType.html#PRE_ALPHA">PRE_ALPHA</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Version/VersionType.html#PRE_BETA">PRE_BETA</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Version/VersionType.html#PRE_RELEASE">PRE_RELEASE</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Version/VersionType.html#PREVIEW">PREVIEW</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Version/VersionType.html#RELEASE">RELEASE</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Version/VersionType.html#REVISION">REVISION</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Version/VersionType.html#UPDATE">UPDATE</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Version/VersionType.html#VERSION">VERSION</a></span></code>&nbsp;</td>
</tr>
</table>
@ -309,21 +306,12 @@ the order they are declared.</div>
<a name="UPDATE">
<!-- -->
</a>
<ul class="blockList">
<ul class="blockListLast">
<li class="blockList">
<h4>UPDATE</h4>
<pre>public static final&nbsp;<a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Version/VersionType.html" title="enum in net.ME1312.SubServers.Client.Bukkit.Library.Version">VersionType</a> UPDATE</pre>
</li>
</ul>
<a name="PATCH">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>PATCH</h4>
<pre>public static final&nbsp;<a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Version/VersionType.html" title="enum in net.ME1312.SubServers.Client.Bukkit.Library.Version">VersionType</a> PATCH</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->

Binary file not shown.

View File

@ -142,30 +142,27 @@ extends java.lang.Enum&lt;<a href="../../../../../../net/ME1312/SubServers/Host/
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Host/Library/Version/VersionType.html#BETA">BETA</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Host/Library/Version/VersionType.html#PATCH">PATCH</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Host/Library/Version/VersionType.html#PRE_ALPHA">PRE_ALPHA</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Host/Library/Version/VersionType.html#PRE_BETA">PRE_BETA</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Host/Library/Version/VersionType.html#PRE_RELEASE">PRE_RELEASE</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Host/Library/Version/VersionType.html#PREVIEW">PREVIEW</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Host/Library/Version/VersionType.html#RELEASE">RELEASE</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Host/Library/Version/VersionType.html#REVISION">REVISION</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Host/Library/Version/VersionType.html#UPDATE">UPDATE</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Host/Library/Version/VersionType.html#VERSION">VERSION</a></span></code>&nbsp;</td>
</tr>
</table>
@ -309,21 +306,12 @@ the order they are declared.</div>
<a name="UPDATE">
<!-- -->
</a>
<ul class="blockList">
<ul class="blockListLast">
<li class="blockList">
<h4>UPDATE</h4>
<pre>public static final&nbsp;<a href="../../../../../../net/ME1312/SubServers/Host/Library/Version/VersionType.html" title="enum in net.ME1312.SubServers.Host.Library.Version">VersionType</a> UPDATE</pre>
</li>
</ul>
<a name="PATCH">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>PATCH</h4>
<pre>public static final&nbsp;<a href="../../../../../../net/ME1312/SubServers/Host/Library/Version/VersionType.html" title="enum in net.ME1312.SubServers.Host.Library.Version">VersionType</a> PATCH</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->

Binary file not shown.

View File

@ -142,30 +142,27 @@ extends java.lang.Enum&lt;<a href="../../../../../../net/ME1312/SubServers/Sync/
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Sync/Library/Version/VersionType.html#BETA">BETA</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Sync/Library/Version/VersionType.html#PATCH">PATCH</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Sync/Library/Version/VersionType.html#PRE_ALPHA">PRE_ALPHA</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Sync/Library/Version/VersionType.html#PRE_BETA">PRE_BETA</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Sync/Library/Version/VersionType.html#PRE_RELEASE">PRE_RELEASE</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Sync/Library/Version/VersionType.html#PREVIEW">PREVIEW</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Sync/Library/Version/VersionType.html#RELEASE">RELEASE</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Sync/Library/Version/VersionType.html#REVISION">REVISION</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Sync/Library/Version/VersionType.html#UPDATE">UPDATE</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Sync/Library/Version/VersionType.html#VERSION">VERSION</a></span></code>&nbsp;</td>
</tr>
</table>
@ -309,21 +306,12 @@ the order they are declared.</div>
<a name="UPDATE">
<!-- -->
</a>
<ul class="blockList">
<ul class="blockListLast">
<li class="blockList">
<h4>UPDATE</h4>
<pre>public static final&nbsp;<a href="../../../../../../net/ME1312/SubServers/Sync/Library/Version/VersionType.html" title="enum in net.ME1312.SubServers.Sync.Library.Version">VersionType</a> UPDATE</pre>
</li>
</ul>
<a name="PATCH">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>PATCH</h4>
<pre>public static final&nbsp;<a href="../../../../../../net/ME1312/SubServers/Sync/Library/Version/VersionType.html" title="enum in net.ME1312.SubServers.Sync.Library.Version">VersionType</a> PATCH</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->

Binary file not shown.

View File

@ -119,7 +119,7 @@ public class Version implements Serializable, Comparable<Version> {
* @see #toFullString() <b>#toString()</b> returns a valid string
*/
public static Version fromString(String string) {
Matcher regex = Pattern.compile("(rv|(?:p?[abrv])|[pu])?([^/]+)", Pattern.CASE_INSENSITIVE).matcher(string);
Matcher regex = Pattern.compile("(rv|(?:p?[abrv])|[u])?([^/]+)", Pattern.CASE_INSENSITIVE).matcher(string);
Version current = null;
while (regex.find()) {
try {
@ -152,9 +152,6 @@ public class Version implements Serializable, Comparable<Version> {
case "u":
type = VersionType.UPDATE;
break;
case "p":
type = VersionType.PATCH;
break;
}
current = new Version(current, type, regex.group(2));
} catch (Throwable e) {}

View File

@ -11,7 +11,6 @@ public enum VersionType {
REVISION(0, "rv", "revision"),
VERSION(0, "v", "version"),
UPDATE(0, "u", "update"),
PATCH(0, "p", "patch"),
;
final short stageid;
final String shortname, longname;

View File

@ -59,8 +59,8 @@ public final class SubPlugin extends BungeeCord implements Listener {
public SubDataServer subdata = null;
public SubServer sudo = null;
//public static final Version version = new Version("2.13a");
//public static final Version version = new Version(new Version("2.13a"), Version.VersionType.BETA, 1); // TODO Beta Version Setting
public static final Version version = new Version(new Version(new Version("2.13a"), VersionType.PRE_RELEASE, 2), VersionType.BETA, 8); // TODO Beta Version Setting
public static final Version version = new Version(new Version("2.13a"), VersionType.PRE_RELEASE, 2); // TODO Beta Version Setting
//public static final Version version = new Version(new Version(new Version("2.13a"), VersionType.PRE_RELEASE, 2), VersionType.BETA, 8); // TODO Beta Version Setting
public boolean redis = false;
public long resetDate = 0;

Binary file not shown.

View File

@ -119,7 +119,7 @@ public class Version implements Serializable, Comparable<Version> {
* @see #toFullString() <b>#toString()</b> returns a valid string
*/
public static Version fromString(String string) {
Matcher regex = Pattern.compile("(rv|(?:p?[abrv])|[pu])?([^/]+)", Pattern.CASE_INSENSITIVE).matcher(string);
Matcher regex = Pattern.compile("(rv|(?:p?[abrv])|[u])?([^/]+)", Pattern.CASE_INSENSITIVE).matcher(string);
Version current = null;
while (regex.find()) {
try {
@ -152,9 +152,6 @@ public class Version implements Serializable, Comparable<Version> {
case "u":
type = VersionType.UPDATE;
break;
case "p":
type = VersionType.PATCH;
break;
}
current = new Version(current, type, regex.group(2));
} catch (Throwable e) {}

View File

@ -11,7 +11,6 @@ public enum VersionType {
REVISION(0, "rv", "revision"),
VERSION(0, "v", "version"),
UPDATE(0, "u", "update"),
PATCH(0, "p", "patch"),
;
final short stageid;
final String shortname, longname;

View File

@ -46,8 +46,8 @@ public final class SubPlugin extends JavaPlugin {
public SubPlugin() {
super();
//version = new Version(getDescription().getVersion());
//version = new Version(new Version(getDescription().getVersion()), Version.VersionType.BETA, 1); // TODO Beta Version Setting
version = new Version(new Version(new Version(getDescription().getVersion()), VersionType.PRE_RELEASE, 2), VersionType.BETA, 8); // TODO Beta Version Setting
version = new Version(new Version(getDescription().getVersion()), VersionType.PRE_RELEASE, 2); // TODO Beta Version Setting
//version = new Version(new Version(new Version(getDescription().getVersion()), VersionType.PRE_RELEASE, 2), VersionType.BETA, 8); // TODO Beta Version Setting
}
/**

Binary file not shown.

View File

@ -52,8 +52,8 @@ public final class ExHost {
public SubDataClient subdata = null;
//public final Version version = new Version("2.13a");
//public final Version version = new Version(new Version("2.13a"), Version.VersionType.BETA, 1); // TODO Beta Version Setting
public final Version version = new Version(new Version(new Version("2.13a"), VersionType.PRE_RELEASE, 2), VersionType.BETA, 8); // TODO Beta Version Setting
public final Version version = new Version(new Version("2.13a"), VersionType.PRE_RELEASE, 2); // TODO Beta Version Setting
//public final Version version = new Version(new Version(new Version("2.13a"), VersionType.PRE_RELEASE, 2), VersionType.BETA, 8); // TODO Beta Version Setting
public final SubAPI api = new SubAPI(this);
private ConsoleReader jline;

View File

@ -119,7 +119,7 @@ public class Version implements Serializable, Comparable<Version> {
* @see #toFullString() <b>#toString()</b> returns a valid string
*/
public static Version fromString(String string) {
Matcher regex = Pattern.compile("(rv|(?:p?[abrv])|[pu])?([^/]+)", Pattern.CASE_INSENSITIVE).matcher(string);
Matcher regex = Pattern.compile("(rv|(?:p?[abrv])|[u])?([^/]+)", Pattern.CASE_INSENSITIVE).matcher(string);
Version current = null;
while (regex.find()) {
try {
@ -152,9 +152,6 @@ public class Version implements Serializable, Comparable<Version> {
case "u":
type = VersionType.UPDATE;
break;
case "p":
type = VersionType.PATCH;
break;
}
current = new Version(current, type, regex.group(2));
} catch (Throwable e) {}

View File

@ -11,7 +11,6 @@ public enum VersionType {
REVISION(0, "rv", "revision"),
VERSION(0, "v", "version"),
UPDATE(0, "u", "update"),
PATCH(0, "p", "patch"),
;
final short stageid;
final String shortname, longname;

Binary file not shown.

View File

@ -119,7 +119,7 @@ public class Version implements Serializable, Comparable<Version> {
* @see #toFullString() <b>#toString()</b> returns a valid string
*/
public static Version fromString(String string) {
Matcher regex = Pattern.compile("(rv|(?:p?[abrv])|[pu])?([^/]+)", Pattern.CASE_INSENSITIVE).matcher(string);
Matcher regex = Pattern.compile("(rv|(?:p?[abrv])|[u])?([^/]+)", Pattern.CASE_INSENSITIVE).matcher(string);
Version current = null;
while (regex.find()) {
try {
@ -152,9 +152,6 @@ public class Version implements Serializable, Comparable<Version> {
case "u":
type = VersionType.UPDATE;
break;
case "p":
type = VersionType.PATCH;
break;
}
current = new Version(current, type, regex.group(2));
} catch (Throwable e) {}

View File

@ -11,7 +11,6 @@ public enum VersionType {
REVISION(0, "rv", "revision"),
VERSION(0, "v", "version"),
UPDATE(0, "u", "update"),
PATCH(0, "p", "patch"),
;
final short stageid;
final String shortname, longname;

View File

@ -49,8 +49,8 @@ public final class SubPlugin extends BungeeCord implements Listener {
public final SubAPI api = new SubAPI(this);
public SubDataClient subdata = null;
//public static final Version version = new Version("2.13a");
//public static final Version version = new Version(new Version("2.13a"), Version.VersionType.BETA, 1); // TODO Beta Version Setting
public static final Version version = new Version(new Version(new Version("2.13a"), VersionType.PRE_RELEASE, 2), VersionType.BETA, 8); // TODO Beta Version Setting
public static final Version version = new Version(new Version("2.13a"), VersionType.PRE_RELEASE, 2); // TODO Beta Version Setting
//public static final Version version = new Version(new Version(new Version("2.13a"), VersionType.PRE_RELEASE, 2), VersionType.BETA, 8); // TODO Beta Version Setting
public long lastReload = -1;