Skip to content
Open
Show file tree
Hide file tree
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
17 changes: 17 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
PORT=8080
FRONTEND_ORIGIN=http://localhost:3000

# Minecraft server
MC_HOST=127.0.0.1
MC_RCON_PORT=25575
MC_RCON_PASSWORD=change-me

# Optional: if your server writes logs locally, set this path for live log streaming
MC_LOG_FILE=C:/minecraft-server/logs/latest.log

# Optional server process control commands
MC_START_COMMAND=
MC_STOP_COMMAND=

# Poll interval (ms)
POLL_INTERVAL_MS=3000
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
node_modules/
build/
dist/
coverage/
.DS_Store
*.log
.env*
!.env.example
Loading