View Single Post
Plugin Info:     Modification:          Category:          Approver:   Johnny got his gun (102)
twistedeuphoria
Veteran Member
Join Date: Jul 2004
Old 09-01-2004 , 12:43   Auto Map Change On Empty Server 1.42
Reply With Quote #1

This plugin will change maps to one of five defined in cvars if there are zero players connected after a defined amount of time. The map will also change if the only clients in the game have been playing for a certain number of hours, which is set in a cvar, or if your server has only bots in it. You can turn on smart map which will keep a record of rounds played per map and players per round on that map and then when the time comes to change maps it will choose from the top five players/round maps.

Cvars:
amx_nmap1(amx_nmap2,amx_nmap3,amx_nmap4,amx_n map5):Change these to the maps you want the plugin to pick from.
amx_staytime(in seconds): How long before the plugin changes the map.
amx_idletime(in hours): How many hours a player can be connected to the server before being considered idle.
amx_smartmap (default 1) : If you turn this on the plugin will create a list of maps with rounds played and people connected during those rounds. Then when it chooses the maps to go to it picks the top five players/round maps and goes to one of those instead of following the nmap cvars.
Attached Files
File Type: sma Get Plugin or Get Source (emptyserver.sma - 6959 views - 4.0 KB)
__________________
twistedeuphoria is offline