aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: f6535899b74bdfac7b9785efe16a14edb1e1c195 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# LeaveCmd
Universal leave command for spigot 1.16+

Instead of players needing to remember /hg leave or /bw leave, they can just use /leave.
The plugin decides what command to use based on the world the player is in.

### Commands / Permissions

| Command            | Description            | Permission        |
|--------------------|------------------------|-------------------|
| `/leave`           | Leave the current game | `leaveCmd.leave`  |
| `/leavecmd reload` | Reload the config      | `leavecmd.relaod` |


### Configuration
`/leave` will match against the first key that is a substring of the wold name.

```yaml
commands:
  "HG-": "hg leave"
```