Required
- Minecraft 1.21.1
- Fabric Loader 0.17+
- Fabric API
- Fabric Language Kotlin
- Cobblemon 1.7+
- Ceremony 3.3+
This guide covers installing Courier on your Cobblemon server.
Required
Optional (Multi-Server)
Download Dependencies
Ensure you have all required mods installed:
Download Courier
Download the latest Courier jar from the releases page and place it in your mods folder.
Start the Server
Start your server once to generate configuration files:
config/courier/config.confconfig/courier/messages.jsonconfig/courier/presets/Configure Database (Optional)
For multi-server setups, configure MongoDB in config/ceremony/config.conf:
storageType = "MONGO_DB"storageUrl = "mongodb://localhost:27017"Configure Message Bus (Optional)
For cross-server mail delivery, configure Redis or NATS:
messageBus { type = "REDIS" redisAddress = "redis://localhost:6379"}Restart Server
Restart your server to apply configuration changes.
For single-server deployments, Courier works out of the box with default settings:
For server networks (BungeeCord/Velocity), you need:
All servers must connect to the same MongoDB instance:
storageType = "MONGO_DB"storageUrl = "mongodb://your-mongodb-host:27017"storageUser = ""storagePassword = ""Enable real-time mail notifications across servers:
Redis
messageBus { type = "REDIS" serverId = "survival-1" redisAddress = "redis://localhost:6379" redisPassword = ""}NATS
messageBus { type = "NATS" serverId = "survival-1" natsAddress = "nats://localhost:4222"}After starting your server, check for these log messages:
[courier] Loading main config from: config/courier/config.conf[courier] Main configuration loaded successfully[courier] Loaded 6 package presets[courier] Registered NATS packet handlers for cross-server mailTest the installation:
/mail to open your mailbox/mailadmin listpresets to see default presetsIf you see config errors:
config/courier/config.confFailed to connect to MongoDB