its based on Box (container) ID, so if you will use like CopyPaste plugin to move your building, replenish will not work since the box/container will get a new ID

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
-
will it respawn the loot only or the container too if someone destroy it?
-
-
Yo! Excellent plugin you got here. I installed it but found out that it actually stacks everything it replenishes. So if I put items in a stacks of certain amount, and the replenish kicks in, it just stacks them all into one slot. I use StackSizeController so there's that.
Example: instead of having chicken titties in stacks of 20, it creates a stack of 300.
It's nothing serious, but I was just wondering if it's possible for this mod to remember the stack amounts etc? Might be complicated but anyway. -
-
-
i set replenish for 10800 ( 3h) plugin dont replenish box. if i test on 30s etc work well
? I restarting server 3 times a day
-
Nice plugin! Can't get it to work with new vending machine. Would be cool as an admin to have vending machine stock that would replenish. Cheers!
-
ditto....
I am running a PVE township on my server, so auto refilling water barrels and vending machines would be magic. -
Code:
i set replenish for 10800 ( 3h) plugin dont replenish box. if i test on 30s etc work well :(? I restarting server 3 times a day
-
When updating Replenish, please add replenish option for vending machine, locker if they don't exist. Cheers!
Edit:
Open your replenish.cs file and change
Code:if(player.IsAdmin() && !UsePermissionsOnly) return true;
Code:if(player.IsAdmin && !UsePermissionsOnly) return true;
Code:{"vending.machine", "Vending Machine"},
Last edited by a moderator: Mar 10, 2017 -
-
If you just add locker to the container type, it doesn't seem to replenish the locker. Instead it clears it's contents. Not sure how to fix but it's beyond me
-
-
Very stupid question go easy on me but how do i fix this?
Error while compiling: Replenish.cs(488,17): error CS1955: The member `BasePlayer.IsAdmin' cannot be used as method or delegate -
-
-
-
Locker support please.
-
Asking for a request, a feature to be added.
Have a toggle where your inventory can be replenished (Mostly Admin) when giving away stuff to people via dropping or View Inventory Plugin. Thanks.