Banlist.txt

From Red Faction Wiki
Revision as of 04:17, 20 February 2009 by Digi (talk | contribs)

This article is regarding Red Faction The proper title of this article is banlist.txt, but differs from the actual name due to technical limitations.

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 players who use a name that is either too difficult or impossible 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.*
] _

NOTE: In every version of Red Faction other than Pure Faction, banning from the console will sometimes crash the server.