/StaffChatPE2

The Official StaffChat plugin for Pocketmine, supporting Latest PMMP builds.

Primary LanguagePHPMIT LicenseMIT

StaffChatPE

StaffChatPE plugin for PocketMine-MP

Category

PocketMine-MP plugins

Requirements

PocketMine-MP Alpha_1.5 API: ALPHA9-ALPHA10

Overview

StaffChatPE allows you to chat with staff members on the server.

This Plugin uses the New API. You can't install it on old versions of PocketMine.

Commands:

/staffchatpe - StaffChatPE commands

**To-Do:**

*- Bug fix (if bugs will be found)*

Documentation

Colors:

Black ("&0");
Dark Blue ("&1");
Dark Green ("&2");
Dark Aqua ("&3");
Dark Red ("&4");
Dark Purple ("&5");
Gold ("&6");
Gray ("&7");
Dark Gray ("&8");
Blue ("&9");
Green ("&a");
Aqua ("&b");
Red ("&c");
Light Purple ("&d");
Yellow ("&e");
White ("&f");

Special:

Obfuscated ("&k");
Bold ("&l");
Strikethrough ("&m");
Underline ("&n");
Italic ("&o");
Reset ("&r");

Add and configure a channel:

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

  1. Run the command "/sc new "
  2. Go to "StaffChatPE/channels" directory and open the channel config file
    This is a channel config file:
---
#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}"
#If you set this to false, only players joined in this channel can display messages
public: true
...

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
...

Commands:

/staffchatpe - ServerChannels commands (aliases: [sc])
/sc info - Show info about this plugin
/sc help - Show help about this plugin
/sc reload - Reload the config
/sc list - Show the list of all channels
/sc join <channel> - Join a channel
/sc leave - Leave the current channel
/sc new <channel> - Create new channel

Permissions:

  • staffchat.*
  • staffchat.*
  • staffchat.*
  • staffchat..help
  • staffchat.info
  • staffchat.reload
  • staffchat.list
  • staffchat.join
  • staffchat.leave
  • staffchat.new