Host your Minecraft server on BisectHosting - get 25% off your first month with code MODRINTH.

✦ Description

Skip the night with only a percentage of online players sleeping or a vote, with a configurable animation and messages.

Example chat message

✦ 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).

✦ 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

External resources



Project members

hraponssi

Owner


Technical information

License
GPL-3.0-only
Project ID