Channel
💬 Custom Staff Chat Channels
You can create and manage private chat channels for staff, admins, or other roles by configuring the channels.yml file. These channels can also be linked to Discord using webhooks for seamless communication.
🧾 Example Configuration
staffchat:
commands:
- staffchat
- sc
name: "&9Staff"
prefix: "&9[Staff] &f"
discord-id: "your_webhook_url"
permission: "easystaff.chat.staff"
adminchat:
commands:
- adminchat
- ac
name: "&cAdmin"
prefix: "&c[Admin] &f"
permission: "easystaff.chat.admin"➕ How to Add a New Channel
To create a custom channel, you need to provide the following fields in the channels.yml file:
name
Formatted name of the channel.
commands
List of commands to toggle this channel.
prefix
Prefix that appears before the message in chat.
permission
Required permission node to toggle and speak in the channel.
discord-id
Webhook URL to link the in-game chat to a specific Discord channel. More info here
⚙️ How It Works In-Game
Use
/channelCommand(e.g.,/sc,/ac) to toggle the channel.If a player has the channel toggled on but lacks the required permission to speak in it, their chat will automatically switch back to global.
You can add multiple command aliases for convenience (e.g.,
sc,staffchat).
Last updated