AMX MOD X Version 1.20 - 2.30x of Deagles' Map Management plugin 
(aka Nomination_style_voting or Deags_map_manage)

I)   INSTALLATION
II)  IMPORTANT NOTES
III) USAGE OF OPTIONAL CONFIG FILES
IV)  COMMAND LISTING
V)   CVAR LISTING
VI)  CHANGELOG

*********************************************************************
********** THIS IS AMX MOD X VERISON ONLY!! *************************
*********************************************************************


-----------------------------------------------
I)         INSTALLATION OF PLUGIN/CONFIG FILES:

* Put the standardmaps.ini, mapstoban.ini, and mapchoice.ini files in the 
<mod>\addons\amxmodx\configs directory (where <MOD> is the path to your Half-life mod)

* Compile deagsmapmanage227.sma or use the .amxx file that is COMPILED FOR AMX MOD X Version 1.0

* Put the deagsmapmanage227.amxx file in the mod\addons\amxmodx\plugins\ directory, 
  (if using older version, file name may be different!)

* Add a line in the plugins.ini file of:
deagsmapmanage227.amxx (or nomination_style_voting.amx or whatever your file name is.)

* When in-game, to see a list of commands, use command dmap_status or dmap_help in console.



-----------------------------------------------
II)         IMPORTANT NOTES:

******Be sure all other map chooser plugins are turned off, except for the mapmenu default plugin!******

* If you run CS 1.6, please define either these config files, or mapcycle.txt, otherwise NO VOTE WILL APPEAR
* Also, if you run Steam and/or CS 1.6, you need to put a line of 

mapchangecfgfile server.cfg

in your server.cfg file!  Otherwise the timelimit might not be reset every map, if the last map was extended
for a period of time.




-----------------------------------------------
III)        USAGE OF MULTIPLE CONFIG FILES:

****for all config files one map per line**All files belong in the addons/amxmodx/configs directory**** 
**** It is not required that you use any of the map config files, it will enhance your control over maps 
if you use them***** 

----mapchoice.ini------- (RECOMMENDED): 
Insert maps here that will show up for the vote when all 5 nominations are not made. Maps will be randomly selected
from this file to fill up the unused Nomination slots. If you use this file, it needs to have a minimum of 10-15 maps in it, 
the more the better! If you don't use this file, mapcycle.txt will be used instead, or allmaps.txt (if it exists) 

----standardmaps.ini---- (RECOMMENDED): 
Standard maps for the mod goes here, if this file is not created by the user, there will be no "custom" warnings 
IT needs to contain at least all of the valid maps for the mod. The purpose of this standardmaps.ini file is 
exactly what the purpose of the file was in BugBlatter's map plugin, the words (Custom) will be attached to all 
maps in the votemenu that are not listed here

----mapstoban.ini------- (OPTIONAL): 
Insert maps that users will never be able to nominate, and will never show up for a vote. 
Any map that is not put here can be nominated, if it is not the last <n> maps played 

----allmaps.txt--------- (OPTIONAL) 
Maps in this file will show up on say "listmaps" command. If this file does not exist, the plugin will use mapcycle.txt instead. 
Put all maps that are on your server in this file, even if they are not in your mapcycle 




-----------------------------------------------
IV)          COMMAND LISTING (Version 2.20x and higher):

The vote can be rocked by say "rockthevote", depending on the cvar rtv_percent and the # of people who rockthevote 
Commands: listmaps, 
dmap_mapsurl 
dmap_mapsnum <N> (Specifies how many maps will be in the next vote) 
dmap_rockthevote (same command as before, different name) 
dmap_quietmode <OFF|NOSOUND|SILENT> (Default: OFF)(quiet mode for you people who must have silence on your server (I don't see why someone would want this, but I have added the command anyways. In this mode, messages will be minimal) 
dmap_rtvpercent <n> (Default:60)n must be from 3-100, at least this many players have to "rockthevote" 
AND 
dmap_rtvplayers <n> (default:1)(n must be from 1 to 32) this many players have to rockthevote for the vote to start. Note both conditions have to be met, #players, and Percent. 
dmap_rtvwait <n> (Default: 10) n must be from 5 to 30, this value is minutes before rockthevote will be accepted) 
dmap_rtvtoggle (Default:ON. this will toggle on/off the ability of players to rockthevote, Note that Admins with ACCESS_MAP will still be able to use dmap_rockthevote, to manually force a vote) 
dmap_banlastmaps <n> (from 0-20) this will allow admins, (like DoubleTap) to eliminate the Dust syndrome. 
dmap_freeze (Default for CS: ON. this will toggle on/off freeze (only available in CS) 
dmap_status (self-explanatory) 
dmap_help (shows very general help)
dmap_messages <N> (Determines interval between display of messages.  Default: 3 mintues)
dmap_nominations <N> (Determines maximum nominations that a user can make. Default: 3 maps)

dmap_default (sets all settings back to the default)
dmap_maxcustom <N> Sets maximum custom maps that can be nominated by all players.

-----------------------------------------------
V)            CVAR DESCRIPTION:
amx_extendmap_max (default of 90)
* This determines maximum time that the map can be extended to via a vote

amx_extendmap_step (default of 15) 
* This determines the number of minutes that a map will be extended, if the result of the vote is "extend map"

dmap_strict (default of 0)
* If this is set to 1, only maps in the mapcycle can be nominated for the vote

enforce_timelimit (default of 0)
* changes map STRICTLY on timelimit, when this is set to 1.


-----------------------------------------------
VI)           CHANGELOG:

