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

Restrict starting a vote to flag #18

Closed
PetriVukan opened this issue Jul 16, 2017 · 4 comments
Closed

Restrict starting a vote to flag #18

PetriVukan opened this issue Jul 16, 2017 · 4 comments

Comments

@PetriVukan
Copy link

Hi,

It would be cool to have a feature where only certain players, with flag "r" for example, are allowed to start a vote. But everyone else can vote yes or no, even if they do not have the flag "r".

So for example: a VIP with the flag "r" types !votemute and selects a player. Players are then prompted with a window:

_Do you want to mute "example"?

  1. Yes
  2. No_

They can press 1 or 2 inorder to vote.

@neatek
Copy link
Owner

neatek commented Jul 17, 2017

It's a good idea. Thank you!

@PetriVukan
Copy link
Author

Thank you for taking your time to code this great plugin!

@neatek
Copy link
Owner

neatek commented Aug 3, 2017

Yep, 1.8.3 is now here!
but this feature will be soon.

@neatek
Copy link
Owner

neatek commented Aug 4, 2017

Added in current version.
check it!

gamevoting_startvote_flag", "" // "Who can start voting for ban or something, set empty for all players (def:a)
gamevoting_startvote_delay", "20" // Delay between public votes in seconds (def:20)

@neatek neatek closed this as completed Aug 4, 2017
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