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