Sueta

Need To Sleep | Make beds more important! | 1.9 - 1.11

2.8

Make players need to sleep!

·Plugin

Want a bit realistic Minecraft server?
Want to make beds more important?
Then try this!

Description:
This plugin aims to add player energy of all day to minecraft!
To be every day full of energy, players need to sleep in bed at night.
Very customizable, you can change everything form the config.
Has a lot of features coming up, so stay tuned!

Commands:

  • /nts - Shows plugin information for non-op players
  • /nts - Shows all available commands to op players
  • /nts set {Player} {Energy} - Sets players energy level
  • /nts refresh {Player} - Sets players energy level to 100
  • /nts check{Player} - Checks players energy level
  • /nts relaod - Reloads config (There is options that "/nts relaod" can't relaod. Those options are mentioned in config)

Installation:
Verry simple steps:

  • Download "NeedToSleep.jar" plugin from this page
  • Copy "NeedToSleep.jar" plugin to your server "/plugins" directory
  • (Re)start your server
  • Go to "/plugins/NeedToSleep/" and open "config.yml" with Notepad++ or other editing program
  • Change everything how you like it
  • Save it and again, (Re)start your server

Configuration:

#Show Energy in boss bar? You will need BossBarAPI
Enable In BossBar progress: false

#Show Energy in ScoreBoard? You will not need anything
Enable In ScoreBoard progress: false

#Boss Bar / ScoreBoard Message
Message: "Energy"

#In how many seconds will it go from 100% to 0%? 1200s = 20min
#That means, that after X seconds player will be fully tired
#Changing this need to reload the server
X Seconds: 1200

#In how many seconds will it to from 0% to 100% when sleeping? 300s = 5min
#That means, that after Y seconds of sleep player will be copleatly not tired
#Changing this need to reload the server
Y Seconds: 300

#In how many seconds will it to from 0% to 100% when sitting? 1200s = 20min
#That means, that after D seconds of sitting player will be copleatly not tired
#Changing this need to reload the server
#Setting this to -1 fill disable this option
D Seconds: 1200

#If player sprinting, Fatigue will remove not by 1, but by Z
#That means, if Z is set by 2, then Energy level will be
#Going down 2x faster, then normally
#Can be whit dot, for example: 1.5
Z Reduce: 2

#Do you want to reverse progress bar?
#Then you will need to set every message/effect % in revers
#so 25% would be 75%
#Recomended: leave on false
Reverse mode: false

#Energy level on first time join
First time join: 100

#if you have multiple worlds
#And want to enable just in some of it
#Set this to true
Enable Multiworld support: false

#Write in which worlds the plugin will work
Worlds:
- world
- world_nether
- world_the_end

#Effects of being to tired
#  Form-to%/Effect/Effect strenght
#  84-75/SLOW_DIGGING/1 - From 75% to 84% it will give SLOW_DIGGING with strenght 1
#Add as many, as you want! It can overlap without errors!
#For full effect list go to: http://minecraft-helpandinfo.weebly.com/potion-effects-ids.html
Effects:
- 5-0/SLOW_DIGGING/2
- 5-0/SLOW/2
- 6-15/SLOW/1
- 6-15/SLOW_DIGGING/2
- 16-25/SLOW_DIGGING/1

#Messages at certain %
# 25/&4Go to sleep - At 25% the plugin will tell to the player "&4Go to sleep"
#If you disable "Enable In BossBarr progress", here you can set messages that will be sent to player
#for example:
#    Messages:
#    - 90/&aYou got 10% tired!
#    - 75/&2You got 35% tired!
#    - 50/&2You got 50% tired! I think you should go to bed
#    - 25/&2You got 75% tired! Thats too much, go to sleep!
#    - 5/&4You are very tired! Just 5% energy left!
Messages:
- 25/&3You are getting to tired! please go to sleep!
- 15/&cI think you really need to go to sleep...
- 5/&4Ok, Now go to sleep.

#Do damage on 0%?
Do damage on 0 percents: false

#After respawn, how much energy to give back?
When player die refresh to: 100

Dependency:

  • BosBarAPI - If you set "Enable In BossBarr progress" to "true"

GOALS:

  • 5 Downloads :)
  • 10 Downloads ;)
  • 15 Downloads :p
  • 30 Downloads :eek:
  • 50 Downloads :rolleyes:
  • 75 Downloads :cool:
  • 100 Downloads :D

If you like this plugin, please consider to donate!

Similar projects

Plugin →