Build Refund

Build Refund 1.0.0

Sign in to download
This plugin refunds a percentage of the materials used to upgrade a structure when it's demolished. The percentage refunded can be adjusted in the config.

Players do not get refunded the base twig cost but instead what they spent to upgrade it. For example, demolishing a metal wall does not return 50 wood (twig cost) but instead 200 metal fragments—the cost of upgrading a wall to metal.



Potential Conflicts

If you're using the No Gibs plugin, this plugin won't work correctly unless Disable Debris Spawn For Demolished Structures is set to false in No Gibs' settings.

Permissions

  • buildrefund.use - Allows a player to receive refunds when demolishing structures.

Configuration

JSON:
{
  "Version": "1.0.0",
  "Refund Percentage": 100
}
  • Refund Percentage - The percentage of upgrade materials refunded when demolishing a structure.

Localization

JSON:
{
  "RefundSummary": "Refund issued for demolishing {0} (Grade: {1}):\n{2}"
}
Author
VisEntities
Downloads
17
First release
Last update

Ratings

0.00 star(s) 0 reviews

Also by VisEntities

Back
Top
Cart