Skip to content

Search the store

Find products and categories.

Configuration

Every key in Mirror's mirror.yml, the environment variables that override them, and the Scaffold setting that turns Mirror on.

mirror.yml

Mirror keeps one file, plugins/Mirror/mirror.yml. Saving it reloads it. A port change needs a restart.

plugins/Mirror/mirror.yml
port: 25599
domain: nexus.svc.cluster.local
KeyDefaultEnvironment variableMeaning
port25599MIRROR_PORTTCP port Mirror listens on and dials on the other server. Use the same port on every game server.
domainnexus.svc.cluster.localMIRROR_DOMAINDomain used to build the other server's address, as <serverId>.<group>.<domain>.
stateHertz20Not used yet. Changing it has no effect.
pingSeconds2Not used yet. Changing it has no effect.
handshakeSeconds20Not used yet. Changing it has no effect.

When an environment variable is set, it wins over the file.

Turning Mirror on

Mirror only plays matches when Scaffold's mirror setting is on. Set it on every game server and leave it off on lobbies.

FileKeyDefaultEnvironment variable
plugins/Scaffold/scaffold.ymlmirrorfalseSCAFFOLD_MIRROR

Changing it needs a restart.

Mirror uses two Kernel values from plugins/Kernel/kernel.yml:

KeyEnvironment variableUsed for
serverIdBRIDGE_SERVERThe other server's address, and picking which server hosts the link. Must be unique.
regionNEXUS_REGIONDeciding which region each player is in.

Mirror has no commands or permissions.