FastBurst
Allows automatically update configs of other plugins, depending on time passed since last wipe

Supported Games
GameServerKingsGameServerKings
used by

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

  1. On load the plugin scans it's data directory, and detects last wipe.
  2. Checks if any of configs should already be applied (last ones that closer to current time).
  3. Once a minute it checks if some configs should be udpated.

Update Process

  1. Target plugin is unloaded.
  2. Its config is replaced.
  3. 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:

  1. Copy plugin config to oxide/config/DynamicConfig directory the DynamicConfig must be manually created.
  2. Edit the config name to meet naming syntax (below).
  3. Edit the config itself to meet your needs.
  4. 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

DynamicConfig v1.0.0 Demo

MIT License

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.