メインコンテンツまでスキップ

Chat Format

Format chat messages based on player groups

フィールド

フィールド型デフォルト説明
fallbackFormatString<player>: <message>Format used when no group matches the playerプレースホルダー
groupsList<GroupRule>emptyFormatting rules applied based on player permissions
GroupRule(3)
フィールド型デフォルト説明
permissionString?—Permission needed for players to use this rule
priorityInt0Higher priority rules override lower ones
formatString<player>: <message>Format applied to players in this groupプレースホルダー
generalPermissionString?—Permission required to use any chat format

How to use it​

The format is MiniMessage. Use <player> (the player name), <player_display> (the display name) and <message>; {player} and {message} are also accepted. The message itself is inserted as a component, so a player cannot inject tags or placeholders through it.

For each message the extension picks, among the groups whose permission the player has (an empty permission matches everyone), the one with the highest priority. If none matches, fallbackFormat is used. If generalPermission is set, players without it cannot chat. Use a single Chat Format entry.