Difference between revisions of "Server console"

From AAGRINDER wiki
Jump to navigationJump to search
imported>Maze
(Created page with "While running an AAGRINDER server, the admin has access to the server console. The console displays various kinds of data about activity on the server. Additionally, the conso...")
 
imported>Maze
(chat)
Line 7: Line 7:
 
|-
 
|-
 
| stop || Saves the world to disks and stops the AAGRINDER server.
 
| stop || Saves the world to disks and stops the AAGRINDER server.
 +
|-
 +
| chat || Takes an unlimited number of arguments. The arguments become a chat message, which is then sent to all clients. In chat, the message source appears as '''[SERVER]'''.
 
|-
 
|-
 
| admin || Reloads the list of admins from the files ''admins.txt'' and ''sudo.txt''.
 
| admin || Reloads the list of admins from the files ''admins.txt'' and ''sudo.txt''.

Revision as of 23:02, 27 October 2019

While running an AAGRINDER server, the admin has access to the server console. The console displays various kinds of data about activity on the server. Additionally, the console accepts input on stdin. This allows the admin to type commands in the server console. The following table describes all these commands. Please note that the Enter key needs to be pressed after each typed command.

Command Description
save Saves the world to disk.
stop Saves the world to disks and stops the AAGRINDER server.
chat Takes an unlimited number of arguments. The arguments become a chat message, which is then sent to all clients. In chat, the message source appears as [SERVER].
admin Reloads the list of admins from the files admins.txt and sudo.txt.
forcereload Reloads all clients. Note that just restarting the server does not reload clients, so you will need to run forcereload if you want to update clients to a new version.
log Saves all submitted client logs and server logs to disk. Only available if debug_server is set to true in server settings.