Skip to content
This repository has been archived by the owner on Apr 12, 2019. It is now read-only.

Make backups prettier. #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions script/minecraft
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ mc_startmonitor() {
mc_saveoff() {
if is_running; then
echo "$SERVICE is running... suspending saves"
mc_exec "say SERVER BACKUP STARTING. Server going readonly..."
mc_exec "say §6§lBackup: §r§eBacking up world..."
mc_exec "save-off"
mc_exec "save-all"
sync
Expand All @@ -114,7 +114,7 @@ mc_saveon() {
if is_running; then
echo "$SERVICE is running... re-enabling saves"
mc_exec "save-on"
mc_exec "say SERVER BACKUP ENDED. Server going read-write..."
mc_exec "say §6§lBackup: §r§eBackup complete..."
else
echo "$SERVICE was not running. Not resuming saves."
fi
Expand Down