Tf2's default ban system is not very robust, but:

Usage:  banid < minutes > < userid | uniqueid > { kick }
Use 0 minutes for permanent

So, "banid 0 423 kick" would kick and ban userid 423 forever. You can 
also use their steamid. if you omit kick, it wont bother looking for and 
kicking them if they're already in the server. Note that timed bans work 
in a very iffy manner.

You also need to run 'writeid' to write these bans to file. A common 
approach is to have:

exec banned_user.cfg
writeid

In your server.cfg, so on map change it re-reads the ban file (in case 
other servers have added bans in the meantime) and then writes the list 
of bans.

Most people, however, use something like sourcemod to handle admins, 
kicks, bans, etc. In sourcemod any appropriately setup admin can use 
"sm_ban" and the database is managed automatically.

- Neph

On 01/10/2010 04:11 PM, tom nikitopoulos wrote:
> is there a way to ban players from the console terminal? i have tried a
> couple of commands but no dice.
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives, please 
> visit:
> http://list.valvesoftware.com/mailman/listinfo/hlds_linux
>    


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux

Reply via email to