r1ch.net forums
* Home Help Search Login Register
r1ch.net  |  r1ch.net stuff  |  R1Q2  |  Topic: Some Server Commands
Pages: [1]
Print
Author Topic: Some Server Commands  (Read 46248 times)
R1CH
Administrator
Member

Posts: 2625



« on: November 11, 2004, 03:26:48 am »

Please do not enforce use of the R1Q2 client on your server
The R1Q2 client offers NO cheat protection and by requiring R1Q2 you are blocking other legitimate clients such as EGL, Q2MaX, Icculus, many linux/OSX builds and plenty of others. It is trivial to bypass such version checks when the client is not an anti-cheat project like NoCheat. If anything you will make it even harder to detect cheats as someone could add cheats to the R1Q2 source code and it would look no different than the official client.

General Server Commands
addhole
Add a server-side IP ban (called a blackhole since it effectively ignores all incoming packets from the specified IP)

listholes
View all blackholes.

delhole
Remove a blackhole.

addcvarban
Add a check for client cvar. Can check values, string or existence and kick/blackhole accordingly. Not recommended for capping things like gl_modulate as it is only checked once on client connect.

checkcvarbans
Force an immediate check of all cvar bans on connected clients.

delcvarban
Remove a cvar check.

bancommand
Block a given command from being executed.

unbancommand
Allow blocked command to be executed.

broadcast
Like console say but spams 3 lines.

pc
Initiate passive connection to listening R1Q2 client.

Win32 specific:
installservice
Install R1Q2 server as an NT service.

deleteservice
Remove an R1Q2 service.

tray
Control minimize to tray support.

minimize
Cause the dedicated console to minimize.
« Last Edit: February 22, 2005, 06:20:29 am by R1CH » Logged
R1CH
Administrator
Member

Posts: 2625



« Reply #1 on: December 19, 2004, 12:35:28 am »

b2742+:
Most commands now come with some basic help, type the command name by itself to view usage and examples.

addcommandban (replaces bancommand of earlier versions)
Block a client command from being used by kicking, warning or silently ignoring it. Can be used to block server commands like 'download' or 'info'.

delcommandban (replaces unbancommand)
Unblock a client command.

listbannedcommands
Show list of banned commands.

stuff
Stuff command to a client.

addstuffcmd
Add a command to be stuffed to the client on connect or entering the game.

liststuffcmds
Show list of stuffed commands.

delstuffcmd
Remove a stuffed command.

addnullcmd
Make an otherwise unknown command do nothing. Basically, if it isn't a server command, ignore it as opposed to passing it to the mod.

delnullcmd
Delete a nullcmd.
Logged
R1CH
Administrator
Member

Posts: 2625



« Reply #2 on: January 15, 2005, 09:35:36 pm »

b4025+:

adduserinfoban / deluserinfoban / listuserinfobans
Add bans on userinfo values, uses the same syntax as the cvar bans.

addlrconcmd
Add a command string to the limited rcon list. A client with the lrcon_password is able to use any command starting with the string you enter.

dellrconcmd
Remove an lrcon string.

CVARBANS:
Syntax is changed in b4025+.

addcvarban <cvarname> <[!]((=|<|>)numvalue|[~|#]string|*)> <KICK|BLACKHOLE> message

! will negate the test result. ~ will match on a substring. # uses a literal string match. Comparisons aren't made against empty results unless you use *.
Logged
Pages: [1]
Print
r1ch.net  |  r1ch.net stuff  |  R1Q2  |  Topic: Some Server Commands
Jump to:  

Powered by SMF 1.1.19 | SMF © 2013, Simple Machines