Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fboender/mcram
Simple shell script for managing a Minecraft Server on a RAM disk
https://github.com/fboender/mcram
Last synced: about 2 months ago
JSON representation
Simple shell script for managing a Minecraft Server on a RAM disk
- Host: GitHub
- URL: https://github.com/fboender/mcram
- Owner: fboender
- Created: 2015-11-08T17:34:38.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2015-11-08T17:34:51.000Z (about 9 years ago)
- Last Synced: 2023-03-17T15:25:17.925Z (almost 2 years ago)
- Language: Shell
- Size: 0 Bytes
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
MCRam
=====Description
-----------A simple shell script for managing a Minecraft Server on a RAM disk, including
creating regular persistent copies of the world and making daily backups.Features
* Safe persistent copies of Minecraft world from RAM disk to real disk.
* Check disk space used by world and report low RAM disk space.
* Daily backups with max/min number of backups.
* Start/stop the server from the commandline.Setup
-----Assumes following Directory layout:
/home/minecraft/
/home/minecraft/jre1.6.0_21/
/home/minecraft/minecraft/
/home/minecraft/minecraft/minecraft_server/
/home/minecraft/minecraft/minecraft_server/world/
/home/minecraft/minecraft/minecraft_server/minecraft_server.jar
/home/minecraft/backupsif different, edit mc.ini.
Put mc and mc.ini in /home/minecraft
Usage
-----Start the server
./mc start
Stop the server
./mc stop
Create a safe, persistent copy of the contents of the RAM disk (should be called from CRON, see later in this document)
./mc persistent
Create a backup of Minecraft and clear old backups (see mc.ini)./mc backup
Check disk usage of world and mail if disk space is getting low (see mc.ini)
./mc checkspace
Cronjobs
--------Install the following CRON jobs:
# m h dom mon dow command
0 17 * * * /home/minecraft/mc checkspace
0 18 * * * /home/minecraft/mc backup
0 * * * * /home/minecraft/mc persistantLicense
-------MCRAM is released into the Public Domain. Use it as you wish.