Class TeleportSession
java.lang.Object
com.zachsthings.libcomponents.config.ConfigurationBase
com.sk89q.commandbook.component.session.PersistentSession
com.sk89q.commandbook.component.locations.TeleportSession
public class TeleportSession extends PersistentSession
-
Field Summary
Fields inherited from class com.sk89q.commandbook.component.session.PersistentSession
ONE_HOUR, THIRTY_MINUTES -
Constructor Summary
Constructors Constructor Description TeleportSession(TeleportComponent component) -
Method Summary
Modifier and Type Method Description voidaddBringable(org.bukkit.entity.Player player)voidcheckLastTeleportRequest(org.bukkit.entity.Player target)org.bukkit.LocationgetIgnoreLocation()voidhandleReconnect(org.bukkit.command.CommandSender player)booleanisBringable(org.bukkit.entity.Player player)org.bukkit.LocationpopLastLocation()voidrememberLocation(org.bukkit.entity.Player player)voidrememberLocation(org.bukkit.Location location)voidremoveBringable(org.bukkit.entity.Player player)voidsetIgnoreLocation(org.bukkit.Location loc)Methods inherited from class com.sk89q.commandbook.component.session.PersistentSession
getGoneTime, getOwner, getSenderName, getUniqueName, handleDisconnect, isRecent
-
Constructor Details
-
Method Details
-
handleReconnect
public void handleReconnect(org.bukkit.command.CommandSender player)- Overrides:
handleReconnectin classPersistentSession
-
addBringable
public void addBringable(org.bukkit.entity.Player player) -
removeBringable
public void removeBringable(org.bukkit.entity.Player player) -
isBringable
public boolean isBringable(org.bukkit.entity.Player player) -
checkLastTeleportRequest
public void checkLastTeleportRequest(org.bukkit.entity.Player target) throws com.sk89q.minecraft.util.commands.CommandException- Throws:
com.sk89q.minecraft.util.commands.CommandException
-
rememberLocation
public void rememberLocation(org.bukkit.Location location) -
rememberLocation
public void rememberLocation(org.bukkit.entity.Player player) -
popLastLocation
public org.bukkit.Location popLastLocation() -
setIgnoreLocation
public void setIgnoreLocation(org.bukkit.Location loc) -
getIgnoreLocation
public org.bukkit.Location getIgnoreLocation()
-