Class SpawnManager
java.lang.Object
com.zetaplugins.essentialz.features.SpawnManager
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.bukkit.LocationGets the server spawn location from the configuration.voidsetSpawnLocation(org.bukkit.Location location) Sets the server spawn location in the configuration.
-
Constructor Details
-
SpawnManager
public SpawnManager()
-
-
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.util.LocationDeserializationExceptionGets the server spawn location from the configuration.- Returns:
- The spawn location as a Location object.
- Throws:
com.zetaplugins.zetacore.util.LocationDeserializationException
-