We really need this. Also i would suggest to make BuildingOwners a requirement of this plugin. It's amazing the amount of servers you can go round and just remove the entire base after toolcupboard access..
R-Remover-Tool
Building and entity removal tool
Total Downloads: 65,410 - First Release: Apr 3, 2015 - Last Update: Feb 7, 2018
- 5/5, 105 likes
-
-
-
It's been stated a few times in the comments, but there's a lot of pages to search through.... To use EntityOwner instead of BuildingOwners replace the line:
Code:var returnhook = Interface.GetMod().CallHook("FindBlockData", new object[] { entity as BuildingBlock });
Code:var returnhook = Interface.GetMod().CallHook("FindEntityData", new object[] { entity as BuildingBlock });
-
Thanks this is brilliant! i suggest to include this on the plugin overview or even in the configuration as defaults
_ I can't imagine why anyone would want to play without this
I notice there are 2 x returnhook with FindBlockData
Does this one need replacing too ? var returnhook = Interface.GetMod().CallHook("FindBlockData", new object[] { supportBlock });
Cheers guysLast edited by a moderator: Mar 29, 2016 -
Yeah, both FindBlockData should be FindEntityData
-
I can't get it working, i can still remove the building when i have toolcupboard access. Tried a restart too.
Both lines have been replaced
var returnhook = Interface.GetMod().CallHook("FindEntityData", new object[] { entity as BuildingBlock });
var returnhook = Interface.GetMod().CallHook("FindEntityData", new object[] { supportBlock });
any Ideas? .. /prod confirms ownership is not mine -
That's handled by your config... but this will disable the ability to use /remove on deployables (high external walls, furnaces, etc...)
Code:"Remove - Access - Use Building Owners": true, "Remove - Access - Use RustIO & BuildingOwners (Building Owners needs to be true)": true, "Remove - Access - Use ToolCupboards": false,
-
Legend, Thanks this is the line that needed changing to.
"Remove - Access - Use ToolCupboards": false,
Now it works great with the FindEntityData... I hope this will become the new defaults -
-
-
-
just found the bug, working on it ...
-
Guys, how to resolve to destroy the construction of your friends, but prevent others? Please help. I use the plugin Friends.
-
How to allow the removal of buildings, friends. It is not permitted to remove not friends. Established RemoveTool and Friends API? Help Please
-
"Remove - Access - Use Building Owners": true,
"Remove - Access - Use RustIO & BuildingOwners (Building Owners needs to be true)": true,
"Remove - Access - Use ToolCupboards": false,
Basiclly that in your config should do the job
With this set in the config on Remover Tool.
Then it should be only a matter if the player has '/friend add playername' the other personLast edited by a moderator: Mar 30, 2016 -
-
how to remove hammer?
-
Here's my version of RemoverTool. It works with Friends plugin, but it's still called RustIO in the config... You can remove all deployables except tool cupboards, and refunding the item removed is working. Refunding building supplies for foundations/walls doesn't seem to be working atm... ran out of time to mess with it for now. BuildingOwners/EntityOwners isn't used anymore, using internal tracking. There is no option to use RustIO with this version, only Friends.
To let a friend remove your stuff, you both have to /friend add each other, and of course you need the updated Friends plugin.
To only allow the person who placed the block to remove it, use this:
Code:"Remove - Access - Use Building Owners": true, "Remove - Access - Use RustIO & BuildingOwners (Building Owners needs to be true)": false, "Remove - Access - Use ToolCupboards": false,
Last edited by a moderator: Apr 1, 2016 -
Sorry Ive been a bit silent, I had a look through and noticed RustIO is alread in there, so that saves me wasting my time on that, but ill have a look at getting EntityOwner to work with this mod so that newer items are able to be used.