类 PlayerCommand
java.lang.Object
top.shjibi.plugineer.command.base.BasicCommand
top.shjibi.plugineer.command.base.PlayerCommand
- 所有已实现的接口:
org.bukkit.command.CommandExecutor,org.bukkit.command.TabCompleter,org.bukkit.command.TabExecutor
只有玩家能用的指令
-
字段概要
字段从类继承的字段 top.shjibi.plugineer.command.base.BasicCommand
minArgs, name, plugin, usage -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明completeTab(@NotNull org.bukkit.command.CommandSender sender, @NotNull org.bukkit.command.Command command, @NotNull String label, @NotNull String[] args) 决定tab列表中出现哪些词completeTab(@NotNull org.bukkit.entity.Player p, @NotNull org.bukkit.command.Command command, @NotNull String label, @NotNull String[] args) final voidexecute(@NotNull org.bukkit.command.CommandSender sender, @NotNull org.bukkit.command.Command command, @NotNull String label, @NotNull String[] args) 决定执行指令出现的效果abstract voidexecute(@NotNull org.bukkit.entity.Player p, @NotNull org.bukkit.command.Command command, @NotNull String label, @NotNull String[] args) String[]获取提醒这是一个仅限玩家指令的消息从类继承的方法 top.shjibi.plugineer.command.base.BasicCommand
getMinArgs, getName, getUsage, onCommand, onTabComplete, register, sendUsage
-
字段详细资料
-
playerOnlyMsg
-
-
构造器详细资料
-
PlayerCommand
public PlayerCommand(org.bukkit.plugin.java.JavaPlugin plugin)
-
-
方法详细资料
-
completeTab
public final List<String> completeTab(@NotNull @NotNull org.bukkit.command.CommandSender sender, @NotNull @NotNull org.bukkit.command.Command command, @NotNull @NotNull String label, @NotNull @NotNull String[] args) 从类复制的说明:BasicCommand决定tab列表中出现哪些词- 覆盖:
completeTab在类中BasicCommand
-
execute
public final void execute(@NotNull @NotNull org.bukkit.command.CommandSender sender, @NotNull @NotNull org.bukkit.command.Command command, @NotNull @NotNull String label, @NotNull @NotNull String[] args) 从类复制的说明:BasicCommand决定执行指令出现的效果- 指定者:
execute在类中BasicCommand
-
completeTab
-
execute
-
getPlayerOnlyMsg
获取提醒这是一个仅限玩家指令的消息
-