List game & server version when starting server (#1181)

* When the server starts, it now outputs the game and server version. Too dumb to not hardcode it - sorry!

* ...

* sorry i dropped my spaghetti, I'll help clean that

* Doing simple stuff: now without hardcoding!

* Restored Git hash functionality

* Fixed other languages and made the output more useful.

* Forgot this file lol
This commit is contained in:
AZ
2022-06-04 09:41:18 +00:00
committed by GitHub
parent 910a5749f0
commit fa2ab59887
6 changed files with 11 additions and 4 deletions

View File

@@ -27,6 +27,7 @@ import emu.grasscutter.server.event.game.ServerTickEvent;
import emu.grasscutter.server.event.internal.ServerStartEvent;
import emu.grasscutter.server.event.internal.ServerStopEvent;
import emu.grasscutter.task.TaskMap;
import emu.grasscutter.BuildConfig;
import java.net.InetSocketAddress;
import java.time.OffsetDateTime;