mirror of
https://github.com/m1ngsama/automa.git
synced 2025-12-24 10:51:20 +00:00
- Create bin/lib/common.sh with shared logging and utility functions - Add minecraft/.env.example for environment configuration template - Update bin scripts to source shared library (DRY principle) - Consolidate duplicated logging functions across scripts
19 lines
653 B
Text
19 lines
653 B
Text
# Minecraft Server Environment Configuration
|
|
# Copy this file to .env and modify the values
|
|
# Usage: cp .env.example .env && chmod 600 .env
|
|
|
|
# User permissions (avoid container file permission issues)
|
|
# Replace with your host user UID/GID, use 'id' command to check
|
|
UID=1000
|
|
GID=1000
|
|
|
|
# RCON password (remote control, must be complex and secure)
|
|
# Generate a strong password: openssl rand -base64 32
|
|
RCON_PASSWORD=your_secure_rcon_password_here
|
|
|
|
# Timezone (adjust based on server location)
|
|
# Examples: America/New_York, Europe/London, Asia/Shanghai
|
|
TZ=Asia/Shanghai
|
|
|
|
# Container name (used by scripts for health checks)
|
|
CONTAINER_NAME=mc-fabric-1.21.1
|