Class SpawnService

java.lang.Object
com.zetaplugins.essentialz.features.SpawnService

public class SpawnService extends Object
  • Constructor Details

    • SpawnService

      public SpawnService()
  • Method Details

    • setSpawnLocation

      public void setSpawnLocation(org.bukkit.Location location)
      Sets the server spawn location in the configuration.
      Parameters:
      location - The location to set as the spawn point.
    • getSpawnLocation

      public org.bukkit.Location getSpawnLocation() throws com.zetaplugins.zetacore.shared.util.LocationDeserializationException
      Gets the server spawn location from the configuration.
      Returns:
      The spawn location as a Location object.
      Throws:
      com.zetaplugins.zetacore.shared.util.LocationDeserializationException