ChatFlex 图标

ChatFlex

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.0.0
本资源为搬运资源,原资源地址: https://modrinth.com/mod/chatflex
资源信息

Minecraft 版本: 1.21 1.21.1 1.21.2 1.21.3 1.21.4

平台: neoforge

标签: social utility

资源介绍

ChatFlex

Overview

This mod introduces a customizable chat system, allowing server owners to create and manage multiple chat channels with specific settings. The mod can operate with or without the LuckPerms mod, providing flexibility in permissions management.

Key Features

  1. Custom Chat Channels: Define multiple chat channels with unique settings, including:

    • ID: Unique identifier for each channel.
    • Name: Display name of the channel.
    • Format: Customizable message format for the channel.
    • Prefix: Character(s) used to identify the channel when sending messages.
    • Range: The distance (in blocks) that the channel is active. Use -1 for global channels.
    • Permissions: Control access to channels using LuckPerms or OP-level checks.
    • Cooldown: Time in seconds that players must wait before sending another message in the channel.
    • Default Channel: Specify a default channel for messages that do not match any prefix.
  2. LuckPerms Integration:

    • If LuckPerms is available, the mod will use it to manage permissions for each channel.
    • If LuckPerms is not found, the mod defaults to OP-level permission checks.

Configuration

Channels are configured in a JSON file located at config/chatflex/channels.json. The mod will create a default configuration if the file does not exist.

Example Channel Configuration

    [
        {
            "id": "global",
            "name": "Global",
            "format": "§e[G] ${prefix}${player}: ${message}",
            "prefix": "!",
            "range": -1,
            "permission": "",
            "write_permission": "",
            "read_permission": "",
            "priority": 0,
            "cooldown": 0,
            "enabled": true,
            "default_channel": true,
            "worlds": []
        },
        {
            "id": "local",
            "name": "Local",
            "format": "§7[L] ${prefix}${player}: ${message}",
            "prefix": "",
            "range": 100,
            "permission": "",
            "write_permission": "",
            "read_permission": "",
            "priority": 0,
            "cooldown": 0,
            "enabled": true,
            "default_channel": true,
            "worlds": []
        }
    ]

Usage

  • To use a specific channel, simply type the prefix followed by your message. For example:
    • !Hello everyone! for the global chat.
    • Hello local players! for the local chat (if no prefix is specified, it defaults to local).

下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Crazy's Road Mark Pack

价格:0 墨喵币
下载量:0

查看详情
Ennui's Bigger Gambiarra

价格:0 墨喵币
下载量:0

查看详情
Manageable Storage

价格:0 墨喵币
下载量:0

查看详情
The Fake Dweller [Horror]

价格:0 墨喵币
下载量:0

查看详情