public final class DefaultPermissions extends Object
@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 © 2021. All rights reserved.