2.30b: Moved ALL config files to configs/dmap/, if the directory exists otherwise configs/

2.30: Fix so-called "hardcoded paths" and moved config files to config folder.


2.27d : Fix generation of allmaps.txt (removed.)


New in 2.27c

  Fixed dmap_maxcustom <N> to allow 0 (no custom maps) in the vote.  I'm not sure
   why this was limited to being greater or equal to 1 in the first place (call it an oversight).

New in 2.27 

  Added randomization of "nextmap" when the current map being played does not exist in the server mapcycle.txt
  Fixed dmap_maxcustom <N> to strictly control the maximum # of custom maps that appear in the vote 
    (voted or filled), so that the function does not just control the maximum number of maps that can be nominated.
  Config files remain in addons/amxmodx/ directory

New in 2.20 (AMXX)

  Release #3 of 2.10j, fixed bugs with strtonum() and warning messages about # arguments.
  Config files need to be placed in your <mod>/amxmodx/ Folder!! (not the config folder or anywhere else)

  ***Added automatic generation of <mod>/amxmodx/allmaps.txt file***
	-It will generate this list based on maps in your /MAPS folder, the first time you run this plugin.
	Cached maps such as default maps will need to be added *manually* to this file in notepad and to the 
	standardmaps.ini, if the mod differs from CS 1.6.

  Fixed "extra long" waits for map to change in mods other than CS.
  Fixed flooding of vote menu in NS, due to the chat messages being displayed at vote time.
  Fixed color hudmessage that "map will change in N seconds" when Round Mode is being used.
  Changes from AMX version: NO more strtonum() or numtostr() integrated, had to make these 2 functions.
  cstrike_running becomes function not variable.
  

New in 2.10i: 
* Fixes bug with being able to nominate recent maps played.

New in 2.10h:
* All map nominations are now automatically changed to lowercase letters.

New in 2.10g:
* FIXED BUG that occured at voting time, where the recently played maps would appear in the vote if mapchoice.ini 
was used for favorite map storage.

New in 2.10f:
* FIXED BUG IN BANLASTMAPS...NOW SUPPORTS 20-99 LASTMAPS PLAYED BEING BANNED! =)

New in version 2.10x:
* enforce_timelimit cvar, which will be included in all versions from now on.
-when set to 1, the map will change when timelimit expires, not when the last round is finished after map voting.
* dmap_maxcustom Admin command , which allows admins to control maximum TOTAL custom maps that are nominated.

NOTE: If you define custom maps in your mapcycle, more than the "max" custom can still come up for the vote. 
Therefore, I suggest that if you want to control custom map nominations, that you don't declare any in your 
mapcycle in the first place.

* standardmaps.ini has been "updated" to include maps that (for some bizarre reason) I forgot to add in the 
first place.


New in version 2.02-2.03b:
* Fixed bug where the "nextmap" would be incorrectly set, when the last map in the "mapcycle" was being played.
* Map changes more smoothly at the end of the round, as compared to version 2.00x
* Other minor tweaks.


New in version 2.00:
* Nextmap.amx plugin is no longer required!
* Now Map change will occur only at start of the round, as to allow players to not get frustrated by mapchange during a round.
* Fixed several other things.
* Listmaps and say "listmaps" now support many maps without causing the client to disconnect.


New in version 1.80:
* Map vote will NEVER interfere with buying of weapons at start of a round!!
* HudMessages that appear incorrectly (truncated) in CS 1.6 are now displayed in Chat Area.
* Bug in CS 1.6 where Weapons Drop/Freeze would crash server is now fixed

New in Version 1.70 over versions 1.44 and lower
* added command dmap_nominations <(1-3)> to set max nominations from each player 
* added command say "nominations" (seems to work good now) 
* fixed rockthevote when players leave, and correct # have rocked, now vote starts correctly 
* fixed say "nextmap" bug 
* changed messages when user nominates a map and cancels any other person's nomination 
* changed dmap_banlastmaps to allow from 0-99 maps to be banned 
* added cvar dmap_strict to allow only maps that are seen by say "listmaps" to be nominated 
* added command dmap_messages to change amount of time in minutes between messages 
* Fixed bug where players say "vote <" and it adds an invalid map to the nomination listing. 
* Fixed bug in mp_winlimit (Version 1.4.2.c) 
* Changed Command dmap_quietmode to allow OFF, NOSOUND, or SILENT (version 1.5.0) 
* Added Command dmap_freeze, to enable/disable freeze/weapons drop at the end of the map 
* Numerous other tweaks and improvements over all other versions! 