added global item config

This commit is contained in:
2026-10-25 22:31:22 +01:00
parent 6184cdba0a
commit 9178202c57
27 changed files with 637 additions and 88 deletions
+4 -7
View File
@@ -11,10 +11,7 @@ PATH_BASE=
# Comma separated origins allowed to connect to the hub. Empty = allow any origin.
ALLOWED_ORIGINS=https://game.example.com
# Chance (0..1) that each block of a new piece carries an item. Every block rolls on its
# own, so one piece can carry several items. 0 = no items, 1 = every block has one.
ITEM_SPAWN_CHANCE=0.1
# Other optional gameplay tuning, passed to the server as Game__<Setting> (see GameSettings.cs).
# Add these under the server's "environment:" in docker-compose.yml to use them.
# Game__CountdownSeconds=3
# Gameplay tuning (item chance, how items split it up, item durations, other rules) lives in
# config/game.json, which the server container mounts. Edits apply from the next match on.
# Single values can still be overridden as Game__<Setting> env vars under the server's
# "environment:" in docker-compose.yml, e.g. Game__CountdownSeconds=3.