configs/maplists.cfg
branchrefac-jit
changeset 2168 c24a6fa957db
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/configs/maplists.cfg	Sun Jul 06 04:49:55 2008 +0000
     1.3 @@ -0,0 +1,59 @@
     1.4 +/**
     1.5 + * Use this file to configure map lists.
     1.6 + *
     1.7 + * Each section is a map list that plugins can use.  For example, the Admin Menu 
     1.8 + * requests an "admin menu" map list, and you can control which maps appear via 
     1.9 + * this file.
    1.10 + *
    1.11 + * Each section must have a property that explains where to read the maps from.
    1.12 + * There are two properties:
    1.13 + *
    1.14 + *    target         - Redirect the request to another section.
    1.15 + *    file			 - Read a file of map names, in mapcycle.txt format.
    1.16 + *
    1.17 + * There is one section by default, called "mapcyclefile" - it is mapped to the 
    1.18 + * mapcycle.txt file, or whatever the contents of your mapcyclefile cvar is.
    1.19 + *
    1.20 + * If a plugin requests a map list file which doesn't exist, or is empty, SourceMod 
    1.21 + * tries the "default" section, and then the "mapcyclefile" section.
    1.22 + */
    1.23 +"MapLists"
    1.24 +{
    1.25 +	/**
    1.26 +	 * Default requests go right to the mapcyclefile.
    1.27 +	 */
    1.28 +	"default"
    1.29 +	{
    1.30 +		"target"		"mapcyclefile"
    1.31 +	}
    1.32 +	
    1.33 +	/* Admin menu, map menu */
    1.34 +	"sm_map menu"
    1.35 +	{
    1.36 +		"file"			"addons/sourcemod/configs/adminmenu_maplist.ini"
    1.37 +	}
    1.38 +	
    1.39 +	/* Admin menu, map voting menu */
    1.40 +	"sm_votemap menu"
    1.41 +	{
    1.42 +		"file"			"addons/sourcemod/configs/adminmenu_maplist.ini"
    1.43 +	}
    1.44 +	
    1.45 +	/* For the "randomcycle" plugin */
    1.46 +	"randomcycle"
    1.47 +	{
    1.48 +		"target"		"default"
    1.49 +	}
    1.50 +	
    1.51 +	/* For the "mapchooser" plugin */
    1.52 +	"mapchooser"
    1.53 +	{
    1.54 +		"target"		"default"
    1.55 +	}
    1.56 +	
    1.57 +	/* For the "rockthevote" plugin */
    1.58 +	"rockthevote"
    1.59 +	{
    1.60 +		"target"		"default"
    1.61 +	}
    1.62 +}