Allows configuring deployable boomboxes to decay while playing
Supported Games
Features
- Allows configuring deployable boomboxes to decay while playing
Notes
- This plugin does not affect portable boomboxes. Portable boomboxes decay while playing by default. If you don't want portable boomboxes to decay, you can install Never Wear and add the
fun.boomboxportableitem to its config. - This plugin was originally developed to reduce boombox decay, but as of the August 2021 Rust update, deployable boom boxes no longer decay by default. Now, the only reason to use the plugin is to make boomboxes decay.
Permission
The following permissions come with this plugin's default configuration. Granting one to a player determines the decay rate of boomboxes they deploy, overriding the default.
boomboxdurability.fastdecay-- approximately 15 minutes of play time with server convardecay.scale 1.0boomboxdurability.slowdecay-- approximately 4 hours of play time with server convardecay.scale 1.0boomboxdurability.nodecay-- unlimited play time
You can add more profiles in the plugin configuration (ProfilesRequiringPermission), and the plugin will automatically generate permissions of the format boomboxdurability.<suffix> when reloaded. If a player has permission to multiple profiles, only the last one will apply, based on the order in the config.
Note: Granting a permission to a player will not apply to existing boomboxes they have already deployed, unless you reload the plugin. This can be improved upon request if necessary for your server design.
Configuration
Default configuration:
{
"DefaultDecayRate": 0.025,
"ProfilesRequiringPermission": [
{
"PermissionSuffix": "fastdecay",
"DecayRate": 0.111
},
{
"PermissionSuffix": "slowdecay",
"DecayRate": 0.007
},
{
"PermissionSuffix": "nodecay",
"DecayRate": 0.0
}
]
}
DefaultDecayRate-- Damage per second dealt to boom boxes while they are playing. Keep in mind that Rust multiplies this value times the server'sdecay.scale, so faster overall decay will cause boomboxes to decay faster while playing as well.- As of this writing, the vanilla value for boombox decay rate is
0.025, which allows for approximately one hour of play time.
- As of this writing, the vanilla value for boombox decay rate is
ProfilesRequiringPermission-- Here you can define profiles that will override the default decay rate, if the player who deployed the boombox has theboomboxdurability.<suffix>permission.
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.
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.

