mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-02 14:38:52 +00:00
Add support for BlueMap
This commit is contained in:
1 parent
36703c55f5
commit
25d90530d3
13 files changed
+148
-8
No files matched your search
@@ -24,6 +24,7 @@ import net.william278.huskhomes.util.Permission;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
import java.io.InputStream;
|
||||
import java.util.List;
|
||||
import java.util.Optional;
|
||||
import java.util.Set;
|
||||
@@ -251,6 +252,15 @@ public interface HuskHomes {
|
||||
@NotNull
|
||||
Server getServer(@NotNull OnlineUser requester);
|
||||
|
||||
/**
|
||||
* Returns a resource read from the plugin resources folder
|
||||
*
|
||||
* @param name the name of the resource
|
||||
* @return the resource read as an {@link InputStream}
|
||||
*/
|
||||
@Nullable
|
||||
InputStream getResource(@NotNull String name);
|
||||
|
||||
/**
|
||||
* Returns a list of worlds on the server
|
||||
*
|
||||
|
||||
Reference in new issue
Block a user