protection_settings
Configuration for protection tooling — settings entry.
Entry Information
| Property | Value |
|---|---|
| Entry ID | protection_settings |
| Type | Settings |
| Color | Blue |
| Icon | mdi:shield-cog |
Fields
| Field | Type | Description |
|---|---|---|
inspectRefreshTicks | Var<Int> | Tick delay between inspection updates (minimum 5 ticks) |
inspectBossBarColor | String | BossBar color used during /tw protection inspect |
inspectBossBarOverlay | String | BossBar overlay used during /tw protection inspect |
showDeniedMessages | Var<Boolean> | Display chat messages when a player is denied an action |
deniedMessageChat | Var<Boolean> | Send denied messages to the player's chat |
deniedMessageActionBar | Var<Boolean> | Send denied messages to the action bar |
deniedMessageBossBar | Var<Boolean> | Send denied messages via a temporary boss bar |
customMessageChat | Var<Boolean> | Send custom flag messages to the player's chat |
customMessageActionBar | Var<Boolean> | Send custom flag messages to the action bar |
customMessageBossBar | Var<Boolean> | Send custom flag messages via a temporary boss bar |
messageBossBarDurationTicks | Int | Duration in ticks before boss bar messages disappear (minimum 20 ticks) |
deniedMessageTemplate | String | MiniMessage template for denied action messages. Use {reason} for the raw reason and {reason_line} for ': reason'. |
messageTemplates | ProtectionMessageSettings | Advanced MiniMessage templates used for denied feedback and inspection mode. Supports placeholders documented in the protection guide. |
messages | ProtectionMessages | Configure all in-game messages used by protection tools. Supports MiniMessage formatting and placeholders documented in the Protection guide. |
Usage Example
- entry: protection_settings
name: "Configuration for protection tooling"
inspectRefreshTicks: 0
inspectBossBarColor: ""
inspectBossBarOverlay: ""
showDeniedMessages: false
deniedMessageChat: false
deniedMessageActionBar: false
deniedMessageBossBar: false
customMessageChat: false
customMessageActionBar: false
customMessageBossBar: false
messageBossBarDurationTicks: 0
deniedMessageTemplate: ""
messageTemplates: ""
messages: ""