Class SpawnManager

java.lang.Object
fr.fuzeblocks.homeplugin.spawn.SpawnManager
All Implemented Interfaces:
Spawn

public class SpawnManager extends Object implements Spawn
The type Spawn manager.
  • Method Details

    • getInstance

      public static SpawnManager getInstance()
      Gets instance.
      Returns:
      the instance
    • setSpawn

      public boolean setSpawn(org.bukkit.Location location)
      Description copied from interface: Spawn
      Sets spawn.
      Specified by:
      setSpawn in interface Spawn
      Parameters:
      location - the location
      Returns:
      the spawn
    • getSpawn

      public org.bukkit.Location getSpawn(org.bukkit.World world)
      Description copied from interface: Spawn
      Gets spawn.
      Specified by:
      getSpawn in interface Spawn
      Parameters:
      world - the world
      Returns:
      the spawn
    • hasSpawn

      public boolean hasSpawn(org.bukkit.World world)
      Description copied from interface: Spawn
      Has spawn boolean.
      Specified by:
      hasSpawn in interface Spawn
      Parameters:
      world - the world
      Returns:
      the boolean
    • removeSpawn

      public boolean removeSpawn(org.bukkit.World world)
      Description copied from interface: Spawn
      Remove spawn boolean.
      Specified by:
      removeSpawn in interface Spawn
      Parameters:
      world - the world
      Returns:
      the boolean
    • isStatus

      public boolean isStatus(org.bukkit.entity.Player player)
      Description copied from interface: Spawn
      Is status boolean.
      Specified by:
      isStatus in interface Spawn
      Parameters:
      player - the player
      Returns:
      the boolean