Skrallex submitted a new resource:
Replenish - Easily reset/replenish loot in storage boxes after a certain amount of time.
Read more about this resource...

Replenish
Easily reset/replenish loot in storage boxes and containers after a certain amount of time.
Total Downloads: 1,542 - First Release: Jun 10, 2016 - Last Update: Apr 5, 2018
- 5/5, 11 likes
-
-
What about making the replenish boxes unkillable?
-
can we get non destroy on boxes that are replenish? or have the box respawn on replenish if destroyed?
-
Is it possible to have random loot for ever...Because the responable item is only the same
-
Plugin IS GREAT
-
Can we please get an update for this!
[Oxide] 02:20 [Error] Replenish plugin failed to compile!
[Oxide] 02:20 [Error] Replenish.cs(382,45): error CS1501: No overload for method `CreateByItemID' takes `4' arguments -
Wulf Community Admin
-
Thank you Wulf <3
-
love this plugin , i am getting this in console [Oxide] 08:19 [Error] Replenish.cs(366,31): error CS1061: Type `Item' does not contain a definition for `IsBlueprint' and no extension method `IsBlueprint' of type `Item' could be found. Are you missing an assembly reference?
-
PLEASE FIX THE PLUGIN.
-
I updated the file, it seems to be working fine now.
Last edited by a moderator: Jul 10, 2016 -
Wulf Community Admin
-
it did me error.... so now sober schism fixed it Your update didnt work for meh
@Wulf -
yea @Wulf you must have upload the wrong version that was fixed, that one you have still has blueprints in the code which was messing it up
-
Wulf Community Admin
Here's the other:
Attached Files:
-
-
-
Thank you Wulf, it is working great now, appreciate all your work
-
hello, rust just did another update just a minute ago, i tried to use the replenish and keep getting kicked everytime i get ready to hit a box. This is what im getting InvalidProgramException: Invalid IL code in Hammer
oAttackShared (HitInfo): IL_003d: ret
-
Apologies for my absence, I wasn't getting notifications for replies to this thread. I've fixed the crashing since the XP update, however am currently away on holiday until next week so won't be able to upload and finish it. For the moment, just use the version kindly provided by Wulf, it just removes the couple of lines referencing whether or not an item is a blueprint when saving and restoring the box inventory.
I've also added support for inventories other than the large and small boxes, ie. Furnaces, refineries, small stashes, stockings, camp-fires etc. so that will be available when I can finish testing and reupload.