A customizable, little script to start your bungeecord & minecraft servers.
Features:
- Start, stop and reload your Bungeecord & Minecraft Servers
- You dont need any start.sh in your minecraft & bungeecord folders! Only a startable bungeecord & minecraft server.
- currently im supporting only Debian 8 with Java 8. (but of course you can use it on other systems, and with newer or older java.)
Raw script (right click, wget friendly, most up to date)
./startscript.sh (start|stop|restart|reload|info)
- Connect to your VPS via SSH.
- Go to the directory where you want to download the file
- Execute
wget https://raw.githubusercontent.com/lollilol/mc_bungee_startscript/master/startscript.sh
- Customize it with
nano startscript.sh
- make it executeable with
chmod a+x startscript.sh
- done.
or just paste
cd && wget https://raw.githubusercontent.com/lollilol/mc_bungee_startscript/master/startscript.sh && nano startscript.sh && chmod a+x startscript.sh
into ssh, to download the script in the home folder and make it executeable.
- screen (in the most Repositorys called "screen")
- java (How to install)
- 1 bungeecord server
- one or more minecraft servers
- Please make sure you have crontab/cron installed
- Execute
crontab -e
- you may have to choose your editor: i would recommend "nano"
- now the crontab file is opened. scroll to the end of the file
- now insert
@reboot /file/to/your/startscript.sh start
- done.