Sleep most [1.8 > 1.21.X] The most advanced sleep plugin available (percentage, animations, ..) icon

Sleep most [1.8 > 1.21.X] The most advanced sleep plugin available (percentage, animations, ..) -----

Control the amount of percentage of sleeping players required to make it day



Enhanced AFK handling
Hello everyone

This update involves a drastic change in how AFK handling is processed. As of now, AFK handling is fully dependent on Placeholder API. Why decided to go this approach as this would allow anyone to choose any of their favorite AFK plugins as long as the plugin provides a placeholder for PAPI.

The config section now contains the following:

Code (YAML):
# AFK handling controls which placeholder is used to determine if a player is afk
# This requires PlaceholderAPI to be installed and the use-afk flag to be enabled
afk-handling
:
  placeholder
: "%essentials_afk%"
  positive-result
: "yes"
The placeholder will represent the placeholder that contains the afk status of the player.
the positive-result, is supposed to contain the value that determines the player to be afk. For example for essentials the placeholder %essentials_afk% will return "yes" if the player is afk. For some other plugins, it might return different values.

As always, if you got any suggestions, don't hesitate to join our discord and let me know your ideas, I'm always open to listen.

IMPORTANT: for existing config files, please add the config section manually OR reset the config file

Kind regards

Quinten
a.k.a MrGeneralQ
----------, Apr 9, 2025
Resource Information
Author:
----------
Total Downloads: 355,460
First Release: Sep 6, 2018
Last Update: Apr 9, 2025
Category: ---------------
All-Time Rating:
111 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings