Flectone Logo FlectonePulse

Automatic

Server messages sent at specific intervals

auto

🌍Localization

Path localizations → language.yml → message.auto
auto:
  types:
    announcement:
    - "<br><fcolor:1>◇ This server uses <click:open_url:\"https://flectone.net/pulse/\"><hover:show_text:\"<fcolor:2>https://flectone.net/pulse/\"><fcolor:2>FlectonePulse</hover></click> :)<br>"
    - "<br><fcolor:1>      ❝ Join our discord ❠ <br><fcolor:2>   <u><click:open_url:\"https://discord.flectone.net\"><hover:show_text:\"<fcolor:2>https://discord.flectone.net\">https://discord.flectone.net</hover></click></u><br>"
    - "<br><fcolor:1>⚡ Support <fcolor:2>FlectonePulse <fcolor:1>on Boosty <br><fcolor:1>⚡ <u><click:open_url:\"https://boosty.to/thefaser/\"><hover:show_text:\"<fcolor:2>https://boosty.to/thefaser/\">https://boosty.to/thefaser/</hover></click></u><br>"
    - "<br><fcolor:1>      ✉ Join our telegram ✉ <br><fcolor:2>    <u><click:open_url:\"https://t.me/flectone\"><hover:show_text:\"<fcolor:2>https://t.me/flectone\">https://t.me/flectone</hover></click></u><br>"
auto:
  types:
    announcement:
    - "<br><fcolor:1>◇ Сервер использует <click:open_url:\"https://flectone.net/pulse/\"><hover:show_text:\"<fcolor:2>https://flectone.net/pulse/\"><fcolor:2>FlectonePulse</hover></click> :)<br>"
    - "<br><fcolor:1>      ❝ Заходи в дискорд ❠<br><fcolor:2>    <u><click:open_url:\"https://discord.flectone.net\"><hover:show_text:\"<fcolor:2>https://discord.flectone.net\">https://discord.flectone.net</hover></click></u><br>"
    - "<br><fcolor:1>⚡ Поддержи <fcolor:2>FlectonePulse <fcolor:1>на Boosty <br><fcolor:1>⚡ <u><click:open_url:\"https://boosty.to/thefaser/\"><hover:show_text:\"<fcolor:2>https://boosty.to/thefaser/\">https://boosty.to/thefaser/</hover></click></u><br>"
    - "<br><fcolor:1>   ✉ Заходи в телеграм ✉ <br><fcolor:2>    <u><click:open_url:\"https://t.me/flectone\"><hover:show_text:\"<fcolor:2>https://t.me/flectone\">https://t.me/flectone</hover></click></u><br>"

types

Types of automatic messages with a list

⚙️Setting

Path message.yml → auto
auto:
  enable: false
  types:
    announcement:
      random: true
      destination:
        type: "CHAT"
      ticker:
        enable: true
        period: 9000
      sound:
        enable: false

enable

Enables or disables the functionality of the module

types

Types of automatic messages

YOU CAN CREATE YOUR OWN
types:
newauto:
random: true
destination:
type: "CHAT"
ticker:
enable: true
period: 9000
sound:
enable: false
  • random

    If enabled, messages will be selected randomly; otherwise, they will be selected in order.

  • destination

    Where the message will be sent

    TypeExplanationRequires additional configuration?
    ACTION_BARMessage above the player's inventoryYes
    BOSS_BARMessage at the top of the screenYes
    BRANDMessage in F3No
    CHATMessage in chatNo
    TEXT_SCREENMessage anywhere on the screenYes
    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

    To change this, replace the value type: here and restart FlectonePulse using the /flectonepulse reload command; additional settings will appear AUTOMATICALLY

    Change

    Replace the value type: here

    Restart FlectonePulse using the /flectonepulse reload command

    Additional parameters for delay settings will appear automatically

  • ticker

    Updating every specific interval of time

    How to use the ticker?

    Replace false with true

    Restart FlectonePulse using the command /flectonepulse reload

    Additional parameters for configuring the delay will appear automatically

    enable

    Whether to update

    period

    How often to update, measured in ticks

  • sound

    Sound playback

    Usage

    Replace false with true

    Restart FlectonePulse using the command /flectonepulse reload

    Additional parameters for sound configuration will appear automatically

    sound:
      enable: true
      volume: 1.0
      pitch: 1.0
      category: "HOSTILE"
      name: "minecraft:entity.llama.spit"

    Parameters

    FieldTypeExplanation
    enablebooleanEnables sound playback
    volumefloatSound volume from 0 to 1.0
    pitchfloatSound pitch from 0 to 1.0
    categoryStringCategory from MASTER, MUSIC, RECORD, WEATHER, BLOCK, HOSTILE, NEUTRAL, PLAYER, AMBIENT, VOICE
    nameStringSound name, for example minecraft:entity.llama.spit

🔐Permissions

Path permission.yml → message.auto
auto:
  name: "flectonepulse.module.message.auto"
  type: "TRUE"
  types:
    announcement:
      name: "flectonepulse.module.message.auto.sound"
      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

types

Types of automatic messages and their sound permissions

  • sound

    Permission to use the sound

Last updated on

Edit on GitHub

On this page

Authors of page