mirror of
https://github.com/ME1312/SubServers-2.git
synced 2024-11-22 18:26:06 +01:00
Change potential version numbers
This commit is contained in:
parent
3dab84c0eb
commit
09c8c4665b
@ -1,4 +1,4 @@
|
|||||||
Version: '2.13.2d+'
|
Version: '2.14a+'
|
||||||
Lang:
|
Lang:
|
||||||
'Bungee.Feature.Return': '&6Returning to $str$: &r$msg$'
|
'Bungee.Feature.Return': '&6Returning to $str$: &r$msg$'
|
||||||
'Bungee.Ping.Offline': '&6&l[&e&lWarning&6&l] &7Backend server(s) are not running'
|
'Bungee.Ping.Offline': '&6&l[&e&lWarning&6&l] &7Backend server(s) are not running'
|
||||||
|
@ -51,7 +51,7 @@ public class SubProtocol extends SubDataProtocol {
|
|||||||
plugin.getPluginManager().registerListener(null, new PacketOutExRunEvent(plugin));
|
plugin.getPluginManager().registerListener(null, new PacketOutExRunEvent(plugin));
|
||||||
|
|
||||||
instance.setName("SubServers 2");
|
instance.setName("SubServers 2");
|
||||||
instance.setVersion(new Version("2.13.2a+"));
|
instance.setVersion(new Version("2.14a+"));
|
||||||
|
|
||||||
|
|
||||||
// 00-09: Object Link Packets
|
// 00-09: Object Link Packets
|
||||||
|
@ -64,7 +64,7 @@ public final class SubPlugin extends BungeeCord implements Listener {
|
|||||||
public SubDataProtocol subprotocol;
|
public SubDataProtocol subprotocol;
|
||||||
public SubDataServer subdata = null;
|
public SubDataServer subdata = null;
|
||||||
public SubServer sudo = null;
|
public SubServer sudo = null;
|
||||||
public static final Version version = Version.fromString("2.13.2d");
|
public static final Version version = Version.fromString("2.14a");
|
||||||
|
|
||||||
public Proxy redis = null;
|
public Proxy redis = null;
|
||||||
public boolean canSudo = false;
|
public boolean canSudo = false;
|
||||||
@ -105,7 +105,7 @@ public final class SubPlugin extends BungeeCord implements Listener {
|
|||||||
if (!(new UniversalFile(dir, "lang.yml").exists())) {
|
if (!(new UniversalFile(dir, "lang.yml").exists())) {
|
||||||
Util.copyFromJar(SubPlugin.class.getClassLoader(), "net/ME1312/SubServers/Bungee/Library/Files/lang.yml", new UniversalFile(dir, "lang.yml").getPath());
|
Util.copyFromJar(SubPlugin.class.getClassLoader(), "net/ME1312/SubServers/Bungee/Library/Files/lang.yml", new UniversalFile(dir, "lang.yml").getPath());
|
||||||
System.out.println("SubServers > Created ~/SubServers/lang.yml");
|
System.out.println("SubServers > Created ~/SubServers/lang.yml");
|
||||||
} else if (((new YAMLConfig(new UniversalFile(dir, "lang.yml"))).get().getVersion("Version", new Version(9))).compareTo(new Version("2.13.2d+")) != 0) {
|
} else if (((new YAMLConfig(new UniversalFile(dir, "lang.yml"))).get().getVersion("Version", new Version(9))).compareTo(new Version("2.14a+")) != 0) {
|
||||||
Files.move(new UniversalFile(dir, "lang.yml").toPath(), new UniversalFile(dir, "lang.old" + Math.round(Math.random() * 100000) + ".yml").toPath());
|
Files.move(new UniversalFile(dir, "lang.yml").toPath(), new UniversalFile(dir, "lang.old" + Math.round(Math.random() * 100000) + ".yml").toPath());
|
||||||
Util.copyFromJar(SubPlugin.class.getClassLoader(), "net/ME1312/SubServers/Bungee/Library/Files/lang.yml", new UniversalFile(dir, "lang.yml").getPath());
|
Util.copyFromJar(SubPlugin.class.getClassLoader(), "net/ME1312/SubServers/Bungee/Library/Files/lang.yml", new UniversalFile(dir, "lang.yml").getPath());
|
||||||
System.out.println("SubServers > Updated ~/SubServers/lang.yml");
|
System.out.println("SubServers > Updated ~/SubServers/lang.yml");
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
name: 'SubServers-Client-Bukkit'
|
name: 'SubServers-Client-Bukkit'
|
||||||
main: 'net.ME1312.SubServers.Client.Bukkit.SubPlugin'
|
main: 'net.ME1312.SubServers.Client.Bukkit.SubPlugin'
|
||||||
version: '2.13.2d'
|
version: '2.14a'
|
||||||
authors: [ME1312]
|
authors: [ME1312]
|
||||||
softdepend: [Vault, TitleManager]
|
softdepend: [Vault, TitleManager]
|
||||||
website: 'https://github.com/ME1312/SubServers-2'
|
website: 'https://github.com/ME1312/SubServers-2'
|
||||||
|
@ -46,7 +46,7 @@ import java.util.concurrent.TimeUnit;
|
|||||||
/**
|
/**
|
||||||
* SubServers Client Plugin Class
|
* SubServers Client Plugin Class
|
||||||
*/
|
*/
|
||||||
@Plugin(id = "subservers-client-sponge", name = "SubServers-Client-Sponge", authors = "ME1312", version = "2.13.2d", url = "https://github.com/ME1312/SubServers-2", description = "Access your SubServers from Anywhere")
|
@Plugin(id = "subservers-client-sponge", name = "SubServers-Client-Sponge", authors = "ME1312", version = "2.14a", url = "https://github.com/ME1312/SubServers-2", description = "Access your SubServers from Anywhere")
|
||||||
public final class SubPlugin {
|
public final class SubPlugin {
|
||||||
protected NamedContainer<Long, Map<String, Map<String, String>>> lang = null;
|
protected NamedContainer<Long, Map<String, Map<String, String>>> lang = null;
|
||||||
public YAMLConfig config;
|
public YAMLConfig config;
|
||||||
|
@ -36,7 +36,7 @@ import java.util.jar.Manifest;
|
|||||||
/**
|
/**
|
||||||
* SubServers.Host Main Class
|
* SubServers.Host Main Class
|
||||||
*/
|
*/
|
||||||
@Plugin(name = "SubServers.Host", version = "2.13.2d", authors = "ME1312", description = "Host SubServers from other Machines", website = "https://github.com/ME1312/SubServers-2")
|
@Plugin(name = "SubServers.Host", version = "2.14a", authors = "ME1312", description = "Host SubServers from other Machines", website = "https://github.com/ME1312/SubServers-2")
|
||||||
public final class ExHost {
|
public final class ExHost {
|
||||||
protected NamedContainer<Long, Map<String, Map<String, String>>> lang = null;
|
protected NamedContainer<Long, Map<String, Map<String, String>>> lang = null;
|
||||||
public HashMap<String, SubCreator.ServerTemplate> templates = new HashMap<String, SubCreator.ServerTemplate>();
|
public HashMap<String, SubCreator.ServerTemplate> templates = new HashMap<String, SubCreator.ServerTemplate>();
|
||||||
|
@ -47,7 +47,7 @@ public final class SubPlugin extends BungeeCord implements Listener {
|
|||||||
public boolean redis = false;
|
public boolean redis = false;
|
||||||
public final SubAPI api = new SubAPI(this);
|
public final SubAPI api = new SubAPI(this);
|
||||||
public SubDataClient subdata = null;
|
public SubDataClient subdata = null;
|
||||||
public static final Version version = Version.fromString("2.13.2d");
|
public static final Version version = Version.fromString("2.14a");
|
||||||
|
|
||||||
public final boolean isPatched;
|
public final boolean isPatched;
|
||||||
public long lastReload = -1;
|
public long lastReload = -1;
|
||||||
|
Loading…
Reference in New Issue
Block a user