Class MVPlayerSession


  • public class MVPlayerSession
    extends java.lang.Object
    A player-session.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean getTeleportable()
      Grab whether the cooldown on Portal use has expired or not.
      void teleport()
      Update the Teleport time.
      • Methods inherited from class java.lang.Object

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

      • MVPlayerSession

        public MVPlayerSession​(org.bukkit.entity.Player player,
                               MultiverseCoreConfig config)
    • Method Detail

      • teleport

        public void teleport()
        Update the Teleport time.
      • getTeleportable

        public boolean getTeleportable()
        Grab whether the cooldown on Portal use has expired or not.
        Returns:
        True if the Player associated with this player-session is teleportable.