PunkBuster
Enable PunkBuster anti-cheat on older Call of Duty, Battlefield, Quake and Wolfenstein servers
PunkBuster is an anti-cheat made by Even Balance. It was built into many shooters from about 2001 to 2015. It runs on the server as pbsv.so in a pb folder, and on each player's PC as a client. The server checks players, can take screenshots, and kicks or bans cheaters.
LinuxGSM installs every server with PunkBuster turned off.
Supported Servers
Battlefield 1942
v1.056
Battlefield: Vietnam
v1.458
Call of Duty 2
v1.760
Call of Duty: World at War
v1.814
Quake 3: Arena
v1.641
Quake 4
v1.743
Soldier Of Fortune 2: Gold Edition
v1.728
Wolfenstein: Enemy Territory
v1.809
Call of Duty
Not available
Call of Duty: United Offensive
Not available
Call of Duty 4
Not supported, LinuxGSM uses CoD4x
Each server ships the last PunkBuster release for that game in serverfiles/pb. There are no PunkBuster files for the Linux Call of Duty and United Offensive servers.
Call of Duty 4 installs CoD4x, the maintained Linux server for CoD4. It works with 1.7 clients, but it doesn't support PunkBuster. LinuxGSM doesn't offer the official CoD4 server.
Return to Castle Wolfenstein, Jedi Knight II and Jedi Knight: Jedi Academy use open-source engines (iortcw and OpenJK) that don't include PunkBuster.
Enable PunkBuster
Stop the server.
In
lgsm/config-lgsm/<x>server/<x>server.cfg, copy thestartparametersline from_default.cfgand change+set sv_punkbuster 0to+set sv_punkbuster 1. See Start Parameters.Set the same value in the game config, where the game has one:
Quake 4:
seta sv_punkbuster "1"inserverfiles/q4base/q4server.cfg.Battlefield 1942 and Battlefield: Vietnam:
game.serverPunkBuster 1inserverfiles/mods/<mod>/settings/serversettings.con. These two don't use the start parameter.
Start the server and check the console for PunkBuster loading.
Restore PunkBuster Files
If the pb folder is missing or damaged, reinstall the server to get the files back. The legacy files are also on PBBans Legacy PunkBuster Files.
Make sure the LinuxGSM user owns the pb folder and can write to it. PunkBuster writes its logs, screenshots and settings there.
Configuration
PunkBuster reads its server settings from pbsv.cfg in its pb folder when it starts. Create the file if it doesn't exist.
Battlefield 1942, Battlefield: Vietnam and Enemy Territory run PunkBuster from serverfiles/pb. Call of Duty 2, World at War, Quake 3 and Soldier of Fortune 2 copy it to the pb folder in the game's home directory, for example ~/.q3a/pb, and run it from there, so put pbsv.cfg there and look there for the logs.
For example, to turn on player screenshots:
The full command list is in the archived PunkBuster server admin manuals on PBBans.
PBBans
PBBans is a community ban network for PunkBuster games. It isn't run by Even Balance. Servers that stream to the PBBans Hub share bans, so a cheater banned on one server is blocked on all of them. It still accepts streams from the older games, including Call of Duty, Call of Duty 2, Call of Duty 4, Call of Duty: World at War, Battlefield 1942, Quake 4 and Enemy Territory.
To stream to PBBans:
Register on the PBBans forums.
Follow the PBBans Automated Hub Setup, which gives you the lines to add to
pbsv.cfg.Make sure the server's game port is reachable over UDP. PunkBuster streams over the same port the game uses.
Server Resources
Last updated
Was this helpful?

