BuildingRestriction

Moved

Total Downloads: 894 - First Release: Sep 9, 2016 - Last Update: Sep 4, 2017

5/5, 12 likes
  1. I am also getting this error in my console -

    "Failed to call hook 'OnEntityBuilt' on plugin 'BuildingRestriction v1.2.0' (NullReferenceException: Object reference not set to an instance of an object)"
     
  2. Error:
    Code:
    Failed to call hook 'OnEntityBuilt' on plugin 'BuildingRestriction v1.2.0' (NullReferenceException: Object reference not set to an instance of an object)
    log:
    [Stacktrace]   at Oxide.Plugins.BuildingRestriction.OnEntityBuilt (.Planner planner, UnityEngine.GameObject gameobject) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.BuildingRestriction.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0
     
    Last edited by a moderator: May 5, 2017
  3. i take it this has not been updated to work since ???
     
  4. Can this get fixed before the update tomorrow? my players want a zero stability wipe but you really need this plugin so things don't get crazy.
     
  5. Wulf

    Wulf Community Admin

    Wulf updated Building Restriction with a new update entry:

    1.3.0

     
  6. Code:
    (20:56:17) | Failed to call hook 'OnEntityBuilt' on plugin 'BuildingRestriction v1.3.0' (NullReferenceException: )
    (20:56:17) | at (wrapper managed-to-native) UnityEngine.Object:get_name ()
    at Oxide.Plugins.BuildingRestriction.<OnEntityBuilt>m__2 (.BuildingBlock b) [0x00000] in <filename unknown>:0
    at System.Linq.Enumerable+<CreateWhereIterator>c__Iterator1D`1[BuildingBlock].MoveNext () [0x00000] in <filename unknown>:0
    at Oxide.Plugins.BuildingRestriction.OnEntityBuilt (.Planner planner, UnityEngine.GameObject go) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.BuildingRestriction.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0
    at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
    at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0
    i think, block remover used crash this plugin

    how to fix my master
     
    Last edited by a moderator: Jun 14, 2017
  7. Wulf

    Wulf Community Admin

    Wulf updated Building Restriction with a new update entry:

    1.3.1

     
  8. Hello Wulf. Can you please add a separate permission for this plugin . I wish for the permission to only block and or allow building in water at all. So w.o permission player cannot build in water at all. Thank you. Just like you have for nowaterbuilding.plugin. I would use that plugin but I'm not sure if it's working or if it conflicts ect.. Please lend a hand. Tty
     
  9. Spamming:
    Code:
    17:08:32) | Failed to call hook 'OnEntityBuilt' on plugin 'BuildingRestriction v1.3.1' (NullReferenceException: )
    (17:08:32) | at (wrapper managed-to-native) UnityEngine.Object:get_name ()
      at Oxide.Plugins.BuildingRestriction.<OnEntityBuilt>m__2 (.BuildingBlock b) [0x00000] in <filename unknown>:0
      at System.Linq.Enumerable+<CreateWhereIterator>c__Iterator1D`1[BuildingBlock].MoveNext () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.BuildingRestriction.OnEntityBuilt (.Planner planner, UnityEngine.GameObject go) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.BuildingRestriction.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0
     
  10. Code:
    [Error] Failed to call hook 'OnEntityBuilt' on plugin 'BuildingRestriction v1.3.1' (NullReferenceException: )
    [Stacktrace]   at (wrapper managed-to-native) UnityEngine.Object:get_name ()
      at Oxide.Plugins.BuildingRestriction.<OnEntityBuilt>m__2 (.BuildingBlock b) [0x00000] in <filename unknown>:0
      at System.Linq.Enumerable+<CreateWhereIterator>c__Iterator1D`1[BuildingBlock].MoveNext () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.BuildingRestriction.OnEntityBuilt (.Planner planner, UnityEngine.GameObject go) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.BuildingRestriction.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0
     
  11. ive given myself permission but i still cant build as high as id like. not sure why as the building isnt even that high in the first place
     
  12. Wulf

    Wulf Community Admin

    This doesn't let you build higher, it prevents you from building certain heights and such.
     
  13. ahhh okay is there a plugin in which i can build higher?
     
  14. Wulf

    Wulf Community Admin

    I don't think so, I believe Rust has a set limit client-side.
     
  15. i was in a modded server and it there was a 'town' and i believe it was set really high up in the sky. any idea why my roofs wont stay and they instantly destroy once i place them?
     
  16. Code:
    | Failed to call hook 'OnEntityBuilt' on plugin 'BuildingRestriction v1.3.1' (NullReferenceException: )
    (11:09:10) | at (wrapper managed-to-native) UnityEngine.Object:get_name ()
      at Oxide.Plugins.BuildingRestriction.<OnEntityBuilt>m__2 (.BuildingBlock b) [0x00000] in <filename unknown>:0
      at System.Linq.Enumerable+<CreateWhereIterator>c__Iterator1D`1[BuildingBlock].MoveNext () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.BuildingRestriction.OnEntityBuilt (.Planner planner, UnityEngine.GameObject go) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.BuildingRestriction.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0
    Why this happen?
     
  17. 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 (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: Aug 31, 2017
  18. how to fix it?
    Code:
    (12:35:39) | Failed to call hook 'OnEntityBuilt' on plugin 'BuildingRestriction v1.3.1' (NullReferenceException: )
    (12:35:39) | at (wrapper managed-to-native) UnityEngine.Object:get_name ()
    at Oxide.Plugins.BuildingRestriction.<OnEntityBuilt>m__2 (.BuildingBlock b) [0x00000] in <filename unknown>:0
    at System.Linq.Enumerable+<CreateWhereIterator>c__Iterator1D`1[BuildingBlock].MoveNext () [0x00000] in <filename unknown>:0
    at Oxide.Plugins.BuildingRestriction.OnEntityBuilt (.Planner planner, UnityEngine.GameObject go) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.BuildingRestriction.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0
    at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
    at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0
     
    Last edited by a moderator: Aug 31, 2017
  19. add
    1257201758 Tool Cupboard cupboard.tool
    assets/prefabs/deployable/tool cupboard/cupboard.tool.deployed.prefab

    I can not use it.
     
  20. Wulf

    Wulf Community Admin

    Cupboards have nothing to do with this plugin.