> For the complete documentation index, see [llms.txt](https://mdswork.gitbook.io/ragemode-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mdswork.gitbook.io/ragemode-docs/global-game-guides/penalty.md).

# Penalty

**Penalty** is a consequence for players leaving a game while it is running. It involves a fine, points, or another sanction. Fines can only be imposed for playing players, excluding spectator players.

#### Configuration

{% code title="" lineNumbers="true" expandable="true" %}

```yml
penalty:
  leave-during-game:
    points: 0
    money: 0
```

{% endcode %}

`leave-during-game` - Executed when a player leaves during a running state of the game

* `points` - The negative value of points to take from player, leave on 0 for no penalty
* `money` - The amount of money to take from player, must be higher than `> 0`, leave on 0 for no penalty
