BetterLoot

Moved

Total Downloads: 42,617 - First Release: Feb 26, 2015 - Last Update: Mar 20, 2018

4.95699/5, 93 likes
  1. all i can think of is to make sure you have this enabled as true in config - "useCustomTableSupply":true
     
  2. just checked and yes its true by default should i show u my config file and supplydrop file?
     
  3. I forgot to mention i also use fancy drop plugin which may be relevant? heres my configs that work for me..
     

    Attached Files:

  4. i was messing with the betterloot.json and found out that you can have the ItemListCrates function affect certain crates that you want.
    for example. the default code
    Code:
      "Crate": {
        "crateTypes": "crate_normal",
        "enableCrates": true,
        "maxItemsPerCrate": 6,
        "minItemsPerCrate": 5,
        "refreshCrates": true
      },
    this code will affect all the crates that start with "crate_normal" such as "crate_normal_2" "crate_normal_2_food" and "crate_normal_2_medical"
    however if you want it to just affect "crate_normal" only you would have to add the filename ".prefab" to it, to only affect that crate.
    example:
    Code:
      "Crate": {
        "crateTypes": "crate_normal.prefab|crate_normal_2.prefab|crate_tools.prefab|crate_mine.prefab",
        "enableCrates": true,
        "maxItemsPerCrate": 6,
        "minItemsPerCrate": 5,
        "refreshCrates": true
      },
    hopefully this helps server owners to specify which crates or barrels they want affected.
    Now i can have Medical crates and Food crates actually spawn food and meds.
     
  5. Aight so I replaced my files with these then tried it in game but still nothing changed, I did a full server restart and now the changes works. So i'm guessing every time I edit the BetterLoot I have to restart server for the effects to kick in...
     
  6. 'oxide.reload Betterloot' in console is all you should need to do after config changes but im glad you got it working :)
     
  7. how do i change the rarity of items in barrels and boxes?
     
  8. in your config look for this and add what you want '
    },
    "Rarity": {
    "Override": {
    "autoturret": 1,
    "targeting.computer": 3
    }
    If i remember correctly 1 was rarest 5 most common but you may want to make sure i got that the right way round ;) think it affects whole loot table and not just barrels and boxes though.
     
  9. so i have to add every item on this table from the barrles and crates? and do you know what the defult would be in the barrles

    got people always complaining about pipes but if i change the rarity to 2-3 in the middle it might be way off from the rest
     
  10. minecarts are spawning empty anyway to get loot inside these
     
  11. MineCarts are not included by default in the BetterLoot config.
    Regardless of this, they had anyway some problems in the past to get filled correctly with loot (by the game internals).
     
  12. i am trying to blacklist items like bleach and duct tape and clones but the blacklist item doesnt work, they keep going in the crates.
     
  13. just doing some tests with the heli loot while everyone was offline and my rarity for M249 is at 7 and ive managed to get 2 lrs with 150 bullets and 2 m249s with 150 bullets and only these items nothing else

    when i go to reload the plugin i get this message pop up

    [BetterLoot] HeliCrate > 'useCustomTableHeli' enabled, but loot population inactive by 'includeHeliCrate'

    [BetterLoot] SupplyDrop > 'useCustomTableSupply' enabled, but loot population inactive by 'includeSupplyDrop'

    could this be why its not loading the custom loot table ? and why would this have happened as far as i know it was fine a couple days ago
     
  14. All barrel/ crate types to my knowledge. (All tested working inc. Minecart)

    Code:
    "Barrel": {
            "barrelTypes": "loot-barrel-1.prefab|loot-barrel-2.prefab|loot_barrel_1.prefab|loot_barrel_2.prefab|loot_trash.prefab|oil_barrel.prefab",
    Code:
    "Crate": {
            "crateTypes": "crate_normal.prefab|crate_normal_2.prefab|crate_normal_2_food.prefab|crate_normal_2_medical.prefab|crate_tools.prefab|crate_mine.prefab|trash-pile-1.prefab|minecart.prefab|foodbox.prefab",
     
  15. Rarity only ranges between 0-4. (BetterLoot for Rust - 2.11.5 | Oxide).
    Set both your options to true.
    "includeSupplyDrop": true, <- Allows BetterLoot to affect Supply drops (true). Or all supply drops will have default vanilla loot (false) (overrides below setting).
    "useCustomTableSupply": true <-- Supply drops will either be filled with loot from your LootTable.json (false) or SupplyDrop.json (true).
    Works the same for Heli settings.
     
  16. My server keeps dropping scrap when loot crates are spawned can someone help
     
  17. how do i make rifle bodies and other types of bodies rarity higher?

    not from heli loot but from barrels and crates
     
  18. Your question has already been answered above.
    Rarity ranges from 0 (None) - 4 (VeryRare) and will affect Heli, Supply and all other loot containers if i'm not mistaken.
    Should look something like this:
    Code:
    "Rarity": {
        "Override": {
            "riflebody": 4,
            "smgbody": 4,
            "semibody": 4,
            "itemswontspawn": 0,
            "commonitems": 1,
            "uncommonitems": 2,
            "rareitems": 3,
            "veryrareitems": 4
        }
    },
     
  19. yeah i know sorry i forgot to mention that i just wanted it for barrels and crates... is there an option to create a new config for each type of loot?
     
  20. The only plugin which currently supports that is AlphaLoot
    + It can do a whole lot more, not to mention skins ;)
    Main feature list:
    • Each Loot-Container type has a separate Item list
    • Each Loot-Container type has its own settings for item counts
    • It includes and enables by default all common town and roadside containers
    • It includes (disabled by default) also supply-drops, heli-crates and oil-barrels
    • Full CustomLootSpawns compatibility
    • Per each item category its able to spawn items randomly skinned
    • It exports the default server Loot-Spawns into its Loot-Table file
    • The plugins default Loot-Table is already filtered (more info below)
    • The exported item structure is mainly like vanilla (minus filtered stuff)
    • The presets are adjustable by each item category (more info below)
    • The presets are also fine graded by some predefined item dividers (more info below)
    • All item rarities can be easy overridden by a predefined data file
    • It will remove stacked Loot-Container often found in towns
    • It makes sure every Loot Container is populated with stuff
    • It prevents the spawn of multiple equal items per Loot-Container
    • Loot-Container refresh timings are spread to prevent server lags
    • Most needed configuration steps can be done by console commands