Noviets submitted a new resource:
LootChests - Spawns storage chests with set loot across the map
Read more about this resource...
LootChests
Moved
Total Downloads: 3,131 - First Release: Jan 29, 2016 - Last Update: Jul 17, 2017
- 5/5, 16 likes
-
Awesome man! It works!
Here some things I noticed:
1. As soon as the timer to destroy the chests is reached they do not appear again unless I reload the plugin.
Its possible to make the plugin reset itself? For example, if I set the timer to destroy the chests to 3600 and the timer to spawn 10 seconds, after the 3600 seconds have passed, it will count more 10 seconds to spawn chests again, and so on.
2. I found a problem, if the plugin starts and spawn the chests after the time, sometimes the timer to destroy don't work and then all the chests that were spawned will remain, because if I reload the plugin it will destroy only the new generated chests.
Its possible to implement a command that will manually destroy all of the spawned chests to prevent this? (I had to delete the save to get rid of all chests
3. Can you explain to me how MaximumRange and MinimumRange works? Its the distance between the chests or what?
4. Item configuration and Item spawns:
I added 7 items to the configuration:
Code:{ "20": 10, /*coal*/ "20": 15, /*coal*/ "49": 1, /*Hunting Bow*/ "23": 12, /*Animal Fat*/ "25": 2, /*Owrong*/ "25": 5, /*Owrong*/ "141": 1 /*Shitty TShirt*/ }
Its possible to spawn only the given quantity of the item, so if I set ItemsPerChest to 5, and have 30 items on my item list, it will not spawn the same item more times. I say that because it will prevent spawning more than the quantity of the given item.
5. Its possible to make chests spawn on top of rocks?
6. "Chests will not spawn on top of buildings or cliffs."
By cliffs you mean slope terrain?
Thanks again for making this plugin! You are awesome! -
[Oxide] 4:19 PM [Error] Failed to run a 30.00 timer in 'LootChests v1.0.0' (NullReferenceException: Object reference not set to an instance of an object)
[Oxide] 4:19 PM [Debug] at Oxide.Plugins.LootChests.<ChestSpawns>m__0 () [0x00000] in <filename unknown>:0
at Oxide.Core.Libraries.Timer+TimerInstance.Update () [0x00000] in <filename unknown>:0 -
Noviets updated LootChests with a new update entry:
1.0.1
[DOUBLEPOST=1454057930][/DOUBLEPOST]
2) The chests should be destroyed everytime they spawn, I take a look to see if I can find the problem.
3) The minimum and maximum range is from the StartPoint. Say for example the start point is the corner of a box, the minimum and maximum range would be the distance away from that point, from the minimum, to the maximum distance away from that point that you set. Here's an image to explain how it works: http://puu.sh/mNUD0/8231c0af76.png
4)Items can only be added once right now. But I will update the plugin later like this: "20": 10-20, /*coal*/ so you can have between 10 and 20 coal.
Please keep posting bug reports. The earlier I fix them the less people need to deal with them
[DOUBLEPOST=1454059484][/DOUBLEPOST]Okay there's a few bugs I need to fix, please bare with me. -
Noviets updated LootChests with a new update entry:
1.0.1
-
Noviets updated LootChests with a new update entry:
1.0.2
-
Thx for this nice pulgin ^^
i test and i have small bug (spawn chest in air at sphere )
Gyazo - c78825ab3fd1c06d3f444dce9a3ab428.jpg -
@Noviets can you make it possible for the chest to disappear when items are taken from the chest?
-
It is not working for me. ''plugin not loaded'' restarted the server 2 times already.
Any ideas whats up?
<FIXED> It was a problem in the server Oxide directory.Last edited by a moderator: Jan 29, 2016 -
Can i spawn chests manually?
-
-
-
mhh i have download at 4h00 pm ^^
-
-
getting no errors but also not getting anything in chat saying anything spawned either? so i dont even know if they are..i added items using the commands but still not seen anything
-
[DOUBLEPOST=1454093144][/DOUBLEPOST]
You can also type "rcon count chest" in the F1 console to get a total count of all the chests, may help you to determine if they are actually spawning.
Did you change any of the config?
[DOUBLEPOST=1454093212][/DOUBLEPOST] -
its says 121 chests but seen nothing in the chat..let me go remove it and load it bk in again and watch what happens
-
-
i changed the config to 1 hour but it still didnt happen but i just deleted the cs file and reinstalled and instantly in chat "chests have spawned" ill keep an eye on it thanks
Last edited by a moderator: Jan 29, 2016 -