The CW Creator for Counter-Strike v3.0.2 (plugin_cw_creator)



 

INHALT

  1. Introduction: What is the CW Creator?
  2. Features
  3. Requirements
  4. Installation
  5. Commands
  6. Misc
  7. Addons
  8. Known Bugs
  9. FAQ
  10. Support
  11. ToDo
  12. Changelog

Introduction: What is the CW Creator?

Maybe you know the problem. You want to start a clanwar, but you have to kick players from your server, load the war settings, change maps, etc. To ease the administration Sir Drink a lot und I developed the CW Creator. Server administrators, who already got the previous version, have to relearn on some parts.
The plugin was developped to provide maximum comfort with maximum flexibility and minimal interference in regard to the server. It is obvious that only a compromise was possible, but we think we found a good one.

Features

  • Loads preset war rules.
  • Unneeded plugins will no longer be loaded during a war.
  • Kicks players not attending the war, redirects them to an alternative server or redirects them optionally to a connected HLTV (plugin_bk_hltvannounce needed).
  • Provides a war mapcycle.
  • Warm-up on each map.
  • Optional vote for war start.
  • Restart count changeable.
  • Team switch by admin mod command.
  • Multilanguage support (for now English and German).

Requirements


Installation:

The installation of the CW Creator is not as easy as most the other plugins, but it is worth it. Anyway, the installtion procedure is much easier now in comparison to the versions 1 and 2.
  1. Check, whether AdminMod is running properly. In case it is not, make it work! (Minimum: AM 2.50.58 and newer)
  2. Install the plugin in the directory "addons/adminmod/scripts". If you want to use the addons, you have to install them, too, of course! (see directory "menu")
  3. Create the directories "addons/adminmod/config/cwcreator" and "addons/adminmod/config/cwcreator/rules".
  4. Provide the files in the plugin.ini. (in general: addons/adminmod/scripts/plugin_cw_creator.amx)
  5. Take a look inside the attached warplugin.ini. You will find some standard plugins as well as the new plugin_cw_creator. Remember to uncomment the menu addon, if you want to use it. Plugins like TK-Revenge or Impressive should not be added to the warplugin.ini, because they are annoying during a war. Place the warplugin.ini in "addons/adminmod/config/cwcreator" then.
  6. Take a look inside the directory rules. We prepackaged some rules from well known German leagues. Find the rules you need or use your own files and copy the files to "addons/adminmod/config/cwcreator/rules". Remember to write down the names, you will need them during the war setup. Please, be aware that all rules given are without engagement!
  7. Copy the language file (language.ini) to addons/adminmod/config/cwcreator. You can find the English and German version in the directory named the same way.
  8. Check in the "addons/adminmod/config/adminmod.cfg" whether the following cvars are set: file_access_read 1, file_access_write 1, allow_client_exec 1. Furthermore a vault.ini showed have been defined.
  9. The following entry should be provided in the adminmod.cfg, if you want to use Sir Drink a lot's menu plugin: amv_beta_enable "menu1" (add, if not already in)
  10. Ready to go! The plugin can be used after a mapchange or server restart.

Commands:

You need theaccess level 256 in order to use the commands!

admin_war_set [<Option> <Value>] [...]
By this command the plugin gets configured. If no option is given, the plugin will show an overview of all options and their values in the console. It is also possible to set multiple options.
Possible options are:
pass: Your password during the war.
tag: Your clan tag; the opponent tag is inserted via admin_war_launch.
map1: The first map to be played.
map2: The second map to be played.
endmap: The map to which it should be changed after the war. Usually, one inserts a famous map like de_dust or de_aztec to quickly fill up the server.
rules: The file in which the specific rules for the war are stored in. (has to reside in the cwcreator/rules directory on the server)
restarts: The number of restarts at start of the war.
altip: An IP to which non-participating people are redirected. 0 disables this functionality.

admin_war_launch [<oponnent clan tag>]
admin_war_lauch sets the server into war mode, that means it loads the rules, changes the Mapcycle and loads a warplugin.ini. If no clan tag is given the redirection and kick functions are not issued!!

