Democracy
Democracy
Want to request sunny weather? Who else likes Doku textures? Can we promote NekkidPanda16 to Admin rank?
Let's put it to a vote!
Democracy in Action
Bob: /propose tournament at the spleef arena /propose tournament -duration 1h /propose tournament -open (server) Proposal 'tournament' (at the spleef arena) is open; vote /aye tournament or /nay tournament. Now 1 hour remaining. Joe: /vote tournament aye Mary: /nay tournament Sam: /aye tournament (time passes) (server) Proposal 'tournament' passes with 13 votes (68%). AdminSue: /spleef reset /enact tournament may the best dork win (server) Proposal 'tournament' has been enacted by AdminSue: may the best dork win. Sam: /propose free-diamonds -open (server) Proposal free-diamonds is open; vote /aye free-diamonds or /nay free-diamonds. Now 5 minutes remaining. Mary: /aye free-diamonds AdminSue: /veto free-diamonds nice try (server) Proposal free-diamonds has been VETOED by AdminSue: nice try.
Commands
command | options | description |
---|---|---|
/vote | help | summarizes what you can do with /vote |
/vote | shows proposals open for your vote (first page) | |
/vote | 2 | shows second page of proposals open for your vote |
/vote | <proposal> | shows choices and remaining time of a proposal |
/vote | <proposal> <choice> | *casts your vote on a proposal* |
/aye | <proposal> | equivalent to /vote <proposal> aye for aye/nay proposals |
/nay | <proposal> | equivalent to /vote <proposal> nay for aye/nay proposals |
/tally | help | summarizes what you can do with /tally |
/tally | shows status of existing proposals (first page) | |
/tally | 2 | shows second page of status of existing proposals |
/tally | <proposal> | shows status of one existing proposal |
/propose | help | summarizes most of what you can do with /propose |
/propose | shows status of your existing proposals (first page) | |
/propose | 2 | shows second page of your existing proposals |
/propose | <proposal> | creates a new proposal with a unique identifier |
/propose | <proposal> -cancel | cancels the pending proposal before it is open |
/propose | <proposal> -choices a,b,c | allows votes of a or b or c |
/propose | <proposal> -duration 45s | vote will remain open for 45 seconds |
/propose | <proposal> -duration 20m | vote will remain open for 20 minutes |
/propose | <proposal> -duration 2h | vote will remain open for 2 hours |
/propose | <proposal> -duration 7d | vote will remain open for 7 days |
/propose | <proposal> -secret | no broadcast on each player's /vote |
/propose | <proposal> -public | public broadcast on each player's /vote |
/propose | <proposal> -minimum 3 | at least 3 /votes or the proposal fails |
/propose | <proposal> -open | *finishes proposal, opening it for a vote* |
(all of these -options can be combined | ||
in fewer commands in any order) |
Permissions
permission | allows |
---|---|
democracy.vote.vote | Player can cast their /vote on existing proposals. |
democracy.vote.tally | Player can /tally the status of votes in progress. |
democracy.vote.propose | Player can /propose a new issue to go to vote. |
democracy.admin.enact | Player can /enact or acknowledge results of a proposal. |
democracy.admin.veto | Player can /veto or reject the results of a proposal, even before completion. |
Configuration
limits: open-proposals: 5 # cap on overlapping votes open-proposals-per-player: 1 # proposals by one author default: duration: 15m # default -duration minimum: 5 # default -minimum secrecy: false # default -secret or -public basedir: plugins/Democracy backend: file # only file supported so far backends: file: file: proposals.data # binary dump of live proposals voting: proposing-includes-aye-vote: false # author assumed to vote /aye allow-secret-vote: true # allow or disable -secret allow-public-vote: true # allow or disallow -public allow-change-vote: false # /vote is final or changeable allow-nominating-self: false # author can't nominate self nominating-includes-aye-vote: true # author assumed to vote /aye allow-console-enact-veto: true # console can /veto or /enact accountable-vetoes: true # /veto broadcasts the name allow-vetoes: true # /veto allowed or disabled
Update???
I put in the config to allow-change-vote true, but players cannot change votes twice. I really hope you keep this plugin alive
Will this be updated? It is an awesome plugin.
This is a really awesome idea ! :) A cool feature would be ... A command is activated based on the votes.
So if i did a vote for a pvp tournament. if votes = above 50%. A command is activated such as /tpall <name> or a plugin that handles pvp battle. !
People seem to be unable to change their vote once it has been cast. At least for votes with multiple choices. allow-change-vote is set to true
This is such a cool plugin but I never ran into it because it has been so long since you updated O_O. Hope it doesn't follow the the path of our democracy :P.
Sorry for the delays, but finally updated this for the 1.2.5 and 1.3.2 API changes.
I dont know guys, the last time Harideo loged in was almost to the day 5 months ago.
I would LOVE to try this plugin, please update!
Any chance for revival? Or a similar plugin perhaps?
Will you update this awesome plugin for R5/1.2? I'd hate to have to look for a replacement with the same flexibility. :-/
Or there could be the ability to just run a set command which we could input somewhere, like config file or in-game.
Hi, could you please change it so, that on login only proposals are shown, which the user havent voted for yet?
regards jume
Ooh, ooh! You know that problem that happens on high population servers... the one where it turns night time and all you can do is sit in your house and wait (while starving to death) because you don't have the gear to battle baddies right now? That's because there are too many online to possibly get everybody into a bed simultaneously (unlike a small population server).
I think this voting idea is very cool, but it seems to me that an administrator has to be around to actually make the vote result happen (change time to morning, for example). I suggest that each nightfall, automatically start a vote to advance to daytime, and if it passes, automatically advance to morning. Of course an option to disable this for admins who want the vote functionality without the auto-daytime action.
Oh PLEASE can we have it? Huh huh? :)
Hey there just downloaded 1.2 and installed. Works GREAT! No more issues with people not being able to vote. Haven't tested without a permissions plugin but it works fine with bPermissions. Thanks once again for being so quick to the punch. I look forward to using this for a long while on my server =)
-Bobdolemite
I downloaded bPermissions 1.8.2b and configured it properly. All groups have access to the vote commands. Despite this when I attempt to setup a tournament I still cannot vote after it has been -open(ed) :
In game:
/propose tournament
/propose tournament duration 2m
/propose tournament -public
/propose tournament -open
[INFO] [Democracy] Proposal 'tournament' (duration 2m) takes vote /aye tournament or /nay tournament. Now 15 minutes remaining.
/aye tournament
you do not have the permission to vote on this proposal
Here is my bPermissions world.yml configuration:
groups:
default:
- bukkit.broadcast.user
- bPermissions.build
- democracy.vote.vote
- democracy.vote.tally
- bukkit.command.tell
- bukkit.command.help
- bukkit.command.time
- essentials.build
- essentials.afk
- essentials.back
- essentials.back.ondeath
- essentials.balance
- essentials.balancetop
- essentials.chat.color
- essentials.compass
- essentials.depth
- essentials.home
- essentials.ignore
- essentials.mail
- essentials.mail.send
- essentials.me
- essentials.msg
- essentials.nick
- essentials.pay
- essentials.ping
- essentials.powertool
- essentials.protect
- essentials.sethome
- essentials.signs.use.*
- essentials.signs.create.protection
- essentials.signs.create.trade
- essentials.signs.break.protection
- essentials.signs.break.trade
- essentials.suicide
- essentials.time
- essentials.tpa
- essentials.tpaccept
- essentials.tpahere
- essentials.tpdeny
moderator:
- bukkit.command.gamemode
- bukkit.command.kick
- essentials.build
- essentials.afk
- essentials.back
- essentials.back.ondeath
- essentials.balance
- essentials.balance.others
- essentials.balancetop
- essentials.chat.color
- essentials.chat.shout
- essentials.chat.question
- essentials.compass
- essentials.depth
- essentials.home
- essentials.ignore
- essentials.kit
- essentials.kit.tools
- essentials.mail
- essentials.mail.send
- essentials.me
- essentials.msg
- essentials.nick
- essentials.pay
- essentials.ping
- essentials.powertool
- essentials.protect
- essentials.sethome
- essentials.signs.use.*
- essentials.signs.create.disposal
- essentials.signs.create.mail
- essentials.signs.create.protection
- essentials.signs.create.trade
- essentials.signs.break.disposal
- essentials.signs.break.mail
- essentials.signs.break.protection
- essentials.signs.break.trade
- essentials.suicide
- essentials.time
- essentials.tpa
- essentials.tpaccept
- essentials.tpahere
- essentials.tpdeny
- essentials.warp
- essentials.warp.list
- democracy.*
admin:
- bPermissions.admin
- bPermissions.demote.admin
- bPermissions.iplock.lock
- bPermissions.promote.admin
- bukkit.broadcast
- bukkit.broadcast.admin
- bukkit.command
- bukkit.command.give
- bukkit.command.help
- bukkit.command.kill
- bukkit.command.list
- bukkit.command.me
- bukkit.command.op
- bukkit.command.op.give
- bukkit.command.op.take
- bukkit.command.plugins
- bukkit.command.reload
- bukkit.command.save
- bukkit.command.save.disable
- bukkit.command.save.enable
- bukkit.command.save.perform
- bukkit.command.say
- bukkit.command.stop
- bukkit.command.teleport
- bukkit.command.tell
- bukkit.command.time
- bukkit.command.time.add
- bukkit.command.time.set
- bukkit.command.version
- bukkit.command.whitelist
- bukkit.command.whitelist.add
- bukkit.command.whitelist.disable
- bukkit.command.whitelist.enable
- bukkit.command.whitelist.list
- bukkit.command.whitelist.reload
- bukkit.command.whitelist.remove
- worldedit.*
- worldguard.*
- craftbukkit
- democracy.*
- essentials.*
Left the User data out but its all setup correctly (AFAIK)
NOTE: I tried setting each of the democracy permissions separately and as democracy.* with the same result each time. "You do not have the permission to vote on this proposal"
Let me know if this looks like an issue with my setup or if there is something wrong with the democracy.vote.* and democracy.vote.vote permissions. Every other command works ex: proposal, veto, tally. Its just the vote permission that seems wonky.
- Bobdolemite
Thanks for the fast response. Loaded this on my server and it is now displaying correctly in the server global chat. I think I will need to configure permissions because stock as it is nobody can vote currently. Ill edit this post once I have had a chance to do this. Thanks again!
- Bobdolemite
Bobdolemite, jkcclemens, when v1.1 is available, please give it a try. I believe Bob's details helped crack the case, or at least cracked my thick skull.
Hey there I am having some issues getting this mod to work properly on my server. I will get to the info first:
Permissions:
default / super perms enabled
(permissions.yml is empty)
I rely on config files and default settings
Mods Installed
Democracy Version: 1.0 (Tried 0.9 as well same thing)
Craftbukkit: Version 1339
Essentials: 2.6.3
WorldGuard: 5.3
Worldedit: 4.7
Recipe Manager: 1.1b
Democracy Config is STOCK but here it is ne way:
limits:
open-proposals: 5
open-proposals-per-player: 1
enabled: true
default:
duration: 15m
minimum: 5
secrecy: false
backends:
file:
file: proposals.data
backend: file
basedir: plugins/Democracy
voting:
accountable-vetoes: true
proposing-includes-aye-vote: false
allow-vetoes: true
allow-nominating-self: false
allow-secret-vote: true
allow-console-enact-veto: true
allow-public-vote: true
nominating-includes-aye-vote: true
allow-change-vote: false
I loaded this mod and after checking the log I can see it loaded properly:
Log:
[INFO] [Democracy] Loading proposals...
[INFO] [Democracy] Load succeeded.
[INFO] [Democracy] Found 0 proposals.
[INFO] [Democracy] Version 1.0 is enabled!
Issue:
When I create a new proposal and then -open it, there is no server message announcing
the vote and no one including myself is allowed to vote ex:
/propose tournament test
/propose tournament duration 15m
/propose tournament -public
/propose tournament -open
after this has been entered there is no server message at all. If you try to vote
it says this:
You do not have rights to vote on this (or something like that at least)
The countdown then starts (not visibly in the server though) and when the specified time
limit is up it sends a message saying that the proposal failed with 0 votes.
Log:
[INFO] [Democracy] Proposal 'tournament' (duration 15m) takes vote /aye tournament or /nay tournament. Now 15 minutes remaining.
15 min later
[INFO] [Democracy] Proposal 'tournament' (duration 5m) has failed for insufficient votes.
I do not currently have any permissions plugins so im not sure what would be
causing the issue. It seems that the permission to vote is not working and the
server wide message for when a proposal has been -open(ed) does not show up.
Is this because you tested with CB1337 and I am running CB1339? and if so when can we expect a release that is compatible with 1339?
Thanks for making this mod hoping I get to use this soon.
- Bobdolemite