Server admin interface protocol

When the server is started with the command line switch -a, the following commands can be sent to that port:

Table 5.6. Admin interface commands

CommandArgument type
admin set-gamestring
admin set-register-serverinteger
admin set-num-playersinteger
admin set-sevens-ruleinteger
admin set-victory-pointsinteger
admin set-random-terraininteger
admin set-portinteger
admin start-servernone
admin stop-servernone
admin quitnone

admin set-game should be used before the other game parameters are changed, because it changes all game parameters.

Note

If a game was running while a game parameter is changed, it will be aborted.

When no game is running when admin quit is issued, the application will quit.