Reneb submitted a new resource:
Structure Limiter - Structure Limiter by user
Read more about this resource...
Structure Limiter [Unmaintained]
Discussion in 'Plugin Support' started by Reneb, Apr 18, 2015.
-
Once you hit your limit, you can't build anywhere else....even if you delete your base.
-
I got such error
[DOUBLEPOST=1429979583][/DOUBLEPOST] -
you need to update zone manager
-
-
only reason for this to show is if the structure has been destroyed before the plugin took place in checking
-
Reneb updated Structure Limiter with a new update entry:
trying to remove the error message
-
this doesnt seem to count removed objects with your remover tool.
-
its possible that if you do a remove all on a building it might bug
for simple removes it should be working fine -
when i remove all or admin remove then it works but when i try normal removing it doesnt decrease count before server restart or long time of waiting
-
I got reports that this plugin doesn't work correctly. Even you remove all your house with /remove you can't build.
-
Thx well i cant do much at the moment, so you might want to deactivate the plugin until i can fix it
-
Please add the height limit of buildings and the number of fundation.
-
Wulf Community Admin
For those using the latest Oxide snapshot, use the below version with the unnecessary imports removed.
Attached Files:
-
-
Any idea if there's going to be a limiter like the 1.18 version ? it had settings as such
Code:{ "Version":"1.4", "NotifyUser":true, "Personnalised":[30,15,10,7,5,4,3,3,3], "LimitFoundationNum":9, "LimitHeightNum":3, "LimitHeight":true, "UsePersonnalized":false, "LimitFoundationsByUser":true, "LimitFoundationsByUserNum":12, "chatname":"SERVER CONSOLE", "LimitFoundation":true }
Last edited by a moderator: Nov 6, 2015 -
add the older version of this plug-in limit height and foundation numbers etc.. and ill gladly send one over ( not demanding or anything just a simple request for a deal is all)
-
Is there a way to make this work in rust experimental or any similar plugin for experimental?
Thanks in advance -
The problem is as follows:
The plugin Structure Limiter.cs (Rust Legacy) adds the objects placed in the structure, but when an object is removed, it does not subtract.
just like you put a function so that when I remove an object to impaire count.
For example:
1 Foundation + 1 pillar = 2 objects.
Then I remove one pillar, but the score was still 2 objects.
In plugin has a function of adding, in which case the sum.
But you have to subtract.
I would be very happy if you help me.
Link Plugin: Structure Limiter for Rust Legacy | Oxide
The plugin only has the function to add the object to the structure and not when removed. So I tried to create a function that when an object was removed from the structure, impaire count.
Can anyone tell if this model to follow?
=================================================
void OnStructureDestroy(StructureComponent component, IStructureComponentItem structureComponentItem)
{
if (component == null) return;
if (component.gameObject == null) return;
StructureEntityCount[component._master] -= 1;
}
=================================================
[DOUBLEPOST=1458885201][/DOUBLEPOST]I need a lot of help. -
My plugin is not counting when a structure is placed. I did a void and is just subtracting the entities. But when put something in the structure such as a wall for example and realize the command "/strucurelimiter" shows the same number of objects. Does anyone know why?
-
My plugin is not counting when a structure is placed. I did a void and is just subtracting the entities. But when put something in the structure such as a wall for example and realize the command / strucurelimiter shows the same number of objects. Does anyone know why?