Sueta
IW

iWannaSleep

1.3

Sleep in multiplayer while other players are not

·Plugin

Summary
You can now sleep at night if enough players want to! No need to disconnect, go to nether or bother your friend with sleeping. By default, you can sleep if half of players in the overworld are sleeping but this can be changed !

Night skipping is fully animated but this can be changed as well.

This plugin is super lightweight and won't affect server performances.

Config
This plugin is fully customizable through config.yml :

config.yml
# Animate night transition   
animation   :  true 

 # Broadcast when a player is sleeping and waiting for others.  
 # Leave sounds blank to disabled them.   
broadcast  :  
  state   :  true  
  message   :   "§6{0}§e wishes to skip the night. Needs §6{1}§e more player(s)."   
  in-sound   :   "BLOCK_BELL_USE"   
  out-sound   :   "BLOCK_NOTE_BLOCK_BASS"  
 
bossbar  :  
  waiting   :   "§fWaiting §8[§f{0}§7/§f{1}§8]"   
  skipping   :   "§aSkipping night..."  

 # Portion of player needed to skip night (Default 50%)  
 # Value should fit between 0 and 1.   
minimum-ratio   :  0.5


Sreenshots

Screenshots



Animation

TODO

  • Permission to bypass sleep detector
  • Possibility to change settings in-game using commands

Similar projects

Plugin →