Configuration

Configuration file: modules/groups.yml

General

modules:
  # Allows you to configure prefixes, suffixes, formats, and other options by permission-based groups
  #
  # Group module loaded from modules/groups.yml
  group: true
  • modules.group: Enable/disable the full module

Module

Example group:

groups:
  example: #<-- Group name
    permission: tchat.group.example #<-- Example permission
    priority: 1 #<-- Group priority
    prefix: "" #<-- This group don't have a prefix
    suffix: "" #<-- This group don't have a suffix
    format: "%tchat_prefix% <gray> %tchat_nick% </gray> <yellow>></yellow> <white><message></white>" #<-- Example format
  • groups.example: The group name (id).

  • groups.example.permission: The group permission (you can use any other permission, you don't need to use tchat.group.X).

  • groups.example.priority: The priority (1 > 2), If a user has permission for the owner group and also has permission for the admin group, but owner has priority 1 and admin has priority 2, the user will have the owner group.

  • groups.example.prefix: The group prefix (%tchat_prefix%), to disable it, leave the section empty.

  • groups.example.suffix: The group suffix (%tchat_suffix%), to disable it, leave the section empty.

  • groups.example.format: The group format, to disable it, leave the section empty (So that group will use the global format from config.yml). - Use <message> to replace it with the player's message. - You can use MiniMessage to add Tooltip and hover actions.

Last updated