Initial autoupdater
This commit is contained in:
@ -140,7 +140,7 @@
|
||||
this.field_154332_n = new ServerEula(new File("eula.txt"));
|
||||
|
||||
if (!this.field_154332_n.func_154346_a())
|
||||
@@ -172,6 +231,16 @@
|
||||
@@ -172,6 +231,17 @@
|
||||
this.setServerPort(this.settings.getIntProperty("server-port", 25565));
|
||||
}
|
||||
|
||||
@ -150,14 +150,15 @@
|
||||
+ org.spigotmc.SpigotConfig.registerCommands();
|
||||
+ // Spigot end
|
||||
+ // Cauldron start
|
||||
+ this.cauldronConfig.registerCommands();
|
||||
+ this.tileEntityConfig.registerCommands();
|
||||
+ kcauldronConfig.registerCommands();
|
||||
+ cauldronConfig.registerCommands();
|
||||
+ tileEntityConfig.registerCommands();
|
||||
+ // Cauldron end
|
||||
+
|
||||
field_155771_h.info("Generating keypair");
|
||||
this.setKeyPair(CryptManager.createNewKeyPair());
|
||||
field_155771_h.info("Starting Minecraft server on " + (this.getServerHostname().length() == 0 ? "*" : this.getServerHostname()) + ":" + this.getServerPort());
|
||||
@@ -180,7 +249,7 @@
|
||||
@@ -180,7 +250,7 @@
|
||||
{
|
||||
this.func_147137_ag().addLanEndpoint(inetaddress, this.getServerPort());
|
||||
}
|
||||
@ -166,7 +167,7 @@
|
||||
{
|
||||
field_155771_h.warn("**** FAILED TO BIND TO PORT!");
|
||||
field_155771_h.warn("The exception was: {}", new Object[] {ioexception.toString()});
|
||||
@@ -196,10 +265,17 @@
|
||||
@@ -196,10 +266,17 @@
|
||||
field_155771_h.warn("To change this, set \"online-mode\" to \"true\" in the server.properties file.");
|
||||
}
|
||||
|
||||
@ -186,7 +187,7 @@
|
||||
|
||||
if (!PreYggdrasilConverter.func_152714_a(this.settings))
|
||||
{
|
||||
@@ -208,7 +284,8 @@
|
||||
@@ -208,7 +285,8 @@
|
||||
else
|
||||
{
|
||||
FMLCommonHandler.instance().onServerStarted();
|
||||
@ -196,7 +197,7 @@
|
||||
long j = System.nanoTime();
|
||||
|
||||
if (this.getFolderName() == null)
|
||||
@@ -274,11 +351,30 @@
|
||||
@@ -274,11 +352,30 @@
|
||||
this.theRConThreadMain.startThread();
|
||||
}
|
||||
|
||||
@ -227,7 +228,7 @@
|
||||
public boolean canStructuresSpawn()
|
||||
{
|
||||
return this.canSpawnStructures;
|
||||
@@ -364,11 +460,19 @@
|
||||
@@ -364,11 +461,19 @@
|
||||
|
||||
public void executePendingCommands()
|
||||
{
|
||||
|
Reference in New Issue
Block a user