admin_war_start [now]
admin_war_start starts the war after a successful vote. Optionally you can start the war without vote by adding the parameter "now". Be aware that the manual execution of sv_restartround does not stop the warmup, so always use admin_war_start!!

admin_war_end
This commands ends the war and changes after 60 seconds to the map given by "endmap".

admin_war_nextmap
This command writes the second map instead of the first one and changes to the second one. (or vice versa)

admin_war_switch
admin_war_switch switches teams. The team switch can only be executed when in war mode and after a successful admin_war_start. Manual switches will be recognized.


Misc:

In case you need it, after using admin_war_start and admin_war_end the files addons/adminmod/config/cwcreator/startwar.cfg and addons/adminmod/config/cwcreator/endwar.cfg would be executed, respectively (if exist). Just provide the files in case you need them!

Addons:

  • cwc_menu - A GUI for administrating the cw creator (needs the beta menu function, should be integrated in the plugin.ini, too)
  • bk_hltvannounce - Can and should be integrated in the plugin.ini, too. Needed for redirecting players at clan war setup.

Known bugs:

  • Vote will be displayed in HLTV. (just a cosmetic issue)
  • From time to time, the wrong map will show up. This is caused by the hl server. It is just the thing that I let the mapcycle do its job.
  • It can happen that some players get an "invalid password" message after the first mapchange. Looks like a client problem.

FAQ:

  • Where to find the latest version? - Download at admin-mod.de
  • I have an older AM version and like to use the cw creator 3.0. - Sorry, minimum requirement is 2.50.58. For WON based servers install version 2.11.
  • I am not using the standard paths addons/adminmod/...? - Change the variable amv_default_config_dir.
  • Can I dis- and enable Statsme? - Yes, you can provide "meta pause statsme" in the rule file. This could cause crashes sometimes, so perhaps "meta unload statsme" is preferable in that case. In case you still have problems, ask the Metamod plugin programmer as it is not my job to deal with their problems.
  • I like to use different plugins for different leagues. - Pretty easy. Just define a league specific plugin.ini file and set it in the rule file.

Support:


ToDo:

  • No score plugin for the cwc 3.0.

Changelog

