-
Notifications
You must be signed in to change notification settings - Fork 5
1MB minecraft.sh
The start shell script is made to help server owners run a Minecraft server with plugins.
We use this for our own (standalone) servers daily. We use the 'start' sh script to fork an instance to the background with screen. And we use the 'Minecraft' shell script to start an instance, without forking it.
You need both scripts to fork, you need just the minecraft .sh script to start things up.
I recommend to edit the .sh file and change some of the configuration settings. Mind you, this is made for our 1.16.1 builds, and hasn't been properly tested on other versions.
This is for Minecraft 1.16.1, Spigot / Buildtools. Not for paperspigot or sponge, forge, etc. This is made for our macOS / linux distros, it works for us. Your distro might be different (or a different version). We've tested the public version of this script on macOS High Sierra, Mojave, Catalina and Ubuntu 14/16/18/20 lts.
Put the start and minecraft .sh files into your spigot directory where the jar resides, with your terminal change to this directory.
And if this is the first time you use it: chmod a+x 1MB-minecraft.sh
(and chmod a+x 1MB-start.sh
and then each time you wish to use this: ./1MB-minecraft.sh
Note: this will NOT fork an instance to the background (starts normally), if you wish to just start it with the option to fork, use just the start sh script.
If it errors, you probably need to edit the .sh script(s) properly.
You can view the source of the minecraft script here: 1MB-minecraft.sh You can view the source of the start script here: 1MB-start.sh
You can request basic support here: github.com/mrfdev/1MB/issues