mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-02 22:17:17 +00:00
Bump to v3.1, rewrite Teleport/TimedTeleport and add TeleportBuilder, expose new Teleport API, remove TeleportManager, minor database utility refactoring
This commit is contained in:
1 parent
e7f8298b12
commit
9630e53613
35 files changed
+1070
-881
No files matched your search
@@ -17,12 +17,12 @@ import net.william278.huskhomes.player.OnlineUser;
|
||||
import net.william278.huskhomes.position.*;
|
||||
import net.william278.huskhomes.random.RandomTeleportEngine;
|
||||
import net.william278.huskhomes.request.RequestManager;
|
||||
import net.william278.huskhomes.teleport.TeleportManager;
|
||||
import net.william278.huskhomes.util.Logger;
|
||||
import net.william278.huskhomes.util.Permission;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.InputStream;
|
||||
import java.util.List;
|
||||
import java.util.Optional;
|
||||
@@ -100,14 +100,6 @@ public interface HuskHomes {
|
||||
@NotNull
|
||||
Cache getCache();
|
||||
|
||||
/**
|
||||
* The {@link TeleportManager} that manages player teleports
|
||||
*
|
||||
* @return the plugin {@link TeleportManager}
|
||||
*/
|
||||
@NotNull
|
||||
TeleportManager getTeleportManager();
|
||||
|
||||
/**
|
||||
* The {@link RequestManager} that manages player requests
|
||||
*
|
||||
@@ -306,6 +298,14 @@ public interface HuskHomes {
|
||||
@Nullable
|
||||
InputStream getResource(@NotNull String name);
|
||||
|
||||
/**
|
||||
* Returns the plugin data folder containing the plugin config, etc
|
||||
*
|
||||
* @return the plugin data folder
|
||||
*/
|
||||
@NotNull
|
||||
File getDataFolder();
|
||||
|
||||
/**
|
||||
* Returns a list of worlds on the server
|
||||
*
|
||||
|
||||
Reference in new issue
Block a user