Add /huskhomes help (Command list)

This commit is contained in:
William committed 2022-08-24 15:10:32 +01:00
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();
}