Banlist.txt
The banlist.txt file stores the IP addresses of people banned from a server.
Loading/saving/editing
The banlist.txt file is loaded only when the server starts, and saved only when the server performs a clean exit (IE: doesn't crash). Editing of the banlist.txt file in an external editor should only be done when the server is not running.
IPs can be entered in two ways. The first is a single IP. This is simply any IP, like 123.123.123.251. It is also possible to ban all players from a given range, like the following:
- 123.123.*
- 252.*
Bans from the console
- Banning a player at the console is simple. You can ban by their name as follows:
- ] ban "IMACHEATER"
- Banning player: IMACHEATER
- For people who use a name that is either too difficult or too hard to type, you can obtain and ban an IP as follows:
- ] info
- ============================================
- Level name: ctf02.rfl
- Level time: 0 days, 0h 24m 42s
- Framerate / FPS: 0.009 / 114
- ============================================
- Clients (ping) -------------
- "MegaPro" (37) (12.34.56.78)
- "Wallhacker!" (88) (56.78.23.11)
- ] ban_ip 56.78.23.11
- Kicking player: 56.78.23.11
- Banning player: 56.78.23.11
- ] _
- If a player keeps coming back with just a slightly different IP, you can rangeban as follows:
- ] info
- ============================================
- Level name: ctf02.rfl
- Level time: 0 days, 0h 24m 42s
- Framerate / FPS: 0.009 / 114
- ============================================
- Clients (ping) -------------
- "MegaPro" (37) (12.34.56.78)
- "Wallhacker!" (72) (56.78.23.66)
- ] ban_ip "56.78.*"
- Kicking player: 56.78.*
- Banning player: 56.78.*
- ] _