/afk
Command to toggle AFK mode

Attention
The command will not work if the AFK module is disabled
⚙️ Setting
Pathlocalizations → language.yml → message.afk
afk:
enable: true
aliases:
- "afk"
cooldown:
enable: false
sound:
enable: falseenable
Enables or disables the functionality of the module
aliases
A list of aliases for using the command
ALIASES CAN BE ANYTHING
For example newcommand, newcommand_ru, ban, me etc.
cooldown
Usage delay
sound
Sound playback
🔐 Permissions
Pathpermissions.yml → command.afk
afk:
name: "flectonepulse.module.command.afk"
type: "TRUE"
cooldown_bypass:
name: "flectonepulse.module.command.afk.cooldown.bypass"
type: "OP"
sound:
name: "flectonepulse.module.command.afk.sound"
type: "TRUE"name
Permission name
type
Permission type
| Type | Explanation |
|---|---|
TRUE | Available to any player |
FALSE | Available to no one, must be granted separately (e.g., using LuckPerms) |
OP | Available to server operators |
NOT_OP | Available to NON-operators of the server |
cooldown_bypass
Permission to ignore the cooldown between uses
sound
Permission to use the sound
Last updated on
Edit on GitHub
FlectonePulse