mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-02 06:28:49 +00:00
Add /setspawn and /spawn
This commit is contained in:
1 parent
560d701113
commit
8adbc49a61
10 files changed
+198
-17
No files matched your search
@@ -2,6 +2,7 @@ package net.william278.huskhomes;
|
||||
|
||||
import net.william278.huskhomes.config.Locales;
|
||||
import net.william278.huskhomes.config.Settings;
|
||||
import net.william278.huskhomes.config.Spawn;
|
||||
import net.william278.huskhomes.database.Database;
|
||||
import net.william278.huskhomes.hook.EconomyHook;
|
||||
import net.william278.huskhomes.hook.PluginHook;
|
||||
@@ -129,6 +130,20 @@ public interface HuskHomes {
|
||||
@NotNull
|
||||
RtpEngine getRtpEngine();
|
||||
|
||||
/**
|
||||
* The {@link Spawn} location of this server
|
||||
*
|
||||
* @return the {@link Spawn} location data
|
||||
*/
|
||||
Optional<Spawn> getSpawn();
|
||||
|
||||
/**
|
||||
* Update the {@link Spawn} position to a location on the server
|
||||
*
|
||||
* @param location the new {@link Spawn} location
|
||||
*/
|
||||
void setSpawn(@NotNull Location location);
|
||||
|
||||
/**
|
||||
* Set of active {@link PluginHook}s running on the server
|
||||
*
|
||||
|
||||
Reference in new issue
Block a user