mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-12-06 02:40:23 -08:00
Multi-line server list
This commit is contained in:
parent
deb814ce58
commit
83a059b2da
3 changed files with 40 additions and 16 deletions
|
|
@ -42,6 +42,9 @@ public class ServerControl implements ApplicationListener{
|
|||
protected static DateTimeFormatter dateTime = DateTimeFormatter.ofPattern("MM-dd-yyyy HH:mm:ss"),
|
||||
autosaveDate = DateTimeFormatter.ofPattern("MM-dd-yyyy_HH-mm-ss");
|
||||
|
||||
/** Global instance of ServerControl, initialized when the server is created. Should never be null on a dedicated server. */
|
||||
public static ServerControl instance;
|
||||
|
||||
public final CommandHandler handler = new CommandHandler("");
|
||||
public final Fi logFolder = Core.settings.getDataDirectory().child("logs/");
|
||||
|
||||
|
|
@ -68,6 +71,7 @@ public class ServerControl implements ApplicationListener{
|
|||
|
||||
public ServerControl(String[] args){
|
||||
setup(args);
|
||||
instance = this;
|
||||
}
|
||||
|
||||
protected void setup(String[] args){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue