Add permission nodes for invitations
This commit is contained in:
parent
02389e84b6
commit
2b2c15773f
@ -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
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user