-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
74 lines (66 loc) · 3.04 KB
/
Copy path.env.example
File metadata and controls
74 lines (66 loc) · 3.04 KB
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
# =============================================================================
# Modded Minecraft Server – Environment Configuration
# =============================================================================
# Copy this file to .env and adjust the values for your setup.
# cp .env.example .env
# -----------------------------------------------------------------------------
# Server Identity
# -----------------------------------------------------------------------------
SERVER_NAME="Ragnamod VII – Sky Edition"
MINECRAFT_VERSION=1.20.1
# -----------------------------------------------------------------------------
# Modpack
# Automatic download only works when MODPACK_TYPE=custom and MODPACK_URL is a direct server-pack zip.
# Any other value acts as a label for manual server-file installs.
# -----------------------------------------------------------------------------
MODPACK_TYPE=ragnamod7sky
# Used when MODPACK_TYPE=custom – direct download URL of the server pack zip
MODPACK_URL=
# -----------------------------------------------------------------------------
# Java / JVM
# -----------------------------------------------------------------------------
# Total RAM allocated to the JVM (also used as -Xmx / -Xms)
MEMORY=8G
# Container memory limit. Keep this above MEMORY to leave room for native memory,
# thread stacks, and the Minecraft process overhead.
MEMORY_LIMIT=14G
# Override the full JVM flags string (leave blank to use the built-in optimised defaults)
JAVA_FLAGS=
# -----------------------------------------------------------------------------
# Server Network
# -----------------------------------------------------------------------------
SERVER_PORT=25565
RCON_PORT=25575
RCON_PASSWORD=changeme_rcon_password
# -----------------------------------------------------------------------------
# Operator / Admin
# -----------------------------------------------------------------------------
# Comma-separated list of Minecraft usernames to grant operator status
OPS=
# Comma-separated list of usernames allowed to join (empty = public)
WHITELIST=
# Set to TRUE to enable the whitelist
ENABLE_WHITELIST=FALSE
# -----------------------------------------------------------------------------
# Game Settings
# -----------------------------------------------------------------------------
DIFFICULTY=normal
MAX_PLAYERS=8
VIEW_DISTANCE=8
SIMULATION_DISTANCE=6
ONLINE_MODE=true
# -----------------------------------------------------------------------------
# Backups
# -----------------------------------------------------------------------------
# Cron schedule used by install.sh when writing /etc/cron.d/minecraft-server-backup
BACKUP_CRON="0 3 * * *"
# How many backup archives to keep (older ones are deleted)
BACKUP_RETENTION=7
# Destination directory (absolute path inside the container or host)
BACKUP_DIR=/backups
# -----------------------------------------------------------------------------
# Docker
# -----------------------------------------------------------------------------
# UID/GID of the user that will own server files on the host
UID=1000
GID=1000