Package de.goldmensch.commanddispatcher
Class Commands
java.lang.Object
de.goldmensch.commanddispatcher.Commands
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
checkExecutor(@NotNull org.bukkit.command.CommandSender sender, @NotNull Executor executor)
static boolean
checkPermission(@NotNull org.bukkit.command.CommandSender sender, @NotNull Optional<String> posPermission)
static boolean
checkPermissionAndExecutor(@NotNull org.bukkit.command.CommandSender sender, @NotNull SmartSubCommand command)
-
Method Details
-
checkExecutor
public static boolean checkExecutor(@NotNull @NotNull org.bukkit.command.CommandSender sender, @NotNull @NotNull Executor executor) -
checkPermission
-
checkPermissionAndExecutor
public static boolean checkPermissionAndExecutor(@NotNull @NotNull org.bukkit.command.CommandSender sender, @NotNull @NotNull SmartSubCommand command)
-