{ "_help": { "readFirst": "This _help block is reference text only. Edit the real settings BELOW it, then restart the server. JSON needs double quotes, commas between entries, and no trailing comma or // comments.", "postgresqlEnabled": "true uses PostgreSQL for bank balances and purchase/claim records. false keeps local file storage. settingsToSync only works with PostgreSQL enabled.", "connection": "host is the DATABASE address, not the Minecraft address. port is the DATABASE port (normally 5432). database and username must already exist. Put the password in the COBBLEGACHA_POSTGRES_PASSWORD environment variable; do not add it here. Install postgresql-jdbc.jar in config/cobblegacha/.", "network": "Servers with the SAME database and network name share records. Different network names keep separate records. Keep player UUIDs consistent across servers; Velocity is optional.", "tlsMode": "Use verify-full with a trusted PostgreSQL certificate for remote production databases. disable is for a trusted local test database.", "importLegacyWallets": "ONE-TIME: true on the chosen primary server imports its local wallets. Back up first; do not import divergent wallets from every server. Set false after a successful import.", "seedSettings": "FIRST SETUP: start the chosen primary server with true to seed missing shared settings and player records; other servers use false. Set the primary back to false after success. Existing network records are kept.", "settingsToSync": "Copy exact category names from availableCategories into the real settingsToSync array below. [] shares only SQL wallets/purchase records. Use the same progress categories on every participating server. quest-progress requires quests. Uploaded banner art needs backgrounds.", "availableCategories": { "shop": "Custom shop offers.", "auto-shop": "Automatic offers, wish prices, purchase caps, shared budgets and refresh cycles.", "quests": "Quest definitions, schedules, reward budgets and reset epochs.", "quest-progress": "Player objective progress; also enable quests.", "pity-history": "Global/Wish Type pity, thresholds, guarantees, wish mode and retained pull history.", "banners": "Banner reward pools, schedules, rotation, wish types, animation and art framing.", "backgrounds": "Uploaded background images and their catalog.", "prism": "Potential Prism prices, stock, IV settings and usage rules.", "chest-loot": "Loot rules; each server uses its own installed loot tables/mods.", "player-stats": "Known player names and observed luck statistics.", "rankings": "Public leaderboard enabled/disabled setting." }, "settingsToSyncExamples": { "walletsOnly": [], "questsAndProgress": [ "quests", "quest-progress" ], "everything": [ "shop", "auto-shop", "quests", "quest-progress", "pity-history", "banners", "backgrounds", "prism", "chest-loot", "player-stats", "rankings" ] }, "check": "Open Banner Editor \u003e Sync Status or the web admin Sync status button. Each selected category should say Up to date. Clients/servers need matching mod versions.", "scope": "Inventories, worlds and unrelated player data are not synced. Before switching back to local files or changing network names, export/reconcile shared data. Back up the database and worlds." }, "postgresqlEnabled": false, "host": "127.0.0.1", "port": 5432, "database": "cobblegacha", "username": "cobblegacha", "network": "main", "tlsMode": "verify-full", "importLegacyWallets": false, "seedSettings": false, "settingsToSync": [] }