mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2024-11-30 22:53:27 +01:00
Add temporary modifier to the argument list for permission/parent settemp (#1817)
This commit is contained in:
parent
6df64a29dc
commit
500385cd3e
@ -229,6 +229,7 @@ public enum CommandSpec {
|
|||||||
Argument.create("node", true, "the permission node to set"),
|
Argument.create("node", true, "the permission node to set"),
|
||||||
Argument.create("true|false", false, "the value of the node"),
|
Argument.create("true|false", false, "the value of the node"),
|
||||||
Argument.create("duration", true, "the duration until the permission node expires"),
|
Argument.create("duration", true, "the duration until the permission node expires"),
|
||||||
|
Argument.create("temporary modifier", false, "how the temporary permission should be applied"),
|
||||||
Argument.create("context...", false, "the contexts to add the permission in")
|
Argument.create("context...", false, "the contexts to add the permission in")
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
@ -291,6 +292,7 @@ public enum CommandSpec {
|
|||||||
Argument.list(
|
Argument.list(
|
||||||
Argument.create("group", true, "the group to inherit from"),
|
Argument.create("group", true, "the group to inherit from"),
|
||||||
Argument.create("duration", true, "the duration of the group membership"),
|
Argument.create("duration", true, "the duration of the group membership"),
|
||||||
|
Argument.create("temporary modifier", false, "how the temporary permission should be applied"),
|
||||||
Argument.create("context...", false, "the contexts to inherit the group in")
|
Argument.create("context...", false, "the contexts to inherit the group in")
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
|
Loading…
Reference in New Issue
Block a user