Interface IPermissionHelper

All Known Implementing Classes:
ForgePermissionHelper

public interface IPermissionHelper
  • Method Details

    • hasConfigPermission

      boolean hasConfigPermission(net.minecraft.commands.CommandSourceStack src, CommandSourceType srcType) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
    • isAllowedForNonOp

      boolean isAllowedForNonOp(net.minecraft.commands.CommandSourceStack src)
    • hasConfigPermAndOpBypassFlags

      boolean hasConfigPermAndOpBypassFlags(net.minecraft.world.entity.player.Player player)
    • hasOwnerPermission

      boolean hasOwnerPermission(IProtectedRegion region, net.minecraft.world.entity.player.Player player)
    • hasAnyPermission

      boolean hasAnyPermission(IProtectedRegion region, net.minecraft.world.entity.player.Player player, List<String> groups)
    • hasCmdPermission

      boolean hasCmdPermission(net.minecraft.commands.CommandSourceStack src)
    • hasGroupPermission

      boolean hasGroupPermission(IProtectedRegion region, net.minecraft.world.entity.player.Player player, String permissionGroup)
    • isInGroup

      boolean isInGroup(IProtectedRegion region, net.minecraft.world.entity.player.Player player, String group)