Cupboard No Decay has the following goals:
The default configuration increases Twig decay and nullifies all damage on all other building grades.
There are both decay rates and for each building grade:
Twig not protected by a tool cupboard will decay at the normal rate, which is actually less than 1 (closer to 0.01).
Entities outside the range of a cupboard will decay at their standard rates unless modified by another plugin.
This plugin can currently cause decay in plugins that create structures without cupboards.
- To protect building blocks from typical damage while connected to a tool cupboard
- To protect entities from typical decay damage while in range of a cupboard
- To exclude specified entities from decay at any location
Building Blocks
Each building tier has a different multiplier, or may also have decay disabled.The default configuration increases Twig decay and nullifies all damage on all other building grades.
Entities
Entities include certain building items such as doors. They are checked here based on proximity to a tool cupboard (EntityRadius) since they are not connected to one per Rust and/or Oxide (not building blocks).Configuration
The settings and options can be configured in the CupboardNoDecay file under the config directory. The use of an editor and validator is recommended to avoid formatting issues and syntax errors.There are both decay rates and for each building grade:
- Setting an X amount of rate has no impact if the associated decay is set to false.
- ArmorRate is set to 0, but DecayArmor is set to false. CupboardNoDecay sets this value to 0 if in range of a tool cupboard and uses the default rate if there is no cupboard.
- EntityRadius specifies the proximity to be checked for the existence of a tool cupboard, but only for non-buildingblock entities such as doors and doorways. If in range, there should be no decay. The default is 30m. Be careful setting too small or large of a number here.
- NeverDecay lists the entities to be protected regardless of their proximity to a tool cupboard. The default includes both automatically-spawning boat types.
- CheckAuth - If set to true, we require that the entity or block owner also be authenticated to the local cupboard. This should prevent using a nearby cupboard, e.g. in another building, to protect another player's building or entity.
Notes
Placing materials in the tool cupboard, e.g. wood for a wood building, will skip the function of this plugin for that building grade, and the materials will be consumed at the standard rates. Once the materials have been consumed, the plugin will take over decay. So, placing wood in the cupboard will not protect twig forever. However, it does mean that players can avoid twig decay by placing wood in their cupboards.Twig not protected by a tool cupboard will decay at the normal rate, which is actually less than 1 (closer to 0.01).
Entities outside the range of a cupboard will decay at their standard rates unless modified by another plugin.
This plugin can currently cause decay in plugins that create structures without cupboards.