
ZStaffChatPro
The most powerful and customizable staff chat plugin for your server!
Список изменений
New Features:
-
Separate Discord Config — Discord configuration has been moved from
config.ymlto a dedicateddiscord.ymlfile for better organization. The new file has 4 clear top-level sections:webhook,webhook-activity-log,bot, andbot-activity-log. -
Stafflist AFK/Vanish Suffix — Added
stafflist-afk-suffixandstafflist-vanished-suffixto messages.yml, allowing status indicators to be displayed after player names (in addition to the existing prefix options). -
Chat Filter (Anti-Bad-Words) — Added a configurable chat filter in a dedicated
filter.ymlfile. Supports two modes:censor(replaces matched words with configurable replacements for Minecraft and Discord separately) andblock(prevents the message entirely). Supports plain word list with automatic word-boundary matching and raw regex patterns. Players with the bypass permission (zstaffchat.filter.bypass) skip filtering. -
Global Channel Toggle — Added
/zstaffchat toggle <channel>command to globally enable/disable channels. State persists toconfig.yml(survives restarts). Disabled channels block all messages (commands, chat prefixes, toggle mode) and show a configurablechannel-disabledmessage. Requireszstaffchat.togglepermission. Tab completion for channel IDs included. -
Grouped Stafflist Mode — Added
stafflist-modeconfig option (defaultorgrouped). Grouped mode displays rank as a title with players listed individually below, instead of comma-separated on one line. Fully customizable viastafflist-group-titleandstafflist-group-playerin messages.yml.
Improvements:
- Reduced config.yml size by ~250 lines (51% smaller) by moving Discord config to discord.yml
- Discord config now has its own version tracking (
discord-version) - Added /zscp command alias on all platforms
- Added
{prefix}placeholder support in all messages.yml messages — plugin prefix is no longer hardcoded, users can move or remove it from any message - Added Chat Filter status to startup message and
/zstaffchat aboutoutput on all platforms - Added Bridge Addon connection status to
/zstaffchat abouton proxy platforms (shows connected server names) - Added Discord bot name, owner, and server/guild name to
/zstaffchat aboutoutput (shows which bot is connected, who owns it, and to which Discord server) - Added
{server}and{server_alias}placeholder support in Discord bot and webhook message formats (text, embeds, footer, etc.) - Added
{server_alias}placeholder support in channel format (previously only{server}was available) - Empty
{server}placeholders now auto-clean surrounding brackets[]/()and double spaces - Removed dead code: unused methods, interface stubs, redundant logic across the codebase
Bug Fixes:
- Fixed hex colors ({#RRGGBB}) and gradients not working on BungeeCord — all commands and chat messages now use ColorUtil instead of ChatColor.translateAlternateColorCodes
- Fixed Kotlin compiler warnings: deprecated
description.version→pluginMeta.versionon Folia, unused event parameters on Velocity, redundant elvis operator in Folia AfkListener, unused parameter and redundant initializer in ConfigManager - Fixed
{server}placeholder not working in Discord bot/webhook messages (was missing from placeholder map) - Fixed player not seeing their own join/leave activity messages on proxy (BungeeCord/Velocity) — players without a backend server at login time were being skipped
- Fixed empty
{server}placeholder leaving extra spaces in channel format messages
