For the complete documentation index, see llms.txt. This page is also available as Markdown.

Configuration

Configuration file: modules/channels.yml

This module translates chat colors based on the user's permissions.

General

modules:
  # This module allows you to create private channels.
  #
  # Channels module loaded from modules/channels.yml
  channels: true
  • modules.channels: Enable/disable the module.


Module

  moderation:
    permission: "tchat.channel.mod"
    format: "&8[&bMod&8] &a%tchat_nick% &7> <message>"
    message-mode: 1
    announce-mode: 2
    limit: 10
  • permission: This is the permission to join and leave the channel <permission>.send: The permission to use /channel send <channel> <message>

  • format: The format for the users inside the channel (or using the send command)

  • message-mode: This option is used to specify which players should receive messages from the channel

  • announce-mode: This option is used to specify which users should receive notifications from the channel (for example, when a user joins the channel)

  • limit: The player limit of the channel

Message & Announce mode

  • 0 -> visible to all online players

  • 1 -> visible to players with channel permission

  • 2 -> visible only to players who are in the channel (/channel join)

  • 3 -> disabled (no one receives the message/announcement)

Last updated