mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-02 22:17:17 +00:00
Message and setting loading
This commit is contained in:
1 parent
704e4b12f8
commit
10e3345b38
16 files changed
+821
-25
No files matched your search
@@ -1,6 +1,9 @@
|
||||
package net.william278.huskhomes;
|
||||
|
||||
import net.william278.huskhomes.config.Messages;
|
||||
import net.william278.huskhomes.config.Settings;
|
||||
import net.william278.huskhomes.player.Player;
|
||||
import net.william278.huskhomes.position.Server;
|
||||
import net.william278.huskhomes.util.Logger;
|
||||
|
||||
import java.util.Set;
|
||||
@@ -15,7 +18,7 @@ public interface HuskHomes {
|
||||
*
|
||||
* @return the {@link Logger} implementation to use
|
||||
*/
|
||||
Logger getLogger();
|
||||
Logger getLoggingAdapter();
|
||||
|
||||
/**
|
||||
* Returns a {@link Set} of online {@link Player}s on this server
|
||||
@@ -24,4 +27,25 @@ public interface HuskHomes {
|
||||
*/
|
||||
Set<Player> getOnlinePlayers();
|
||||
|
||||
/**
|
||||
* Return the plugin {@link Settings} loaded from file
|
||||
*
|
||||
* @return the plugin {@link Settings}
|
||||
*/
|
||||
Settings getSettings();
|
||||
|
||||
/**
|
||||
* Return the plugin messages loaded from file
|
||||
*
|
||||
* @return The plugin {@link Messages}
|
||||
*/
|
||||
Messages getMessages();
|
||||
|
||||
/**
|
||||
* Return the {@link Server} the plugin is running on
|
||||
*
|
||||
* @return the {@link Server} object representing the implementing server
|
||||
*/
|
||||
Server getServerData();
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user