Sunshine everybody!
With this extremely lightweight plugin, players can vote during the night to change the time to daytime.
General info:
Eligability: A player is eligable to vote and is shown the vote messages and boss bar (if enabled) only IF the player:
- Is in the overworld
- It is night time in the world
Passing conditions: When 50% (can be changed in the config) of eligable players vote for daytime, the vote will pass and time will be changed accordingly.
Duration: The vote lasts for 60 seconds (can be changed in the config)
Configuration:
You can now edit some values to your liking, visit this link to see the default config (it's pretty self explanatory).
Animation
Animation
The transition from night to day can now be animated (although it CAN lag the server). It is turned off by default in the config. See Configuration
Permissions:
Permissions
voteday.reload - allows using /voteday reload
Commands:
Commands
/voteday - the basic command, you can also use /vd. This begins the voting if the player is in the overworld and it's night-time.
/voteday help - displays this info in the in-game chat
/voteday confirm - does the same as /voteday
/voteday cancel - removes your vote
/voteday reload - reloads the config files, only users with voteday.reload permission can use this
/voteday status - displays the current number of players who voted vs the number of eligable players
Hoverable status
When hovering over the status in the chat, it will display the players who voted already
Boss bar
A boss bar displays the results of the voting.This can be turned off in the config or can be fully customized.
Players who are in the nether or the end are not shown the boss bar.
Upcoming features
This is a small project I did in 2 days, and so far I'm pretty satisfied with it so I decided to share it. If anyone actually uses this and wants me to add more features, please be sure to let me know!
Currently, the things I can think of are:
- permissions for commands
- a vote override command which immediately passes the vote
- config - DONE
- voting for night time and changing the weather?
- your idea? Be sure to let me know. :D
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta