-
Notifications
You must be signed in to change notification settings - Fork 166
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
Auto Voting System #1213
Auto Voting System #1213
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have a suggestion, as a CVar, make a vote for calling the crew exchange shuttle.
Near the end of the 2 hours mark.
If you dont wana do in this PR il still approve it as its looks nice and il add it personnaly later.
Likely going to do this in a separate PR, with a start at and interval cvar. |
Use some of the existing autocall stuff. |
Co-authored-by: DEATHB4DEFEAT <77995199+DEATHB4DEFEAT@users.noreply.github.com> Signed-off-by: sleepyyapril <123355664+sleepyyapril@users.noreply.github.com>
Co-authored-by: FoxxoTrystan <45297731+FoxxoTrystan@users.noreply.github.com> Signed-off-by: sleepyyapril <123355664+sleepyyapril@users.noreply.github.com>
Co-authored-by: VMSolidus <evilexecutive@gmail.com> Signed-off-by: sleepyyapril <123355664+sleepyyapril@users.noreply.github.com>
The idea I had was to call a vote whenever the automatic shuttle call was sent. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I googled "c# methods for getting rid of curly braces"
And now I have a funny new tool.
This is a joke Co-authored-by: VMSolidus <evilexecutive@gmail.com> Signed-off-by: sleepyyapril <123355664+sleepyyapril@users.noreply.github.com>
Description
Contains a single system, under the server-sided AutoVote folder, that handles automatic voting of maps and presets, both of which are configurable via a CVar.
By automatic voting system, I mean that it creates a vote for map and preset the moment players return to lobby. If the server just started and there are no players, it will run the vote when a player joins to lobby.
As of now, the best use case for this is for your players to play the modes they want, at all times.
Relevant CVars:
vote.autovote_enabled - Is the autovote system enabled at all? (Default is false)
vote.map_autovote_enabled - If it is applicable, is automatic map voting enabled? (Default is true)
vote.preset_autovote_enabled - If it is applicable, is automatic preset voting enabled? (Default is true)
TODO
Changelog
🆑