Skip to main content
The server reads its configuration from config.json in the project root. Copy config-example.json to config.json and edit it before starting the server. The file must be valid JSON. All keys are at the top level unless noted otherwise.
Options that control how the server presents itself to players and to the ClassiCube network.
Options that control how the server connects to MongoDB.
dbConnectionString is optional. Omitting it is equivalent to setting it to "mongodb://localhost:27017".
An empty hubEditors array grants hub editing permission to every connected player. Always list at least one trusted username unless you intentionally want an open hub.
Options that affect how the telephone game assigns turns to players.
The server broadcasts periodic announcements to all connected players. Announcement messages are localization string keys resolved at runtime.
The sounds block enables an optional audio server that delivers sound effects to players through a ClassiCube extension (CEF).
The sounds feature requires a compatible ClassiCube extension on the client side. Most deployments leave this disabled.
hatchday is an array of special event configurations. When the current date matches a hatchday entry, the server swaps in the event hub and announces a join message.
integrations is an array of integration objects. Each object loads a class from class/integrations/ and registers it to receive push events from the server.