spigot execute command as console

Solutions on MaxInterview for spigot execute command as console by the best coders in the world

showing results for - "spigot execute command as console"
Juana
22 Oct 2017
1ConsoleCommandSender console = Bukkit.getServer().getConsoleSender();
2String command = "command";
3Bukkit.dispatchCommand(console, command)