Answers for "spigot run command in console and get response"

5

spigot execute command as console

ConsoleCommandSender console = Bukkit.getServer().getConsoleSender();
String command = "command";
Bukkit.dispatchCommand(console, command)
Posted by: Guest on January-22-2021

Code answers related to "spigot run command in console and get response"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language