feat: Remove reinterpret_casts from AG race timer script and add method and chat command to get current server uptime (#1673)

* use steady_clock race timer

* formatting and const

* improve time interface

* added uptime chat command

* fix bug and update documentation

* inrease /uptime GM level requirement

* update GM level for /uptime (again)

* made changes according to feedback
This commit is contained in:
jadebenn
2024-12-17 14:06:16 -06:00
committed by GitHub
parent ba364800fe
commit 77b42daca1
6 changed files with 79 additions and 54 deletions

View File

@@ -45,6 +45,7 @@
|setannmsg|`/setannmsg <title>`|Sets the message of an announcement.|8|
|setanntitle|`/setanntitle <title>`|Sets the title of an announcement.|8|
|shutdownuniverse|`/shutdownuniverse`|Sends a shutdown message to the master server. This will send an announcement to all players that the universe will shut down in 10 minutes.|9|
|uptime|`/uptime`|Displays the time the current world server has been active.|8|
## Development Commands