public final class DefaultPermissions extends Object
Modifier and Type | Method and Description |
---|---|
static void |
registerCorePermissions() |
static Permission |
registerPermission(Permission perm) |
static Permission |
registerPermission(Permission perm,
boolean withLegacy) |
static Permission |
registerPermission(Permission perm,
Permission parent) |
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) |
@NotNull public static Permission registerPermission(@NotNull Permission perm)
@NotNull public static Permission registerPermission(@NotNull Permission perm, boolean withLegacy)
@NotNull public static Permission registerPermission(@NotNull Permission perm, @NotNull Permission parent)
@NotNull public static Permission registerPermission(@NotNull String name, @Nullable String desc)
@NotNull public static Permission registerPermission(@NotNull String name, @Nullable String desc, @NotNull Permission parent)
@NotNull public static Permission registerPermission(@NotNull String name, @Nullable String desc, @Nullable PermissionDefault def)
@NotNull public static Permission registerPermission(@NotNull String name, @Nullable String desc, @Nullable PermissionDefault def, @NotNull Permission parent)
@NotNull public static Permission registerPermission(@NotNull String name, @Nullable String desc, @Nullable PermissionDefault def, @Nullable Map<String,Boolean> children)
@NotNull public static Permission registerPermission(@NotNull String name, @Nullable String desc, @Nullable PermissionDefault def, @Nullable Map<String,Boolean> children, @NotNull Permission parent)
public static void registerCorePermissions()
Copyright © 2022. All rights reserved.