Issue
I have a minecraft server that when I run it, takes the console and can receive commands/parameters.
I'm running it with nohup java -Xms.... -jar spigot.jar &
. It will stay in the background with PID XXXX and port YYYY.
I want know if it is possible to send commands to it as /help
.
Regards and thanks for the help.
Solution
I can solved this by tripleee.
This works "nohup tail -f /usr/server/console.in | nohup java -Xms.... -jar spigot.jar >> /usr/server/console.out &"
Whit"echo command >> /usr/server/console.in"
Is as i run the command in the server.
Answered By - Inoku