premium banner
Adds an AFK command with some extra functionalities

Description

Running a server and you're having problems with players going AFK and preventing sleep for others? Fear not, this mod will help a lot for those servers that run without plugins (Or want some extra functionality).

AFK players do not count towards the required amount of players needed to sleep.

 


 

This mod is required on both sides. Other sleep related mods could be incompatible, excercise caution.

 


 

Configurations have been added! The current version is: 1.1.0

The players can go afk with the command /afk but an operator or a command block can force a player into afk with /afk force <target>.

There are many configurations available to tweak your experience! For example, inmune and untargateable players that are AFK, auto AFK on login, cooldowns, kicking idle players, etc!

The mod won't be updated further but is gonna get ported to other versions. If you have a suggestion, I might add it to all versions if is good enough! If you have translations for other languages not available. Let me know with an Issue on GitHub. I'll gladly add it!

Current translations are:
- English by me and proof-read by some friends
- Spanish by me
- German by Junnichi81
- Swedish by _Darkfalcon_
- Portuguese by Zaderos