forked from tastyspleen/q2admin-tsmod
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathreadme.txt
4235 lines (2852 loc) · 143 KB
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
Version: q2admin1.17.44-tsmod-2
This is Q2Admin with R1CH's security patches applied, and a couple tweaks
to prevent kicking of players for false positives (Q2Admin would think a
player was a bot when they were merely lagging badly.)
Original Q2Admin readme.txt follows:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*******************************************************
* *
* Q2Admin v1.17 for Quake2 *
* (c) Shane Powell 1999-2001 *
* *
* Date: 18th August 2001 *
* *
* Win32 / Linux *
* *
* http://www.planetquake.com/q2admin/ *
* *
*******************************************************
Q2Admin is a transparent proxy mod that adds many admin
functions plus ZBot/Ratbot detection (including hacked
bots) to Quake2. It works with all Quake2 mods transparently
by filtering communication between the server and the primary
mod it is running on top of.
Contents:
1. Install.
1.1. Windows Install.
1.2. Linux Install.
1.3. Alpha Linux Install.
1.4. Solaris Install.
2. Admin Commands and Setup.
2.1. Admin Commands.
2.2. q2admin.txt setup.
2.3. Quake2 client admin.
2.4. Quake2 Server admin.
2.5. Admin command reference.
2.5.1 "[LIKE/RE/CL] name" explained.
2.6. Impulses explained.
2.7. Advanced admin commands.
2.7.1. Max Rate / Max fps.
2.7.2. IP / Nick Banning.
2.7.3. Limited rcon.
2.7.4. Chat Flood Protection and Muting.
2.8. play_ and say_ commands.
2.8.1 play_all.
2.8.2 play_team.
2.8.3 play_person.
2.8.4 say_person.
2.8.5 say_group.
2.8.6 extended say.
2.9. Message of the Day (MOTD).
2.10 disable spawning items.
2.11 command voting.
2.12 disable client commands.
2.13 cl_pitchspeed and cl_anglespeedkey (Action Quake2 M4 Scripts)
2.14 client side variable checking
3. String preprocessing.
4. Logging explained.
5. Regular expressions.
6. Trouble Shooting.
7. Credits.
8. Copyright and Distribution Permissions.
9. Release History.
1. Install
----------
1.1. Windows Install
--------------------
Installation for servers running Quake2 v3.20
1. Shut down the Quake2 Server.
2. Create a directory off the Quake2 root directory called
'release'
3. Copy the gamex86.dll into the 'release' directory.
4. Copy the following files into the Quake2 root directory
(wherever Quake2.exe is).
q2admin.txt
q2adminban.txt
q2adminlog.txt
q2adminlrcon.txt
q2adminflood.txt
q2adminspawn.txt
q2adminvote.txt
q2admindisable.txt
q2admincheckvar.txt
5. Start the server as usual.
The Q2Admin prints it's version number out just before
the standard "==== InitGame ====" when the server starts.
Q2Admin also prints out warning messages if the config
files can't be found.
To enable overflow detection you must set logfile to 2 or
3 on the server. This is best done by adding it to your
server.cfg file.
Installation for servers running Quake2 up to v3.19
1. Shut down the Quake2 Server.
2. Copy the gamex86.dll and q2admin.txt into the Quake2 root
directory (wherever Quake2.exe is). You shouldn't
be overwriting any mod files unless you already have a
seamless dll installed for another mod (I believe there is
a camera mod that is seamless). You can only run one
seamless dll at a time.
3. Start the server as usual.
The Q2Admin prints it's version number out just before
the standard "==== InitGame ====" when the server starts.
Q2Admin also prints out warning messages if the config
files can't be found.
To enable overflow detection you must set logfile to 2 or
3 on the server. This is best done by adding it to your
server.cfg file.
1.2. Linux Install
------------------
PLEASE NOTE THAT Q2ADMIN ONLY RUNS WITH THE GLIBC VERSION
OF QUAKE2 FOR LINUX. It will run with the non-glibc
version but allot of features seam to be broken when
running it with that version. Use at your own risk.
1. Shut down the Quake2 Server.
2. Uncompress q2admin1.tar.gz into the Quake2 root
directory. e.g. "tar zxf q2admin1.tar.gz"
3. For each mod that you want to protect, copy the
following files into the mod directory.
install
q2admin.so
q2admin.txt*
q2adminban.txt*
q2adminlog.txt*
q2adminlrcon.txt*
q2adminflood.txt*
q2adminspawn.txt*
q2adminvote.txt*
q2admindisable.txt*
q2admincheckvar.txt*
*Optional. Use only if you want to customithe Q2Admin
config for this particular mod rather than use the global
Q2Admin config.
4. Run "install" once. (e.g. ". ./install")
5. Start the server as usual.
The Q2Admin prints it's version number out just before
the standard "==== InitGame ====" when the server starts.
Q2Admin also prints out warning messages if the config
files can't be found.
The "install" script moves the old gamei386.so to
gamei386.real.so and moves q2admin.so gamei386.so.
If the install script is run again the files are moved
back to there original names. This can be used to
uninstall or enable / disable the detect bot code.
To enable overflow detection you must set logfile to 2 or
3 on the server. This is best done by adding it to your
server.cfg file (v3.20 only).
1.3. Alpha Linux Install
------------------------
1. Shut down the Quake2 Server.
2. Uncompress q2adminaxp1.tar.gz into the Quake2 root
directory. e.g. "tar zxf q2adminaxp1.tar.gz"
3. For each mod that you want to protect, copy the
following files into the mod directory.
install
q2admin.so
q2admin.txt*
q2adminban.txt*
q2adminlog.txt*
q2adminlrcon.txt*
q2adminflood.txt*
q2adminspawn.txt*
q2adminvote.txt*
q2admindisable.txt*
q2admincheckvar.txt*
*Optional. Use only if you want to customize the Q2Admin
config for this particular mod rather than use the global
Q2Admin config.
4. Run "install" once. (e.g. ". ./install")
5. Start the server as usual.
The Q2Admin prints it's version number out just before
the standard "==== InitGame ====" when the server starts.
Q2Admin also prints out warning messages if the config
files can't be found.
The "install" script moves the old gameaxp.so to
gameaxp.real.so and moves q2admin.so gameaxp.so.
If the install script is run again the files are moved
back to there original names. This can be used to
uninstall or enable / disable the detect bot code.
To enable overflow detection you must set logfile to 2 or
3 on the server. This is best done by adding it to your
server.cfg file (v3.20 only).
1.4. Solaris Install
--------------------
The Solaris port is done by the SolarEclipse. Go check
them out for ports of other Quake2 mods to Solaris OS.
http://www.planetquake.com/eclipse
Intel Solaris OS:
----------------
1. Shut down the Quake2 Server.
2. Uncompress q2admin1_solx86.tar.gz into the Quake2 root
directory. e.g. "tar zxf q2admin1_solx86.tar.gz"
3. For each mod that you want to protect, copy the
following files into the mod directory.
install.ksh
q2admin.solx86.so
q2admin.txt*
q2adminban.txt*
q2adminlog.txt*
q2adminlrcon.txt*
q2adminflood.txt*
q2adminspawn.txt*
q2adminvote.txt*
q2admindisable.txt*
q2admincheckvar.txt*
*Optional. Use only if you want to customize the Q2Admin
config for this particular mod rather than use the global
Q2Admin config.
4. Run "install" once. (e.g. ". ./install")
5. Start the server as usual.
The Q2Admin prints it's version number out just before
the standard "==== InitGame ====" when the server starts.
Q2Admin also prints out warning messages if the config
files can't be found.
The "install" script moves the old gamei386.so to
gamei386.real.so and moves q2admin.solx86.so gamei386.so.
If the install script is run again the files are moved
back to there original names. This can be used to
uninstall or enable / disable the detect bot code.
To enable overflow detection you must set logfile to 2 or
3 on the server. This is best done by adding it to your
server.cfg file (v3.20 only).
Sparc Solaris OS:
----------------
1. Shut down the Quake2 Server.
2. Uncompress q2admin1_sparc.tar.gz into the Quake2 root
directory. e.g. "tar zxf q2admin1_sparc.tar.gz"
3. For each mod that you want to protect, copy the
following files into the mod directory.
install.ksh
q2admin.sparc.so
q2admin.txt*
q2adminban.txt*
q2adminlog.txt*
q2adminlrcon.txt*
q2adminflood.txt*
q2adminspawn.txt*
q2adminvote.txt*
q2admindisable.txt*
q2admincheckvar.txt*
*Optional. Use only if you want to customize the Q2Admin
config for this particular mod rather than use the global
Q2Admin config.
4. Run "install" once. (e.g. ". ./install")
5. Start the server as usual.
The Q2Admin prints it's version number out just before
the standard "==== InitGame ====" when the server starts.
Q2Admin also prints out warning messages if the config
files can't be found.
The "install" script moves the old gamesparc.so to
gamesparc.real.so and moves q2admin.sparc.so gamesparc.so.
If the install script is run again the files are moved
back to there original names. This can be used to
uninstall or enable / disable the detect bot code.
To enable overflow detection you must set logfile to 2 or
3 on the server. This is best done by adding it to your
server.cfg file (v3.20 only).
2. Admin commands and Setup
---------------------------
2.1. Admin commands
-------------------
There are 3 ways to use admin commands.
1. In the q2admin.txt for initial configuration.
2. In a Quake2 client connected to a server running Q2Admin.
3. On the server console.
2.2. q2admin.txt setup
-------------------------
The configuration file is automatically read from two places.
It first reads q2admin.txt from the Quake2 directory then
from the mod directory.
Anyone wanting to make a configuration specific to a mod
can copy the q2admin.txt into the mod directory and
modify it for the requirements of that mod.
If you run multiple servers from one mod directory you can
use the command "+set q2admintxt <q2admin.txt-filename>"
when starting a quake2 server. The q2amin.txt-file needs to
be in the mod directory for this to work. For example:
quake2 +set dedicated 1 +set q2admintxt q2admin_port27920.txt +exec ctfserver.cfg
The format for the .txt file is as follows:
Lines beginning with a ';' are comment lines and are
ignored. e.g.
; this is a comment line.
The standard layout for a config command is as follows:
<command> "<value>"
Note the value must always be in quotes. e.g.
adminpassword "secret"
For a list of configuration commands see section 2.5.
2.3. Quake2 client admin
------------------------
By default the Quake2 client admin is disabled. To enable it
you must provide a password. Edit the q2admin.txt file
and add a default password.
All remote admin commands must be prefixed with a '!'.
Before you can use any of the remote admin commands you
must login. Logging in puts the user in admin mode where
he/she can run admin commands. Admin mode lasts until
the level changes, the server is shut down or the player
disconnects from the server. There can be multiple
admins logged in at the same time.
To log into admin mode, from the Quake2 client use the
command '!setadmin' with the admin password that was
set in q2admin.txt file.
e.g.
!setadmin secret
The server will print the 'q2admin Admin mode active'.
There is also a automatically way to get into admin on
client connect.
You can put your password into a cvar 'q2adminpassword'
and this cvar is checked on client connect to see if it's
got the correct password set. If it has it will print
'q2admin Admin mode active' message not long after connect.
e.g.
set q2adminpassword secret
then connect to the server.
Note, the cvar is ONLY checked at client connect.
Once set you can begin to use admin commands. If you try to
setadmin again the server will tell you that you are already
in admin mode.
For string values there are some special commands. To have
a double quote in a value, you must use '\q'. To use a
new line in a string you use '\n'. To use a '$' in a string
you use a '\d'. To use a '\' in a string you use '\\'.
e.g.
!customservercmd "error \qGet off my server, ZBot/RatBot user!\q"
or
!ban + name re ^VK-.*\d password duck
When typing in a command on the client console you
don't have to type the whole command in most cases, you just
need to type in enough of the command to make it unique.
e.g.
!customs "error \qGet off my server, ZBot/RatBot user!\q"
For a list of admin commands see section 2.5.
2.4. Quake2 Server admin
------------------------
All admin commands run from the server console must be
prefixed with 'sv !'.
e.g.
'sv !ban name blank'
For string values there are some special commands. To have
a double quote in a value, you must use '\q'. To use a
newline in a string you use '\n'. To use a '$' in a string
you use a '\d'. To use a '\' in a string you use '\\'.
e.g.
sv !customservercmd "error \qGet off my server, ZBot/RatBot user!\q"
or
sv !ban + name re ^VK-.*\d password duck
When typing in a command on the server console you
don't have to type the whole command in most cases, you just
need to type in enough of the command to make it unique.
e.g.
sv !customs "error \qstuff off ZBot/RatBot user\q"
For a list of server admin commands see section 2.5.
2.5. Admin command reference
----------------------------
Here is a list of all the admin commands broken down into sections:
Admin Setup:
adminpassword - client console password (blank = disable)
setadmin - sets a client into admin mode
maxfps - controls the max clients cl_maxfps value
minfps - controls the min clinets cl_maxfps value
maxrate - controls a clients max rate value
minrate - controls a clients min rate value
gamemaptomap - converts the mod gamemap to map commands
quake2dirsupport - makes the win32 dll setup like the linux
serverinfoenable - enable/disable 'set Q2Admin "1.15" S'
q2adminrunmode - q2admin run level
maxclientsperframe - max clients processed per frame
framesperprocess - messages per x frames.
Banning:
ban - adds bans
banonconnect - disallow banned clients at the connect
chatban - adds chat bans
chatbanning_enable - enable chat bans
defaultbanmsg - default ban message
defaultchatbanmsg - default chat ban message
defaultreconnectmessage - default reconnect message
delban - deletes a ban from memory
delchatban - deletes a chat ban from memory
hackuserdisplay - message to show on detection of a hacked quake2.exe
kickonnamechange - kick client when changing to banned name
listbans - lists all bans in memory
listchatbans - lists all chat bans in memory
nickbanning_enable - enable nick banning
ipbanning_enable - enable ip banning
reloadbanfile - clear and reload all bans
lock - disable/enable access to the server
lockoutmsg - message when trying to connect to a locked server
reconnect_address - enable forced reconnecting
reconnect_time - forced reconnecting timeout in seconds
reconnect_checklevel - check level for the reconnect feature
skincrashmsg - message to show on detection of a too large skin
checkclientipaddress - check if connecting clients has a valid ip address
Chat Flood Protection:
chatfloodprotect - chat flood protection setup (like QW)
clientchatfloodprotect - client chat flood protection setup
chatfloodprotectmsg - chat flood message displayed
mute - mutes a single client for x seconds
reloadfloodfile - reloads the q2adminflood.txt file.
listfloods - lists the commands that are flood protected
floodcmd - adds a command to the flood protected list
flooddel - dels a command from the flood list
Logging:
clearlogfile - deletes the log file
displaylogfile - displays the while log file to the console
logevent - view / modify log events
logfile - view / add / del log file setups
ZBot/RatBot/ZorBot/BW-Proxy/Nitro2(Xania)/Timescale Detection:
clientsidetimeout - internal development, don't touch.
customclientcmd - run on the zbot/ratbot client when detected
customservercmd - run on the server when zbot/ratbot detected
disconnectuser - kicks zbot/ratbot user on detect
disconnectuserimpulse - kicks client for using impulses
displayimpulses - displays message when client uses impulses
displayzbotuser - display message when a client is detected as a zbot
dopversion - determines if a p_version is sent to each player
impulsestokickon - which impulses to kick client on
numofdisplays - number of times zbot/ratbot message is displayed
randomwaitreporttime - random wait time between detect & action
zbotdetect - enable/disable zbot/ratbot detection
zbotdetectactivetimeout - wait time between detect & action taken
zbotuserdisplay - message that is displayed on zbot detect
zbc_enable - WhiteFang's ZbotCheck code enable
zbc_jittermax - WhiteFang's ZbotCheck setting
zbc_jittermove - WhiteFang's ZbotCheck setting
zbc_jittertime - WhiteFang's ZbotCheck setting
proxy_bwproxy - detection of BW-Proxy setup
proxy_nitro2 - detection of Nitro2/Xania setup
timescaledetect - detect timescale cheaters.
timescaleuserdisplay - message to display for a timescale cheater
Client Connecting:
customclientcmdconnect - client command run on client connect
customservercmdconnect - server command run on client connect
Name Changing:
displaynamechange - displays message when user changes names
namechangefloodprotect - name change flood protection setup (like QW)
namechangefloodprotectmsg - name change flood protection message
Skin Changing:
skinchangefloodprotect - skin change flood protection setup (like QW)
skinchangefloodprotectmsg - skin change flood protection message
Lrcons:
listlrcons - list all lrcons loaded into memory
lrcon - add lrcon into memory.
lrcondel - delete lrcon from memory.
reloadlrconfile - clear and reload all lrcon's.
rcon_random_password - used random rcon password for the lrcon command.
lrcon_timeout - lrcon timeout for a random set rcon
play_ commands control:
play_all_enable - enable the play_all client command
play_team_enable - enable the play_team client command
play_person_enable - enable the play_person client command
printmessageonplaycmds - enable the message display of play_ commands
say_ commands control:
extendedsay_enable - enable extended say/play commands
say_group_enable - enable the say_group client command
say_person_enable - enable the say_person client command
Server console chatting:
say_group - server console messaging to a group
say_person - server console messaging to a client
MOTD:
setmotd - set the MOTD file.
Client Control:
stuff - force client to run a client command
ip - displays a clients ip address
kick - allows you to kick one or more clients
Spawning Entities Control:
spawnentities_enable - enable/disable the spawn entities feature
listspawns - lists all the disabled entity types
reloadspawnfile - reloads the spawn entity list from file
spawncmd - add spawn entity type to the list
spawndel - delete a spawn entity type
spawnentities_internal_enable - enable the internal disable feature
Command Voting:
vote_enable - enable / disable command voting
clientvotecommand - client vote command to use
clientvotetimeout - vote timeout
votecountnovotes - count non-voters in percent
votepasspercent - pass percent
voteminclients - minimum clients needed to start a vote
clientremindtimeout - remind clients to vote every x seconds
listvotes - lists all the allowed vote commands
reloadvotefile - reload vote command list
votecmd - add vote command
votedel - delete vote command
voteclientmaxvotes - max votes a player can cast in x seconds
voteclientmaxvotetimeout - time limit that the player can cast x votes
Disable Client Commands Control:
disablecmds_enable - enable/disable the disable client commands feature
listdisable - lists all the disabled commands
reloaddisablefile - reloads the disable commands list from file
disablecmd - add disable command type to the list
disabledel - delete a disable command type
Misc:
version - prints the current version of q2admin out
cvarset - more powerful version of server console set
entity_classname_offset - sets the classname offset, needed for some features
filternonprintabletext - filters out nonprintable characters.
swap_attack_use - swaps +attack and +use.
mapcfgexec - exec the map cfg files.
cl_pitchspeed:
cl_pitchspeed_enable - Enable/Disable cl_pitchspeed change detect.
cl_pitchspeed_display - Display when a user changes cl_pitchspeed.
cl_pitchspeed_kick - Kick user for changing cl_pitchspeed.
cl_pitchspeed_kickmsg - Kick message.
cl_anglespeedkey:
cl_anglespeedkey_enable - Enable/Disable cl_anglespeedkey change detect.
cl_anglespeedkey_display - Display when a user changes cl_anglespeedkey.
cl_anglespeedkey_kick - Kick user for changing cl_anglespeedkey.
cl_anglespeedkey_kickmsg - Kick message.
Client Side Variable checking:
checkvarcmds_enable - Enable/Disable client side variable checking
listcheckvar - lists all the checked variables commands
reloadcheckvarfile - reloads the checked variables commands list from file
checkvarcmd - add checked variable command type to the list
checkvardel - delete a checked variable command type
checkvar_poll_time - poll timeout in second between each variable check
Command: "adminpassword"
Value: String
Where Allowed: q2admin.txt, server console.
Sets the password used in activating admin mode
for a Quake2 client.
Command: "ban"
Where Allowed: client console, server console.
See section 2.7.2.
Command: "banonconnect"
Value: Yes/No
Where Allowed: q2admin.txt, client console, server console.
Ban on client connect (YES) or ban on client begin (NO).
When banning on client connect the banned player will not
use up a client position at all BUT no ban message is
displayed. Ban on client begin will use a player position
for the length of the client map load then be kicked. But
client will get a BAN message before getting kicked.
See section 2.7.2.
Command: "chatban"
Where Allowed: client console, server console.
See section 2.7.2.
Command: "chatbanning_enable"
Where Allowed: client console, server console.
Enable chat banning.
See section 2.7.2.
Command: "chatfloodprotect"
Value: <number of messages> <in x seconds> <silence in seconds>
Where Allowed: q2admin.txt, client console, server console.
Chat flood protection so that a chat macro
does not flood the server and other clients.
x number of messgaes in y number of seconds will set will
mute the player for z seconds.
if <silence in seconds> is 0 then the person is kicked.
if <silence in seconds> is -1 then the person is permanently
muted.
The console format for the command is:
[sv] !chatfloodprotect <number of messages> <in x seconds> <silence in seconds>
to disable change to:
[sv] !chatfloodprotect disable
See section 2.7.4.
Command: "chatfloodprotectmsg"
Value: String
Where Allowed: q2admin.txt, client console, server console.
Chat flood protection message.
See section 2.7.4.
Command: "checkvar_poll_time"
Value: Number (seconds)
Where Allowed: q2admin.txt, client console, server console.
The number of seconds between before each variable for each client is checked when
check client side variables is enabled.
e.g. if there are 5 variables listed in q2admincheckvar.txt, the first variables is
checked first, x seconds later the next line is checked and so on until there are no
more variables to check. It then loops back to checking the first variable again.
So if checkvar_poll_time is 60 seconds and there are 5 variables listed, each
variable will be checked one every 5 minutes. Reducing this variable will increase
the traffic between the client and the server.
Command: "checkvarcmd"
Where Allowed: client console, server console.
[sv] checkvarcmd CT variable value
[sv] checkvarcmd RG variable lower upper
Used to add client side variable command to the list. See section 2.14.
Command: "checkvarcmds_enable"
Value: Yes/No
Where Allowed: q2admin.txt, client console, server console.
Enables/Disables the client side variable checking commands list. See section 2.14.
Command: "checkvardel"
Where Allowed: client console, server console.
[sv] disabledel disablenum
Used to delete a client side variable command from the checked variable commands list.
See section 2.14.
Command: "clearlogfile <lognum>"
Value: none
Where Allowed: client console, server console.
Where lognum is 1 to 32.
Deletes the Q2Admin lognum log file if it is setup.
Command: "clientchatfloodprotect"
Where Allowed: client console, server console.
Client chat flood protection so that a chat macro
does not flood the server and other clients. This
commands sets the clients local flood protection
setup which overrides the global one if enabled.
x number of messgaes in y number of seconds will set will
mute the player for z seconds.
if <silence in seconds> is 0 then the person is kicked.
if <silence in seconds> is -1 then the person is permanently
muted.
The console command format is:
[sv] !clientchatfloodprotect [LIKE/RE/CL] name [xxx(num) xxx(sec) xxx(silence) / disable]
See section 2.7.4.
Command: "clientsidetimeout"
Value: Number (seconds)
Where Allowed: q2admin.txt, client console, server console.
Mainly used for internal development testing. Don't touch.
Command: "clientvotecommand"
Value: String
Where Allowed: q2admin.txt, client console, server console.
Client console vote command. See section 2.11.
Command: "clientvotetimeout"
Value: Seconds
Where Allowed: q2admin.txt, client console, server console.
Sets the clients voting timeout is seconds. See section 2.11.
Command: "cl_anglespeedkey_enable"
Value: Yes/No
Where Allowed: q2admin.txt, client console, server console.
Enables/disables the cl_anglespeedkey change detect. See section 2.13.
Command: "cl_anglespeedkey_display"
Value: Yes/No
Where Allowed: q2admin.txt, client console, server console.
Display when a cl_anglespeedkey change is detected. See section 2.13.
Command: "cl_anglespeedkey_kick"
Value: Yes/No
Where Allowed: q2admin.txt, client console, server console.
Kick the user when a cl_anglespeedkey change is detected. See section 2.13.
Command: "cl_anglespeedkey_kickmsg"
Value: Yes/No
Where Allowed: q2admin.txt, client console, server console.
Kick string to display when the user is kicked.
Command: "cl_pitchspeed_enable"
Value: Yes/No
Where Allowed: q2admin.txt, client console, server console.
Enables/disables the cl_pitchspeed change detect. See section 2.13.
Command: "cl_pitchspeed_display"
Value: Yes/No
Where Allowed: q2admin.txt, client console, server console.
Display when a cl_pitchspeed change is detected. See section 2.13.
Command: "cl_pitchspeed_kick"
Value: Yes/No
Where Allowed: q2admin.txt, client console, server console.
Kick the user when a cl_pitchspeed change is detected. See section 2.13.
Command: "cl_pitchspeed_kickmsg"
Value: Yes/No
Where Allowed: q2admin.txt, client console, server console.
Kick string to display when the user is kicked.
Command: "customclientcmd"
Value: String
Where Allowed: q2admin.txt, client console, server console.
Custom client console command to run on ZBot/RatBot bot detect.
(run after the client messages and before the disconnect)
Command: "customclientcmdconnect"
Value: String
Where Allowed: q2admin.txt, client console, server console.
Custom client console command that runs when a client connects.
Command: "customservercmd"
Value: String
Where Allowed: q2admin.txt, client console, server console.
Custom server console command to run on ZBot/RatBot bot detect.
(run after the log file update)
There is a special variable you can pass to this command.
%c will get translated to the clients connection number.
Command: "customservercmdconnect"