Flectone Logo FlectonePulse

/stream

Command to announce the start of a broadcast

command stream

If a player has permission for the command, they are given a prefix when turning it on/off command stream prefix


🌍 Localization

Path localizations → language.yml → command.stream
stream:
  already: "<color:#ff7171><sprite_or:⁉:gui:icon/chat_modified>You are already streaming"
  not: "<color:#ff7171><sprite_or:⁉:gui:icon/chat_modified>You don't stream"
  prefix_true: "<color:#ff4e4e>⏻</color:#ff4e4e> "
  prefix_false: ""
  url_template: "<color:#ff4e4e>│ <fcolor:2><click:open_url:\"<url>\"><hover:show_text:\"<fcolor:2><url>\"><url></hover></click>"
  format_start: "<br><color:#ff4e4e>│ 🔔 <fcolor:1>Announcement <br><color:#ff4e4e>│<br><color:#ff4e4e>│ <fcolor:1><display_name> started streaming<br><color:#ff4e4e>│<br><urls><br>"
  format_end: "<fcolor:2>★ Thanks for streaming on our server!"
stream:
  already: "<color:#ff7171><sprite_or:⁉:gui:icon/chat_modified>Ты уже включил трансляцию"
  not: "<color:#ff7171><sprite_or:⁉:gui:icon/chat_modified>Ты не включил трансляцию"
  prefix_true: "<color:#ff4e4e>⏻</color:#ff4e4e> "
  prefix_false: ""
  url_template: "<color:#ff4e4e>│ <fcolor:2><click:open_url:\"<url>\"><hover:show_text:\"<fcolor:2><url>\"><url></hover></click>"
  format_start: "<br><color:#ff4e4e>│ 🔔 <fcolor:1>Объявление <br><color:#ff4e4e>│<br><color:#ff4e4e>│ <fcolor:1><display_name> начал трансляцию<br><color:#ff4e4e>│<br><urls><br>"
  format_end: "<fcolor:2>★ Спасибо за трансляцию на нашем сервере!"

already

Message if a player who is already broadcasting tries to start another broadcast

not

Message if a player who is not broadcasting tries to end a broadcast

prefix_true

Prefix of the player who is currently broadcasting

prefix_false

Prefix of a player who has permission to broadcast but is not currently doing so

url_template

Format of each link in the announcement

format_start

Announcement about the start of a broadcast

format_end

Message when a player ends a broadcast


⚙️ Setting

Path command.yml → stream
stream:
  enable: true
  range: "PROXY"
  aliases:
  - "stream"
  destination:
    type: "CHAT"
  cooldown:
    enable: false
  sound:
    enable: true
    volume: 1.0
    pitch: 1.0
    category: "BLOCK"
    name: "minecraft:block.note_block.bell"

enable

Enables or disables the functionality of the module

range

How far in blocks the message will be displayed

ValueExplanation
WORLD_TYPEThe message will be sent only to players who have the permission flectonepulse.world.type.dimension_name
WORLD_NAMEThe message will be sent only to players who have the permission flectonepulse.world.name.world_folder_name
PROXYThe message will be sent to all players on the server and on the Proxy
SERVERThe message will be sent to all players on the server
PLAYERThe message will be sent only to the sender
any number greater than 0, for example range: 100The message will be sent to players whose distance between them and the sender is less than this number. Players must also be in the same world as the sender

aliases

A list of aliases for using the command

ALIASES CAN BE ANYTHING

For example newcommand, newcommand_ru, ban, me etc.

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

cooldown

Usage delay

sound

Sound playback


🔐 Permissions

Path permission.yml → command.stream
stream:
  name: "flectonepulse.module.command.stream"
  type: "OP"
  cooldown_bypass:
    name: "flectonepulse.module.command.stream.cooldown.bypass"
    type: "OP"
  sound:
    name: "flectonepulse.module.command.stream.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

cooldown_bypass

Permission to ignore the cooldown between uses

sound

Permission to use the sound

Last updated on

Edit on GitHub

On this page

Authors of page