Class BukkitStringMatcher

java.lang.Object
com.sk89q.worldguard.bukkit.BukkitStringMatcher
All Implemented Interfaces:
com.sk89q.worldguard.internal.platform.StringMatcher

public class BukkitStringMatcher extends Object implements com.sk89q.worldguard.internal.platform.StringMatcher
  • Constructor Details

    • BukkitStringMatcher

      public BukkitStringMatcher()
  • Method Details

    • matchWorld

      public com.sk89q.worldedit.world.World matchWorld(com.sk89q.worldedit.extension.platform.Actor sender, String filter) throws com.sk89q.minecraft.util.commands.CommandException
      Specified by:
      matchWorld in interface com.sk89q.worldguard.internal.platform.StringMatcher
      Throws:
      com.sk89q.minecraft.util.commands.CommandException
    • matchPlayerNames

      public List<com.sk89q.worldguard.LocalPlayer> matchPlayerNames(String filter)
      Specified by:
      matchPlayerNames in interface com.sk89q.worldguard.internal.platform.StringMatcher
    • matchPlayers

      public Iterable<? extends com.sk89q.worldguard.LocalPlayer> matchPlayers(com.sk89q.worldedit.extension.platform.Actor source, String filter) throws com.sk89q.minecraft.util.commands.CommandException
      Specified by:
      matchPlayers in interface com.sk89q.worldguard.internal.platform.StringMatcher
      Throws:
      com.sk89q.minecraft.util.commands.CommandException
    • matchPlayerOrConsole

      public com.sk89q.worldedit.extension.platform.Actor matchPlayerOrConsole(com.sk89q.worldedit.extension.platform.Actor sender, String filter) throws com.sk89q.minecraft.util.commands.CommandException
      Specified by:
      matchPlayerOrConsole in interface com.sk89q.worldguard.internal.platform.StringMatcher
      Throws:
      com.sk89q.minecraft.util.commands.CommandException
    • getWorldByName

      public com.sk89q.worldedit.world.World getWorldByName(String worldName)
      Specified by:
      getWorldByName in interface com.sk89q.worldguard.internal.platform.StringMatcher
    • replaceMacros

      public String replaceMacros(com.sk89q.worldedit.extension.platform.Actor sender, String message)
      Specified by:
      replaceMacros in interface com.sk89q.worldguard.internal.platform.StringMatcher