Chat
Module responsible for messages sent by the player to the chat

Inside message.yml disable local using enable: false, and also set an empty trigger: "" for global
chat:
enable: true
mode: "BUKKIT"
priority: "NORMAL"
types:
local:
enable: false # set false
global:
enable: true
cancel: false
range: "PROXY"
priority: 5
trigger: "" # remove trigger
null_receiver:
enable: true
destination:
type: "ACTION_BAR"
times:
stay: 20
destination:
type: "CHAT"
cooldown:
enable: false
sound:
enable: false🌍 Localization
Pathlocalizations → language.yml → message.chat
chat:
null_chat: "<color:#ff7171><sprite_or:⁉:gui:icon/chat_modified>Chat is disabled on this server"
null_receiver: "<color:#ff7171><sprite_or:⁉:gui:icon/chat_modified>Nobody heard you"
types:
global: "<delete><display_name> <world_prefix>»<fcolor:4> <message><reset><translate>"
local: "<delete><display_name><fcolor:3>: <message><reset><translate>"chat:
null_chat: "<color:#ff7171><sprite_or:⁉:gui:icon/chat_modified>На сервер выключен чат"
null_receiver: "<color:#ff7171><sprite_or:⁉:gui:icon/chat_modified>Тебя никто не услышал"
types:
global: "<delete><display_name> <world_prefix>»<fcolor:4> <message><reset><translate>"
local: "<delete><display_name><fcolor:3>: <message><reset><translate>"null_chat
Message if nothing could be sent to the chat
null_receiver
Message if no one saw the player's message
types
List of chats and their format
⚙️ Setting
Pathmessage.yml → chat
chat:
enable: true
mode: "BUKKIT"
priority: "NORMAL"
types:
local:
enable: true
cancel: true
range: 100
priority: 0
trigger: ""
null_receiver:
enable: true
destination:
type: "ACTION_BAR"
times:
stay: 20
destination:
type: "CHAT"
cooldown:
enable: false
sound:
enable: false
global:
enable: true
cancel: false
range: "PROXY"
priority: 5
trigger: "!"
null_receiver:
enable: true
destination:
type: "ACTION_BAR"
times:
stay: 20
destination:
type: "CHAT"
cooldown:
enable: false
sound:
enable: falseenable
Enables or disables the functionality of the module
mode
Chat processing mode
| Type | Explanation |
|---|---|
PACKET | Chat messages are processed via packets (fully asynchronous) |
BUKKIT | Chat messages are processed via Bukkit (asynchronous, but only in one chat thread) |
PAPER | Chat messages are processed via Paper (asynchronous, but only in one chat thread) |
If you need another plugin to see chat messages, set mode: "BUKKIT". In rare cases, if the plugin works through Paper listeners, you should set mode: "PAPER"
priority
Priority of the chat message event. Change this value if there is a conflict with other plugins using the chat.
| Type | Explanation |
|---|---|
LOWEST | The chat message will be processed before all other plugins |
LOW | The chat message will be processed after plugins with LOWEST priority |
NORMAL | The chat message will be processed after plugins with LOW priority |
HIGH | The chat message will be processed after plugins with NORMAL priority |
HIGHEST | The chat message will be processed after plugins with HIGH priority |
MONITOR | The chat message will only be observed |
types
List of all chats with their settings. Any default chat looks like this, and you can add your own:
chat_name:
enable: true
cancel: true
range: PROXY
priority: number
trigger: "trigger"
null_receiver:
enable: true
destination:
type: "ACTION_BAR"
times:
stay: 20
destination:
type: "CHAT"
cooldown:
enable: false
sound:
enable: falsedestination
Where the message will be sent
| Type | Explanation | Requires additional configuration? |
|---|---|---|
ACTION_BAR | Message above the player's inventory | Yes |
BOSS_BAR | Message at the top of the screen | Yes |
BRAND | Message in F3 | No |
CHAT | Message in chat | No |
TEXT_SCREEN | Message anywhere on the screen | Yes |
TITLE | Full-screen message | Yes |
SUBTITLE | Full-screen message (bottom line) | Yes |
TAB_HEADER | Message in TAB (top) | No |
TAB_FOOTER | Message in TAB (bottom) | No |
TOAST | Message in the top right corner (achievement) | Yes |
cooldown
Usage delay
sound
Sound playback
🔐 Permissions
Pathpermission.yml → message.chat
chat:
name: "flectonepulse.module.message.chat"
type: "TRUE"
types:
local:
name: "flectonepulse.module.message.chat.local"
type: "TRUE"
cooldown_bypass:
name: "flectonepulse.module.message.chat.local.cooldown.bypass"
type: "OP"
sound:
name: "flectonepulse.module.message.chat.local.sound"
type: "TRUE"
global:
name: "flectonepulse.module.message.chat.global"
type: "TRUE"
cooldown_bypass:
name: "flectonepulse.module.message.chat.global.cooldown.bypass"
type: "OP"
sound:
name: "flectonepulse.module.message.chat.global.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 |
types
List of chats and their permissions
cooldown_bypass
Permission to ignore the cooldown between uses
sound
Permission to use the sound
Last updated on
Edit on GitHub
FlectonePulse