configs/maplists.cfg
author Nicholas Hastings <skamonkey@gmail.com>
Wed Aug 14 14:20:57 2013 -0400 (2013-08-14)
changeset 4008 490b01aa0683
parent 2557 0e0f397b8594
permissions -rw-r--r--
Updated some CS:GO gamedata.
     1 /**
     2  * Use this file to configure map lists.
     3  *
     4  * Each section is a map list that plugins can use.  For example, the Admin Menu 
     5  * requests an "admin menu" map list, and you can control which maps appear via 
     6  * this file.
     7  *
     8  * Each section must have a property that explains where to read the maps from.
     9  * There are two properties:
    10  *
    11  *    target         - Redirect the request to another section.
    12  *    file			 - Read a file of map names, in mapcycle.txt format.
    13  *
    14  * There is one section by default, called "mapcyclefile" - it is mapped to the 
    15  * mapcycle.txt file, or whatever the contents of your mapcyclefile cvar is.
    16  *
    17  * If a plugin requests a map list file which doesn't exist, or is empty, SourceMod 
    18  * tries the "default" section, and then the "mapcyclefile" section.
    19  */
    20 "MapLists"
    21 {
    22 	/**
    23 	 * Default requests go right to the mapcyclefile.
    24 	 */
    25 	"default"
    26 	{
    27 		"target"		"mapcyclefile"
    28 	}
    29 	
    30 	/* Admin menu, map menu */
    31 	"sm_map menu"
    32 	{
    33 		"file"			"addons/sourcemod/configs/adminmenu_maplist.ini"
    34 	}
    35 	
    36 	/* Admin menu, map voting menu */
    37 	"sm_votemap menu"
    38 	{
    39 		"file"			"addons/sourcemod/configs/adminmenu_maplist.ini"
    40 	}
    41 	
    42 	/* For the "randomcycle" plugin */
    43 	"randomcycle"
    44 	{
    45 		"target"		"default"
    46 	}
    47 	
    48 	/* For the "mapchooser" plugin */
    49 	"mapchooser"
    50 	{
    51 		"target"		"default"
    52 	}
    53 	
    54 	/* For the "nominations" plugin */
    55 	"nominations"
    56 	{
    57 		"target"		"default"
    58 	}
    59 }