Class SpawnYMLManager

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

public class SpawnYMLManager extends Object implements Spawn
The type Spawn yml manager.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Instantiates a new Spawn yml manager.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.bukkit.Location
    getSpawn(org.bukkit.World world)
    Gets spawn.
    boolean
    hasSpawn(org.bukkit.World world)
    Has spawn boolean.
    boolean
    isStatus(org.bukkit.entity.Player player)
    Is status boolean.
    boolean
    removeSpawn(org.bukkit.World world)
    Remove spawn boolean.
    boolean
    setSpawn(org.bukkit.Location location)
    Sets spawn.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface fr.fuzeblocks.homeplugin.spawn.Spawn

    isYAML
  • Constructor Details

    • SpawnYMLManager

      public SpawnYMLManager(File file)
      Instantiates a new Spawn yml manager.
      Parameters:
      file - the file
  • Method Details

    • 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