# Freezing

### commands

| Command           | Description              |
| ----------------- | ------------------------ |
| /freeze \<player> | Toggle freezing a player |

### Permissions

View [permissions](/permissions-and-commands/permissions.md) page

### Config

```yaml
freeze-module:
    # Enable this module
    enabled: true
    chatchannels:
      enabled: false
    # Whether or not a player can chat while frozen.
    chat: true
  
    # Whether or not a player is able to damage or be damaged while frozen.
    damage: false
  
    # The interval, in seconds, at which a frozen player will be reminded that they are frozen.
    # Disable by setting to zero.
    timer: 5
  
    # The sound that is played to the player when warned.
    # Set to "NONE" to disable.
    sound: ORB_PICKUP
  
    # Whether or not a GUI prompt will open up with a paper containing the freeze message.
    prompt: false
  
    # The title of the frozen prompt GUI.
    prompt-title: "&bFrozen"
    
    # A comma separated list of commands that should be 
    # executed when a players disconnected while he is frozen
    logout-commands: "ban %player%"
    
    # Determines if a player will see a title on his screen when frozen
    # The title message can be changed through the lang files (freeze-title, freeze-subtitle properties)
    title-message-enabled: true
    
    # Commands that are allowed when a player is frozen
    # By default a player can not execute any command while frozen
    allowed-commands: 
      - login
      - tpa
      
    # command hooks for freeze/unfreeze
    freeze-commands: []
    unfreeze-commands: []
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://wiki.staffplusplus.org/features/freezing.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
