The banfile is a file in which a list of banned player accounts and IP addresses are saved. Server administrators may issue bans to players who use foul language, Team Kill, use a cheat client or who behave inappropriately or against the spirit of the game.
Creating a Banfile
A server administrator wishing to use a banfile (eg: filename.txt) would add:
Before banning a player, it is advisable to warn them either verbally or use a slash command such as /kick or /kill. A ban may not always be necessary, and should be used as a last resort. Many server owners recommend a "warn, kick, shortban, ban" method to deal with troublesome players.
A server administrator would ban a player by either:
- using the /ban command in an in-game chat window or
- editing the file while the server is off
Server administrators can also load the serverControl plugin that reloads a specified banfile every few seconds.
The administrator may specify a duration for the ban, or ban a player indefinitely. A reason for the ban may also be specified, which will be used for reference in server logs and sent to the player.