Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alternate starting of vote #78

Open
mo0nsniper opened this issue Nov 17, 2017 · 3 comments
Open

Alternate starting of vote #78

mo0nsniper opened this issue Nov 17, 2017 · 3 comments

Comments

@mo0nsniper
Copy link
Contributor

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
Copy link
Owner

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
Copy link
Contributor Author

Sounds good. Thanks

@mo0nsniper
Copy link
Contributor Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants