MCPcopy Create free account
hub / github.com/Teneted/Tenet / dispatchCommand

Method dispatchCommand

src/main/java/org/bukkit/Server.java:582–582  ·  view source on GitHub ↗

Dispatches a command on this server, and executes it if found. @param sender the apparent sender of the command @param commandLine the command + arguments. Example: test abc 123 @return returns false if no target is found @throws CommandException thrown when the executor for the gi

(@NotNull CommandSender sender, @NotNull String commandLine)

Source from the content-addressed store, hash-verified

580 * fails with an unhandled exception
581 */
582 public boolean dispatchCommand(@NotNull CommandSender sender, @NotNull String commandLine) throws CommandException;
583
584 /**
585 * Adds a recipe to the crafting manager.

Callers 3

dispatchCommandMethod · 0.65
runMethod · 0.65
performCommandMethod · 0.65

Implementers 2

CraftServersrc/main/java/org/bukkit/craftbukkit/v
Bukkitsrc/main/java/org/bukkit/Bukkit.java

Calls

no outgoing calls

Tested by

no test coverage detected