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