Broadcaster

Broadcaster

por poggit-archive
No disponible

No funciona (falla al cargar) — Could not load plugin 'Broadcaster_1.5.phar': Invalid plugin manifest: Invalid Plugin "permissions": Nested permission declarations are no longer supported. Declare each permission separately. · Probado en PocketMine-MP 5.50.0 (PHP 8.4.27).

ChatAdministraciónVariospocketmine
4visitas
0descargas

Overview

Broadcaster is an advanced Broadcasting plugin for PocketMine-MP.

With Broadcaster you can set custom message, popup and title broadcasts. You can also send messages with /sm, popups with /sp and titles with /st commands.

This plugin let you also customize colors (you can use the & sign instead of § for text format), prefixes, suffixes and intervals.

New Website: https://flavius12.net/pocketmine-plugins/

Configuration


Available tags for broadcast messages, popups and titles:

- {MAXPLAYERS}: Show the maximum number of players supported by the server

- {TOTALPLAYERS}: Show the number of all online players

- {PREFIX}: Show prefix

- {SUFFIX}: Show suffix

- {TIME}: Show current time

Available tags for /sendmessage, /sendpopup and /sendtitle format:

- {MESSAGE}: Show message

- {MAXPLAYERS}: Show the maximum number of players supported by the server

- {TOTALPLAYERS}: Show the number of all online players

- {PREFIX}: Show prefix

- {PLAYER}: Message receiver

- {SENDER}: Show sender name

- {SUFFIX}: Show suffix

- {TIME}: Show current time

Extra tag for titles:

- {SUBTITLE}: Add subtitle (the text after this tag will be the content of the subtitle)

Prefix

prefix: "&9[&eBroadcaster&9]"

Suffix

suffix: "[A]"

Date\Time format (replaced in {TIME}). For format codes read http://php.net/manual/en/datetime.formats.php

datetime-format: "H:i:s"

Message broadcast

message-broadcast:

Enable message broadcast

enabled: true

Broadcast interval (in seconds)

time: 15

Command /sendmessage format

command-format: "&e[{TIME}] {PREFIX} {SUFFIX} &a{SENDER}&e>&f {MESSAGE}"

Broadcast messages

messages:

  • "&e[{TIME}] {PREFIX}&f 1st message"
  • "&e[{TIME}] {PREFIX}&f 2nd message"
  • "&e[{TIME}] {PREFIX}&f 3rd message"

Popup broadcast

popup-broadcast:

Enable popup broadcast

enabled: true

Popup broadcast interval (in seconds)

time: 15

Popup duration (in seconds)

duration: 5

Command /sendpopup format

command-format: "&a{SENDER}&e>>&f {MESSAGE}"

Popup broadcast messages

messages:

  • "&aWelcome to your server"
  • "&d{TOTALPLAYERS} &eof &d{MAXPLAYERS} &eonline"
  • "&bCurrent Time: &a{TIME}"

Title broadcast

title-broadcast:

Enable title broadcast

enabled: true

Title broadcast interval

time: 30

Command /sendtitle format

command-format: "&d{MESSAGE}"

Title broadcast messages

messages:

  • "&aWelcome to your server!{SUBTITLE}&bGood game!"
  • "&eHello player!" ...

Commands & Permissions

Commands:

/broadcaster - Broadcaster commands (aliases: [bc, broadcast]) /sendmessage <player (* for all players)> - Send message to player(s) (aliases: [sm, smsg]) /sendpopup <player (* for all players)> - Send popup to player(s) (aliases: [sp, spop]) /sendtitle <player (* for all players)> - Send title to player(s) (aliases: [st, stl])

Permissions:

broadcaster.* - Broadcaster permissions tree.

broadcaster.info - Let player read info about Broadcaster.

broadcaster.reload - Let player reload Broadcaster.

broadcaster.sendmessage - Let player send messages to players with /sendmessage command.

broadcaster.sendpopup - Let player send popups to players with /sendpopup command.

broadcaster.sendtitle - Let player send titles to players with /sendtitle command.

API

Almost all our plugins have API access to widely extend their features.

To access Broadcaster API:

  1. Define the plugin dependency in plugin.yml (you can check if Broadcaster is installed in different ways):

depend: [Broadcaster]

  1. Include Broadcaster API in your plugin code:

//Broadcaster API use Broadcaster\Broadcaster;

  1. Access the API by doing:

Broadcaster::getAPI()

Donate

Please support the development of this plugin with a small donation by clicking 💵 here. Your small donation will help me paying web hosting, domains, buying programs (such as IDEs, debuggers, etc...) and new hardware to improve software development. Thank you 😄