PaperCommandRunner
The plugin-side run_command target=server, standing in for the mod path's CommandRunner. Same shape — console-level source, feedback captured instead of printed — but built from Bukkit API only, because Paper's runtime is spigot-named below 1.20.5 and the mojmap NMS path would not link there.
Properties
Functions
Link copied to clipboard
Link copied to clipboard
Run command — possibly multiple lines, executed in order like a .mcfunction — on the server thread and return the captured feedback. Blank lines and # comments are skipped, a failing line does not stop the rest. Never throws: returns an explanatory string on any failure.