Features
| Feature | Description ||---|---|
| Rate presets | Define unlimited named presets in
config.json, each with its own multiplier values || RCON & console commands | Switch any preset instantly with
changerates <preset_name> — works via RCON and the in-game admin console || Hot config reload | Edit
config.json and apply changes without restarting with CousinCustomRates.Reload || Persistent state | The active preset is saved to
status.json and automatically re-applied on every server restart || In-game broadcast | Sends a server-wide message to all players when rates change (optional per preset) |
| Discord webhook | Posts a notification to a Discord channel only when rates are actively changed — not on server restart (optional per preset) |
| Discord rich embed | Each preset can define a formatted embed with title, color, and description (falls back to plain text if not configured) |
| Timed presets | Any preset can have a
Duration (in minutes) that causes it to automatically revert after the countdown expires || Automatic scheduler | Optional day/hour schedule that switches presets automatically without any admin input |
| Config validation | Every config load/reload validates the JSON structure and logs actionable warnings for any issues found |
RCON Commands
| Command | Description ||---|---|
|
changerates <preset_name> | Activate a named preset immediately ||
changerates (no argument) | Lists all available preset names ||
CousinCustomRates.Reload | Hot-reload config.json without restarting |Examples:
Code:
changerates weekend_rates
changerates normal_rates
CousinCustomRates.Reload
The Discord embed produced by the above will look like this:
Code:
┌─────────────────────────────────────────────┐ ← green left border
│ ⚡ Weekend Rates Activated │ ← Title
│ Server is now running boosted weekend rates!│ ← Description
│─────────────────────────────────────────────│
│ Preset: weekend_rates │
│ Taming: 10x │ XP: 10x │ Harvest: 20x │
│ Baby Mature: 50x │ Egg Hatch: 50x │
│─────────────────────────────────────────────│
│ CousinCustomRates │ ← Footer
└─────────────────────────────────────────────┘
Complete config.json Example
JSON:
{
"RatePresets": {
"weekend_rates": {
"BroadcastMessage": "Weekend rates are now ACTIVE! Enjoy the boosted rates!",
"Discord_Webhook": "",
"Discord_Embed": {
"Title": "⚡ Weekend Rates Activated",
"Description": "Server is now running boosted weekend rates!",
"Color": 3066993,
"Footer": "CousinCustomRates"
},
"TamingSpeedMultiplier": 10.0,
"XPMultiplier": 10.0,
"HarvestAmountMultiplier": 20.0,
"BabyMatureSpeedMultiplier": 50.0,
"EggHatchSpeedMultiplier": 50.0
},
"normal_rates": {
"BroadcastMessage": "Normal rates are now active.",
"Discord_Webhook": "",
"Discord_Embed": {
"Title": "📋 Normal Rates Restored",
"Description": "Server has returned to standard rates.",
"Color": 10070709,
"Footer": "CousinCustomRates"
},
"TamingSpeedMultiplier": 5.0,
"XPMultiplier": 5.0,
"HarvestAmountMultiplier": 10.0,
"BabyMatureSpeedMultiplier": 25.0,
"EggHatchSpeedMultiplier": 25.0
},
"event_rates": {
"Duration": 120,
"BroadcastMessage": "🎉 2-hour EVENT rates are now ACTIVE!",
"Discord_Webhook": "",
"Discord_Embed": {
"Title": "🎉 Event Rates Active (2h)",
"Description": "Boosted event rates are live for 2 hours! Rates will revert automatically.",
"Color": 15844367,
"Footer": "CousinCustomRates"
},
"TamingSpeedMultiplier": 25.0,
"XPMultiplier": 25.0,
"HarvestAmountMultiplier": 50.0,
"BabyMatureSpeedMultiplier": 100.0,
"EggHatchSpeedMultiplier": 100.0
}
},
"TimedPresets": {
"Enabled": true
},
"Schedule": {
"Enabled": false,
"CheckIntervalSeconds": 60,
"DefaultPreset": "normal_rates",
"Rules": [
{
"Preset": "weekend_rates",
"StartDay": "Friday",
"StartHour": 16,
"EndDay": "Sunday",
"EndHour": 16
},
{
"Preset": "normal_rates",
"StartDay": "Sunday",
"StartHour": 17,
"EndDay": "Friday",
"EndHour": 15
},
{
"Enabled": false,
"Preset": "event_rates",
"StartDay": "Saturday",
"StartHour": 12,
"EndDay": "Saturday",
"EndHour": 18
}
]
}
}
Our others plugins are at https://store.chezcousin.net/ and instantly get your licenses and files.
If you have issues or need help you can always reach me on discord: https://discord.gg/7VRVTCMsBq or cousin704