Skip to content

Commit b930e40

Browse files
committed
Updated README.md
1 parent 9f1b8a6 commit b930e40

2 files changed

Lines changed: 13 additions & 12 deletions

File tree

README.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ This is a Bukkit/Spigot plugin for permissions, multiworld features and other ad
1717
## Develpement and Version
1818

1919
API Version: *1.17.x*<br>
20-
Plugin Version: *v2.2*<br>
20+
Plugin Version: *v2.3*<br>
2121
Java Class Version: *52 (Java8)*<br>
2222

2323
## Commands
@@ -30,11 +30,11 @@ Java Class Version: *52 (Java8)*<br>
3030
|inventory|`/inventory [<player>]`|`serversystem.command.inventory`|false|Open the inventory of a player|
3131
|lobby|`/lobby`|`serversystem.command.lobby`|true|Teleport player to lobby|
3232
|permission|`/permission [<player>] [<group>]`|`serversystem.command.permission`|false|Set the permissions of a player|
33-
|setwarp|`/setwarp [name] [<item>] [<global>] [permission]`|`serversystem.command.setwarp`|false|Set a warp location|
34-
|removewarp|`/removewarp [<warp>]`|`serversystem.command.removewarp`|false|Remove a warp location|
3533
|vanish|`/vanish [<player>]`|`serversystem.command.vanish`|false|Allow the player to vanish|
36-
|warp|`/warp [<warp>]`|`serversystem.command.warp`|true|Teleport player to a location|
37-
|world|`/world [action] [<world>] [<player] /world [action] [<world>] [action] [boolean]`|`serversystem.command.world`|false|Teleport player to an other world or edit an other world|
34+
|warp|`[/warp <warp>] [<action>] [<option>] [value]`|`serversystem.command.warp` `serversystem.command.warp.edit`|true|Teleport player to a location|
35+
|world|`/world [<world>] [<action>] [<option>] [value]`|`serversystem.command.world` `serversystem.command.world.edit`|false|Teleport player to an other world or edit an other world|
36+
37+
The commands `world` and `warp` can be used to teleport with `serversystem.command.world` and `serversystem.command.warp`. The edit the warps and worlds use the same command, but with the permissions `serversystem.command.world` and `serversystem.command.warp`.
3838

3939
## Permissions
4040
|Permission|Default|Description|
@@ -45,8 +45,6 @@ Java Class Version: *52 (Java8)*<br>
4545
|`serversystem.command.inventory`|op|Open the inventory of a player|
4646
|`serversystem.command.lobby`|true|Teleport player to lobby|
4747
|`serversystem.command.permission`|false|Set the permissions of a player|
48-
|`serversystem.command.setwarp`|op|Set a warp location|
49-
|`serversystem.command.removewarp`|op|Remove a warp location|
5048
|`serversystem.command.vanish`|op|Allow the player to vanish|
5149
|`serversystem.command.warp`|op|Teleport player to a location|
5250
|`serversystem.command.world`|op|Teleoprt player to other teleport player to an other world or edit an other world|
@@ -112,7 +110,7 @@ hogwarts:
112110
In this example world and world_nether are in the same worldgroup while the world hogwarts has his own separated worldgroup.
113111

114112
### Disable commands and default permissions
115-
You can disable permissions simply by adding the permission to the list. For example, you can disable minecraft default commands by adding its permission.
113+
You can disable permissions simply by adding the permission to the list. For example, you can disable minecraft default commands by adding its permission. Disabled permissions will be removed for each group, even they would get the permission, disabled permissions are overwriting the group permissions! Permissions can't be shortet by using a `*`!
116114

117115
```json
118116
DisabledPermissions:
@@ -143,7 +141,8 @@ Groups:
143141
prefix: '[Moderator] '
144142
permissions:
145143
- serversystem.command.permission
146-
- minecraft.command.*
144+
- minecraft.command.*`
145+
- -bukkit.command.*
147146
admin:
148147
id: 01RankAdmin
149148
color: dark_red
@@ -155,6 +154,8 @@ Groups:
155154
- bukkit.command.*
156155
```
157156

157+
Permissions can be shorted with `*` at the end of the string, which means that all permissions will be added, which starts with this prefix. Permissions can also be removed by adding a `-` at the beginning of the string!
158+
158159
The id of the group is unimportant except for the number in front of the name. The number defines the order of the player in the tabbar. The Rank `04RankSupporter` will be displayed below the `01RankAdmin` but above the `06RankPremium` for example. Make sure you have an empty space after the prefix, otherwise the prefix will be displayed directly in front of the player's name. You can find an example for the tabbar at the end of the document as image.
159160

160161
You can use the colors codes listed in the [Minecraft Wiki](https://minecraft.gamepedia.com/Formatting_codes#Color_codes "Color Codes").

plugin.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
main: serversystem.main.ServerSystem
22
name: ServerSystem
3-
version: 2.2
3+
version: 2.3
44
author: Der_Zauberer
55
api-version: 1.17
66

@@ -34,11 +34,11 @@ commands:
3434
permission: serversystem.command.vanish
3535
warp:
3636
description: Teleport player to a location
37-
usage: /<command> [<warp>]
37+
usage: /<command> <warp>] [<action>] [<option>] [value]
3838
permission: serversystem.command.warp
3939
world:
4040
description: Teleport player to an other world or edit an other world
41-
usage: /<command> [<word>] [<player>]
41+
usage: /<command> [<world>] [<action>] [<option>] [value]
4242
permission: serversystem.command.world
4343
wtp:
4444
description: Teleoprt player to an other world

0 commit comments

Comments
 (0)