Class BukkitWorldGuardPlatform

java.lang.Object
com.sk89q.worldguard.bukkit.BukkitWorldGuardPlatform
All Implemented Interfaces:
com.sk89q.worldguard.internal.platform.WorldGuardPlatform

public class BukkitWorldGuardPlatform extends Object implements com.sk89q.worldguard.internal.platform.WorldGuardPlatform
  • Constructor Details

    • BukkitWorldGuardPlatform

      public BukkitWorldGuardPlatform()
  • Method Details

    • getPlatformName

      public String getPlatformName()
      Specified by:
      getPlatformName in interface com.sk89q.worldguard.internal.platform.WorldGuardPlatform
    • getPlatformVersion

      public String getPlatformVersion()
      Specified by:
      getPlatformVersion in interface com.sk89q.worldguard.internal.platform.WorldGuardPlatform
    • notifyFlagContextCreate

      public void notifyFlagContextCreate(com.sk89q.worldguard.protection.flags.FlagContext.FlagContextBuilder flagContextBuilder)
      Specified by:
      notifyFlagContextCreate in interface com.sk89q.worldguard.internal.platform.WorldGuardPlatform
    • getGlobalStateManager

      public BukkitConfigurationManager getGlobalStateManager()
      Specified by:
      getGlobalStateManager in interface com.sk89q.worldguard.internal.platform.WorldGuardPlatform
    • getMatcher

      public com.sk89q.worldguard.internal.platform.StringMatcher getMatcher()
      Specified by:
      getMatcher in interface com.sk89q.worldguard.internal.platform.WorldGuardPlatform
    • getSessionManager

      public com.sk89q.worldguard.session.SessionManager getSessionManager()
      Specified by:
      getSessionManager in interface com.sk89q.worldguard.internal.platform.WorldGuardPlatform
    • broadcastNotification

      public void broadcastNotification(String message)
      Specified by:
      broadcastNotification in interface com.sk89q.worldguard.internal.platform.WorldGuardPlatform
    • broadcastNotification

      public void broadcastNotification(com.sk89q.worldedit.util.formatting.text.TextComponent component)
      Specified by:
      broadcastNotification in interface com.sk89q.worldguard.internal.platform.WorldGuardPlatform
    • load

      public void load()
      Specified by:
      load in interface com.sk89q.worldguard.internal.platform.WorldGuardPlatform
    • unload

      public void unload()
      Specified by:
      unload in interface com.sk89q.worldguard.internal.platform.WorldGuardPlatform
    • getRegionContainer

      public com.sk89q.worldguard.protection.regions.RegionContainer getRegionContainer()
      Specified by:
      getRegionContainer in interface com.sk89q.worldguard.internal.platform.WorldGuardPlatform
    • getDebugHandler

      public com.sk89q.worldguard.internal.platform.DebugHandler getDebugHandler()
      Specified by:
      getDebugHandler in interface com.sk89q.worldguard.internal.platform.WorldGuardPlatform
    • getDefaultGameMode

      public com.sk89q.worldedit.world.gamemode.GameMode getDefaultGameMode()
      Specified by:
      getDefaultGameMode in interface com.sk89q.worldguard.internal.platform.WorldGuardPlatform
    • getConfigDir

      public Path getConfigDir()
      Specified by:
      getConfigDir in interface com.sk89q.worldguard.internal.platform.WorldGuardPlatform
    • stackPlayerInventory

      public void stackPlayerInventory(com.sk89q.worldguard.LocalPlayer localPlayer)
      Specified by:
      stackPlayerInventory in interface com.sk89q.worldguard.internal.platform.WorldGuardPlatform
    • addPlatformReports

      public void addPlatformReports(com.sk89q.worldedit.util.report.ReportList report)
      Specified by:
      addPlatformReports in interface com.sk89q.worldguard.internal.platform.WorldGuardPlatform
    • createProfileService

      public com.sk89q.worldguard.util.profile.resolver.ProfileService createProfileService(com.sk89q.worldguard.util.profile.cache.ProfileCache profileCache)
      Specified by:
      createProfileService in interface com.sk89q.worldguard.internal.platform.WorldGuardPlatform
    • getSpawnProtection

      @Nullable public com.sk89q.worldguard.protection.regions.ProtectedRegion getSpawnProtection(com.sk89q.worldedit.world.World world)
      Specified by:
      getSpawnProtection in interface com.sk89q.worldguard.internal.platform.WorldGuardPlatform