This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
linux:vm:minecraft [2016/03/09 23:36] noctilucent |
linux:vm:minecraft [2021/05/02 21:36] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Minecraft ====== | ====== Minecraft ====== | ||
- | Host: minecraft.acm.cs | + | **Host:** minecraft.acm.cs |
+ | |||
+ | |||
+ | <WRAP center round todo 60%> | ||
+ | This VM was shutdown at the beginning of Fall 2016. | ||
+ | </WRAP> | ||
+ | |||
Mod packs must be tested locally before moving to the server | Mod packs must be tested locally before moving to the server | ||
Line 7: | Line 14: | ||
paths: | paths: | ||
- | /opt/minecraft/- where to put world data persistently | + | /opt/minecraft-data/minecraft-ramdisk - where the world lives when the world.state is set to "ramdisc" |
/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. | /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. | ||
Line 17: | Line 24: | ||
/opt/minecraft-data/minecraft-backup - back up directory | /opt/minecraft-data/minecraft-backup - back up directory | ||
- | 'minecraft' - user to run as | + | |
+ | 'sudo su minecraft' | ||
+ | 'tmux attach-session' (create a tmux session with name being nothing [default], or 0 in order for scripts to work) | ||
+ | 'minecraft' - Make sure to be the minecraft user, create a tmux session and run the server. Check to make sure that minecraft is the owner of all the server files and the symlink world | ||
MinecraftAdmin - AD group for server control | MinecraftAdmin - AD group for server control | ||
Line 27: | Line 38: | ||
control access to mc server console: | control access to mc server console: | ||
- | 'sudo su minecraft' | ||
- | |||
- | 'tmux attach-session' | ||
Need: cron script for world backups | Need: cron script for world backups | ||
cron script for backup cleanup | cron script for backup cleanup | ||
+ | | ||
+ | | ||
+ | |||