• ALERT

    We are currently undergoing a minor database conversion which may have caused the email management system and registration and other minor issues, our team is working on getting our new database system up and running as soon as possible, thank you for your understanding!

    If you have any other questions, feel free to open a ticket on our discord server https://dc.gleaks.pro/

⭐LiteSleep⭐ [1.17 - 1.20]

Plugins ⭐LiteSleep⭐ [1.17 - 1.20] 1.7.6

Register to download this resource

Original resource URL: https://www.spigotmc.org/resources/%E2%AD%90litesleep%E2%AD%90-1-17-1-20.112830/



Native Minecraft Version:1.20Tested Minecraft Versions:
  • 1.17
  • 1.18
  • 1.19
  • 1.20
Languages Supported:English, Russian, PolskiDonation Link:https://boosty.to/azlagor
Demo
Before buying, you can test this plugin on your server. To do this, visit the plugin's discord (https://discord.gg/PgDfrQx22f), there you will find a free version for testing

About
Everyone wanted to get rid of annoying phantoms, but at the same time leaving the sleep mechanics in minecraft.
This plugin adds sleep mechanics, almost like in real life. The better you stick to your routine, the better you sleep and the more energetic you feel. Don't monitor your sleep at all? Get insomnia and you can no longer sleep, you need to buy medicine.

Sleep mechanics
1710040432850

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 percent), 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, i.e. 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 poor sleep it works the same way, with 5 bad sleep - 65%, with 10 bad sleep - 50%.
upload_2023-9-27_9-6-13.png


[IMG]

In the config implement stages (sleep stage in percentage range, for example 100-90% energy)
Each stage can include permanent effects, temporary 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 medications

You can initialize an item that, when you eat them, will be used.
Energy drinks add a percentage to your alertness if you eat them. Doesn't work for insomnia
/lsleep items add energy 10 (You need to hold the item in your hands that you want to add)
upload_2023-9-27_9-7-30.png


The cure for insomnia works with a certain chance, which you set
/lsleep items add insomnia 20 (You need to hold the item in your hands that you want to add)
upload_2023-9-27_9-7-50.png


You can initialize any items, also with NBT date and custom models from the resource pack

Stages
Each stage allows you to add interactivity at each stage
  • messages - A set of messages. When a 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 summoned around the player (hallucinations)
Below is the config of an additional effect for insomnia, which triggers once every 10 seconds with a 40% chance
upload_2023-9-27_9-8-30.png


Night cycle
[IMG]

You can set a custom time of night (in seconds)
You can either shorten the time of the vanilla night or increase it as much as you want
PlaceholderAPI
upload_2023-9-27_9-9-33.png


%sleep_now% (Energy)
%sleep_score%
%sleep_goodStreak%
%sleep_badStreak%
%sleep_allGood%
%sleep_allBad%

Uploader


Downloads
3
Views
157
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from ArteffKods

Latest updates

  1. Improvements

    Added sleep quality interval setting rest_sleep: 0.5 - 0.3 good_sleep: 0.3 - 0.1 bad_sleep = 0.1 - 0
  2. 1.7.5

    Fixed initializing the plugin prefix, due to which all help messages for commands were not sent...
  3. Fixes

    Demo version disabled
Back
Top Bottom