Connect your servers
Configure cross-server.yml:
cross-server:
enabled: true
redis:
host: '127.0.0.1'
port: 6379
password: 'YOUR_PASSWORD'
database: 0
channel-prefix: 'meu_passe'
server-name: 'spawn'
party:
enabled: false
server-id: 'spawn'
poll-interval-ticks: 40
Use the same channel-prefix throughout the network and a unique server-name for each server. Redis carries updates and events; keep progress in a shared MySQL or MariaDB database.
Parties across servers
Network party mode is experimental. Enable party.enabled, use a different server-id per instance and the same MySQL/MariaDB database. poll-interval-ticks: 40 is approximately two seconds at 20 TPS. Local SQLite is not suitable for this mode.
Keep versions, seasons and shop settings consistent across instances. Test server switching, invitations, XP gains and purchases before opening the network. Enabling Redis does not automatically enable network parties.
Protect credentials and restrict Redis/database access to your network's machines. Restart after configuring the integration.