Decay system
Last updated
Last updated
The decay system kicks in the moment a protection has 0 fuel. Having 0 fuel will trigger the following:
A timer will start counting down (the timer is customizable in protections.yml)
The generator will stop making money
The protection will become disabled, allowing anyone to place, break or interact with anything inside the protection range
The decay GUI will become accessible
The decay GUI will be available to access for any player (except the owner), it can be opened when the protections has 0 fuel.
When the timer reaches 0, any player can pay a fee to claim the protection block as theirs. Redeeming the protection will trigger the following:
Resetting trusted players
Resetting the decay timer
Setting the current fuel to 1
Setting the redeemer as the new owner
The protection will not lose any of its upgrades or stored money when its redeemed.
The owner can stop the decay process at any time by purchasing any amount of fuel from the main GUI panel.