User Tools

Site Tools


linux:vm:minecraft

This is an old revision of the document!




Minecraft

Host: minecraft.acm.cs

Mod packs must be tested locally before moving to the server

paths:

/opt/minecraft/- where to put world data persistently

/srv/minecraft - All the server.jars and mods live in this directory. world is a symlink to /mnt/ramcraft/world. This is where the world is saved when the server is off. startServer.sh and moveWorld.sh must be updated when the server (minecraft, forge, bukkit) or java version change.

Forge Servers: Move the offical installer into /srv/minecraft and the forge install command for headless servers. It will download and install the correct minecraft server for you. Start the server to get the default configurations and folders

“sudo java -jar forge-version.jar nogui –installServer”

/opt/minecraft-data/minecraft-backup - back up directory

'minecraft' - user to run as

MinecraftAdmin - AD group for server control

/etc/systemd/system/minecraft.service

/usr/local/sbin/minecraft - run script

control access to mc server console:

'sudo su minecraft'

'tmux attach-session'

Need: cron script for world backups

    cron script for backup cleanup
linux/vm/minecraft.1457566582.txt.gz · Last modified: 2021/05/02 21:36 (external edit)