mrgeneralq / sleep-most

Control the amount of percentage of sleeping players required to make it day. 100K+ downloads on spigot!
https://www.spigotmc.org/resources/sleep-most-1-14-4-configurable-messages-and-percentage.60623/
30 stars 12 forks source link

afk detection using placeholderapi output #188

Open cupang-afk opened 5 months ago

cupang-afk commented 5 months ago

Is your feature request related to a problem? Please describe. i dont use essentials but i use AFKPlus to record afk player

Describe the solution you'd like AFKPlus has extension named AFKPlusPAPI that enable placeholderapi for afk player

in the AFKPlusPAPI config i can set placeholder output for afk player and non afk player

i want to use this output for sleep-most plugin to detect the afk player like

set-afk-placeholder: %AFKPlus_Status%
placeholder-is-afk: "True"
placeholder-is-not-afk: "False"