NoAdminOwnership

Remove fractional ownership from items when picked up or dropped for admins/players with permission

Total Downloads: 384 - First Release: Jul 15, 2016 - Last Update: Jul 31, 2016

5/5, 5 likes
  1. k1lly0u submitted a new resource:

    NoAdminOwnership - Remove fractional ownership from items when picked up or dropped for admins/players with permission

    Read more about this resource...
     
  2. k1lly0u updated NoAdminOwnership with a new update entry:

    0.1.1

     
  3. Code:
    [Oxide] 11:01 [Debug]  at Oxide.Plugins.NoAdminOwnership.notAllowed (.BasePlayer player) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.NoAdminOwnership.OnItemRemovedFromContainer (.ItemContainer container, .Item item) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.NoAdminOwnership.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 name, System.Object[] args) [0x00000] in <filename unknown>:0
     
  4. Yep same here, ran fine and suddenly console spam:

    Code:
    (20:14:32) | [Oxide] 20:14 [Error] Failed to call hook 'OnItemRemovedFromContainer' on plugin 'NoAdminOwnership v0.1.1' (NullReferenceException: Object reference not set to an instance of an object)
    (20:14:32) | [Oxide] 20:14 [Debug]   at Oxide.Plugins.NoAdminOwnership.notAllowed (.BasePlayer player) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.NoAdminOwnership.OnItemRemovedFromContainer (.ItemContainer container, .Item item) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.NoAdminOwnership.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 name, System.Object[] args) [0x00000] in <filename unknown>:0
     
  5. Any update on this? I would like to use this plugin but can't now due to the error..
     
  6. k1lly0u updated NoAdminOwnership with a new update entry:

    0.1.2


    [DOUBLEPOST=1469432093][/DOUBLEPOST]
    Couldn't replicate the error, so the patch is a total guess :p
     
  7. After the server is restarted
    Code:
    07/26/2016 06:37:55] [Oxide] 06:37 [Error] Failed to call hook 'OnItemAddedToContainer' on plugin 'NoAdminOwnership v0.1.2' (NullReferenceException: Object reference not set to an instance of an object)
    [07/26/2016 06:37:55] [Oxide] 06:37 [Error] Failed to call hook 'OnItemAddedToContainer' on plugin 'NoAdminOwnership v0.1.2' (NullReferenceException: Object reference not set to an instance of an object)
    [07/26/2016 06:37:55] [Oxide] 06:37 [Error] Failed to call hook 'OnItemAddedToContainer' on plugin 'NoAdminOwnership v0.1.2' (NullReferenceException: Object reference not set to an instance of an object)
    [07/26/2016 06:37:55] [Oxide] 06:37 [Error] Failed to call hook 'OnItemAddedToContainer' on plugin 'NoAdminOwnership v0.1.2' (NullReferenceException: Object reference not set to an instance of an object)
    [07/26/2016 06:37:55] [Oxide] 06:37 [Error] Failed to call hook 'OnItemAddedToContainer' on plugin 'NoAdminOwnership v0.1.2' (NullReferenceException: Object reference not set to an instance of an object)
    [07/26/2016 06:37:55] [Oxide] 06:37 [Error] Failed to call hook 'OnItemAddedToContainer' on plugin 'NoAdminOwnership v0.1.2' (NullReferenceException: Object reference not set to an instance of an object)
    [07/26/2016 06:37:55] [Oxide] 06:37 [Error] Failed to call hook 'OnItemAddedToContainer' on plugin 'NoAdminOwnership v0.1.2' (NullReferenceException: Object reference not set to an instance of an object)
    [07/26/2016 06:37:55] [Oxide] 06:37 [Error] Failed to call hook 'OnItemAddedToContainer' on plugin 'NoAdminOwnership v0.1.2' (NullReferenceException: Object reference not set to an instance of an object)
    [07/26/2016 06:37:55] [Oxide] 06:37 [Error] Failed to call hook 'OnItemAddedToContainer' on plugin 'NoAdminOwnership v0.1.2' (NullReferenceException: Object reference not set to an instance of an object)
    [07/26/2016 06:37:55] [Oxide] 06:37 [Error] Failed to call hook 'OnItemAddedToContainer' on plugin 'NoAdminOwnership v0.1.2' (NullReferenceException: Object reference not set to an instance of an object)
    [07/26/2016 06:37:55] [Oxide] 06:37 [Error] Failed to call hook 'OnItemAddedToContainer' on plugin 'NoAdminOwnership v0.1.2' (NullReferenceException: Object reference not set to an instance of an object)
    [07/26/2016 06:37:55] [Oxide] 06:37 [Error] Failed to call hook 'OnItemAddedToContainer' on plugin 'NoAdminOwnership v0.1.2' (NullReferenceException: Object reference not set to an instance of an object)
    [07/26/2016 06:37:55] [Oxide] 06:37 [Error] Failed to call hook 'OnItemAddedToContainer' on plugin 'NoAdminOwnership v0.1.2' (NullReferenceException: Object reference not set to an instance of an object)
    [07/26/2016 06:37:55] [Oxide] 06:37 [Error] Failed to call hook 'OnItemAddedToContainer' on plugin 'NoAdminOwnership v0.1.2' (NullReferenceException: Object reference not set to an instance of an object)
    [07/26/2016 06:37:55] [Oxide] 06:37 [Error] Failed to call hook 'OnItemAddedToContainer' on plugin 'NoAdminOwnership v0.1.2' (NullReferenceException: Object reference not set to an instance of an object)
    [07/26/2016 06:37:55] [Oxide] 06:37 [Error] Failed to call hook 'OnItemAddedToContainer' on plugin 'NoAdminOwnership v0.1.2' (NullReferenceException: Object reference not set to an instance of an object)
    [07/26/2016 06:37:55] [Oxide] 06:37 [Error] Failed to call hook 'OnItemAddedToContainer' on plugin 'NoAdminOwnership v0.1.2' (NullReferenceException: Object reference not set to an instance of an object)
     
  8. Same here
     
  9. k1lly0u updated NoAdminOwnership with a new update entry:

    0.1.3

     
  10. do i need the command after every item i drop?
     
  11. The only command is for debugging. Ownership will be removed once the item is removed from the player
     
  12. what exactly does this do? me and the moderators are confused?
     
  13. Removes fractional ownership of items for admins/players with permission, like the description says :p
    So if you spawn a item and give it to a player you wont have a stake in the XP that is earnt from the player using that item
     
  14. not sure how thiss happened or what I did :)
    Code:
    (21:54:18) | [Oxide] 21:54 [Error] Failed to call hook 'OnItemRemovedFromContainer' on plugin 'NoAdminOwnership v0.1.3' (NullReferenceException: Object reference not set to an instance of an object)
    (21:54:18) | [Oxide] 21:54 [Debug]   at Oxide.Plugins.NoAdminOwnership.PrintOwnership (.BasePlayer player, .Item item) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.NoAdminOwnership.OnItemRemovedFromContainer (.ItemContainer container, .Item item) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.NoAdminOwnership.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 name, System.Object[] args) [0x00000] in <filename unknown>:0
     
  15. thats what i thought and my moderator said there wasnt percentages yet in july. thanks for clearing it up.
     
  16. Code:
    Failed to compile: NoAdminOwnership.cs(73,35): error CS0841: A local variable `items' cannot be used before it is declared
    Needs to be Updated
    thanks !!
     
  17. Wulf

    Wulf Community Admin

    There is no item ownership in Rust anymore.
     
  18. lol

    I did not noted that, thanks