Supported Games
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.
Localization
Plugin uses only console messages to RCON. They could be localized. Out of the box the plugin supports EN localizations.
Usage
If you want to add any dynamic config, you should do these steps:
- Copy plugin config to
oxide/config/DynamicConfigdirectory 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
Demo
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

