forked from cranstonide/linux-minecraft-scripts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mc-config.cfg
37 lines (26 loc) · 939 Bytes
/
mc-config.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#!/bin/bash
# Linux-Minecraft-Scripts Configuration File
# Github: https://github.com/cranstonide/linux-minecraft-scripts
# ---------------- #
# General Settings #
# ---------------- #
# Location of minecraft.jar (and other files)
minecraftDir="/home/user/minecraft"
# Minecraft .jar (vanialla Minecraft is "minecraft_server.jar")
minecraftJar="minecraft_server.jar"
# Location of Minecraft log (server.log)
minecraftLog="/home/user/minecraft/server.log"
# This server's nickname, useful for multi-server enviornments
serverNick="minecraft"
# --------------- #
# Backup Settings #
# --------------- #
# Backup Destination
backupDest="/home/user/backups"
# Formatting of backup files (`serverNick`+`backupStamp`)
backupStamp=$(date +%Y.%m.%d)
# --------------- #
# Update Settings #
# --------------- #
# URL of jar file (including jar itself)
updateUrl="https://s3.amazonaws.com/MinecraftDownload/launcher/minecraft_server.jar"