Описание
# What
Control Player is a **server-side** mod that allows players to swap control with another player or take control of Carpet fake players.
When a swap is active, the two players effectively control each other's bodies.The mod also works well with Carpet mod fake players, allowing real players to temporarily control them.
# Why
This mod makes it possible to observe gameplay from another perspective useful when test mechanics using fake players.
# How
## Main command:
```
/controlPlayer
```
### Swap control
Swap control with another player.
```
/controlPlayer swap
```
Permission level: **2**
---
### Release control
Release your current control state.
```
/controlPlayer release
```
If an admin wants to forcibly release another player:
```
/controlPlayer release
```
Permission level for forced release: **2**
---
### List active swaps
Display all currently active control pairs.
```
/controlPlayer list
```
Permission level: **2**
---
### Check control status
Show whether you are currently controlling another player.
```
/controlPlayer status
```
---
---
## Gamerules
### `showControllerPrefix`
Default: `false`
When enabled, the name of the player currently controlling someone will be displayed **after the player's name**.
This helps identify control relationships more easily, especially when multiple swaps are active.
---
### `permissionSwapsToo`
Default: `false`
When enabled, **player permissions will also be swapped together with the bodies**.
Normally, only the **player control / body** is swapped.
With this rule enabled, the **permission level (such as OP level)** will also be exchanged between the two players.
> **Warning:**
> This can be dangerous on servers, as it may temporarily grant elevated
> permissions to another player.