
功能特性
- 动态距离逻辑 – 聊天可见性严格基于玩家坐标,营造真实的本地聊天环境。
- 平滑 RGB 文本渐隐 – 随着距离增加,消息以像素为单位逐渐变暗(从白色到深灰色),由十六进制颜色代码驱动。
- 智能渐隐阈值 – 可配置的“起始百分比”选项(例如:在距离的前 20% 内保持消息完全为白色,之后才开始渐隐)。
- 呼喊机制 – 使用
! 前缀将消息广播到更广的区域(默认范围:200 格)。
- 耳语机制 – 使用
# 前缀在极小范围内分享秘密(默认范围:5 格)。
- 沉浸式音效 – 接收普通聊天、呼喊或耳语时会播放特定的声音,以提醒玩家。
- 高级静音系统 – 管理员可以永久或临时(如 10 分钟、1 小时、2 天)禁言玩家。
- 管理员间谍模式 – 拥有权限的工作人员可以切换“间谍模式”,无视距离限制全局阅读所有本地聊天。
- 防刷屏冷却 – 可选的可配置消息间隔冷却计时器,防止聊天被刷屏。
- 1.21 原生支持 – 针对最新 Minecraft 版本进行了全面优化,支持十六进制颜色代码。

指令
- /pchat help – 显示所有可用指令及其描述的完整列表。
- /pchat info – 显示当前插件版本、开发者信息及状态。
- /pchat reload – 即时刷新 config.yml 配置文件以应用更改,无需重启服务器。
- /pchat spy – 切换管理员监听模式,允许工作人员全局监控所有本地对话。
- /pchat mute <player> [time] – 禁止某玩家发送近距离聊天消息。支持永久静音或有时长的静音(例如 1h、30m)。
- /pchat unmute <player> – 解除对某玩家的聊天限制,使其能再次在本地聊天中发言。
- /pchat mutelist – 显示所有当前被禁言玩家的详细列表及其剩余静音时间。
聊天机制(前缀)
- -> ! (大喊) – 显著增加你的聊天半径(默认:200 格),以便让更多玩家看到。
- -> # (低语) – 将你的聊天半径限制在一个极小的区域(默认:5 格),用于私密本地交谈。
权限
- pchat.shout - 允许用户使用大喊机制(默认赋予)。
- pchat.spy - 允许无视距离查看所有消息(默认仅 OP 拥有)。
- pchat.reload - 允许重新加载插件配置(默认仅 OP 拥有)。
使用方法
剧透
将 .jar 文件放入服务器的 plugins 文件夹中。
重启服务器或加载插件。
正常说话只需在聊天栏输入即可。只有处于“默认”范围(15 格)内的玩家才能看到。
若要大喊,在消息开头加上感叹号(例如 !Hello everyone)。这将把范围增加到 50 格。
若要低语,在消息开头加上井号(例如 #psst, look over here)。这将把范围限制为 5 格。
拥有 pchat.spy 权限的管理员,如果超出自然听觉范围,将看到所有以 [Spy] 为前缀的消息。
如果您在 config.yml 中更改了范围或颜色,请使用 /pchat reload 即时应用更改。


Features
- Dynamic Distance Logic – Chat visibility is strictly based on player coordinates, creating a realistic local chat environment.
- Smooth RGB Text Fading – Messages gradually darken (from White to Dark Gray) pixel-by-pixel as the distance increases, powered by Hex color codes.
- Smart Fade Threshold – Configurable "start percentage" option (e.g., keep the message fully white for the first 20% of the distance before it starts fading).
- Shout Mechanic – Broadcast messages to a wider area (default: 200 blocks) using the ! prefix.
- Whisper Mechanic – Share secrets in a very tight radius (default: 5 blocks) using the # prefix.
- Immersive Sound Effects – specific sounds play when receiving normal chat, shouts, or whispers to alert players.
- Advanced Mute System – Moderators can mute players permanently or temporarily (e.g., 10m, 1h, 2d).
- Admin Spy Mode – Staff with permission can toggle "Spy Mode" to read all local chats globally, regardless of distance.
- Anti-Spam Cooldown – Optional configurable cooldown timer between messages to prevent chat flooding.
- 1.21 Native Support – Fully optimized for the latest Minecraft version with Hex color support.

Commands
- /pchat help – Displays a comprehensive list of all available commands and their descriptions.
- /pchat info – Shows current plugin version, developer information, and status.
- /pchat reload – Instantly refreshes the config.yml file to apply changes without a server restart.
- /pchat spy – Toggles Admin Spy Mode, allowing staff to monitor all local conversations globally.
- /pchat mute <player> [time] – Restricts a player from sending proximity messages. Supports permanent mutes or timed durations (e.g., 1h, 30m).
- /pchat unmute <player> – Lifts a chat restriction from a player, allowing them to speak in local chat again.
- /pchat mutelist – Displays a detailed list of all currently restricted players and their remaining mute time.
Chat Mechanics (Prefixes)
- -> ! (Shout) – Increases your chat radius significantly (default: 200 blocks) to reach more players.
- -> # (Whisper) – Limits your chat radius to a very small area (default: 5 blocks) for private local talk.
Permissions
- pchat.shout - Allows the user to use the shouting mechanic (default).
- pchat.spy - Allows seeing all messages regardless of distance (default: op).
- pchat.reload - Allows reloading the plugin configuration (default: op).
How to use
Spoiler
Place the .jar file in the server's plugins folder.
Restart the server or load the plugin.
To speak normally, just type in chat. Only players within the "default" range (15 blocks) will see it.
To SHOUT, start your message with an exclamation mark (e.g., !Hello everyone). This increases the range to 50 blocks.
To WHISPER, start your message with a hashtag (e.g., #psst, look over here). This limits the range to 5 blocks.
Administrators with the pchat.spy permission will see all messages prefixed with [Spy] if they are outside the natural hearing range.
If you change the ranges or colors in the config.yml, use /pchat reload to apply changes instantly.

评论 0
登录后参与评分
还没有评论,来抢沙发吧