v3.0.2
Fix: admin_war_switch did not work due to server side change by Valve. "chooseteam/menuselect" has been replaced by "jointeam". (found by Whiteman)
v3.0.1
Fix: Vote was miscalculated. If there was no HLTV online and one of the players was not ready, war would have been started anyhow. (found by Rinde)
Fix: Minor programming glitches removed (found by Rinde)
Fix: Missing "Everybody ready.!" (found by Rinde)
Change: Internal vault cvars could have been overwritten by admin_war_set (found by Sir Drink a lot), but additionally one can now configure addons from within the base plugin
Change: cwc_addon_set passes the users name to the addon (so the addons parameter can be displayed in his/her console)
v3.0
New: New command admin_war_nextmap. The mapcycle will now only include one map. The mapchange has to be executed manually by admin_war_nextmap. This would prevent broken demos, if "stop" is executed too late.
Fix: Password would not be displayed, if an alternative IP is given.
New: admin_war_switch can only be issued after successful admin_war_start. Due to some misunderstanding.
New: Event interface cwc_addon_init as command for addons added.
Remove: ESL-Rules removed, because Admin Mod has been forbidden.
Fix: Rules updated.
Remove: Menu addon removed. Will be published separately.
v3.0 beta RC1
Remove: Score Addon. Will be rewritten.
Change: Steam Server required.
Change: AM 2.50.58 needed.
Change: Installation being made easier.
Change: Number of commands drastically reduced, commands reworked.
Change: More comments in source code.
New: Multilanguage support.
New: Automatic team switch by the command admin_war_switch.
New: Optional redirect of non-participating players to an other server by admin_war_launch.
New: Default installtion paths are changeable without editing the source code.
New: Multiple options can be set at once (e.g. to ease the war setup with bk_cron).
New: Event interfaces cwc_addon_start, cwc_addon_set and cwc_addon_end as commands for addons.
New: Raw display of war settings at start of the war.
v2.11
Fix: Since 2.1 changed variables were only written to file (settings.ini) and not to memory. Why the hell did nobody tell me?
v2.1
Fix: Giving no opponent clan tag will no longer kick the opponent on start.
Fix: Password gets set on every player who is not kicked individually. Hopefully, this avoids eventual admin kick at mapchange after setup.
Fix: Centersay with password is displayed longer due to new function in AM 2.50.56
Remove: HLTV Announcer was removed due to new function in AM 2.50.56. A new version of it can be downloaded separately.
Change: Minimum requirements have been increased to AM 2.50.56. Please update, if you want to use CWC 2.1.
Change: ESL-Rules have been altered due to change from 13.07.2003
v2.0.1
Fix: startwar.cfg will be executed at setup as it should have been.
v2.0
New: New Readme
v2.0 beta RC1
New: Invalid characters in the clantag are replaced by "x" in the filename.
Fix: Timing problems (passing values for round and countrules from plugin to addon)
Fix: Maxround counting error
Fix: Future fix, maxround demo stop (Silly mistake, which should not happen again, but without relevance)
v2.0 beta 4
New: Player without the right tag is redirected to a connected HLTV (needs HLTV Announcer)
New: The rule file can be reloaded, if the wrong file was loaded before
Fix: Round increment only after admin_war_start (in case the mapcycle fails)
Fix: admin_restart can only be executed during war mode.
v2.0 beta 3
New: LogD Score calculation plugin
New: Final score will be displayed with menu() (Please add amv_beta_enable menu1 to your adminmod.cfg)
New: Final score will be stored in a unique file in the cstrike directory.
New: Checking variables for file_access_read, file_access_write, allow_client_exec and admin_vault_file
New: Timeleft or Roundsleft at start of every round, respectively (score calculation plugin)
New: Optionale Ausführung einer startwar.cfg bzw. endwar.cfg. Wird ausgeführt wenn die entsprechende Datei in addons/adminmod/config/cwcreator liegt.
Removed: Demo function removed. Is useless until server upgrade.
v2.0 beta 2
New: New command admin_war_restart to bypass "Are you ready?" votes.
New: mp_timelimit and mp_maxrounds are set to zero at mapstart for warmup purpose. Please mark, admin_war_start or admin_war_restart must be used to start the war after warmup.
Change: The access level for the cwc commands were changed to 256 (ban).
Fix: Stillsetzhut found a memory problem. #dynamic pragma was therefore increased to 8192.
Fix: The default settings in the settings.ini are completed to prevent jumbling of values.
Fix: admin_war_end can be executed only once.
Fix: Welcome message will be displayed only on the first map.
v2.0 beta 1
New: Interface change
v1.3.1
Fix: Weapon restrictions from map specific files will be deactived via admin_cs_restrict 0.
v1.3
Change: Plugin was applied to the new directory structure. Please mark that the configuration files are now stored in "addons/adminmod/config/cwcreator" and the rules files in "addons/adminmod/config/cwcreator/rules".
Change: The entry for admin_plugin_file should be removed from the rule files.
Fix: Password will not be displayed on the HLTV anymore.
Fix: HLTV should be recognized on a LAN server.
Fix: Mapspecific rules (e.g. from de_dust.cfg) will be overwritten 10 seconds after mapchange.
v1.2
New: Added child lock. A forgotten entry for the warplugin.ini in the rule file will have no effect as long as warplugin.ini exist.
Fix: The first map should be loaded only twice not three times.
Fix: The cw mapcycle would be set back even if no "mapcyclefile mapcycle.txt" is set in the server.cfg.
v1.1
New: A cwmapcycle.txt file is created. Therefore an aditional variable is introduced: admin_war_set .......
Fix: The password is set to its old value at the end of the war (CS1.4 "problem").
Fix: The HLTV is excluded in the start vote. Additional spectators are NOT excluded!
Fix: A missing line was added to the espl.cfg. (admin_plugin_file) Please update!
Fix: The missing information about the access level (1024) for the commandsThe README.txt was added.
v1.0
First official version!