This plugin allows your users to vote for a weather in the server default (overworld).
Commands and their descriptions:
/wv sun (This command allows you to start a vote for changing weather to sunny weather)
/wv rain (This command allows you to start a vote for changing weather to rainy weather)
/wv storm (This command allows you to start a vote for changing weather to stormy(thunder) weather)
/wv yes (This command allows you to vote for yes)
/wv no (This command allows you to vote for no)
/wv stopvote(This command stops the voting. Requires op permissions)
/wv reload (This command is for reloading the plugin)
User permissions:
weathervote.start (default: true - allows user to start a vote)
weathervote.vote (general voting permission)
weathervote.vote.yes (default: true, allows user to vote "yes")
weathervote.vote.no (default: true, allows user to vote "no")
There are currently two files that will be generated at first launch:
config.yml and lang_EN.yml, both can be configured as you wish.
Code (Text):
vote-duration: 15000 # Example duration in milliseconds, if negative value is given then it will be automatically converted to positive value. If no value is given, default will be 15000 milliseconds.
language: lang_EN # This is the language file that will be used, you can change it to lang_DE for example, if you create it.
debug-mode: false # This is the debug mode, it will print more information in the console, great for debugging but not for normal use.
scoreboard-enabled: true # This is the scoreboard, it will display the vote in the scoreboard, valid options: true, false
bossbar-style-sun: SOLID # This is the style of the bossbar when the vote is for sunny weather, valid options: SOLID, SEGMENTED_6, SEGMENTED_10, SEGMENTED_12, SEGMENTED_20
bossbar-color-sun: YELLOW # This is the color of the bossbar when the vote is for sunny weather, valid options: BLUE, GREEN, PINK, PURPLE, RED, WHITE, YELLOW
bossbar-style-rain: SOLID # This is the style of the bossbar when the vote is for rainy weather, valid options: SOLID, SEGMENTED_6, SEGMENTED_10, SEGMENTED_12, SEGMENTED_20
bossbar-color-rain: BLUE # This is the color of the bossbar when the vote is for rainy weather, valid options: BLUE, GREEN, PINK, PURPLE, RED, WHITE, YELLOW
bossbar-style-storm: SOLID # This is the style of the bossbar when the vote is for stormy weather, valid options: SOLID, SEGMENTED_6, SEGMENTED_10, SEGMENTED_12, SEGMENTED_20
bossbar-color-storm: PURPLE # This is the color of the bossbar when the vote is for stormy weather, valid options: BLUE, GREEN, PINK, PURPLE, RED, WHITE, YELLOW
Code (Text):
messages:
server-name: '&6[ServerName]' # This is the name of the server. It is used in the messages below. You can change it to whatever you want like '[RandomCraft]'
bossbar-message-sun: 'Voting for Sunny weather (/wv sun or /wv no)' # This is the message that will be displayed in the bossbar when the vote is for sunny weather
bossbar-message-rain: 'Voting for Rainy weather (/wv rain or /wv no)' # This is the message that will be displayed in the bossbar when the vote is for rainy weather
bossbar-message-storm: 'Voting for Stormy weather (/wv storm or /wv no)' # This is the message that will be displayed in the bossbar when the vote is for stormy weather
started-vote-sun: '&a&l%player%&r&a started a new voting for Sunny weather, vote with /wv yes or /wv no.' # This is the message that will be displayed when the vote for sunny weather has started, in front of the text is the username who started the vote.
started-vote-rain: '&a&l%player%&r&a started a new voting for Rainy weather, vote with /wv yes or /wv no.' # This is the message that will be displayed when the vote for rainy weather has started, in front of the text is the username who started the vote.
started-vote-storm: '&a&l%player%&r&a started a new voting for Stormy weather, vote with /wv yes or /wv no.' # This is the message that will be displayed when the vote for stormy weather has started, in front of the text is the username who started the vote.
no-vote-in-progress: '&cThere is no vote in progress.' # This is the message that will be displayed when there is no vote in progress
no-permission-to-vote: '&cYou don''t have permission to vote.' # This is the message that will be displayed when a player doesn't have permission to vote
no-permission-to-vote-yes: '&cYou don''t have permission to vote yes.' # This is the message that will be displayed when a player doesn't have permission to vote yes
no-permission-to-vote-no: '&cYou don''t have permission to vote no.' # This is the message that will be displayed when a player doesn't have permission to vote no
no-permission-to-start-vote: '&cYou don''t have permission to start a vote.' # This is the message that will be displayed when a player doesn't have permission to start a vote
no-permission-to-stop-vote: '&cYou don''t have permission to stop a vote.' # This is the message that will be displayed when a player doesn't have permission to stop a vote
no-permission-to-reload: '&cYou don''t have permission to reload the plugin.' # This is the message that will be displayed when a player doesn't have permission to reload the plugin
reload-successful: '&aThe plugin has been reloaded.' # This is the message that will be displayed when the plugin has been reloaded
only-players-can-vote: '&cOnly players can vote.' # This is the message that will be displayed when a non-player tries to vote
vote-already-started: '&cThere is already a vote in progress.' # This is the message that will be displayed when there is already a vote in progress
vote-tie: '&cThe vote ended in a tie, weather will not be changed.' # This is the message that will be displayed when the vote ended in a tie
vote-ongoing: '&aThere is a vote in progress, vote with /wv yes or /wv no.' # This is the message that will be displayed when there is a vote in progress
vote-already-voted: '&cYou already voted.' # This is the message that will be displayed when a player already voted
vote-stopped: '&cThe vote has been stopped.' # This is the message that will be displayed when a vote has been stopped
vote-voted-yes: '&aYou voted yes.' # This is the message that will be displayed when a player voted yes
vote-voted-no: '&aYou voted no.' # This is the message that will be displayed when a player voted no
vote-vote-correctly: '&cPlease vote correctly.' # This is the message that will be displayed when a player doesn't vote correctly
vote-failed: '&cThe vote failed. Weather will not be changed.' # This is the message that will be displayed when a vote failed
vote-failed-majority-voted-no: '&cThe vote failed. The majority voted no.' # This is the message that will be displayed when a vote failed because the majority voted no
vote-failed-majority-not-reached: '&cThe vote failed. The majority was not reached.' # This is the message that will be displayed when a vote failed because the majority was not reached
vote-failed-no-one-voted: '&cThe vote failed. No one voted.' # This is the message that will be displayed when a vote failed because no one voted
vote-ended: '&aThe vote has ended.' # This is the message that will be displayed when the vote has ended
vote-successful-sun: '&aThe vote was successful, the weather has been set to sunny.' # This is the message that will be displayed when the vote was successful and the weather has been set to sunny
vote-successful-rain: '&aThe vote was successful, the weather has been set to rainy.' # This is the message that will be displayed when the vote was successful and the weather has been set to rainy
vote-successful-storm: '&aThe vote was successful, the weather has been set to stormy.' # This is the message that will be displayed when the vote was successful and the weather has been set to stormy
single-player-vote-yes: '&aSince you were the only player online, the vote has ended automatically with your chosen outcome.' # This is the message that will be displayed when the vote has ended and the weather will be set to user choice.
single-player-vote-no: '&aSince you were the only player online and voted "no", the vote has ended without changing the weather.' # This is the message that will be displayed when the vote has ended and the weather will not be changed
vote-ended-no: '&aThe vote has ended, the weather will not be changed.' # This is the message that will be displayed when the vote has ended and the weather will not be changed
invalid-option: '&cInvalid option.' # This is the message that will be displayed when a player uses an invalid option
invalid-vote-type: '&cInvalid vote type.' # This is the message that will be displayed when a player uses an invalid vote type
If you like my plugin, please give me positive review
Also I am open to any and all suggestions, feel free to let me know.
Attention! Please contact me directly if you have any problems or questions before leaving a bad review. I will try my best to make sure you will be happy with the plugin. Thank you!