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

Method getPluginCommand

src/main/java/org/bukkit/Bukkit.java:670–673  ·  view source on GitHub ↗

Gets a PluginCommand with the given name or alias. @param name the name of the command to retrieve @return a plugin command if found, null otherwise

(@NotNull String name)

Source from the content-addressed store, hash-verified

668 * @return a plugin command if found, null otherwise
669 */
670 @Nullable
671 public static PluginCommand getPluginCommand(@NotNull String name) {
672 return server.getPluginCommand(name);
673 }
674
675 /**
676 * Writes loaded players to disk.

Callers

nothing calls this directly

Calls 1

getPluginCommandMethod · 0.65

Tested by

no test coverage detected