Class PermissionConfig

java.lang.Object
de.z0rdak.yawp.config.server.PermissionConfig

public class PermissionConfig extends Object
  • Field Details

    • CONFIG_SPEC

      public static final net.minecraftforge.common.ForgeConfigSpec CONFIG_SPEC
    • CONFIG_NAME

      public static final String CONFIG_NAME
      See Also:
    • PERMISSION_CONFIG_LOGGER

      public static final org.apache.logging.log4j.Logger PERMISSION_CONFIG_LOGGER
  • Constructor Details

    • PermissionConfig

      public PermissionConfig()
  • Method Details

    • UUIDsWithPermission

      public static Set<String> UUIDsWithPermission()
    • isReadOnlyAllowed

      public static boolean isReadOnlyAllowed()
    • isCmdEnabledForNonOp

      public static boolean isCmdEnabledForNonOp()
    • allowRegionTp

      public static boolean allowRegionTp()
    • isMarkerCreationEnabled

      public static boolean isMarkerCreationEnabled()
    • isHierarchyOwnershipEnabled

      public static boolean isHierarchyOwnershipEnabled()
    • isCommandBlockExecutionAllowed

      public static boolean isCommandBlockExecutionAllowed()
    • getRequiredOpLevel

      public static int getRequiredOpLevel()
    • byPassFlagAllowed

      public static boolean byPassFlagAllowed()
    • hasConfigPermission

      public static boolean hasConfigPermission(net.minecraft.world.entity.player.Player player)
    • hasUUIDConfigEntry

      public static boolean hasUUIDConfigEntry(net.minecraft.world.entity.player.Player player)
    • hasRequiredOpLevel

      public static boolean hasRequiredOpLevel(net.minecraft.world.entity.player.Player player)
    • hasConfigPermission

      public static boolean hasConfigPermission(net.minecraft.commands.CommandSourceStack src, CommandSourceType cmdSrcType) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException