类 DefaultPermissions
java.lang.Object
org.bukkit.util.permissions.DefaultPermissions
-
方法概要
修饰符和类型方法说明static 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)
-
方法详细资料
-
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()
-