Package org.bukkit.util.permissions
Class DefaultPermissions
java.lang.Object
org.bukkit.util.permissions.DefaultPermissions
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
static Permission
registerPermission(String name, String desc)
static Permission
registerPermission(String name, String desc, Permission parent)
static Permission
registerPermission(String name, String desc, PermissionDefault def)
static Permission
registerPermission(String name, String desc, PermissionDefault def, Map<String,Boolean> children)
static Permission
registerPermission(String name, String desc, PermissionDefault def, Map<String,Boolean> children, Permission parent)
static Permission
registerPermission(String name, String desc, PermissionDefault def, Permission parent)
static Permission
registerPermission(Permission perm)
static Permission
registerPermission(Permission perm, boolean withLegacy)
static Permission
registerPermission(Permission perm, Permission parent)
-
Method Details
-
registerPermission
-
registerPermission
-
registerPermission
@NotNull public static Permission registerPermission(@NotNull Permission perm, @NotNull Permission parent) -
registerPermission
-
registerPermission
@NotNull public static Permission registerPermission(@NotNull String name, @Nullable String desc, @NotNull Permission parent) -
registerPermission
@NotNull public static Permission registerPermission(@NotNull String name, @Nullable String desc, @Nullable PermissionDefault def) -
registerPermission
@NotNull public static Permission registerPermission(@NotNull String name, @Nullable String desc, @Nullable PermissionDefault def, @NotNull Permission parent) -
registerPermission
-
registerPermission
@NotNull public static Permission registerPermission(@NotNull String name, @Nullable String desc, @Nullable PermissionDefault def, @Nullable Map<String,Boolean> children, @NotNull Permission parent) -
registerCorePermissions
public static void registerCorePermissions()
-