If you run into a problem you can't solve, please feel free to open an Issue. If you have a different set of instructions for a different distro or OS, feel free to PR them as a separate file. If you found an error in the above instructions, please open an issue or a PR. Remember they'll need to know your dynamic DNS domain and the port numbers.
#MINECRAFT SERVER JARFIX HOW TO#
When a parent emails you with their username requesting access to the server, you'll probably want to respond with a PDF (with screenshots) showing how to add the servers you've configured. Make a PDF you can send to parents with the current connection info Young kids may not fully understand multiplayer etiquette yet, and you might want the ability to roll back to a prior day's version if someone is griefed badly. When you shut down the server for the night, back up the game files. $ sudo systemctl start you change these files, you'll need to restart the servers with symlink'd configs so they pick up the change. $ rm ops.json whitelist.json banned-players.json banned-ips.json $ sudo systemctl stop cd /opt/minecraft/second_server If you want to keep your operators, players, and banned players the same across the games, you can symlink them.įor example, if you have /opt/minecraft/server and /opt/minecraft/second_server: Sudo systemctl enable another firewall rule opening the new server-port Sudo systemctl start the new server starts when the system starts:
This causes the server to generate a new game upon restart.Įdit server-port and rcon.port in /opt/minecraft/second_server/server.properties to be something different from that in server.Īdd the new values into /etc/nf (e.g., second_server=) It's in server.properties, look for level-name= and delete that subdirectory. To add a second server, do the following:Ĭp -r /opt/minecraft/server /opt/minecraft/second_serverĭelete the game directory from the copy. The beauty of this approach is that it scales easily. They probably work for other variants of Linux which run systemd. In these instructions I'm assuming you're running Debian. It helps answer the question of what they need to buy, and lays down some ground rules. I wrote my own and host it from the same system that runs the Minecraft server. It's a lot easier to get people involved if you can point them to a how-to. You probably want to run your own server, as Minecraft can be CPU and memory intensive.