Skip to content

Commit 5c464a2

Browse files
authored
Merge pull request #112 from TheNextLvl-net/tweaks.admin
Added "tweaks.admin" permission in build script
2 parents 1f07751 + 68e2394 commit 5c464a2

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

build.gradle.kts

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,19 @@ paper {
6868
}
6969

7070
permissions {
71+
register("tweaks.admin") {
72+
this.default = BukkitPluginDescription.Permission.Default.OP
73+
this.description = "Allows admin access to everything Tweaks offers"
74+
this.children = listOf(
75+
"tweaks.commands.environmental",
76+
"tweaks.commands.item",
77+
"tweaks.commands.player",
78+
"tweaks.commands.server",
79+
"tweaks.commands.workstation",
80+
"tweaks.chat.delete"
81+
)
82+
}
83+
7184
register("tweaks.command.spawn") {
7285
this.default = BukkitPluginDescription.Permission.Default.TRUE
7386
this.description = "Allows players to use the spawn command"

0 commit comments

Comments
 (0)