Not seeing that in your old versions either, but it can be added if needed.
BuildingRestriction
Moved
Total Downloads: 894 - First Release: Sep 9, 2016 - Last Update: Sep 4, 2017
- 5/5, 12 likes
-
Wulf Community Admin
-
wulf.
these options do not work when disabled "false'' :
"Restrict foundations (true/false)": true,
"Maximum foundations": 16,
"Maximum triangle foundations": 24,
"Restrict tool cupboards (true/false)": false,
"Maximum tool cupboards": 5,
"Restrict water depth (true/false)": false,
"Maximum water depth": 0.1,
only i need "restrict height".
-
I Have a odd situation with this plugin......I have a single player complaining that they cannot build anymore triangle foundations.
I have limited the amount of foundations, both triangle & square to 100 each.
This player has a circular base that is one of the smallest bases and is their only base on the server, and has not reached anywhere near
the 100 triangle foundation limitation. The player can still however place square foundations.
No other player on the server has this issue.....and most all other players have rather large bases.....and multiple at that.
I have added my config file if that helps.
Thanks!Attached Files:
-
-
anyone getting this while starting up the server | [BuildingRestriction] Searching for structures, this may take awhile... | and it just freezes the server and wont start up
-
Sorry to post for a second time about same issue I am having.....but I am still having it and haven't had any type of reply to it.
Had now several players not being able to build the the specific restrictions I have set. Players are allowed to build 100 base(square) foundations and 100 triangle foundations on my server.
However, several players complain they can only build 34 triangles and/or square foundations, have reached their max amount.
Again, not sure why. I had a response a while back mentioning about the allowed height of structures was a multiplier issue, and not just typing in a exact number.....Maybe this is the same issue with the foundations?........not sure.
Any insight into this would be greatly appreciated.......Thanks!Attached Files:
-
-
I have question : Maximum build height is it's relative to fondations or ground?
Because a player of my server have problem, he juste put one step on his building and he have "You've reached the max building height! (1 building block)" -
Not sure.
Players See This Message: "You have reached the max building height! (6 building blocks)"
Thanks.Last edited by a moderator: Dec 30, 2017 -
-
Wulf Community Admin
-
I'm seeing this in my console. What can I expect is happening when I see this? Is a player constantly trying to build something they are unable to?
I can't imagine they would continue trying to build after so many failures. There are far more than this. I see hundreds.
Can anyone shed light on this?
Code:(09:20:03) | Calling 'OnEntityBuilt' on 'BuildingRestrictor v0.1.15' took 529ms (09:20:05) | Calling 'OnEntityBuilt' on 'BuildingRestrictor v0.1.15' took 505ms (09:20:06) | Calling 'OnEntityBuilt' on 'BuildingRestrictor v0.1.15' took 532ms (09:20:08) | Calling 'OnEntityBuilt' on 'BuildingRestrictor v0.1.15' took 541ms (09:20:11) | Calling 'OnEntityBuilt' on 'BuildingRestrictor v0.1.15' took 526ms (09:20:14) | Calling 'OnEntityBuilt' on 'BuildingRestrictor v0.1.15' took 512ms (09:20:16) | Calling 'OnEntityBuilt' on 'BuildingRestrictor v0.1.15' took 520ms (09:20:17) | Calling 'OnEntityBuilt' on 'BuildingRestrictor v0.1.15' took 532ms (09:20:18) | Calling 'OnEntityBuilt' on 'BuildingRestrictor v0.1.15' took 508ms (09:20:20) | Calling 'OnEntityBuilt' on 'BuildingRestrictor v0.1.15' took 518ms (09:20:20) | Calling 'OnEntityBuilt' on 'BuildingRestrictor v0.1.15' took 526ms (09:20:21) | Rocket Scientist[22823618/76561190000805049] was killed by Blunt (09:20:23) | Calling 'OnEntityBuilt' on 'BuildingRestrictor v0.1.15' took 524ms (09:20:25) | Calling 'OnEntityBuilt' on 'BuildingRestrictor v0.1.15' took 512ms (09:20:26) | Calling 'OnEntityBuilt' on 'BuildingRestrictor v0.1.15' took 592ms (09:20:26) | Calling 'CanBuild' on 'BuildingRestrictor v0.1.15' took average 5214ms (09:20:26) | Calling 'OnEntityBuilt' on 'BuildingRestrictor v0.1.15' took 570ms (09:20:27) | Calling 'OnEntityBuilt' on 'BuildingRestrictor v0.1.15' took 508ms (09:20:29) | Calling 'OnEntityBuilt' on 'BuildingRestrictor v0.1.15' took 548ms (09:20:30) | Calling 'OnEntityBuilt' on 'BuildingRestrictor v0.1.15' took 546ms (09:20:30) | Calling 'OnEntityBuilt' on 'BuildingRestrictor v0.1.15' took 502ms (09:20:33) | Calling 'OnEntityBuilt' on 'BuildingRestrictor v0.1.15' took 531ms (09:20:33) | Calling 'OnEntityBuilt' on 'BuildingRestrictor v0.1.15' took 584ms (09:20:35) | Calling 'OnEntityBuilt' on 'BuildingRestrictor v0.1.15' took 557ms (09:20:36) | Calling 'OnEntityBuilt' on 'BuildingRestrictor v0.1.15' took 553ms (09:20:36) | Calling 'CanBuild' on 'BuildingRestrictor v0.1.15' took average 5392ms (09:20:37) | Calling 'OnEntityBuilt' on 'BuildingRestrictor v0.1.15' took 580ms (09:20:42) | Calling 'OnEntityBuilt' on 'BuildingRestrictor v0.1.15' took 512ms (09:20:43) | Calling 'OnEntityBuilt' on 'BuildingRestrictor v0.1.15' took 533ms (09:20:46) | Calling 'OnEntityBuilt' on 'BuildingRestrictor v0.1.15' took 517ms (09:20:48) | Calling 'OnEntityBuilt' on 'BuildingRestrictor v0.1.15' took 536ms (09:20:49) | Calling 'OnEntityBuilt' on 'BuildingRestrictor v0.1.15' took 555ms (09:20:51) | Calling 'OnEntityBuilt' on 'BuildingRestrictor v0.1.15' took 512ms (09:20:52) | Calling 'OnEntityBuilt' on 'BuildingRestrictor v0.1.15' took 529ms
-
I'm having some issues with this plugin, I have the max foundations set to 100 for both square and rectangle. Max height I have on 6 floors, and the maximum water depth I have on the stock 0.1
But not any player was able to build beyond 2 floors high, I tried changing the height to 8 and 12, which didn't make any difference and also changing the water depth didn't make any difference. Am I overlooking something? The plugin would be really handy for us cause we have a few players that like to build several insane buildings -
In regards to a building height, there is a multiplier involved. In regards to foundations, I have run into same issue. I also have mine set to 100
squares and triangles. But players reach foundation limit long before getting to that 100 mark.....possibly multiplier as well with foundations?
Not sure. Can never seem to get a response on it.....See quote below.....good luck to you.
Quote by Jakkee:
A building block is 3units tall and needs to be multiplied it by 3, I think (Maybe?) I had this added in but @Wulf might of left it out when updating it.
20 / 3 = 6.66 (Rounded down to 6).
For now just change the max height to 60 -
Wulf Community Admin
-
Thanks for the suggestion draindoc98, I set up a local server to test with and that totally worked! I got it running on my live server now and it works, they can build max 6 high and max 100 foundations. But I see these errors in the console pretty often:
Code:Failed to call hook 'OnEntityBuilt' on plugin 'BuildingRestriction v1.3.1' (NullReferenceException: ) at (wrapper managed-to-native) UnityEngine.Object:get_name () at Oxide.Plugins.BuildingRestriction.m__2 (.BuildingBlock b) [0x00000] in :0 at System.Linq.Enumerable+c__Iterator1D`1[BuildingBlock].MoveNext () [0x00000] in :0 at Oxide.Plugins.BuildingRestriction.OnEntityBuilt (.Planner planner, UnityEngine.GameObject go) [0x00000] in :0 at Oxide.Plugins.BuildingRestriction.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in :0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00000] in :0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in :0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in :0
Last edited by a moderator: Jan 8, 2018 -
Wulf Community Admin
-
OMG sorry I'm blind
I have my list of plugins here, the boxlooters plugin shows the date but I accidentally looked at that date instead so Wulf you're completely right, it was a very old version I downloaded the latest now and I'll try again!
-
hi guys question is it posible with this plugin to build on the water ( sea ) without the need of swimming to the bottom on the ocean ? ive triend
"Restrict water depth (true/false)": false,
"Maximum water depth": 50.0,
but it doesnt seem to work .. -
Wulf Community Admin
-
If you move away from your house, you can build again.
This can be corrected, so that the player could not build more laid than allowed foundations? -
After o.reload BuildingRestriction triangle foundations can not be set
writes that the limit is exhausted.
The video was shot in detail.
Why not make a databaseLast edited by a moderator: Feb 25, 2018