Is there a plugin that disables the timer after you build a wall so you can demolish it anytime you want?
Solved Demolish timer disabler
Discussion in 'Plugin Requests' started by Dreke, Feb 10, 2016.
-
I don't believe so. I don't think you can adjust that timer with a plugin either. ( someone please prove me wrong ! )
-
I'll try looking into it, I'll post back if I get any progress.
EDIT: So far, this snippet appears to be working:
Code:private void OnEntityBuilt(Planner plan, GameObject objectBlock) { BuildingBlock block = (BuildingBlock)objectBlock.ToBaseEntity(); block.CancelInvoke("StopBeingDemolishable"); block.Invoke("StartBeingDemolishable", 3f); }
Also, if I'm not mistaken, isn't there already a plugin for this? If not, I suppose I could release one if people want it.Last edited by a moderator: Feb 16, 2016 -
I would love to have such plugin with permissions.
-
Yes please
-
This plugin would work perfectly with for example EntityOwner making sure that players could demolish only their own buildings. Add this and permissions to use. On PVE servers this plugin will ROCK!
-
Yes then I can get rid of removal tool
-
-
Not really sure about demolish option being available only for owners of entities, cupboards don't override it?
Can't test it right now.