Flectone Logo FlectonePulse

Bubble

Module responsible for messages above the head

bubble

Idea taken from LightChatBubbles

Duration formula

long duration = (countWords + handicapChars) / readSpeed * 60;

🌍 Localization

Path localizations → language.yml → message.bubble
bubble:
  format: "<fcolor:3><message>"
bubble:
  format: "<fcolor:3><message>"

format

Format of the message above the head


⚙️ Setting

Path message.yml → bubble
bubble:
  enable: true
  visible_to_self: true
  max_count: 3
  max_length: 30
  elevation: 0.4
  distance: 30.0
  read_speed: 90.0
  handicap_chars: 10.0
  word_break_hint: "‑"
  interaction:
    enable: true
    height: 0.4
  modern:
    enable: true
    has_shadow: false
    see_through: true
    animation_time: 5
    scale: 1.0
    background: "#00000040"
    billboard: "CENTER"
  ticker:
    enable: true
    period: 5

enable

Enables or disables the functionality of the module

visible_to_self

Whether the message sender will see their own message above their head

max_count

Maximum number of overhead messages simultaneously

max_length

Maximum length of a single overhead message. If the text is longer, it will be split into several

elevation

How high above the head the message will be

distance

How far away a player's overhead message can be seen

read_speed

Reading speed in words per minute

handicap_chars

Extra time for short messages

word_break_hint

A hint symbol placed when a word is broken into two lines

interaction

Allows changing the distance between messages from each other, otherwise the legacy area effect cloud is used

Warning

This will only be used for servers with version 1.21.3 and higher

modern

Overhead messages via Text Display

Warning

This will only be used for servers with version 1.19.4 and higher

ticker

Updating every specific interval of time


🔐 Permissions

Path permission.yml → message.bubble
bubble:
  name: "flectonepulse.module.message.bubble"
  type: "TRUE"

name

Permission name

type

Permission type

TypeExplanation
TRUEAvailable to any player
FALSEAvailable to no one, must be granted separately (e.g., using LuckPerms)
OPAvailable to server operators
NOT_OPAvailable to NON-operators of the server

Last updated on

Edit on GitHub

On this page

Authors of page