- added beefy new ReadMapList() native
- admin menu now uses ReadMapList() - added UTIL_TrimWhitespace() to stringutils - moved GetFileTime() implementation to ILibrarySys - cleaned up sorting include a bit - removed adminmenu_maplist.ini, since it's specified by maplists.cfg - added maplists.cfg --HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401744
This commit is contained in:
@@ -1,5 +0,0 @@
|
||||
// adminmenu_maplist.ini
|
||||
//
|
||||
// List maps here to be added to the map and votemap sections of the admin menu
|
||||
//
|
||||
|
||||
@@ -0,0 +1,34 @@
|
||||
/**
|
||||
* 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"
|
||||
{
|
||||
"file" "addons/sourcemod/configs/adminmenu_maplist.ini"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user