Advertisement
jar3817

Untitled

Mar 3rd, 2014
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.59 KB | None | 0 0
  1. ;
  2. ; This is the config file for the q2admin dll.
  3. ; (c) 1998 Shane Powell
  4. ;
  5. ; The q2admin.txt is first read from the quake2 directory and then from the mod
  6. ; directory.
  7. ;
  8.  
  9.  
  10. serverip "192.111.152.195"
  11.  
  12. ;
  13. ; Enable/disable main zbot detection.
  14. ;
  15. zbotdetect "No"
  16.  
  17. ;
  18. ; Quake2 Client Admin password.
  19. ; To enable uncomment and change the password to something else.
  20. ;
  21. ;adminpassword "secret"
  22.  
  23. ;
  24. ; Only for use in windows.
  25. ; This tells the q2admin dll that it is running in the quake2 directory (or the release
  26. ; directory for v3.20+). When set to 'No' the dll is being loaded from the mod directory
  27. ; like the linux / solaris versions. For win32 the old mod dll must be called
  28. ; 'gamex86.real.dll' for this to work.
  29. ;
  30. ;quake2dirsupport "Yes"
  31.  
  32. ;
  33. ; MOTD file to display at client connect (and also happens on level changed as well)
  34. ; For the console versions of the command, if you don't supply
  35. ; a filename, the MOTD is cleared. If you do the MOTD is loaded.
  36. ; NOTE: by default the MOTD is read from the quake2 directory.
  37. ; If you want to use a mod motd you must supply the directory
  38. ; name. e.g. sv !setmotd "ctf/mymotd.txt"
  39. ;
  40. setmotd "motd.txt"
  41.  
  42. ;
  43. ; Once a zbot is detected, how long to wait before actioning it.
  44. ; -1 will generate a random timeout between 5 seconds to 5 seconds + randomwaitreporttime seconds.
  45. ;
  46. zbotdetectactivetimeout "0"
  47.  
  48. ;
  49. ; When zbotdetectactivetimeout is -1 this value is used to genterate a random time between
  50. ; 5 seconds to 5 seconds + randomwaitreporttime seconds.
  51. ; e.g. 55 means 5 seconds to 60 seconds
  52. ;
  53. randomwaitreporttime "55"
  54.  
  55. ;
  56. ; ZBOT backup detector timeout in seconds. 5 is the min but 60 seconds is good for the internet.
  57. ; You shouldn't need to touch this value at all. Mainly used for internal development testing.
  58. ;
  59. clientsidetimeout "30"
  60.  
  61. ;
  62. ; Disconnect a zbot user when detected.
  63. ;
  64. disconnectuser "No"
  65.  
  66. ; Display user is a zbot to the rest of the server
  67. ;
  68. displayzbotuser "Yes"
  69.  
  70. ;
  71. ; Number of times to display the user is using a zbot?
  72. ;
  73. numofdisplays "5"
  74.  
  75. ;
  76. ; Message to display that the using is using a zbot.
  77. ; NOTE: must have 1 and only 1 '%s' in the line
  78. ; %s will print the users name
  79. ;
  80. zbotuserdisplay "[Q2Admin] %s is using a client side proxy!!!"
  81.  
  82. ;
  83. ; Custom server console command to run on zbot bot detect.
  84. ; (run after the log file update)
  85. ;
  86. customservercmd ""
  87.  
  88.  
  89. ;
  90. ; Custom client console command to run on zbot bot detect.
  91. ; (run after the client messages and before the disconnect)
  92. ;
  93. customclientcmd ""
  94.  
  95.  
  96. ;
  97. ; Display when impulses are generated / used
  98. ; This is a future-proof thing that will display messages when impulses are used. The reason is if
  99. ; the zbot person has a zbot hack to get around the "normal" detect this will display when he is
  100. ; sending commands. Sort of like a back-up method of detecting zbot users. The only problem is that
  101. ; normal clients can generate impulses as well and I don't know if this is for commanding the zbot
  102. ; or something that a normal q2 mod uses. Only 1 q2 mod that I know off uses impulses tho so chances
  103. ; are that it's a abot user.
  104. ;
  105. ; zbot impulses:
  106. ; - Impulse 169 : toggle menu
  107. ; - Impulse 170 : move up (menu)
  108. ; - Impulse 171 : move down (menu)
  109. ; - Impulse 172 : increase item (menu)
  110. ; - Impulse 173 : decrease item (menu)
  111. ; - Impulse 174 : toggles bot on/off
  112. ; - Impulse 175 : toggles scanner display
  113. ;
  114. ; Note: I display a message when ANY impulse is used just to be safe...
  115. ;
  116. displayimpulses "Yes"
  117.  
  118.  
  119. ;
  120. ; Disconnect user if generating a impulse.
  121. ;
  122. disconnectuserimpulse "No"
  123.  
  124. ;
  125. ; What impulses do we want to kick people on?? disconnectuserimpulse must be set to
  126. ; 'Yes' for this to take action. Commenting this command out will select all impulses.
  127. ;
  128. impulsestokickon "169, 170, 171, 172, 173, 174, 175"
  129.  
  130.  
  131. ;
  132. ; Max number of impulses to detect before kicking.
  133. ;
  134. maximpulses "1"
  135.  
  136.  
  137. ;
  138. ; Custom client console command that is run when clients
  139. ; connect.
  140. ;
  141. customclientcmdconnect ""
  142.  
  143.  
  144. ;
  145. ; Custom server console command that is run when clients
  146. ; connect. '%c's are replaced by the client number.
  147. ; e.g. "sv !stuff cl %c file clientconnect.txt"
  148. ;
  149. customservercmdconnect ""
  150.  
  151. ;
  152. ; Display name changes so everybody knows someones changed there name...
  153. ;
  154. displaynamechange "Yes"
  155.  
  156. ;
  157. ; Enable play_team command (may not work %100 with each mod, depends on how the mod teams are implemented).
  158. ; Plays a wav file on each person that is in your team.
  159. ;
  160. play_team_enable "No"
  161.  
  162. ;
  163. ; Enable play_all command.
  164. ; Plays a wav file for each person in the game.
  165. ;
  166. play_all_enable "No"
  167.  
  168. ;
  169. ; Enable play_person command.
  170. ; Plays a wav file for 1 person in the game.
  171. ;
  172. play_person_enable "No"
  173.  
  174. ;
  175. ; Enable say_person command.
  176. ; Send a message to 1 person in the game.
  177. ;
  178. say_person_enable "Yes"
  179.  
  180.  
  181. ;
  182. ; Enable say_group_enable command.
  183. ; Send a message to a group of people in the game.
  184. ;
  185. say_group_enable "No"
  186.  
  187.  
  188. ;
  189. ; Enable the extended say commands.
  190. ;
  191. extendedsay_enable "No"
  192.  
  193. ;
  194. ; Sets Q2Admin's version number in a cvar on the server. This way
  195. ; programs like Gamespy will show Q2Admin's version number as part
  196. ; of the server info. If you're getting "Info string length exceeded"
  197. ; on the server console, change this value to "No".
  198. ;
  199. serverinfoenable "Yes"
  200.  
  201. ;
  202. ; The default ban message for logging and displaying when someone
  203. ; is banned.
  204. ;
  205. defaultbanmsg "[Q2Admin] You are banned from this server!!!"
  206.  
  207. ;
  208. ; The default chat ban message for logging and displaying when someone
  209. ; has typed in a banned word.
  210. ;
  211. defaultchatbanmsg "[Q2Admin] Message banned."
  212.  
  213. ;
  214. ; Enable ip banning. For bans that use both IP and Name, it then just uses the name.
  215. ;
  216. ipbanning_enable "Yes"
  217.  
  218. ;
  219. ; Enable nick banning. For bans that use both IP and Name, it then just uses the IP.
  220. ;
  221. nickbanning_enable "Yes"
  222.  
  223.  
  224. ;
  225. ; Enable chat banning.
  226. ;
  227. chatbanning_enable "Yes"
  228.  
  229. ;
  230. ; Message to display when a player gets kicked for using a hacked
  231. ; quake2.exe to get around (some of) the protection methods of Q2Admin.
  232. ;
  233. hackuserdisplay "[Q2Admin] %s is using a hacked quake2.exe!!!"
  234.  
  235.  
  236. ;
  237. ; Sets the maximum cl_maxfps that a client may have. See readme.txt for how this works and
  238. ; IF you should use it. Uncomment to enable.
  239. ;
  240. ;maxfps "31"
  241.  
  242. ;
  243. ; Sets the minimum cl_maxfps that a client may have.
  244. ;
  245. ;minfps "10"
  246.  
  247. ;
  248. ; Sets the maximum rate that a client may have. See readme.txt for how this works and
  249. ; IF you should use it. Uncomment to enable.
  250. ;
  251. ;maxrate "5000"
  252.  
  253. ;
  254. ; Sets the minimum rate that a client may have. See readme.txt for how this works and
  255. ; IF you should use it. Uncomment to enable.
  256. ;
  257. ;minrate "1000"
  258.  
  259. ;
  260. ; ban on client connect (YES) or ban on client begin (NO). When banning on client
  261. ; connect the banned player will not use up a client position at all BUT no ban
  262. ; message is displayed. Ban on client begin will use a player position for the length
  263. ; of the client map load then be kicked. But client will get a BAN message before
  264. ; getting kicked.
  265.  
  266. banonconnect "Yes"
  267.  
  268.  
  269. ;
  270. ; Name changing flood protection so that a name change macro does not flood the server and
  271. ; other clients.
  272. ; namechangefloodprotect "<number of messages> <in x seconds> <silence in seconds>"
  273. ; if <silence in seconds> is 0 then the person is kicked.
  274. ; to disable change to:
  275. ; namechangefloodprotect "disable"
  276. ;
  277. namechangefloodprotect "5 2 10"
  278.  
  279. ;
  280. ; Name change flood protection message.
  281. ;
  282. namechangefloodprotectmsg "[Q2Admin] %s changes names too many times!"
  283.  
  284. ;
  285. ; Kick uses for changing to banned names. If No the name is not allowed to change.
  286. ;
  287. kickonnamechange "No"
  288.  
  289.  
  290. ;
  291. ; Chat flood protection so that a chat macro does not flood the server and
  292. ; other clients.
  293. ; chatfloodprotect "<number of messages> <in x seconds> <silence in seconds>"
  294. ; if <silence in seconds> is 0 then the person is kicked.
  295. ;
  296. ; e.g. chatfloodprotect "5 2 10"
  297. ;
  298. ; to disable change to:
  299. ; chatfloodprotect "disable"
  300. ;
  301. chatfloodprotect "disable"
  302.  
  303. ;
  304. ; Name change flood protection message.
  305. ;
  306. chatfloodprotectmsg "[Q2Admin] %s is making too much noise!"
  307.  
  308.  
  309. ;
  310. ; Converts the mod gamemap commands to map commands for when it changes levels. This forces the
  311. ; mod dll to unload / reload.
  312. ;
  313. gamemaptomap "No"
  314.  
  315.  
  316. ;
  317. ; Enable the disable of spawn map entities. (q2adminspawn.txt)
  318. ;
  319. spawnentities_enable "No"
  320.  
  321.  
  322. ;
  323. ; Enable q2admin vote features (q2adminvote.txt).
  324. ;
  325. vote_enable "No"
  326.  
  327. ;
  328. ; The client vote command name.
  329. ;
  330. clientvotecommand "vote"
  331.  
  332. ;
  333. ; Vote timeout in seconds.
  334. ;
  335. clientvotetimeout "60"
  336.  
  337. ;
  338. ; Count non vote's in the percent calculation.
  339. ;
  340. votecountnovotes "No"
  341.  
  342. ;
  343. ; Percent required for the vote to pass. (1 - 99)
  344. ;
  345. votepasspercent "50"
  346.  
  347. ;
  348. ; Minimum number of people in the game before allowed to vote on a command.
  349. ;
  350. voteminclients "0"
  351.  
  352. ;
  353. ; Maximum number of votes allowed in <voteclientmaxvotetimeout> time for one player.
  354. ;
  355. ; 0 = disabled, i.e. unlimited.
  356. ;
  357. voteclientmaxvotes "0"
  358.  
  359. ;
  360. ; Time in seconds allowed for <voteclientmaxvotes> to be cast for one player.
  361. ;
  362. ; 0 = for whole level.
  363. ;
  364. voteclientmaxvotetimeout "0"
  365.  
  366. ;
  367. ; The vote remind message time, i.e. every clientremindtimeout seconds the
  368. ; clients are reminded to vote or the stat's of the vote is displayed.
  369. ;
  370. clientremindtimeout "10"
  371.  
  372. ;
  373. ; Linux ONLY:
  374. ;
  375. ; Load the linux game so in lazy mod. The default is NOW which can cause some mod's
  376. ; not to load. The mod's the don't load is because of a problem with the mod itself
  377. ; not q2admin. This switch is meant to be a workaround only...
  378. ; Mod's which don't load under the default switch can crash. (with or without q2admin)
  379. ;
  380. soloadlazy "No"
  381.  
  382.  
  383. ;
  384. ; Three variables that control zbotcheck code (zbot movement checking code by
  385. ; WhiteFang)
  386. ;
  387. zbc_enable "No"
  388. zbc_jittermax "4"
  389. zbc_jittertime "10"
  390. zbc_jittermove " 500"
  391.  
  392.  
  393. ;
  394. ; Controls the detection of BW-Proxy and Nitro2/Xania proxies.
  395. ;
  396. ; 0 - No Detection. This means they will be detected as zbots.
  397. ; 1 - Normal Detection. This is the most secure method but with some mods
  398. ; this may not work.
  399. ; 2 - Insecure Detection. This will allow the proxies to connect but
  400. ; it may also allow some types of modified zbot to connect as well.
  401. ; Also settings either proxy_bwproxy or proxy_nitro2 to '2' will
  402. ; automatically set the other one to '2' as well.
  403. ;
  404. proxy_bwproxy "0"
  405. proxy_nitro2 "0"
  406.  
  407. ;
  408. ; Determines whether Q2Admin will send a "p_version"-string to a player
  409. ; on connect. If the player is using a proxy it will respond with its
  410. ; name and version number.
  411. ;
  412. dopversion "Yes"
  413.  
  414.  
  415. ;
  416. ; Controls if clients are allowed to use the console to generate chat messages without the
  417. ; use of a command.
  418. ;
  419. consolechat_disable "No"
  420.  
  421.  
  422. ;
  423. ; Internal q2admin run mode. Used for debuging / testing. Please leave at 100 for normal use.
  424. ;
  425. ; 0 - Pass through layer only.
  426. ; 1-99 - Unused for now.
  427. ; 100 - Fully featured q2admin.
  428. ;
  429. q2adminrunmode "100"
  430.  
  431.  
  432. ;
  433. ; Maximum clients that q2admin can process per frame.
  434. ; This is a debugging/internal value that should not be
  435. ; changed unless told to.
  436. ;
  437. maxclientsperframe "100"
  438.  
  439.  
  440. ;
  441. ; q2admin processes messages every x frames. This is a internal
  442. ; testing value and it is not a good idea to change it.
  443. ;
  444.  
  445.  
  446. framesperprocess "0"
  447.  
  448.  
  449. ;
  450. ; Detects if the client has a hacked timescale quake2.exe
  451. ;
  452. timescaledetect "No"
  453.  
  454. ;
  455. ; Message that is displayed if the user is detected with a
  456. ; hacked timescale exe.
  457. ;
  458. timescaleuserdisplay "[Q2Admin] %s is using a speed cheat quake2!!!"
  459.  
  460. ;
  461. ; Skin changing flood protection so that a skin change macro does not flood the server and
  462. ; other clients.
  463. ; skinchangefloodprotect "<number of skin changes> <in x seconds> <silence in seconds>"
  464. ; if <silence in seconds> is 0 then the person is kicked.
  465. ; to disable change to:
  466. ; skinchangefloodprotect "disable"
  467. ;
  468. skinchangefloodprotect "5 2 10"
  469.  
  470. ;
  471. ; Skin change flood protection message.
  472. ;
  473. skinchangefloodprotectmsg "[Q2Admin] %s changes skins too many times!"
  474.  
  475.  
  476. ;
  477. ; Message to display when a player gets kicked for trying to change
  478. ; his skin to a very large value which would crash the server.
  479. ;
  480. skincrashmsg "[Q2Admin] %s tried to crash the server (bad skin)!!!"
  481.  
  482.  
  483. ;
  484. ; Enable the disable client commands. (q2admindisable.txt)
  485. ;
  486. disablecmds_enable "Yes"
  487.  
  488.  
  489. ;
  490. ; Enable the cl_pitchspeed change detect
  491. ;
  492. cl_pitchspeed_enable "No"
  493.  
  494. ;
  495. ; What to do with cl_pitchspeed detect changes?
  496. ;
  497. cl_pitchspeed_kick "No"
  498.  
  499. ;
  500. ; Display when someone changes the cl_pitchspeed.
  501. ;
  502. cl_pitchspeed_display "Yes"
  503.  
  504.  
  505. ;
  506. ; The kick display message.
  507. ;
  508. cl_pitchspeed_kickmsg "[Q2Admin] cl_pitchspeed changes not allowed on this server."
  509.  
  510.  
  511. ;
  512. ; Enable the cl_anglespeedkey change detect
  513. ;
  514. cl_anglespeedkey_enable "No"
  515.  
  516. ;
  517. ; What to do with cl_anglespeedkey detect changes?
  518. ;
  519. cl_anglespeedkey_kick "No"
  520.  
  521. ;
  522. ; Display when someone changes the cl_anglespeedkey.
  523. ;
  524. cl_anglespeedkey_display "Yes"
  525.  
  526.  
  527. ;
  528. ; The kick display message.
  529. ;
  530. cl_anglespeedkey_kickmsg "[Q2Admin] cl_anglespeedkey changes not allowed on this server."
  531.  
  532.  
  533. ;
  534. ; Force client to reconnect to inital connection, bepasses any proxies that may be runnning.
  535. ; Please put in the ip address/name and port (if needed) of the server.
  536. ;
  537. ; e.g. reconnect_address "quake2.games.org.nz:27920"
  538. ; or
  539. ; e.g. reconnect_address "192.168.1.10"
  540. ;
  541. ; No address means the feature is disabled.
  542. ;
  543. reconnect_address ""
  544.  
  545.  
  546. ;
  547. ; Client must reconnect in X time from the inital connect. Time in seconds.
  548. ;
  549. reconnect_time "20"
  550.  
  551.  
  552. ;
  553. ; This controls how strict the reconnect feature is.
  554. ; 0 - very strict (most secure but is the most likely to cause multiple reconnections)
  555. ; 1 - less strict (not so secure, this should allow NAT router / internet software proxy
  556. ; to connect more easily)
  557. ;
  558. reconnect_checklevel "0"
  559.  
  560. ;
  561. ; Message to display while a player is reconnecting to the Quake2 server.
  562. ; If you want to include newlines in this message, use the "\n"-characters
  563. ; like the way it is done inside the default message below.
  564. ;
  565. defaultreconnectmessage "Please wait to be reconnected to the server - this is normal for this level of bot protection.\nThe fastest way to do this is not to change any client info e.g. your name or skin."
  566.  
  567.  
  568. ;
  569. ; Enables the internal disabling of spawning entities. For this feature to
  570. ; work entity_classname_offset must be set also to the correct value for the
  571. ; mod that you are running. "spawnentities_enable" must also be set to "Yes"
  572. ; for this figure to work.
  573. ;
  574. spawnentities_internal_enable "No"
  575.  
  576. ;
  577. ; The byte offset to the classname pointer in the entity structure.
  578. ; This is required for the internal disable spawn entities feature.
  579. ;
  580. ; If this figure is wrong q2admin may crash and the internal disable
  581. ; entities feature will not work or the entity create/delete logging
  582. ; feature to work.
  583. ;
  584. ; Email killerbee to check what the offset is for the mod that you are
  585. ; running.
  586. ;
  587. entity_classname_offset "280"
  588.  
  589.  
  590. ;
  591. ; Filters out any non-printable characters from any text being said/printed.
  592. ; It only allows characters in the range of 0x20 to 0x7E.
  593. ; This may upset some mods printing.
  594. ;
  595. filternonprintabletext "No"
  596.  
  597. ;
  598. ; Swaps the use of +attack and +use. This can be useful as if the players have
  599. ; to use +use to fire instead of +attack then it renders the auto-aim proxy
  600. ; unsable.
  601. ;
  602. ; Side Note Proz (aka Black Monk) sent me:
  603. ;
  604. ; BTW, for Macintosh users, !swap_attack_use is painful. They need to use
  605. ; their Q2 mouse controls to set the fire button to be, "ALT24". I think.
  606. ; They can't just "bind mouse1 +use" like PC users can, the mice act
  607. ; differently due to InputSprockets. And if a Mac user is using, say, USB
  608. ; OverDrive to get the Razor Boomslang mouse to work, popular for Mac gamers
  609. ; but not a supported Mac product, then they won't be able to bind to ALT24 at
  610. ; all meaning they are screwed or they have to bind a keyboard key to get it
  611. ; working. Just an FYI in case you update the docs.
  612. ;
  613. swap_attack_use "No"
  614.  
  615.  
  616. ;
  617. ; The server lockdown message that connecting users see.
  618. ;
  619. lockoutmsg "[Q2Admin] This server is currently locked."
  620.  
  621.  
  622. ;
  623. ; Enables the polling of client side variables listed in the q2admincheckvar.txt file.
  624. ;
  625. checkvarcmds_enable "No"
  626.  
  627. ;
  628. ; The number of seconds between before each variable for each client is checked when
  629. ; check client side variables is enabled.
  630. ; e.g. if there are 5 variables listed in q2admincheckvar.txt, the first variables is
  631. ; checked first, x seconds later the next line is checked and so on until there are no
  632. ; more variables to check. It then loops back to checking the first variable again.
  633. ; So if checkvar_poll_time is 60 seconds and there are 5 variables listed, each
  634. ; variable will be checked one every 5 minutes. Reducing this variable will increase
  635. ; the traffic between the client and the server.
  636. ;
  637. checkvar_poll_time "60"
  638.  
  639.  
  640.  
  641. ;
  642. ; Changes the rcon password to some random string for the lrcon command. This prevents
  643. ; people from discovering the real rcon password through dumpping packets.
  644. ;
  645. rcon_random_password "Yes"
  646.  
  647.  
  648. ;
  649. ; Timeout, when rcon_random_password is set to "Yes", for how long lrcon command is
  650. ; timed out before the rcon password is set back to the orginal value.
  651. ;
  652. lrcon_timeout "2"
  653.  
  654.  
  655. ;
  656. ; Enables the feature to exec the mapcfg/<mapname>-pre.cfg,
  657. ; mapcfg/<mapname>-post.cfg and mapcfg/<mapname>-end.cfg files.
  658. ;
  659. mapcfgexec "No"
  660.  
  661. ;
  662. ; Print messages when clients use the play sound commands. It tells who is playing the sound and to whom.
  663. ; (all/team/private)
  664. ;
  665. printmessageonplaycmds "Yes"
  666.  
  667. ;
  668. ; Max client msg level to be allowed on the server.
  669. ;
  670. maxmsglevel "3"
  671.  
  672.  
  673. ;
  674. ; Check the clients IP Address is valid when the client is connecting.
  675. ;
  676. checkclientipaddress "Yes"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement