Skip to content

Commit a0be45d

Browse files
committed
Updated plugin version
1 parent ca892eb commit a0be45d

2 files changed

Lines changed: 19 additions & 62 deletions

File tree

README.md

Lines changed: 17 additions & 46 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.0*<br>
20+
Plugin Version: *v2.1*<br>
2121
Java Class Version: *52 (Java8)*<br>
2222

2323
## Commands
@@ -125,36 +125,30 @@ Worldload:
125125
- hogwarts
126126
```
127127

128-
### Groups
128+
### Groups [until v2.1]
129129
The plugin have a permission system. A group have a name, a parent and permissions as a list. If you don't want do use this add nothing to the groups. A group get also all permissions from it's parent.
130130

131131
```json
132132
Groups:
133133
player: ''
134134
moderator:
135+
id: 02RankModerator
136+
color: dark_blue
137+
prefix: '[Moderator] '
135138
permissions:
136-
- serversystem.rank.moderator
137139
- serversystem.command.permission
138140
- minecraft.command.op
139141
admin:
142+
id: 01RankAdmin
143+
color: dark_red
144+
prefix: '[Admin] '
140145
parent: moderator
141146
permissions:
142147
- serversystem.tools.commandblock
143148
- serversystem.command.permission
144-
- serversystem.rank.admin
145-
```
146-
147-
The rank permission is an individual permission set by the ranks. A rank defines the visual representation of a permission.
148-
149-
```json
150-
Ranks:
151-
01RankAdmin:
152-
color: dark_red
153-
prefix: '[Admin] '
154-
permission: serversystem.rank.admin
155149
```
156150

157-
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 choose any name for the permission as long it is the same as the permission in the groups section. We choose `serversystem.rank.admin`. The name of the rank itself is also 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 displayd below the `01RankAdmin` but above the `06RankPremium` for example.
151+
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.
158152

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

@@ -169,6 +163,8 @@ Players:
169163

170164
```
171165

166+
For versions before v2.1 please look at [the old Documentation](https://github.com/Der-Zauberer/ServerSystemPlugin/blob/a0455d4d48d943d94fcb63ee4aa78ef9d2214c06/README.md)
167+
172168
### Worlds
173169
All loaded worlds have own settings. <br>
174170
`exists` used for internal handling, true by default<br>
@@ -244,45 +240,20 @@ Worldload:
244240
Groups:
245241
player: ''
246242
moderator:
243+
id: 02RankModerator
244+
color: dark_blue
245+
prefix: '[Moderator] '
247246
permissions:
248-
- serversystem.rank.moderator
249247
- serversystem.command.permission
250248
- minecraft.command.op
251249
admin:
250+
id: 01RankAdmin
251+
color: dark_red
252+
prefix: '[Admin] '
252253
parent: moderator
253254
permissions:
254255
- serversystem.tools.commandblock
255256
- serversystem.command.permission
256-
- serversystem.rank.admin
257-
Ranks:
258-
01RankAdmin:
259-
color: dark_red
260-
prefix: '[Admin] '
261-
permission: serversystem.rank.admin
262-
02RankModerator:
263-
color: dark_blue
264-
prefix: '[Moderator] '
265-
permission: serversystem.rank.moderator
266-
03RankDeveloper:
267-
color: aqua
268-
prefix: '[Developer] '
269-
permission: serversystem.rank.developer
270-
04RankSupporter:
271-
color: blue
272-
prefix: '[Supporter] '
273-
permission: serversystem.rank.supporter
274-
05RankYouTuber:
275-
color: dark_purple
276-
prefix: '[YouTuber] '
277-
permission: serversystem.rank.youtuber
278-
06RankPremium:
279-
color: gold
280-
prefix: '[Premium] '
281-
permission: serversystem.rank.premium
282-
07RankPlayer:
283-
color: white
284-
prefix: ''
285-
permission: serversystem.rank.player
286257
Worlds:
287258
world:
288259
exists: true

plugin.yml

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

@@ -71,18 +71,4 @@ permissions:
7171
default: false
7272
serversystem.tools.signeddit:
7373
description: Allow to create executable signs
74-
default: op
75-
serversystem.rank.admin:
76-
default: false
77-
serversystem.rank.moderator:
78-
default: false
79-
serversystem.rank.developer:
80-
default: false
81-
serversystem.rank.supporter:
82-
default: false
83-
serversystem.rank.youtuber:
84-
default: false
85-
serversystem.rank.premium:
86-
default: false
87-
serversystem.rank.player:
88-
default: false
74+
default: op

0 commit comments

Comments
 (0)