Add permission nodes for invitations

This commit is contained in:
Gabriel Tofvesson 2021-09-24 17:50:06 +02:00
parent 02389e84b6
commit 2b2c15773f

View File

@ -60,6 +60,16 @@ spigot {
defaults = "true" defaults = "true"
} }
create("portals.invite") {
description = "Allows inviting players to portals"
defaults = "true"
}
create("portals.invite.other") {
description = "Allows inviting players to another players portal"
defaults = "true"
}
create("portals.list.other") { create("portals.list.other") {
description = "Allows listing other players' portals" description = "Allows listing other players' portals"
defaults = "op" defaults = "op"
@ -121,7 +131,9 @@ spigot {
"portals.list.other" to true, "portals.list.other" to true,
"portals.tp" to true, "portals.tp" to true,
"portals.tp.other" to true, "portals.tp.other" to true,
"portals.modify.*" to true "portals.modify.*" to true,
"portals.invite" to true,
"portals.invite.other" to true
) )
} }
} }