Hello, i create my first server and i apply this plugin. But the server spawn many more example ( 58000 Time .Explosive, 25469 caméra etc...)
i would like decrease . How decrease this ? (Sorry for my english) Best regards.

LootConfig
Allows you to adjust the server's loot list
Total Downloads: 14,987 - First Release: Mar 27, 2015 - Last Update: May 20, 2018
- 5/5, 21 likes
-
Code:
[LootConfig] Config save failed: Object reference not set to an instance of an object at Oxide.Plugins.LootConfig+LootSpawnEntryConverter.WriteJson (Newtonsoft.Json.JsonWriter writer, System.Object value, Newtonsoft.Json.JsonSerializer serializer) [0x00000] in <filename unknown>:0 at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeConvertable (Newtonsoft.Json.JsonWriter writer, Newtonsoft.Json.JsonConverter converter, System.Object value, Newtonsoft.Json.Serialization.JsonContract contract, Newtonsoft.Json.Serialization.JsonContainerContract collectionContract, Newtonsoft.Json.Serialization.JsonProperty containerProperty) [0x00000] in <filename unknown>:0 at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeValue (Newtonsoft.Json.JsonWriter writer, System.Object value, Newtonsoft.Json.Serialization.JsonContract valueContract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerProperty) [0x00000] in <filename unknown>:0 at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeList (Newtonsoft.Json.JsonWriter writer, IEnumerable values, Newtonsoft.Json.Serialization.JsonArrayContract contract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract collectionContract, Newtonsoft.Json.Serialization.JsonProperty containerProperty) [0x00000] in <filename unknown>:0 Calling 'OnServerInitialized' on 'LootConfig v1.0.19' took 998ms [GARBAGE COLLECT]
This started after I updated the server to the last version.
Thanks -
can someone send their max loot working config file
-
-
"[LootConfig] No spawngroup data found: unkown"
This spams in console now. -
Hi a question whenever change the map go to have that back to make the configuration another time of all? Since I make a new file of configuration
-
Does the plugin need to be updated? The boxes are empty.
-
(11:06:02) | [LootConfig] No container data found: assets/bundled/prefabs/radtown/minecart.prefab
-
I'm getting Errors loading this script?
I attached my logAttached Files:
-
-
Can anyone look at my errors and give me advice im a new admin!
-
Any help please? It will not load properly.
-
17:57 [Info] [LootConfig] No container data found: assets/bundled/prefabs/radtown/minecart.prefab
i get this as loot dosent spawn in miencarts yet i run magic loot and betterloot and still get this
but with the others it may be related to this problem check list for you
check oxide it updated
check game version is updated
delete you cs and json file and reload the plugin -
This message gets spammed in my console: (15:54:03) | SubCategoryIntoContainer: This should never happen!
-
The mine crates and mine carts use the same loot definition. However the carts to not spawn any loot on my server.
Is anyone else experiencing this? Am I alone with this problem? -
The quick rust update broke lootconfig. Nothing is working for me.
-
Okey, so i manage to edit what can and cannot drop through supply drops and crates ect, problem is when i add to lootconfig semibodys and riflebodys they dont drop
here is my code
Code:"SubSpawn": [ { "Category": "C4", "Weight": 0 }, { "Category": "Armor", "Weight": 200 }, { "Category": "Ammo", "Weight": 15 }, { "Category": "Collection.Rifles", "Weight": 100 }, { "Category": "Mining Ore", "Weight": 20 }, { "Category": "Traps", "Weight": 0 }, { "Category": "HQMetal_Large", "Weight": 30 }, { "Category": "TurretParts", "Weight": 0 }, { "Category": "RifleBody", "Weight": 50 }, { "Category": "SemiBody", "Weight": 65 } ]
Last edited by a moderator: Mar 17, 2017 -
Okey a litle tips
At start you have this
Code:"assets/prefabs/misc/supply drop/supply_drop.prefab": { "DestroyOnEmpty": true, "LootDefinition": "LootSpawn.SupplyDrop", "MaxDefinitionsToSpawn": 8, "MinSecondsBetweenRefresh": 3600.0, "MaxSecondsBetweenRefresh": 7200.0, "DistributeFragments": false, "InitialLootSpawn": true, "SpawnType": "AIRDROP", "InventorySlots": 6 },
Code:"LootSpawn.SupplyDrop": { "Items": [], "SubSpawn": [ { "Category": "C4", "Weight": 10 }, { "Category": "Armor", "Weight": 200 }, { "Category": "Ammo", "Weight": 1 }, { "Category": "Collection.Rifles", "Weight": 100 }, { "Category": "Mining Ore", "Weight": 20 }, { "Category": "Traps", "Weight": 40 }, { "Category": "HQMetal_Large", "Weight": 30 }, { "Category": "TurretParts", "Weight": 50 } ] },
Code:"C4": { "Items": [ { "Shortname": "explosive.timed", "Amount": 1.0, "MaxAmount": 0.0 } ], "SubSpawn": [] }, "Armor": { "Items": [], "SubSpawn": [ { "Category": "ArmorBasic", "Weight": 50 }, { "Category": "ArmorMedium", "Weight": 30 }, { "Category": "ArmorRare", "Weight": 10 } ] }, "Ammo": { "Items": [], "SubSpawn": [ { "Category": "Pistol", "Weight": 50 }, { "Category": "Rifle", "Weight": 50 }, { "Category": "Shotgun", "Weight": 50 } ] }, "Collection.Rifles": { "Items": [], "SubSpawn": [ { "Category": "AK47 With Ammo", "Weight": 25 }, { "Category": "SMG with Ammo", "Weight": 75 }, { "Category": "Bolt Rifle With Ammo", "Weight": 25 }, { "Category": "Custom Smg With Ammo", "Weight": 75 }, { "Category": "LR300 With Ammo", "Weight": 15 }, { "Category": "MP5 With Ammo", "Weight": 25 }, { "Category": "M92 With Ammo", "Weight": 50 } ] }, "Mining Ore": { "Items": [ { "Shortname": "mining.quarry", "Amount": 1.0, "MaxAmount": 0.0 }, { "Shortname": "surveycharge", "Amount": 10.0, "MaxAmount": 0.0 } ], "SubSpawn": [] }, "Traps": { "Items": [ { "Shortname": "trap.landmine", "Amount": 3.0, "MaxAmount": 0.0 }, { "Shortname": "trap.bear", "Amount": 3.0, "MaxAmount": 0.0 } ], "SubSpawn": [] }, "HQMetal_Large": { "Items": [ { "Shortname": "metal.refined", "Amount": 50.0, "MaxAmount": 0.0 } ], "SubSpawn": [] }, "TurretParts": { "Items": [], "SubSpawn": [ { "Category": "targeting_computer", "Weight": 55 }, { "Category": "cctv_camera", "Weight": 45 } ] }
Code:"body_Part": { "Items": [], "SubSpawn": [{ "Category": "RifleBody", "Weight": 55 }, { "Category": "SemiBody", "Weight": 45 } ] } ,
Code:"SubSpawn": [{ "Category": "C4", "Weight": 0 }, { "Category": "Armor", "Weight": 200 }, { "Category": "Ammo", "Weight": 15 }, { "Category": "Collection.Rifles", "Weight": 100 }, { "Category": "Mining Ore", "Weight": 20 }, { "Category": "Traps", "Weight": 0 }, { "Category": "HQMetal_Large", "Weight": 30 }, { "Category": "TurretParts", "Weight": 0 }, { "Category": "body_Part", "Weight": 50 } ]
-
Code:] }, "LootSpawn.SupplyDrop": { "Items": [], "SubSpawn": [ { "Category": "C4", "Weight": 0 }, { "Category": "Armor", "Weight": 200 }, { "Category": "Ammo", "Weight": 15 }, { "Category": "Collection.Rifles", "Weight": 100 }, { "Category": "Mining Ore", "Weight": 20 }, { "Category": "Traps", "Weight": 0 }, { "Category": "HQMetal_Large", "Weight": 30 }, { "Category": "TurretParts", "Weight": 0 }, { "Category": "RifleBody", "Weight": 50 }, { "Category": "SemiBody", "Weight": 65 }, { "body_Part": { "Items": [], "SubSpawn": [{ "Category": "RifleBody", "Weight": 55 }, { "Category": "SemiBody", "Weight": 45 } ] }, "LootSpawn.TrashPile": { "Items": [], "SubSpawn": [ { "Category": "Nothing", "Weight": 1 }, { "Category": "Items.Common.Food", "Weight": 30 }, { "Category": "RadPills", "Weight": 5 } ] },
-
Any response on the mining carts?
-
Just a Note, plugin doesnt have ResourceID set:
"[Updater] Couldn't check for updates of following plugins as they have no ResourceID set: LootConfig"
Updater ----> Updater | Oxide