Server start options:
- -loglevel ([<facil|prefix*>=]debug|info|warn|error[,])+
- -logfile Log file (default: none)
- -pidfile PID file (default: none)
- -runas run as specified user
- -fg Stay in foreground
- -help Display this list of options
- --help Display this list of options
Server queries:
- /add
- params: players, ,
- return: game id and key JSON
- action: add game with players, tournament, and URL
- /vote
- params: user, id, player
- return: none
- action: vote for a player as user
- /start
- params: key
- return: none
- action: stop voting ("start" game)
- /call
- params: key, player
- return: none
- action: call winner
- /game
- params: id,
- return: game JSON
- action: get game info for a user if specified
- /admingame
- params: key
- return: game JSON
- action: get full game info
- /list
- params:
- return: game list JSON
- action: get all games info
- /scoreboard
- params: none
- return: scoreboard JSON
- action: get current scoreboard
- /edit
- params: user, score
- return: none
- action: edit score for a user in scoreboard
- /stats
- params: none
- return: server stats TEXT
- action: get stats