Enchant โ
A message from the server when using /enchant
๐ Localization โ
๐ Path localizations โ language.yml โ message.enchant
โ๏ธ Default
โ
enchant:
single: "<fcolor:1>๐ ะะฐะปะพะถะตะฝั ัะฐัั ยซ<fcolor:2><lang:<enchant>> <lang:<level>></fcolor:2>ยป ะฝะฐ ะฟัะตะดะผะตั <display_name>"
multiple: "<fcolor:1>๐ ะะฐะปะพะถะตะฝั ัะฐัั ยซ<fcolor:2><lang:<enchant>> <lang:<level>></fcolor:2>ยป ะฝะฐ ะฟัะตะดะผะตั <fcolor:2><count></fcolor:2> ัััะฝะพััะตะน"
enchant:
single: "<fcolor:1>๐ Applied enchantment ยซ<fcolor:2><lang:<enchant>> <lang:<level>></fcolor:2>ยป to <display_name>'s item"
multiple: "<fcolor:1>๐ Applied enchantment ยซ<fcolor:2><lang:<enchant>> <lang:<level>></fcolor:2>ยป to <fcolor:2><count></fcolor:2> entities"
single
โ
Message if the command is applied to a specific player
multiple
โ
Message if the command is applied to multiple entities
โ๏ธ Setting โ
๐ Path message.yml โ enchant
โ๏ธ Default
โ
enchant:
enable: true
destination:
type: CHAT
sound:
enable: false
enable
โ
Enables or disables the functionality of the module
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.
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 the chat | No |
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 |
Configuration for ACTION_BAR
destination:
type: ACTION_BAR
times:
stay: 60
times
โ
Field | Explanation |
---|---|
stay | Time in ticks to hold the message |
Configuration for BOSS_BAR
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
โ
Type | Explanation |
---|---|
PROGRESS | Single line |
NOTCHED_6 | Divided into 6 parts |
NOTCHED_10 | Divided into 10 parts |
NOTCHED_12 | Divided into 12 parts |
NOTCHED_20 | Divided 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
)
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
โ
Field | Explanation |
---|---|
fade-in | Time in ticks for the message to appear |
stay | Time in ticks to hold the message |
fade-out | Time in ticks for the message to disappear |
Configuration for TOAST
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
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 โ message.enchant
โ๏ธ Default
โ
enchant:
name: "flectonepulse.module.message.enchant"
type: TRUE
sound:
name: "flectonepulse.module.message.enchant.sound"
type: TRUE
name
โ
Permission name
type
โ
Permission type
Type | Explanation |
---|---|
TRUE | Available for any player |
FALSE | Available if granted separately (e.g., via LuckPerms) |
OP | Available for server operators |
NOT_OP | Available if granted separately (e.g., via LuckPerms) |
sound
โ
Permission to use sound