BetterSleeping is a Spigot plugin that guarantees a better sleeping experience for Spigot servers! It aims to improve sleeping in multiplayer by only having a certain percentage of players sleep.
BetterSleeping strives to be the best sleeping plugin out there by providing great support, offering the most
features and great
customizability.
BetterSleeping is well documented and easy to configure. Take a look at the
wiki. If this wiki does not satisfy your admin needs, feel free to join the
BetterPlugins Discord server to get help or submit a suggestion. You can contact me however you want: In a
GitHub issue, discussion section or through a PM on the forum. However, I am most active on Discord and other staff may be able to assist you over there as well.
This is the free version of
BetterSleeping. The premium version was released to make sure I can keep putting my time in this awesome project. All core features will
always be a part of the free version!
Outdated but awesome showcase (v2, before the complete rewrite)
Customizability is very important to us. Check
the wiki to see all options and commands.
Interested in a customisable prefix and/or command GUIs? Check out
BetterSleeping Premium! The free version now uses a shortened prefix by default: [BS4].
Newin
BetterSleeping4! The premium version can now enable a bossbar that serves as a clock and allows automatically setting time to day when a player joins an empty world!
Shared features:
Set a percentage of minimum players in a world that need to sleep. Or set a static number that will always be the same.
Time goes by faster when enough players are sleeping or time is set to day after a delay when enough players sleep. It's totally up to you.
Multiple languages are supported for most messages. Changes are, your language is already supported! Check a complete list of all supported languages on GitHub (click).
New:Per-world settings! Disable BetterSleeping in one or more worlds or use different BetterSleeping settings in specific worlds
There is singular/plural support built into the language system!
Disable any BetterSleeping message you don't need!
Reload BetterSleeping configuration without having to restart/reload your server with /bs reload
Phantoms can be entirely disabled!
Give buffs (potion effects) to players that slept! Also non-sleepers can get potion effects (referred to as debuffs).
Bypass permissions allow a player to be ignored by the required sleeping count. These players can sleep if they want to. Check the wiki to learn how to give these permissions.
Essentials support! Afk and vanished players are ignored by the required sleeping counter by default.
Built-in GSit support
New: Sleeping animations
New:Sleep through a command: /bs sleep
And even more features will be added in the future. Make sure to share your ideas with us. Frequent requests will be added in future updates!
BetterSleeping v4 sample (coming soon)
BetterSleeping has a developer API! Check the
dev API wiki for all info.
When using Maven, simply add the following to your pom.xml:
Make sure to use the latest version (you can check this on
GitHub releases).
You can simply listen to BecomeDayEvent the same way you listen to default Spigot events.
To get an API instance, make sure you are (soft-)depending on BetterSleeping and get it as follows: