summaryrefslogtreecommitdiff
path: root/README.md
blob: 1159ce6614c129fa4a8feb800cb3f0b6e3d14b65 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# BungeeBans

A BungeeCord plugin that allows banning players.

## Building

To build the plugin jar file use `./gradlew shadowJar` on Linux or `gradlew.bat shadowJar` on Windows.

## Permissions & commands

These permissions should be added in the BungeeCord config.yml file and **NOT** on any of the Bukkit/Spigot/whatever servers.

| Permission          | Command                                     | Usage                                              |
|---------------------|---------------------------------------------|----------------------------------------------------|
| bungeebans.ban      | /ban \<username\> [reason]                  | Bans the specified player with an optional reason. |
| bungeebans.banip    | /banip \<ip\> [reason]                      | Bans the specified IP with an optional reason.     |
| bungeebans.unban    | /unban \<username\> or /pardon \<username\> | Unbans the specified player.                       |
| bungeebans.unbanip  | /unbanip \<ip\> or /pardonip \<ip\>         | Unbans the specified IP.                           |
| bungeebans.getban   | /getban \<username\>                        | Displays a player's ban status.                    |
| bungeebans.getipban | /getipban \<ip\>                            | Displays an IP's ban status.                       |