g_maplist: refactor initialisation Reduces code duplication. Checks/initialises once when adding maps to the voting screen, instead of doing it again for each map added. Always uses gametype-specific g_maplist generation, instead of sometimes including maps from other gametypes (depending which code path was used). Updates some declarations and removes an unused global.
g_maplist: update with `gametype` command, as well as GUI gametype voting This fixes the need to manually set g_maplist to \"\" after running the gametype command on a votable server. This is consistent with GUI gametype voting (sv_vote_gametype 1) behaviour and shares its code to reduce duplication.
bot_cmd: update usage example of the cc subcommand. Use the BOLD macro in 2 Survival notifications
movetospec command: make it work even if the player is already spectating/observing but still in game (CA, Survival, LMS)
Print the "Incorrect parameters for ..." message with the more appropriated LOG_HELPF
Prevent errors and a few crashes running most of the server commands while the server isn't running
Merge branch 'master' into Mario/q3compat_sanity
cmd setbots: add more than one bot at once. We now have logic to normally only add one bot per frame. This is all nice, but breaks the Xonotic Bot Orchestra. So, let's make it so that the XBO has special privileges to spawn more than one bot per frame; in normal gameplay bot spawns remain spaced out.
When switching from spectator to observer don't place the camera in a random spawnpoint but keep it in its current location so you don't lose sight of the spectated player
Merge branch 'master' into Mario/q3compat_sanity
Add API to handle in-game status for game modes that temporarily turn players into spectators/observers when they are eliminated but keeping them "in game". Replaces caplayer and lmsplayer and the GetPlayerStatus mutator hook
Merge branch 'z411/srestart' into 'master' Add resetmatch command to soft restart the map without the need to respawn the server [restart] (fixes #2609) Closes #2609 See merge request xonotic/xonotic-data.pk3dir!940
Change command name from reset to resetmatch
Make allready not votable if in a match
Changed description of the reset server command
Soft reset: Fix warmup limit and repeatable restart
Fix compilation units
moveplayer: add # to player number
moveplayer: fix / improve error handling and messages
Changed srestart command name to reset