/*************************************************************************************************************** * Version 1.9a ***** ***** [01-22-2001] ***** ***** [HDK]DragonReborn * **************************************************************************************************************** * Credits * ------------ * Original Creator is Karel from the adminmod team. Yensid also played a part in the code in AM version conversion 2.10 - 2.50 * Please give them most the credit, my version here is based off an earlier version then what they recently released. * Under my version numbers, I started at 1.2b. I have not looked at their recent changes, so don't ask me about them. **************************************************************************************************************** * This plugin let's you declare two clan tags, check that everyone has them, * and kick anyone that doesn't. Then it puts a password on the server, and * restarts the round in 10 secs and sets all ogl match rule settings. It then * starts a timer that displays the timeleft every minute or with the admin_matchtime * command. The timer can be turned off with the admin_matchtimer on/off command. * Remember the clan tags ARE case sensetive. * * * NEED HELP??? --> [HDK]DragonReborn --- mascarod@hotmail.com * _____________________________________________________________________________________________________________ * Installation:||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| * --------------- * * Installation is very easy. It would be best to compile the sma file with the computer you plan * to run the server on. Before doign so, however, edit the servername variable in the 'normal .cfg' file * Otherwise your server will be given the default name 'CS 1.3 || AdminMod' when admin_endmatch is used. * The only values to change in the sma would be the default map time for each match half and the status of score reporting at each round end. * These can be found inside the box of ### characters. Everything else is set in the two CFG files. * * After compiling this file...put the amx file in the dlls folder and edit the plugin.ini file to * include this line: dlls/plugin_dragon_clanmatch.amx * *Once you have compiled it, put it in the dlls folder of the server and added that line to the plugin.ini file, * the final thing to be sure of is that your match.cfg and normal.cfg files are in the cstrike folder. * (ex. C:\SIERRA\Half-Life\cstrike or C:\SIERRA\Counter-Strike\cstrike) * If you would rather not change names of your files to match or normal.cfg from ogl.cfg or whatever, * ...then in those files just put 'exec ogl.cfg' or whatever you plan to use * * ----- * LogD * ----- * -If you really want the score part of this plugin to work, make sure LogD[ version 1.00+] works before * trying this. Otherwise, this plugin does not require LogD at all. * * -Start your server and try the commands. If you did not restart the server, at least do a map change so that * everything loads. * _____________________________________________________________________________________________________________ * Change Log:||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| * * New to version 1.9a / 01-23-2002 * ---------------------------------------------- * -Deleted admin_alltalk command declaration that displayed a minor error when the plugin loaded. * Admin_alltalk is no longer used so the code was not necessary. * * New to version 1.9 / 01-22-2002 * ---------------------------------------------- * -Changed format of server settings * -Removed all customizatoins from the sma file so that re-compiling is not necessary for each change * -Specify match settings in the "match.cfg" file, allows for use of plugin with any tourny ladder settings(ex. ogl.cfg or sta.cfg) * -Specify normal game play settings in the "normal.cfg" file(could use server.cfg here if all normal play settings are in there) * -Normal game play SERVER_NAME changing has been moved to normal.cfg to allow easy editing w/o recompiling * -Removed admin_alltalk because the beta server required for it is outdated * -Fixed bug with switchteams not working * * New to version 1.8 / 01-05-2002 * ---------------------------------------------- * -Put in notes for original creators(finally found out who they were) * -Fixed some spelling errors in this help section * -No other new features or commands * * New to version 1.7 / 12-09-2001 * --------------------------------------------- * -It is really compatible with LogD 1.00 now * -Fixed minor issues with logging so that Pyschostats doesn't give errors * * New to version 1.6 / 11-03-2001 * --------------------------------------------- * * -No new commands or functions * -Revised plugin to work with new version of LogD[1.00] and dropped support for old LogD versions < 1.00 * * New to version 1.5 / 10-15-2001 * --------------------------------------------- * * -Changed file name to plugin_dragon_clanmatch * -Relieves version number from file name and adds author name to distinguish between others versions * -Fixed timer not turning off automatically sometimes * -Added centersays to admin_alltalk to announce activation or deactivation of alltalk * * New to version 1.4 / 10-07-2001 * --------------------------------------------- * * -Added admin_alltalk: turns voice chat on/off for all players to talk to all other players * *** (requires beta HL server[beta "a" version] from www.counter-strike.net ) *** * -Final team scores report for each timed match when the timer shuts off *** (requires LogD) *** * -Added admin_scores: turns team score reporting on/off for every round *** (requires LogD) *** * -Take a screen shot of the scoreboard anytime by saying "ss" in chat * -Server variable changes run local, rather than from client using admin, to reduce the execution lag * -Added the ability to easily change the matchtime variable while on server: admin_matchtimer * -If left blank, the default 25 minutes will be used * -Added the ability of clients to type "matchtime", "time", or "match time" in chat to get the current * time elapsed on the match timer * -Command usage is now logged to HL Logs(admin_clanmatch, matchtimer, and endmatch only) * -Optimized more code * -Put in code to remove timers used for the matchtimer, so when the matchtimer is disabled the * server resources are not being used when the match timer is not actually running. * -Enabling of matchtimer now sets mp_timelimit to 0 so that when the timer is used without the whole * server being set to match play, the map won't change in the middle of match time * -When timer or match is deactivated, mp_timelimit set back to what it was before activation * -Fixed errors in text information section * -Fixed some timing of CSAYs * -Fixed selfmessage text to show the default or specified matchtime when entered into console * * New to version 1.3 / * ----------------------------- * * -Admin_clanmatch no longer starts the timer automatically, only sets the server settings for match play * -ServerName and MatchTime set as global variables to allow easier setting for personal preferences * -Look for section of code near the top labeled with: ############# * -Fixed the 10 seconds of play lost due to the restartround at the start of the timer * -Added 10 second countdown to the timer before automatic shut-off * -Optimized code * -Removed un-needed code and restructured other segments * -Improved visual messages * -Added some centersays and changed some colors * -Updated for latest OGL settings * -New layout for readme section * * New to version 1.2b / [HDK]DragonReborn starts revisions * --------------------------------------------------------------------------------------- * * -Added Admin_switchteams * -Added Admin_endmatch * -Removes server password, returns server name to desired name, and returns server settings * -Removed all compilation errors * Note: All settings set to OGL.org defined RULES. * You CAN change any of the settings for your own needs. * * ******* ALSO: With the additions by [HDK]DragonReborn, * users will need admin_hostname and admin_nopass access for those to work. * Plugin will still work without it however, it will just have limited features. * _____________________________________________________________________________________________________________ * Commands:||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| * Admin_clanmatch (clan tag 1) (clan tag 2) (serverpassword) * -Kicks players that don't have clantag1 or clantag2, puts the password on the server, * and restarts the round to clear scores. * -Changes server name to (ClanTag1) vs. (ClanTag2) * -Changes mp_timelimit to 0 so that the map will not change after the first 25 minutes * so that the teams can switch sides and play the 2nd half of the match, just * use admin_matchtimer to stop the first timer and start again after teams * have switched sides. * * Admin_matchtimer * -Toggles the clan match timer (on/off). * -Sets match time to specified minutes(default=25). * -Restart round on each start of the timer * -Starts matchtimer with 10 second countdown, ends with 10 second countdown * -Deactivation returns mp_timelimit back to default(below) * * Admin_matchtime * -Public Command displays timer time elapsed. * * Admin_endmatch * -Removes the server password * -Changes server name back to the ServerName specified in the admin_endmatch code section * -Returns server to desired preferences for time settings and stuff for non clan match game play * -Deactivation returns mp_timelimit back to default(below) * -Disables any active timer * * Admin_switchteams * -Switches the teams of all players on the server except those admins with access immunity * -uses admin_t and admin_ct commands * -useful for the mid-clanmatch time when each side must switch teams at the same time * -Works for normal game play also, does not require the use of timers * * Admin_scores <#> (1=on/0=off) *** (requires LogD running) * -Turns team score reporting on/off for every round * -Works for normal game play also, does not require the use of timers * * say "ss" * -Takes screen shot of the current scoreboard * -Works for normal game play also, does not require the use of timers * * say "matchtime", "time", or "match time" * -Displays the current elapsed match time if the timer is active(uses admin_matchtime) * ********************************************************************************************************************************************************/