This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
What steps will reproduce the problem?1. settings: minimumPercent: 50 minimumPlayers: 2 timeout: 45
2. Vote fails with "The vote failed! 2/3"
What is the expected output? What do you see instead?
Vote should pass but The vote failed! 2/3
What version of the product are you using?
MajorityVote v1.0
Do you have an error log of what happened?
The vote failed! 2/3
Please provide any additional information below.
The vote just fails when I don't think it should fail.
In this case, perhaps it would also be possible to exclude the argument from the vote.
For example /vote ban %arg%The %arg% (player) in question could optionally not have a say in the vote.This might be possible by using another argument like %arg%%exclude% or having another line in the config under that particular option:exclude: %arg%
Also, the vote shouldn't fail when people who don't have permissions to vote shouldn't be included in the vote.
For example: /vote citizen playername
The player is a visitor at first without permissions to vote. The community votes them to be a citizen but the vote fails because of the previous issue and because they can't vote due to not having permission to vote in the first place. So I propose also that users without permissions to vote should not be included in the decision of whether the vote fails or passes.
Was thinking the exclude: option could allow for a comma separated list of players names, so for example I can add %arg% as one of those items but also exclude myself from the voting of that particular vote if I don't want to be involved with it and let the community deal with it instead.
On version 1, because 1.1 errors on load, the vote does not pass unless it is 100% of the people.
To post a comment, please login or register a new account.