Administrator Commands

Map Voting Plugin

The following commands can be issued from the console by an admin with ACCESS_MAP. All settings will be remembered between server restarts.

All commands will also echo the current settings for every command to the administrators console. I recommend you try the plugin without altering these settings for a few games before tweaking it to your desired configuration - some changes that look good at first, don't play so well.

bb_mapvote
Displays the current configuration
bb_mapvote on
Enables automatic voting at the end of each map. This is the intial setting.
bb_mapvote off
Maps cycle normally - this plugin is disabled.
bb_mapvote now
Enables voting if it is disabled then starts a vote immediately.
bb_mapcount [number]
Sets the number of maps in the menu. Valid values range from 2 to 8. The default setting is 4. I recommend you number of maps is not more than half your maximum number of players.
bb_mapextend [number]
Sets the number of times players can vote to remain on the current map before that option is removed from the menu. Valid range is 0 - 1000. Default value is 3.
NOTE: You should ensure mapcount + mapextend is less than the number of maps in your maps.ini file, otherwise users won't be able to nominate.
bb_mapextendtime [number]
Sets the number minutes for which a map is extended, if that option wins the vote. Valid range is 5 - 60. Default value is 10.
bb_mapbanlast
Sets the number of recently played maps that players are not allowed to nominate. Valid range is 0 - 10. Default value is 3.
bb_mapverbosity
bb_mapmsglocation
Verbosity controls the number of prompts the plugin displays to players, msglocation controls whereabouts on the screen any messages enabled with verbosity are displayed. To determine your verbosity setting, add together the numbers in the following table for those messages you wish to enable. To determine your msglocation setting, add together those numbers for those messages you want to display in the centre of the screen.
ValueDescrptionDefault VerbosityDefault Location
1 Welcome message to each player just after they join. On Centered
2 Timed announcements of available maps On Chat
4 Timed announcements of nominated maps On Chat
8 Confirmation of player's nominations On Chat
16 Countdown messages for begining a vote On Centered
32 Countdown sounds for beging a vote On N/A
64 Voting in progress messages On Centered
128 Voting complete / results messages On Centered
The default settings are 255 for bb_mapverbosity and 241 for bb_mapmsglocation. If for example you wanted to display the voting in progress message, you would change bb_mapverbosity to 191. NOTE: This setting only affects messages to all players. Messages sent to an individual player (e.g. map does not exist) are not affected.
bb_mapmsgfrequency [number]
Sets the number minutes between announcements of what maps are nominated, or what maps are available for nomination. Default value is 2, valid range is 1 - 1000.
bb_maprockthevote [number]
Sets the number minutes into a map before players can issue the rockthevote. To disable rocking the vote, set this higher than your round time.
bb_mapexecadminpass on | off
If enabled runs adminpass.cfg on all clients who have either a reserved nickname, or a reserved slot on the server. This ensures that they can reconnect after the map change. This works around what is known as the "adminkick" bug in adminmod/halflife - not sure which. Default value is off. NOTE: For this to work you must have an "unrestricted" Adminmod DLL. You can download a Windows version from here. If you know where to find a linux version, please let me know.
bb_mapreset
Changes all settings back to their default values.
admin_vote_map [name]
This has been disabled - nominate a map and then use "bb_mapvote now" instead. This message is displayed if anyone attempts to use it.
admin_map [name]
This can still be used by admins to change map at will, either before, during or after a vote has taken place.