Dynamic Config

The plugin gives ability to admins to create several configs for other plugins, and update them automatically depending on time passed since last wipe.
Examples
Example 1
You have loot spawn plugin, and you want that after two days from last wipe, loot spawn rules to be changed (more loot, or less loot).
Example 2
You want no NPCs in your server at all in first 10 hours after wipe, and then part of NPC appear, and maye after 2 more days, many more NPC should appear.
How It Works
Main Flow
- On load the plugin scans it's data directory, and detects last wipe.
- Checks if any of configs should already be applied (last ones that closer to current time).
- Once a minute it checks if some configs should be udpated.
Update Process
- Target plugin is unloaded.
- Its config is replaced.
- Target plugin is loaded again.
Usage
If you want to add any dynamic config, you should do these steps:
- Copy plugin config to oxide/config/DynamicConfig directory the DynamicConfig must be manually created.
- Edit the config name to meet naming syntax (below).
- Edit the config itself to meet your needs.
- Reload Dynamic Config if you're done.
You can edit dynamic configs contents without reloading Dynamic Config (if they are yet to be applied), the plugin only reads the filenames and schedules the update time.
Naming
[] - optional
[<number>d][<number>h][<number>m]<PluginName>.json
Examples
- 2dMagicLoot.json - will be applied after 2 days from last wipe (exactly 48 hours)
- 10h20mTestConfig.json - after 10 hours and 20 minutes
- 10d10hBotSpawn.json - guess yourself

Command your Rust server. Live WebRCON console, performance and player monitoring, quick actions, groups and permissions, and plugin management.
Visit site ↗