Fading
A module responsible for fading messages with distance and the <fading> tag

For a message to fade, you need to replace <message> with <fading> in the required format. For example, for the local chat in localizations → language.yml → message.chat.types.local
types:
local: "<delete><display_name><fcolor:3>: <fading>"Localization
Pathlocalizations → language.yml → message.format.fading
fading:
symbol: "▓"symbol
The symbol that the letters in the message are replaced with. Only the first character is used
Setting
Pathmessage.yml → format.fading
fading:
enable: true
hide_different_world: true
min_distance: 10.0
max_distance: 50.0enable
Enables or disables the functionality of the module
hide_different_world
Enables full fading of the message if the distance between the players cannot be determined, for example, they are in different worlds or the recipient is on another server when using a proxy. If disabled, such a message will be displayed in full
min_distance
The distance in blocks up to which the message is displayed in full. While the recipient is closer than this value, nothing is replaced
max_distance
The distance in blocks at which the message fades completely. Between min_distance and max_distance the number of replaced letters grows gradually, the further the recipient is, the fewer letters they will see. Spaces are never replaced
For example, min_distance is 10.0, and max_distance is 50.0. Then a player standing 10 blocks away will see the message in full, at 30 blocks they will see about half of the letters, and at 50 blocks and further they will not see a single letter
Permissions
Pathpermission.yml → message.format.fading
fading:
name: "flectonepulse.module.message.format.fading"
type: "TRUE"
bypass_send:
name: "flectonepulse.module.message.format.fading.bypass_send"
type: "OP"
bypass_view:
name: "flectonepulse.module.message.format.fading.bypass_view"
type: "OP"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 |
bypass_send
Permission for the player's messages not to fade for others
bypass_view
Permission to see other players' messages without fading