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

@@ -52,7 +52,8 @@
"run_mode_help": "伺服器運行模式必須為 HYBRID 或者 DISPATCH_ONLY 或者 GAME_ONLY。Grasscutter 啟動失敗...",
"create_resources": "正在建立 resources 資料夾...",
"resources_error": "請將 BinOutput 和 ExcelBinOutput 複製到 resources 資料夾。",
"version": "Grasscutter版本 %s-%s"
"version": "Grasscutter版本 %s-%s",
"game_version": "游戏版本: %s"
}
},
"commands": {