Supported Games
Cupboard No Decay has the following goals:
- 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
{
"ArmorRate": 0.0,
"CheckAuth": false,
"DecayArmor": false,
"DecayMetal": false,
"DecayStone": false,
"DecayTwig": false,
"DecayWood": false,
"EntityRadius": 30.0,
"MetalRate": 0.0,
"NeverDecay": [
"RHIB",
"Rowboat",
"HotAirBalloon",
"minicopter.entity"
],
"StoneRate": 0.0,
"TwigRate": 0.0,
"WoodRate": 0.0
}
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.
Credits
- Dubz, for the original version of this plugin
- Mabel, for testing the plugin
The original author may request that this plugin be removed and there is a risk that the plugin may be unavailable in the future.
Note that the current maintainer may not have permission to assign a license to the plugin if they are not the original author, so explicit permission would need to be obtained from the original author in order for the plugin to remain openly available and guarantee that it will be around for all to enjoy going forward.

