I did, but PHP: $command = "lagg clearall";$this->getServer()->dispatchCommand(new ConsoleCommandSender(), $command)) Would this work?
Was Wondering if you could do PHP: //$command = "lagg clearall"; instead do$command = array("lag clearall","say Welcome to the server");$this->getServer()->dispatchCommand(new ConsoleCommandSender(), $command[0]))
If you know what the command is, avoid directly dispatching command. Use some API functions and implement that yourself.