Skip to content

Commit

Permalink
Add independent Staff mode permission
Browse files Browse the repository at this point in the history
  • Loading branch information
Angelillo15 committed Jun 16, 2024
1 parent 22b3fef commit 64597a5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ public final class Permissions {
* instead of a {@link PlayerWrapper}.
*/
public static final String STAFF_PERMISSION = "nookure.staff";
/**
* Permission to use the staff mode.
* This permission is required to use the staff mode.
*/
public static final String STAFF_MODE_PERMISSION = "nookure.staff.mode";
/**
* Permission to use the admin commands.
* This permission is required to use any admin command.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
@CommandData(
name = "staff",
description = "Main command for staff",
permission = Permissions.STAFF_PERMISSION
permission = Permissions.STAFF_MODE_PERMISSION
)
public class StaffModeCommand extends StaffCommand {
@Override
Expand Down

0 comments on commit 64597a5

Please sign in to comment.