Page 1 of 1

The console

Posted: Tue 02.03.2010, 21:18
by PowerWyrm
This may be a feature from MAngband/PWMAngband that people forgets, but it can be useful for server admins. So here's how to use it:
- download and install NetCat
- create a shortcut to the executable with the following command line: nc.exe localhost 18346 (for a remote server and a different port, type nc.exe hostname port)
- launch the console: you should see an empty screen
- press "Space" and then "Enter": you should see "Connected"
- enter the console password (it should be the same as CONSOLE_PASSWORD in mangband.cfg) and then "Enter": you should see "Authenticated"
- enter "help and then "Enter": you should see a list of all commands available

Now the list of commands:
- help: displays the list of commands
- listen: (?)
- who: displays a list of the players connected
- shutdown: shuts the server down
- msg (message): displays a message to each player connected in the chat window
- kick (player): kicks a player out of the game
- wrath (player): obliterates a player (in the same way as if the player suicided)
- reload: (?)
- whois (player): displays info about a connected player
- rngtest: plays with the RNG
- debug: executes a debug command (currently unused)