A
Admincraft•2y ago
Hari

Console don't close after "stop" or "restart" command

I own and manage a server but when I restart the server with the command the old console doesn't shut down automatically. Is there a way to make it turn off automatically?. I don't want to have too many tabs like that.
6 Replies
Admincraft Meta
Admincraft Meta•2y ago
Thanks for asking your question!
Once you have finished, please close your thread. Make sure to provide as much helpful information as possible such as logs/what you tried and what your exact issue is
command to close
/close !close !solved
Requested by daylahai#0
QarthO
QarthO•2y ago
You using windows? with a batch script?
Hari
HariOP•2y ago
Yeah That's right :thonk: Is there a way to fix it?
QarthO
QarthO•2y ago
just add exit to the end of the script make sure it doesnt have pause
@echo off
java <all ur flags here> -jar yourserver.jar --nogui
exit
@echo off
java <all ur flags here> -jar yourserver.jar --nogui
exit
Hari
HariOP•2y ago
Hmmm that's it ? wow thank a lot 🫡
QarthO
QarthO•2y ago
yeah exit just means to close the terminal

Did you find this page helpful?