Skip to content

Releases: sleepingzzs/mcServerRemote

Server Pinger Script

16 Sep 10:50

Choose a tag to compare

This script fetches the server status from the web API and starts the server when conditions match.

Important

  • Change mcrun to the name command you are using to start up your minecraft server or create a custom command to start your server and name it mcrun

  • Configure this script to run automatically every time you boot.

  • Replace the API_URL with your actual URL. Eg. "https://minecraft.vercel.app/api/status"

  • Change the 10th line of the script it according to your desktop environment. No need to change if you're on GNOME/Cinnamon

KDE

konsole -e "bash -c \'mcrun; exec bash\'"

XFCE

xfce4-terminal -- bash -c "mcrun; exec bash"

MATE

mate-terminal -- bash -c "mcrun; exec bash"

LXDE

lxterminal -- bash -c "mcrun; exec bash"

W*ndows

start powershell -NoExit -Command "mcrun"