Command /afk
Command to toggle AFK mode
ATTENTION
The command will not work if the AFK
module is disabled
⚙️ Setting
📂 Path command.yml → afk
⚖️ Default
afk:
enable: true
aliases:
- "afk"
cooldown:
enable: false
sound:
enable: false
enable
Enables or disables the functionality of the module
aliases
List of aliases for using the command
ALIASES CAN BE ANYTHING
For example, newcommand
, новаякоманда
, ban
, me
, etc.
cooldown
Usage cooldown
Field | Type | Explanation |
---|---|---|
enable | boolean | Enables the cooldown functionality |
duration | long | How many ticks must pass between uses |
HOW TO USE COOLDOWN?
Replace false
with true
and restart FlectonePulse
using the /flectonepulse reload
command. Additional cooldown settings will appear AFTER RELOADING.
The cooldown configuration will look like this:
cooldown:
enable: true
duration: 60
sound
Sound playback
Field | Type | Explanation |
---|---|---|
enable | boolean | Enables sound functionality |
volume | float | Sound volume from 0 to 1.0 |
pitch | float | Sound pitch from 0 to 1.0 |
category | String | Category from MASTER , MUSIC , RECORD , WEATHER , BLOCK , HOSTILE , NEUTRAL , PLAYER , AMBIENT , VOICE |
name | String | Sound name, for example minecraft:entity.llama.spit |
HOW TO USE SOUND?
Replace false
with true
and restart FlectonePulse
using the /flectonepulse reload
command. Additional sound settings will appear AFTER RELOADING.
The sound configuration will look like this:
sound:
enable: true
volume: 1.0
pitch: 1.0
category: "HOSTILE"
name: "minecraft:entity.llama.spit"
🔐 Permissions
📂 Path permission.yml → command.afk
⚖️ Default
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 | Not available to anyone, must be granted separately (e.g., using LuckPerms) |
OP | Available to server operators |
NOT_OP | Available to not server operators |
cooldown-bypass
Permission to bypass the cooldown between uses
sound
Permission to use sound