installation
More details to be added later
Config file
The default config file looks like this:
# At least 'required-yes-percentage'*peopleOnServer people must vote yes, and there must be more people that voted yes than no # day required-yes-percentage-day 5 minimum-agree-percentage-day 50 # night required-yes-percentage-night 5 minimum-agree-percentage-night 50 vote-fail-delay 30 vote-pass-delay 50 vote-time 30 reminders 2 # enable bedvote (sleeping in a bed starts or agrees with a vote) bedvote yes # no commands - if this is enabled then all lightvote voting commands are disabled (bedvote or itemvote must be used) lightvote-nocommands no ##### Configure items for commandless voting (hitting 'itemhits' with 'iteminhand' starts/agrees/disagrees with a vote) # These are for starting a vote or agreeing to a vote in progress (day and night can be different if you want) itemVote yes bedvote-iteminhand-day TORCH bedvote-itemhits-day BED_BLOCK bedvote-iteminhand-night TORCH bedvote-itemhits-night BED_BLOCK # These are for disagreeing (voting no) with a vote in progress) bedvote-novote-iteminhand-day TORCH bedvote-novote-itemhits-day DIRT bedvote-novote-iteminhand-night TORCH bedvote-novote-itemhits-night DIRT debug-messages no permanent no use-permissions no
The permissions file (plugins/LightVote/voteStarters.conf) consists of the names of players you wish to allow, separated by ONE space or newline. This is case insensitive. If I, for example, only want to allow myself and testuser1-3 to start votes, I could use the following config file.
xUpWuP testuser1 testuser2 testuser3
If you just want everyone to be able to vote, as is the default, just use:
*
Alternatively you can set "use-permissions" to yes and add the "lvt.vote.time" permission to users you want to be able to vote.
The configuration files are in plugins/LightVote/LightVote.conf.
How to locale broadcast messages?