yer-mtd / hammertime

Extended moderation for vanilla Minecraft servers
GNU General Public License v2.0
3 stars 1 forks source link

voting restriction for flagged players only #2

Open blockbandit opened 8 years ago

blockbandit commented 8 years ago

It is desirable to have a feature where only flagged players are able to vote yes or no to a callvote. In its current form, any player can vote, which is not ideal for all communities.

Feature suggestion: When a callvote is initiated, only players with a specific tag (e.g. sentinel) will be notified of a vote e.g. /msg @a[tag=sentinel] A vote kick|ban was called against $player. To vote, type vhguide vote yes|no hammertime will also only consider votes from these players that have been added to perms.lua

When only one sentinel is on and initiates a vote kick or ban, the vote should pass because the vote initiator counts as one yes vote.

In hammertime.conf allow_votes = "public|restricted"

yer-mtd commented 8 years ago

Approved