diff -r 000000000000 -r c24a6fa957db configs/maplists.cfg --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/configs/maplists.cfg Sun Jul 06 04:49:55 2008 +0000 @@ -0,0 +1,59 @@ +/** + * Use this file to configure map lists. + * + * Each section is a map list that plugins can use. For example, the Admin Menu + * requests an "admin menu" map list, and you can control which maps appear via + * this file. + * + * Each section must have a property that explains where to read the maps from. + * There are two properties: + * + * target - Redirect the request to another section. + * file - Read a file of map names, in mapcycle.txt format. + * + * There is one section by default, called "mapcyclefile" - it is mapped to the + * mapcycle.txt file, or whatever the contents of your mapcyclefile cvar is. + * + * If a plugin requests a map list file which doesn't exist, or is empty, SourceMod + * tries the "default" section, and then the "mapcyclefile" section. + */ +"MapLists" +{ + /** + * Default requests go right to the mapcyclefile. + */ + "default" + { + "target" "mapcyclefile" + } + + /* Admin menu, map menu */ + "sm_map menu" + { + "file" "addons/sourcemod/configs/adminmenu_maplist.ini" + } + + /* Admin menu, map voting menu */ + "sm_votemap menu" + { + "file" "addons/sourcemod/configs/adminmenu_maplist.ini" + } + + /* For the "randomcycle" plugin */ + "randomcycle" + { + "target" "default" + } + + /* For the "mapchooser" plugin */ + "mapchooser" + { + "target" "default" + } + + /* For the "rockthevote" plugin */ + "rockthevote" + { + "target" "default" + } +}