Class TeleportComponent

java.lang.Object
com.zachsthings.libcomponents.AbstractComponent
com.zachsthings.libcomponents.bukkit.BukkitComponent
com.sk89q.commandbook.component.locations.TeleportComponent
All Implemented Interfaces:
org.bukkit.command.CommandExecutor, org.bukkit.event.Listener

public class TeleportComponent
extends com.zachsthings.libcomponents.bukkit.BukkitComponent
implements org.bukkit.event.Listener
  • Nested Class Summary

    Nested Classes 
    Modifier and Type Class Description
    class  TeleportComponent.Commands  
    static class  TeleportComponent.LocalConfiguration  
  • Field Summary

    Fields inherited from class com.zachsthings.libcomponents.bukkit.BukkitComponent

    commands
  • Constructor Summary

    Constructors 
    Constructor Description
    TeleportComponent()  
  • Method Summary

    Modifier and Type Method Description
    void enable()  
    TeleportComponent.LocalConfiguration getConfig()  
    protected TeleportSession getSession​(org.bukkit.entity.Player player)  
    void onRespawn​(org.bukkit.event.player.PlayerRespawnEvent event)  
    void onTeleport​(org.bukkit.event.player.PlayerTeleportEvent event)  
    void reload()  

    Methods inherited from class com.zachsthings.libcomponents.bukkit.BukkitComponent

    disable, getCommands, onCommand, registerCommands, setUp, unregisterCommands

    Methods inherited from class com.zachsthings.libcomponents.AbstractComponent

    configure, getComponentLoader, getInformation, getRawConfiguration, isEnabled, saveConfig, saveConfig, setUp

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • enable

      public void enable()
      Specified by:
      enable in class com.zachsthings.libcomponents.AbstractComponent
    • reload

      public void reload()
      Overrides:
      reload in class com.zachsthings.libcomponents.AbstractComponent
    • getConfig

    • getSession

      protected TeleportSession getSession​(org.bukkit.entity.Player player)
    • onRespawn

      public void onRespawn​(org.bukkit.event.player.PlayerRespawnEvent event)
    • onTeleport

      public void onTeleport​(org.bukkit.event.player.PlayerTeleportEvent event)