---
description: >-
  Remember that for each command you need specific permissions, you will find
  them in the next section. All commands here are available in Jails+, but not
  Jails.
---

# Commands

### Jails and Jails+ Commands Guide

#### How can I set a Jail?

You can do this through the main command:

```yaml
/jails set jail <name> for jails+ or /jails setjail <name> for jails
```

> Stand where you want the jail to be and execute this command in chat.

#### How can I jail a player?

You can do this through the main command:

```
/jails jail <player> <jailname> <reason>
```

> Executes this command to jail the specified player and send them to the jail location previously set.

#### How can I ip-jail a player?

You can do this through the main command:

```
/jails ipjail <player> <jail name> [reason] [duration] (duration is optional here)
```

> Jails a player and all accounts with the same IP address

How can I see the available jails list?

You can do this through the main command:

```
/jails list jails
```

> Displays a list of all available jails.

#### How can I unjail a jailed player?

You can do this through the main command:

```
/jails unjail <jailed_player_name>
```

> Executes this command to unjail the specified player.

#### How can I check the duration of a jailed player?

You can do this through the main command:

```
/jails duration <player>
```

> Displays the remaining jail duration for the specified player.

#### How can I temporarily jail a player?

You can do this through the main command:

```
/jails tempjail <player> <jailname> <duration> <reason>
```

> Temporarily jails a player and automatically releases them after the specified duration. **\[Recommended for most servers]**

#### How can I delete a Jail?

You can do this through the main command:

```
/jails delete jail <jail_name> for jails+ or /jails deljail <jail_name> for jails
```

> Permanently deletes the specified jail.&#x20;

#### How can I see and manage jailed players?

You can do this through the main command:

```
/jails list prisoners
```

> Opens a GUI showing the list of jailed players, allowing you to manage them.

#### How can I set where a player will be sent after getting unjailed?

You can do this through the main command:

```
/jails spawn <player> <world_spawn | original_location>
```

> Determines the player's spawn location after release. **original\_location** refers to the player's location before being jailed.

#### How can I handcuff a player?

You can do this through the main command:

```
/jails handcuff <player>
```

> Applies handcuffs to the specified player, giving them **Slowness** and **Darkness** effects.

#### How can I remove the handcuffs from a player?

You can do this through the main command:

```
/jails unhandcuff <player>
```

> Removes handcuffs from the specified player.

#### How can I select the corners for a flag?

To select the corners for a flag, you can use the following command to get the **Jail Wand**:

```
/jails wand
```

After executing this command, use the /jailsetflag command to set a flag!

#### How can I set a flag?

You can do this through the main command:

```
/jails set flag <name>
```

> Sets a flag for the defined **pos1** and **pos2** from the selection tool.

#### How can I delete a flag?

You can do this through the main command:

```
/jails delete flag <name>
```

> Permanently deletes the specified flag.

#### How can I see the available flags list?

You can do this through the main command:

```
/jails list flag
```

> Displays a list of all available flags.

#### How can I preview the borders of a flag?

You can do this through the main command:

```
/jails flagpreview <flag name>
```

> Previews the borders of a flag using particles.

#### How can i check for updates in-game?

You can do this through the main command:

```
/jails version
```

> Checks for updates

#### How can I set a bail amount for a jailed player?

You can do this through the main command:

```
/jails bail set
```

> #### Sets a bail amount for jailed players

#### How can I access or navigate through the bailable jailed players?

You can do this through the main command:

```
/jails bail gui
```

> Opens a GUI with bailable jailed players.

#### How can I remove a jailed player from the bail system?

You can do this through the main command:

```
/jails bail remove
```

> Removes a jailed player from the bail list.

#### How can I reload the configuration without restarting the server?

You can do this through the main command:

```
/jails reload
```

> Reloads the plugin's configuration.

#### How can I get the list of commands in-game and help?

You can do this through the main command:

```
/jails help
```

> Displays a list of commands along with their descriptions in-game.
