Supports version 1.17.✘1.18.✘1.19.✘1.20.✘
Official page https://polymart.org/r/4794
This plugin adds sleep mechanics, almost like in real life. The better you stick to your daily routine, the better you sleep and the more energetic you feel. Don't monitor your sleep at all? You have insomnia and you can no longer sleep, you need to buy medicine.
Player has energy (default 40 minutes)
Each player has sleep statistics. Initially he can only sleep 70% of the time (28 minutes), if he goes to bed on time (with energy at 10-30%), then for every good sleep he will receive points. For good - positive, for bad - negative. The more a player follows a sleep schedule, the better his sleep becomes, that is, with 5 good dreams in a row he will be able to sleep 85%, with 10 good dreams in a row - up to 100%. With bad sleep everything is exactly the same, with 5 bad dreams - 65%, with 10 bad dreams - 50%.
In the config, implement stages (sleep stage as a percentage, for example 100-90% of energy).
Each stage may include fixed effects, time effects, and random effects.
Below is a description of the basic config that is added by default
Energy drinks add a percentage to your alertness if you consume them. Does not work for insomnia
/Sleep items add 10 energy (you need to hold the item you want to add in your hands)
The insomnia cure works with a certain chance that you set
/lsleep items add insomnia 20 (You need to hold the item you want to add)
You can initialize any elements, including NBT date and custom models from the resource pack
You can set a custom time of night (in seconds).
You can either shorten the time of the vanilla night or increase it at your discretion
%sleep_score%
%sleep_goodStreak%
%sleep_badStreak%
%sleep_allGood%
%sleep_allBad%
Official page https://polymart.org/r/4794
Description of the LiteSleep plugin:
Everyone wanted to get rid of the annoying phantoms, but at the same time keep the sleep mechanics in minecraft.This plugin adds sleep mechanics, almost like in real life. The better you stick to your daily routine, the better you sleep and the more energetic you feel. Don't monitor your sleep at all? You have insomnia and you can no longer sleep, you need to buy medicine.
Sleep mechanics in LiteSleep:
Player has energy (default 40 minutes)
Each player has sleep statistics. Initially he can only sleep 70% of the time (28 minutes), if he goes to bed on time (with energy at 10-30%), then for every good sleep he will receive points. For good - positive, for bad - negative. The more a player follows a sleep schedule, the better his sleep becomes, that is, with 5 good dreams in a row he will be able to sleep 85%, with 10 good dreams in a row - up to 100%. With bad sleep everything is exactly the same, with 5 bad dreams - 65%, with 10 bad dreams - 50%.
Each stage may include fixed effects, time effects, and random effects.
Below is a description of the basic config that is added by default
- 100-85%
- SPEED 1
- FAST_DIGGING 1
- 85-70%
- SPEED 1
- 70-30% EMPTY
- 30-20%
- SLOW 1
- 20-10%
- SLOW 1
- SLOW_DIGGING 1
- 50% chance DARKNESS 1
- 10-0%
- SLOW 3
- SLOW_DIGGING 2
- 20% chance DARKNESS 1
- 20% chance WITHER 1
- 0%
- SLOW 3
- SLOW_DIGGING 2
- 40% chance DARKNESS 1
- 40% chance WITHER 1
Energy drinks and medicines in LiteSleep:
You can initialize an item that, when you eat it, will be used.Energy drinks add a percentage to your alertness if you consume them. Does not work for insomnia
/Sleep items add 10 energy (you need to hold the item you want to add in your hands)
/lsleep items add insomnia 20 (You need to hold the item you want to add)
Stages in LiteSleep:
Each stage allows you to add interactivity at each stage- messages - a set of messages. When the player reaches this stage, a random message from this list will be selected and shown to the player
- effects - an effect that will be applied to the player upon reaching the stage. The effect can be configured to trigger, which is checked every 10 seconds of real time (200 ticks). Each effect contains:
- potionEffects - effects that will be applied to the player
- sounds - sounds that will be played to the player
- particles - particles that will be spawned around the player (hallucinations)
Night cycle in LiteSleep:
You can set a custom time of night (in seconds).
You can either shorten the time of the vanilla night or increase it at your discretion
Placeholders of the LiteSleep plugin:
%sleep_now% (Energy)%sleep_score%
%sleep_goodStreak%
%sleep_badStreak%
%sleep_allGood%
%sleep_allBad%
Installing the LiteSleep plugin:
- Download the plugin.
- Shut down the server
- Move the .jar file to the /plugins/ folder of your server.
- Start the server.
- Done.