It looks like Facepunch has changes planned that will impact this plugin. I saw this message in the console after the May update:'Recycle v3.0.5' is using deprecated hook 'OnRecycleItem', which will stop working on Saturday, 31 December 2022. Please ask the author to update to 'OnItemRecycle(Item item, Recycler recycler)'
Using deprecated hook 'OnRecycleItem'
Hooks are provided by Oxide, not each game or Facepunch. The change isn't due to anything changed in the game and is just a warning for now though.
Thanks for clarifying, @Wulf. What's the reason for deprecating a hook in Oxide? Are hooks what Oxide calls APIs?
I need to start poking through the Oxide source code one of these days.
Hooks are what Oxide creates to allow for plugins to run code when that part of the game is triggered. Hooks are what make plugins possible.flintmonkeyThanks for clarifying, @Wulf. What's the reason for deprecating a hook in Oxide? Are hooks what Oxide calls APIs?
I need to start poking through the Oxide source code one of these days.
With deprecation, that is generally done with a hook is renamed to be closer to how other hooks are named, or if it's arguments changed.