Skip to content

Prevent Chat (Power Type)

Zac edited this page Nov 11, 2026 · 1 revision

Power Type


Conditionally prevents the usage of chat and/or commands.

originscontent:prevent_chat

Fields

Field Type Default Description
prevent_chat Boolean true Whether to prevent sending chat messages.
prevent_command Boolean false Whether to prevent sending commands.

Examples

{
  "type": "originscontent:prevent_chat",
  "condition": {
    "type": "origins:gamemode",
    "gamemode": "spectator"
  }
}

This example will prevent the use of chat if the player is in spectator.

Clone this wiki locally