Also a good one >> JSON Editor Online - view, edit and format JSON online

BetterLoot
A complete re-implementation of the drop system
Total Downloads: 42,581 - First Release: Feb 26, 2015 - Last Update: Mar 20, 2018
- 4.95699/5, 93 likes
-
FuJiCuRa updated BetterLoot with a new update entry:
2.15.0
-
Failed to call hook 'OnServerInitialized' on plugin 'BetterLoot v2.15.0' (JsonRe
aderException: After parsing a value an unexpected character was encountered: ".
Path 'ItemList['ammo.rocket.fire']', line 17, position 4.)
at Newtonsoft.Json.JsonTextReader.ParsePostValue () [0x00000] in <filename unk
nown>:0
at Newtonsoft.Json.JsonTextReader.Read () [0x00000] in <filename unknown>:0
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateDictiona
ry (IDictionary dictionary, Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.S
erialization.JsonDictionaryContract contract, Newtonsoft.Json.Serialization.Json
Property containerProperty, System.String id) [0x00000] in <filename unknown>:0
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject (Ne
wtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Seriali
zation.JsonContract contract, Newtonsoft.Json.Serialization.JsonProperty member,
Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonso
ft.Json.Serialization.JsonProperty containerMember, System.Object existingValue)
[0x00000] in <filename unknown>:0
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInter
nal (Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.
Serialization.JsonContract contract, Newtonsoft.Json.Serialization.JsonProperty
member, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, N
ewtonsoft.Json.Serialization.JsonProperty containerMember, System.Object existin
gValue) [0x00000] in <filename unknown>:0
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue
(Newtonsoft.Json.Serialization.JsonProperty property, Newtonsoft.Json.JsonConve
rter propertyConverter, Newtonsoft.Json.Serialization.JsonContainerContract cont
ainerContract, Newtonsoft.Json.Serialization.JsonProperty containerProperty, New
tonsoft.Json.JsonReader reader, System.Object target) [0x00000] in <filename unk
nown>:0
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject (
System.Object newObject, Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Seri
alization.JsonObjectContract contract, Newtonsoft.Json.Serialization.JsonPropert
y member, System.String id) [0x00000] in <filename unknown>:0 -
please update with every kind of crate. or tell us which each crate is on your plugin
-
How do I have it edit only the supply drop crate and leave all the rest as normal and totally untouched?
-
JsonReaderException: After parsing a value an unexpected character was encountered: ".
Path 'ItemList['ammo.rocket.fire']', line 17, position 4.)
navigate to oxide\data\BetterLoot\LootTable.json
Code:Changing included barrels/crates: By default, the setting for included barrels is this: Code (Text): "barrelTypes": "loot-barrel|loot_barrel", This means, it includes: Loot-Barrel-1 Loot-Barrel-2 loot_barrel_1 loot_barrel_2 loot_trashObey the the required spacer "|" between all strings. INFO: Do NOT set the spacer at START and NOT at the END of the line, only between the entrys.Example for only Loot-Barrel-1 and loot_barrel_2: Code (Text): "barrelTypes": "loot-barrel-1|loot_barrel_2", Example for only loot_barrel_1, loot_barrel_2 and loot_trash: Code (Text): "barrelTypes": "loot_barrel|loot_trash", The same function is used for crates. For crates exist the following ones: crate_normal crate_normal_2 crate_normal_2_food crate_normal_2_medical crate_tools trash-pile-1 Like for barrels, the setting in the config are case-sensitive. INFO: For setting crates, plz obey NOT to use only "crate" as the container, as of the reason the spawn from helicopter is called "heli_crate".
set "enableCrates": true, to false
set "includeSupplyDrop": false, to true
use "useCustomTableSupply": true
after first run it can happend that all your crates/barrels overwrite with this plugins loottable, but after loot the crates/barrels they spawn vanilla back, if u set to false and relaod this plugin. -
Hi Fuji
RE:
or
"HeliCrate": {
"includeHeliCrate": true,
"crateTypes": "crate_elite",
Nope..
is there a way to create more custom loot tables, for instance if I want to create a food table for only the food crates? also for if I want to control the Elite green boxs (are these controllable?) -
-
Hmmm...... my question seems to be gone?
-
-
how can i edit item amount?
-
"randomAmountBarrels": false, (if this is set to false, the amounts in your Barrels loot table will always be found at the number you set, if true its a random number up to the number you set)
Then go to data > BetterLoot > LootTable and set the amounts you would like the players to receive.
[DOUBLEPOST=1521729506][/DOUBLEPOST] -
-
-
can i edit possibility? -
-
-
"crate_normal
crate_normal_2
crate_normal_2_food
crate_normal_2_medical
crate_tools
trash-pile-1"
Anyone that can explain to me which crates are the following: Military, Tools (Assuming "Crate_Tools") and Primitive.
Having a hard time figuring out the actual names for the crates, the full list would help me out a bunch. -
//Start Military json add
minItemsPerMil = Convert.ToInt32(GetConfig("Military", "minItemsPerMil", 3));
maxItemsPerMil = Convert.ToInt32(GetConfig("Military", "maxItemsPerMil", 6));
refreshMil = Convert.ToBoolean(GetConfig("Military", "refreshMil", true));
milTypes = Convert.ToString(GetConfig("Military", "milTypes", "crate_small")); //Check
enableMil = Convert.ToBoolean(GetConfig("Military", "enableMil", true));
randomAmountMil = Convert.ToBoolean(GetConfig("Military", "randomAmountMil", true));
//End Military json add
"crate_small" < this is the only thing I cannot figure out for the life of me -
Nevermind... figured it out...