ServerChannels

ServerChannels

por poggit-archive
No disponible

No funciona (falla al cargar) — Could not load plugin 'ServerChannels_2.3.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).

ChatVariosAdministraciónpocketmine
4visitas
0descargas

Overview

ServerChannels is a powerful chat channelling plugin for PocketMine-MP. You can create highly customizable chat channels on your MC:PE server thanks to this plugin.

Features:

Custom format: customize the channel format with colors and tags

Hidden/Unhidden channels: customize channel visibility (hidden channels messages will be seen only by players who joined that channels, unhidden channels messages will be seen by all players)

Custom channels authentication: create whitelisted channels, protect them with a password or leave them accessible by all players

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

Create and configure a channel

Remember that you must have the "serverchannels.channels." permission to join the channel

  • Run the command "/sch create "

  • Open "channels.yml" file inside plugin configuration folder and open it

This is a channel config file entry:

Channel name

channel_name:

Channel prefix

prefix: "&7[&bExampleChannel&7]"

Channel suffix

suffix: ""

Channel format

Available Tags:

- {MESSAGE}: Show message

- {PLAYER}: Show player name

- {PREFIX}: Show prefix

- {SUFFIX}: Show suffix

- {TIME}: Show current time

- {WORLD}: Show world name

format: "{PREFIX} &7{PLAYER}: &f{MESSAGE}"

Channel visiblity (true if you want that channel messages will be seen by players in the channel only, false if you want that channel messages will be seen by all players)

hidden: false

Channel authentication (0 or "none" = no authentication, 1 or "password" = password authentication, 2 or "whitelist" = whitelisted channel)

auth: "none"

Channel password (this field is ignored unless auth is set to 1 or "password")

password: ""

Channel whitelisted players array (this field is ignored unless auth is set to 2 or "whitelist")

whitelist: []

Configuration (config.yml)


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

datetime-format: "H:i:s"

Log channel messages on console

log-on-console: true

Default channel settings

default-channel:

Enable default (join) channel

enabled: false

Default (join) channel

channel: "users" ...

Commands & Permissions

Commands:

/serverchannels - ServerChannels commands (aliases: [serverch, sch])

/sch info - Show info about this plugin

/sch help - Show help about this plugin

/sch reload - Reload the config

/sch create - Create a new channel

/sch join [password] - Join a channel

/sch leave - Leave the current channel

/sch list - Show the list of all channels

Permissions:

serverchannels.* - ServerChannels permissions.

serverchannels.channels.* - ServerChannels channels permissions.

serverchannels.commands.* - ServerChannels commands permissions.

serverchannels.commands.help - ServerChannels command Help permission.

serverchannels.commands.info - ServerChannels command Info permission.

serverchannels.commands.reload - ServerChannels command Reload permission.

serverchannels.commands.create - ServerChannels command New permission.

serverchannels.commands.join - ServerChannels command Join permission.

serverchannels.commands.leave - ServerChannels command Leave permission.

serverchannels.commands.list - ServerChannels command List permission.

API

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

To access ServerChannels API:

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

depend: [ServerChannels]

  1. Include ServerChannels API in your plugin code:

//ServerChannels API use ServerChannels\ServerChannels;

  1. Access the API by doing:

ServerChannels::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 😄