Sleeper+
✦ Description
Skip the night with only a percentage of online players sleeping, with a configurable animation and messages.
✦ Features
- Skip the night with only a percentage of players sleeping.
- Skip the night with a vote. (Enabled through the config)
- Animated night skip.
- Config options for messages, percentage for skip, and animation speed.
- Support for multiple worlds with independent sleep cycles and tracking.
✦ Permissions
sleeper.sleep - Allow the use of '/sleep' to access it's sub-commands.
sleeper.vote - Allow voting with '/sleep yes' and '/sleep no'.
sleeper.reload - Allow the use of '/sleep reload' to reload the config.
sleeper.ignore - Allow the use of '/sleep ignore' to be ignored for sleep.
sleeper.data - Allows the use of '/sleep debug' to see debug information.
✦ Commands
/sleep - Main command, which contains all the subcommands: yes, no, votes, ignore, debug, reload (sleeper.sleep). The ignore subcommand can take two optional paremeters: /sleep ignore <Player> <True/False>
✦ Config/Setup
An up to date config is available here.
Config Values:
UseAnimation - Toggle if skipping is animated or not.
SkipPercentage - Percentage of online players sleeping to skip the night at.
SkipSpeed - Speed for the skip animation.
VoteSkip - Toggle skip votes.
YesMultiplier - Multiplier for yes votes to boost or nerf their value.
NoMultiplier - Multiplier for no votes to boost or nerf their value.
SkipVotePercent - Percent for skipping based on a vote. Calculated as yes votes minus no votes, divided by the amount of online players.
BlockBedsAfterVoting - Blocks entering a bed after you've voted. Also automatically votes yes when entering a bed.
BossbarVoteCount - Display the current vote on the bossbar.
SendVotesOnStart - Toggle sending the vote options when a vote starts.
StartWithoutSleep - Allow starting votes with the vote commands themselves.
After these config values there are configurable messages used by the plugin.
✦ Issues/Problems
Please report any issues or problems on the github issue tracker.
✦ Links
https://github.com/hraponssi/Sleeper
https://bstats.org/plugin/bukkit/Sleeper/15317
how to actually start a vote?
In reply to promoiramain:
With the vote settings enabled in the config you should be able to start a vote by either sleeping or just using the vote commands themselves, depending on which options you choose.