Mini ShootMania Server Script
This is a tiny little ShootMania server script that is mainly focused on adding basic commands to your server, such as switching maps, kicking or banning players, and changing your server's config. This script does not have a radio, it does not have a GUI interface, it will not alter gameplay in the slightest. All this script is is a simple, in-game chat commands interface.
This script is basically not safe for human consumption right now. Don't worry, when it is, I'll post about it on the ManiaPlanet forums and write better docs. And probably a better name.
[todo: this section. just take a look at config.example.json; fairly self-explanitory]
git clone the repo to your ManiaPlanet directory,
chmod 777 manager.py, and run
./manager.py after starting your ShootMania server.
/nextmap- See the next map in the rotation
/skip- Ends the current map and skips to the next one in the rotation
/findmap <search>- Find a map from a partial string match
/changemap <map>- Ends the current map and changes to the one you choose. Requires the full name of the map - use
/findmapto find it.
/getmodesettings- Dumps all of the settings for the current game mode to your chat box. Press "C" to maximize the chat if you can't see all of them at once.
/setmodesettings <key> <value>- Set a setting for the game mode. Usually doesn't take effect until the next round, or sometimes match/map.
/kick <player>- Kick a player. Uses the login name of the player.
/autobalance- Auto balances teams. Be warned, tho: auto balance is dumb as all hell, and if you have a two-slot different between teams (like 6v8), it's not going to do the sane thing of just taking one guy from the larger team and moving it over, it's going to respawn like four dudes for no reason.
/scramble- Randomly shuffles around the players on each team.
/echo <message>- Echo a message to the server as "[Server] Words!". Useful when you wanna look all authoritative.
(in no particular order, will be done as I feel like it)
- Various ban-related commands
/help- Would list at least the player-facing commands - maybe have separate
In the wild
Currently used on the Goons server (US-Texas).
- More commands
- Logging to a file(s)
- Script for running as a background task
- Allow admin commands to be run from console
- Gametype management