Building Owners

Sets owners of houses when someone builds a house part

Total Downloads: 12,016 - First Release: Apr 3, 2015 - Last Update: Jul 30, 2016

5/5, 23 likes
  1. Is it correct that you can't change buildingowners unless the target player is online? Tried a few times to set a player as owner when they are sleeping but everytime I get "Target player not found"
     
  2. Does this plugin conflict with the latest rust update where you can build twig w/o building privilege and get ownership of a base - then use /remove? Would be exploitable and gamebreaking.
     
  3. since I'm still getting notifications to this plugin, is there any actual advantage of using it anymore? I thought it became superseded by entityowners long ago.
     
  4. Feature request: Could you possibly add coordinates in the data file for the buildings?
     
  5. Code:
    Failed to call hook 'OnServerSave' on plugin 'BuildingOwners v3.0.2' (IOException: Sharing violation on path /home/server/blablapath/oxide/data/BuildingOwners.json)
    at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) [0x00000] in <filename unknown>:0
      at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share) [0x00000] in <filename unknown>:0
      at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
      at System.IO.StreamWriter..ctor (System.String path, Boolean append, System.Text.Encoding encoding, Int32 bufferSize) [0x00000] in <filename unknown>:0
      at System.IO.StreamWriter..ctor (System.String path, Boolean append, System.Text.Encoding encoding) [0x00000] in <filename unknown>:0
      at (wrapper remoting-invoke-with-check) System.IO.StreamWriter:.ctor (string,bool,System.Text.Encoding)
      at System.IO.File.WriteAllText (System.String path, System.String contents, System.Text.Encoding encoding) [0x00000] in <filename unknown>:0
      at System.IO.File.WriteAllText (System.String path, System.String contents) [0x00000] in <filename unknown>:0
      at Oxide.Core.Configuration.DynamicConfigFile.Save (System.String filename) [0x00000] in <filename unknown>:0
      at Oxide.Core.DataFileSystem.SaveDatafile (System.String name) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.BuildingOwners.SaveData () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.BuildingOwners.OnServerSave () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.BuildingOwners.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
    That reset to zero the data file
     
  6. Code:
    (20:04:46) | [Oxide] 20:04 [Error] Failed to call hook 'OnEntityBuilt' on plugin 'BuildingOwners v3.0.2' (NullReferenceException: Object reference not set to an instance of an object)
    (20:04:46) | [Oxide] 20:04 [Stacktrace]   at Oxide.Core.Configuration.DynamicConfigFile.get_Item (System.String key) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.BuildingOwners.FindBlockData (.BuildingBlock block) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.BuildingOwners.OnEntityBuilt (.HeldEntity heldentity, UnityEngine.GameObject gameobject) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.BuildingOwners.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
    Console spam

    EDIT: Fixed. Thanks Wulf :)
     
    Last edited by a moderator: Jul 13, 2017
  7. Wulf

    Wulf Community Admin

    Looks like you have an issue with your config for the plugin.
     
  8. Code:
     at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) [0x00000] in <filename unknown>:0
      at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share) [0x00000] in <filename unknown>:0
      at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
      at System.IO.StreamWriter..ctor (System.String path, Boolean append, System.Text.Encoding encoding, Int32 bufferSize) [0x00000] in <filename unknown>:0
      at System.IO.StreamWriter..ctor (System.String path, Boolean append, System.Text.Encoding encoding) [0x00000] in <filename unknown>:0
      at (wrapper remoting-invoke-with-check) System.IO.StreamWriter:.ctor (string,bool,System.Text.Encoding)
      at System.IO.File.WriteAllText (System.String path, System.String contents, System.Text.Encoding encoding) [0x00000] in <filename unknown>:0
      at System.IO.File.WriteAllText (System.String path, System.String contents) [0x00000] in <filename unknown>:0
      at Oxide.Core.Configuration.DynamicConfigFile.Save (System.String filename) [0x00000] in <filename unknown>:0
      at Oxide.Core.DataFileSystem.SaveDatafile (System.String name) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.BuildingOwners.SaveData () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.BuildingOwners.OnServerSave () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.BuildingOwners.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 already post the issue and there no config file for this plugin wulf or ask me his filename...
    Br
     
  9. Like this question!!!
     
  10. this does not work on outside walls. says couldnt find any constructions.
    how does that affect the game if you give someone your house, and it has outside walls?
     
  11. I have changed owner, the new owner is trying to /sethome and it says that they need to be the owner....
     
  12. Can you make it so we can set owners who are not online?
     
  13. Decided to disable this plugin, until get answer for this question.
     
  14. This plugin keeps a database of items/entities and blocks that people place. There is a setting at the bottom of the R-RemoverTool that will make it so only the person that placed the item/entity/block can remove it.
     
  15. Code:
    (14:34:46) | Failed to call hook 'OnEntityBuilt' on plugin 'BuildingOwners v3.0.2' (NullReferenceException: Object reference not set to an instance of an object)
      at Oxide.Plugins.BuildingOwners.OnEntityBuilt (.HeldEntity heldentity, UnityEngine.GameObject gameobject) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.BuildingOwners.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.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(14:34:46) | Failed to call hook 'OnEntityBuilt' on plugin 'ZoneManager v2.4.62' (NullReferenceException: Object reference not set to an instance of an object)
      at Oxide.Plugins.ZoneManager.OnEntityBuilt (.Planner planner, UnityEngine.GameObject gameobject) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.ZoneManager.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.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(14:34:46) | Failed to call hook 'OnEntityBuilt' on plugin 'StashTraps v1.0.1' (NullReferenceException: Object reference not set to an instance of an object)
      at Oxide.Plugins.StashTraps.OnEntityBuilt (.Planner planner, UnityEngine.GameObject gameObject) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.StashTraps.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.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