mirror of
https://github.com/CarmJos/ScriptItems
synced 2024-09-19 13:25:50 +00:00
测试指令
This commit is contained in:
parent
092a1127aa
commit
65fa2964b4
@ -14,7 +14,7 @@ import org.bukkit.inventory.ItemStack;
|
||||
public class CMDItemsCommand {
|
||||
|
||||
@Command(
|
||||
name = "CommandItem", aliases = "cmdItem",
|
||||
name = "commanditem", aliases = "cmdItem",
|
||||
description = "CommandItem的主要指令。",
|
||||
usage = "/CommandItem help",
|
||||
permission = "CommandItem.admin"
|
||||
@ -23,12 +23,12 @@ public class CMDItemsCommand {
|
||||
help(sender);
|
||||
}
|
||||
|
||||
@Command(name = "CommandItem.help")
|
||||
@Command(name = "commanditem.help")
|
||||
public void help(Context<CommandSender> sender) {
|
||||
sender.getSender().sendMessage("§a§lCommandItem §f§l指令帮助");
|
||||
}
|
||||
|
||||
@Command(name = "CommandItem.apply", target = CommandTarget.PLAYER)
|
||||
@Command(name = "commanditem.apply", target = CommandTarget.PLAYER)
|
||||
@Completer(name = "settings")
|
||||
public void apply(Context<Player> sender,
|
||||
ItemSettings settings) {
|
||||
|
@ -11,11 +11,4 @@ authors:
|
||||
softdepend:
|
||||
- PlaceholderAPI
|
||||
|
||||
api-version: 1.13
|
||||
|
||||
commands:
|
||||
"CommandItem":
|
||||
aliases:
|
||||
- "CMDItem"
|
||||
description: "CommandItem的主要指令。"
|
||||
usage: "/CommandItem help"
|
||||
api-version: 1.13
|
Loading…
Reference in New Issue
Block a user