Add a temporary help command, will be my next thing to add.
This commit is contained in:
parent
a23062d890
commit
4567a713ec
@ -182,6 +182,7 @@ public class JailHandler {
|
|||||||
load(JailDeleteCellCommand.class);
|
load(JailDeleteCellCommand.class);
|
||||||
load(JailDeleteCellsCommand.class);
|
load(JailDeleteCellsCommand.class);
|
||||||
load(JailDeleteCommand.class);
|
load(JailDeleteCommand.class);
|
||||||
|
load(JailDeleteCommand.class);
|
||||||
load(JailListCellsCommand.class);
|
load(JailListCellsCommand.class);
|
||||||
load(JailListCommand.class);
|
load(JailListCommand.class);
|
||||||
load(JailMuteCommand.class);
|
load(JailMuteCommand.class);
|
||||||
|
@ -0,0 +1,24 @@
|
|||||||
|
package com.graywolf336.jail.command.subcommands;
|
||||||
|
|
||||||
|
import org.bukkit.ChatColor;
|
||||||
|
import org.bukkit.command.CommandSender;
|
||||||
|
|
||||||
|
import com.graywolf336.jail.JailManager;
|
||||||
|
import com.graywolf336.jail.command.Command;
|
||||||
|
import com.graywolf336.jail.command.CommandInfo;
|
||||||
|
|
||||||
|
@CommandInfo(
|
||||||
|
maxArgs = 1,
|
||||||
|
minimumArgs = 0,
|
||||||
|
needsPlayer = false,
|
||||||
|
pattern = "help|h",
|
||||||
|
permission = "jail.command.jailhelp",
|
||||||
|
usage = "/jail help [page]"
|
||||||
|
)
|
||||||
|
public class JailHelpCommand implements Command {
|
||||||
|
public boolean execute(JailManager jm, CommandSender sender, String... args) throws Exception {
|
||||||
|
sender.sendMessage(ChatColor.GREEN + "This command will be filled out shortly, use this link for now:");
|
||||||
|
sender.sendMessage(ChatColor.GREEN + "https://github.com/graywolf336/Jail/wiki/Commands");
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user