mirror of
https://github.com/PurpurMC/Purpur.git
synced 2026-02-17 08:27:43 +01:00
Add permission for F3+N debug
This commit is contained in:
committed by
granny
parent
cf1fca8846
commit
417ddf761e
@@ -29,6 +29,8 @@ public final class PurpurPermissions {
|
||||
public static Permission registerPermissions() {
|
||||
Permission purpur = DefaultPermissions.registerPermission(ROOT, "Gives the user the ability to use all Purpur utilities and commands", PermissionDefault.FALSE);
|
||||
|
||||
DefaultPermissions.registerPermission(PREFIX + "debug.f3n", "Allows the user to use F3+N keybind to swap gamemodes", PermissionDefault.FALSE, purpur);
|
||||
|
||||
Permission ride = DefaultPermissions.registerPermission("allow.ride", "Allows the user to ride all mobs", PermissionDefault.FALSE, purpur);
|
||||
for (String mob : mobs) {
|
||||
DefaultPermissions.registerPermission("allow.ride." + mob, "Allows the user to ride " + mob, PermissionDefault.FALSE, ride);
|
||||
|
||||
Reference in New Issue
Block a user