Cousin Custom Rates

Free Cousin Custom Rates 1.0

This resource is free

Features

| Feature | Description |
|---|---|
| Rate presets | Define unlimited named presets in config.json, each with its own multiplier values |
| RCON command | Switch any preset instantly with changerates <preset_name> |
| 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 when rates change (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) |
| Automatic scheduler | Optional day/hour schedule that switches presets automatically without any admin input |

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": "https://discord.com/api/webhooks/YOUR_ID/YOUR_TOKEN",
      "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
    }
  },
  "Schedule": {
    "Enabled": false,
    "CheckIntervalSeconds": 60,
    "Rules": [
      {
        "Preset": "weekend_rates",
        "Days": ["Friday", "Saturday", "Sunday"],
        "StartHour": 18,
        "EndHour": 23
      },
      {
        "Preset": "normal_rates",
        "Days": ["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],
        "StartHour": 0,
        "EndHour": 17
      }
    ]
  }
}

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
Author
cousin704
Downloads
16
Views
48
First release
Last update

Ratings

0.00 star(s) 0 ratings

More resources from cousin704

Back
Top