Skip to content

Chat

Local and global chat channels across worlds, MiniMessage group formatting (admin/mod/vip), interactive [item]/[inv]/[ender] placeholders, @mention alerts, anti-caps/anti-duplicate/cooldown/swear filters, scheduled announcements, and configurable death coordinates toggle (death.show-coordinates: false).

Summary

  • Plugin: ZellysNexus
  • Configuration file: modules/chat/config.yml
  • Default enabled state: true
  • Commands: /zn chat [menu|shout [on|off]|toggle [on|off]|mentions [on|off]|clear|mute]
  • Permissions: zn.chat.toggle (everyone), zn.chat.shout, zn.chat.admin.clear, zn.chat.admin.mute, zn.chat.color, zn.chat.minimessage, zn.chat.bypass.cooldown, zn.chat.bypass.mute, zn.chat.bypass.clear (operators)
  • Chat formatting tags: zn.chat.color allows colors, decorations (<bold>, <italic> and similar) and <reset> in a player's message; zn.chat.minimessage also allows <gradient>, <rainbow> and <transition>. Click, hover, insertion, font, NBT, selector, score, keybind, translation and newline tags always show as plain text.
  • Interfaces (Menus / Dialogs / Bedrock Forms): Chat menu rendered via Paper Dialog (/zn chat) or Floodgate Bedrock form.
  • Storage: modules/chat/config.yml (channel toggle and mute state live in memory)

Limits and verification status

channels.shout-permission is enforced for the ! shout prefix and /zn chat shout (falls back to zn.chat.shout). Dynamic placeholders (player names, clan names and tags, groups, worlds, world aliases, mentions, and join/ban/whitelist variables) are substituted as unparsed literal text so embedded MiniMessage tags are never evaluated.

Configuration keys (modules/chat/config.yml)

Key Type Default Description
enabled boolean true Module switch; requires a restart
channels.default-channel string local Default channel for players
channels.local-radius integer 100 Radius of local chat
channels.shout-prefix string ! Prefix that sends a message to the whole server
channels.shout-permission string zn.chat.shout Permission node enforced for the ! shout prefix and /zn chat shout (falls back to zn.chat.shout)
formatting.local-format string <gray>[L] <prefix><player><suffix><gray>: <white><message> MiniMessage format for local chat
formatting.global-format string <gold>[G] <prefix><player><suffix><gray>: <white><message> MiniMessage format for global chat
formatting.player-hover list [<gold><bold><player></bold></gold>, <gray>Rank: <yellow><group></yellow>, <gray>Ping: <green><ping>ms</green>, <gray>World: <aqua><world></aqua>, , <yellow>Click to send a private message.] Tooltip on player names
formatting.player-click.action string SUGGEST_COMMAND Click action on player names
formatting.player-click.value string /msg <player> Click action value
formatting.groups.admin.priority integer 100 Group priority
formatting.groups.admin.permission string zn.chat.group.admin Group permission
formatting.groups.admin.local-format string <red>[L-Admin] <prefix><player><suffix><dark_gray> » <white><message> MiniMessage local chat template for the admin group
formatting.groups.admin.global-format string <dark_red>[G-Admin] <prefix><player><suffix><dark_gray> » <white><message> Admin global chat format
formatting.groups.admin.player-hover list [<dark_red><bold>ADMINISTRATOR</bold></dark_red>, <gray>Player: <white><player></white>, <gray>Rank: <red><group></red>, <gray>Ping: <green><ping>ms</green>, , <yellow>Click to suggest /msg] Group tooltip
formatting.groups.admin.player-click.action string SUGGEST_COMMAND Click action on admin player names (e.g. SUGGEST_COMMAND)
formatting.groups.admin.player-click.value string /msg <player> Admin click action value
formatting.groups.mod.priority integer 80 Match priority for moderator group chat formatting
formatting.groups.mod.permission string zn.chat.group.mod Mod group permission
formatting.groups.mod.local-format string <dark_purple>[L-Mod] <prefix><player><suffix><dark_gray> » <white><message> MiniMessage local chat template for the mod group
formatting.groups.mod.global-format string <light_purple>[G-Mod] <prefix><player><suffix><dark_gray> » <white><message> Mod global chat format
formatting.groups.vip.priority integer 50 Match priority for VIP group chat formatting
formatting.groups.vip.permission string zn.chat.group.vip VIP group permission
formatting.groups.vip.local-format string <gold>[L-VIP] <prefix><player><suffix><gray> » <white><message> MiniMessage local chat template for the VIP group
formatting.groups.vip.global-format string <yellow>[G-VIP] <prefix><player><suffix><gray> » <white><message> VIP global chat format
placeholders.item.enabled boolean true [item] and [i]
placeholders.inventory.enabled boolean true [inv]
placeholders.inventory.format string <gold>[Inventory]</gold> Inventory placeholder format
placeholders.inventory.hover string <yellow>Click to inspect inventory</yellow> Hover text
placeholders.inventory.command string /zn inventory see <player> Click command
placeholders.enderchest.enabled boolean true [ender]
placeholders.enderchest.format string <light_purple>[EnderChest]</light_purple> Ender chest placeholder format
placeholders.enderchest.hover string <yellow>Click to inspect ender chest</yellow> Hover text
placeholders.enderchest.command string /zn inventory endersee <player> Click command
mentions.enabled boolean true Player mentions
mentions.format string <yellow><bold>@<target></bold></yellow> Mention format
mentions.sound.enabled boolean true Sound on mention
mentions.sound.type string block.note_block.bell Sound type
mentions.sound.volume number 1.0 Sound volume
mentions.sound.pitch number 1.5 Sound pitch
mentions.actionbar.enabled boolean true Action bar notification
mentions.actionbar.message string <yellow><bold><player></bold> mentioned you in chat!</yellow> Notification text
moderation.cooldown-seconds number 1.5 Chat cooldown
moderation.cooldown-bypass-permission string zn.chat.bypass.cooldown Bypass permission
moderation.anti-duplicate.enabled boolean true Block repeated messages
moderation.anti-caps.enabled boolean true Block excessive caps
moderation.anti-caps.min-message-length integer 6 Minimum length for the caps check
moderation.anti-caps.max-caps-percent integer 60 Maximum share of capital letters
moderation.swear-filter.enabled boolean false Swear filter
moderation.swear-filter.block-message boolean false Block instead of censoring
moderation.swear-filter.censor-replacement string **** Censoring replacement
moderation.swear-filter.blocked-words list [] Blocked word list
announcements.enabled boolean false Scheduled announcements
announcements.interval-seconds integer 180 Interval between announcements
announcements.prefix string <gold><bold>Nexus</bold></gold> <dark_gray>»</dark_gray> Announcement prefix
announcements.messages list [<gray>Remember to protect your land with <yellow>/zg</yellow>!</gray>, <gray>Need help? Check out <green>/help</green> or contact staff.</gray>, <gray>Visit our community Discord to join weekly events!</gray>] Rotating messages
death.show-coordinates boolean false Include death coordinates in player death announcements