mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-02 14:38:52 +00:00
Add /huskhomes help (Command list)
This commit is contained in:
1 parent
58b8c25a29
commit
80865aa060
5 files changed
+60
-4
No files matched your search
@@ -1,5 +1,6 @@
|
||||
package net.william278.huskhomes;
|
||||
|
||||
import net.william278.huskhomes.command.CommandBase;
|
||||
import net.william278.huskhomes.config.Locales;
|
||||
import net.william278.huskhomes.config.Settings;
|
||||
import net.william278.huskhomes.config.Spawn;
|
||||
@@ -228,10 +229,19 @@ public interface HuskHomes {
|
||||
@NotNull
|
||||
Version getPluginVersion();
|
||||
|
||||
/**
|
||||
* Returns a list of enabled commands
|
||||
*
|
||||
* @return A list of registered and enabled {@link CommandBase}s
|
||||
*/
|
||||
@NotNull
|
||||
List<CommandBase> getCommands();
|
||||
|
||||
/**
|
||||
* Reloads the {@link Settings} and {@link Locales} from their respective config files
|
||||
*
|
||||
* @return a {@link CompletableFuture} that will be completed when the plugin reload is complete and if it was successful
|
||||
*/
|
||||
CompletableFuture<Boolean> reload();
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user