evandrocoan / MultiModServer

It is a Multi-Mod plugin's configurations for Amx Mod X - https://forums.alliedmods.net/showthread.php?t=273018
GNU General Public License v3.0
17 stars 17 forks source link

Alternate starting of vote #78

Open mo0nsniper opened 6 years ago

mo0nsniper commented 6 years ago

Hello,

Could you implement an option to have the starting of the vote for maps at the start of the next round after an amount of minutes that can be configured by a CVAR. This is similar as the plugin was working before.

So lets say you choose 5 minutes and the vote would go at the start of the next round after 5 minutes until map end. Hope I explained it well :)

Right now you can choose the vote to start in the ultima/penultima/antepenultima round but the time of one round ending depends between fy or de maps and you can't know when the vote would start.

Thank you

evandrocoan commented 6 years ago

I created the cvar on the configuration file specifying its behavior:

// This cvar specify how many minutes before the time limit expiration the map
// voting will to start. For example, if this cvar is set to 5, then the map
// voting will to start 5 minutes before the time limit countdown reaches zero,
// i.e., expires.
//
// If both this cvar and `gal_endofmapvote_start` are enabled, the map voting
// will start soon as the first of them gets on the desired time. Also both of
// these cvars consider the minimum time the voting can start. For example, if
// you set this cvar to 1, but the total voting time takes 2 minutes, then this
// cvars will be ignored and the voting will to start 2 minutes before the time
// limit expiration.
//
// Default: 0
gal_endofmapvote_before 0 // TODO this cvar is not implemented yet.
mo0nsniper commented 6 years ago

Sounds good. Thanks

mo0nsniper commented 6 years ago

If you can implement the feature it would really help on my server. Sometimes the admins don't start the vote on time and the galileo voting starts before or during the vote from the admin.

Thanks