Skip to content

AFK ​

A player goes AFK if they do nothing for a certain period of time
afk global message

If a player is AFK, they receive a specific suffix
afk suffix

🌍 Localization ​

πŸ“‚ Path localizations β†’ language.yml β†’ message.contact.afk

βš–οΈ Default ​

yml
afk:
  suffix: " <color:#FFFF00>⌚</color>"
  format-true:
    global: "<gradient:#ffd500:#FFFF00>⌚ <player> ΠΎΡ‚ΠΎΡˆΡ‘Π»"
    local: "<gradient:#ffd500:#FFFF00>⌚ Π’Ρ‹ ΠΎΡ‚ΠΎΡˆΡ‘Π» ΠΎΡ‚ ΠΈΠ³Ρ€Ρ‹"
  format-false:
    global: "<gradient:#ffd500:#FFFF00>⌚ <player> вСрнулся"
    local: "<gradient:#ffd500:#FFFF00>⌚ Π’Ρ‹ вСрнулся Π² ΠΈΠ³Ρ€Ρƒ"
yml
afk:
  suffix: " <color:#FFFF00>⌚</color>"
  format-true:
    global: "<gradient:#ffd500:#FFFF00>⌚ <player> is now afk"
    local: "<gradient:#ffd500:#FFFF00>⌚ Now you're afk"
  format-false:
    global: "<gradient:#ffd500:#FFFF00>⌚ <player> isn't afk now"
    local: "<gradient:#ffd500:#FFFF00>⌚ Now you're not afk"

suffix ​

The suffix assigned to a player when they go AFK
afksuffix

format-true ​

Message when a player goes AFK

format-false ​

Message when a player returns

βš™οΈ Setting ​

πŸ“‚ Path message.yml β†’ contact.afk

βš–οΈ Default ​

yml
afk:
  enable: true
  range: -1
  delay: 3000
  ignore:
    - "afk"
  destination:
    type: CHAT
  ticker:
    enable: true
    period: 20

enable ​

Enables or disables the functionality of the module

range ​

How far in blocks the message will be displayed

ValueExplanation
-2The message will be sent to all players on the server and on Proxy
-1The message will be sent to all players on the server
0The message will be sent only to the sender
Any number > 0The message will be sent to players whose distance from the sender is less than this number

NOTE

If the range is greater than 0, for example 100, the recipients must also be in the same dimension as the sender

delay ​

How long (in ticks) a player must be inactive to go AFK

ignore ​

List of actions that are ignored and do not affect AFK status

Actions that can be ignored
Any command names
chat - when a player types in chat
quit - when a player logs out

EXAMPLE

If I add the command tell to the list and a player is AFK, they can use the tell command without leaving AFK mode

destination ​

Where the message will be sent

HOW TO CHANGE THE DESTINATION?

Replace the value type: here and restart FlectonePulse using the /flectonepulse reload command. Additional settings will appear automatically.

TypeExplanationRequires additional configuration?
ACTION_BARMessage above the player's inventoryYes
BOSS_BARMessage at the top of the screenYes
BRANDMessage in F3No
CHATMessage in the chatNo
TITLEFull-screen messageYes
SUBTITLEFull-screen message (bottom line)Yes
TAB_HEADERMessage in TAB (top)No
TAB_FOOTERMessage in TAB (bottom)No
TOASTMessage in the top-right corner (achievement)Yes
Configuration for ACTION_BAR
yaml
destination:
  type: ACTION_BAR
  times:
    stay: 60

times ​

FieldExplanation
stayTime in ticks to hold the message
Configuration for BOSS_BAR
yaml
destination:
  type: BOSS_BAR
  duration: 100
  health: 1.0
  overlay: PROGRESS
  color: BLUE
  play-boos-music: false
  create-world-fog: false
  darken-screen: false

duration ​

Duration of the message display

health ​

How full the boss bar will be

overlay ​

TypeExplanation
PROGRESSSingle line
NOTCHED_6Divided into 6 parts
NOTCHED_10Divided into 10 parts
NOTCHED_12Divided into 12 parts
NOTCHED_20Divided into 20 parts

color ​

Display color

Type
PINK
BLUE
RED
GREEN
YELLOW
PURPLE
WHITE

play-boos-music ​

Whether music will play with the message

create-world-fog ​

Whether fog will appear with the message

darken-screen ​

Whether the screen will darken with the message

Configuration for TITLE (or SUBTITLE)
yaml
destination:
  type: TITLE (or SUBTITLE)
  subtext: ""
  times:
    fade-in: 20
    stay: 60
    fade-out: 20

subtext ​

Message for the second part of the display. For example, if TITLE is selected, subtext will be displayed below it, and vice versa.

times ​

FieldExplanation
fade-inTime in ticks for the message to appear
stayTime in ticks to hold the message
fade-outTime in ticks for the message to disappear
Configuration for TOAST
yaml
destination:
  type: TOAST
  icon: "minecraft:diamond"
  style: TASK

icon ​

Achievement icon, which can be any Minecraft item (must specify the full path)

style ​

Achievement type (TASK regular, GOAL goal, CHALLENGE challenge)

WARNING

Not recommended for global messages

ticker ​

Updates every certain interval of time

Whether to update or not

How often in ticks it should update

πŸ” Permissions ​

πŸ“‚ Path permission.yml β†’ message.contact.afk

βš–οΈ Default ​

yml
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

TypeExplanation
TRUEAvailable for any player
FALSEAvailable if granted separately (e.g., via LuckPerms)
OPAvailable for server operators
NOT_OPAvailable if granted separately (e.g., via LuckPerms)

cooldown-bypass ​

Permission to bypass the cooldown between uses

sound ​

Permission to use sound