Hello,
I m running Gungame 5.1 on my server.
I want to get a vote for next map when the winner is about to be decided.
I transferred the RTV, nomination and mapchooser (.smx) files from disabled to plugins.
I configured the maplist (.cfg), Like this
Code:
/**
* 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" "halflife_source_css/css/cstrike/maplist.txt"
}
/* For the "randomcycle" plugin */
"randomcycle"
{
"target" "default"
}
/* For the "mapchooser" plugin */
"mapchooser"
{
"file" "halflife_source_css/css/cstrike/maplist.txt"
}
/* For the "nominations" plugin */
"nominations"
{
"file" "halflife_source_css/css/cstrike/maplist.txt"
}
}
Now when I Use RTV/Nominate command all maps in maplist.txt are coming. So RTV/Nominate is working.
But I also want that,
If RTV is not started, the mapchooser vote should come before the map changes