BetterLoot

Moved

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

4.95699/5, 93 likes
  1. Is this in the config file because if so this is what mine looks like

    Code:
    {
      "Barrel": {
        "barrelTypes": "loot-barrel|loot_barrel|loot_trash",
        "maxBlueprintsPerBarrel": 1,
        "maxItemsPerBarrel": 3,
        "minItemsPerBarrel": 1,
        "refreshBarrels": true,
        "spawnBlueprintsBarrel": true
      },
      "Chances": {
        "baseBlueprintRarity": 3,
        "baseItemRarity": 3,
        "blueprintProbability": 0.11
      },
      "Crate": {
        "crateTypes": "crate_normal|trash-pile",
        "maxBlueprintsPerCrate": 1,
        "maxItemsPerCrate": 6,
        "minItemsPerCrate": 3,
        "refreshCrates": true,
        "spawnBlueprintsCrate": true
      },
     
    Last edited by a moderator: Jun 29, 2016
  2. I think you need to updates your BetterLoot plugin :) And you solve your problem :D
    Regards,

    Katenn
     
  3. Please read the second part of the FAQ-section: BetterLoot for Rust - FAQ | Oxide
    [DOUBLEPOST=1466900398][/DOUBLEPOST]
    Right, uüdate needed: BetterLoot for Rust - 2.0.2 | Oxide
     
  4. ah i thought i did well this time i did and removed everything to do with betterloot its working now thank you
     
  5. Sounds good :)
     
  6. having an issue on my server dont know if its the better loot plugin but all my barrels have over 1 mill of each any one else having this issue
     
  7. nvm he figured it out
     
  8. yea my server is spawning like 6500000 c4 in boxes with this new update version
     
  9. going crazy trying to figure out why cant find a way to fix it
    [DOUBLEPOST=1466915659][/DOUBLEPOST]i think i fixed it delete the config files for betterloot and stacksizecontroller and then delete the plugins for them aswell then unload them recheck to make sure they are gone from the plugin and config files then reload both updated plugins in then reload the plugins in and it should fix the issue so far so good for me
     
  10. alright i just deleted betterloot for the time being
     
  11. I would sugget ,you did'nt read carefully and complete the updated informations in the plugins description page.
    BetterLoot works like it said there and in the FAQ-section:


    Editing loot tables like LootTable.json:
    The loot tables define what to spawn in the referring destination container. It consists of a section for blueprints and for items with their droplimits. Droplimit means, the items spawn random within the range which is set up by the config. Any blueprints or items, which are not listed, will not spawn in their corresponding container.

    IMPORTANT: By default, the loot tables droplimit will be taken by your current servers stacklimit for any item. You need to change this setting after first creation if required in cases with very high stack limits.

    A snapshot from a setting will look like this:
    Code:
    {
      "BlueprintList": [
        "rifle.ak",  // << can spawn Assault Rifle BP
        "ammo.rifle.explosive",  // << can spawn 5.56 Rifle Explosive Ammo BP
        "ammo.rocket.basic", // << can spawn Rocket BP
        "coffeecan.helmet" // << can spawn Coffeecan Helmet BP
       ],
      "ItemList": {
        "rifle.ak": 1, // << can spawn Assault Rifle - max x1
        "ammo.rifle": 100, // << can spawn 5.56 Rifle Ammo - max x100
        "barricade.concrete": 10, // << can spawn Concrete Barricade - max x10
        "barricade.metal": 1 // << can spawn Barricade - max x1
      }
    }
     
  12. where do you find the above?

    I have updated mine and can not see anything like that in the betterloot config file

    really confused why would you have it do same as server stack size thats just silly
     
    Last edited by a moderator: Jun 26, 2016
  13. BetterLoot for Rust - FAQ | Oxide <<<<<<
     
  14. so do i have to change every single item in the list?
     
  15. either delete lines, add lines or change the droplimits for any line to your need, save, "reload BetterLoot" in console
     
  16. I did the steps you said and well mines still dropping crazy amounts of loot in crates I just deleted BetterLoot

    Plugin worked great before is there away to use the older version instead and will it work
     
  17. Shady757 fixes Heli loot --->here,<--- with this code in the BetterLoot.cs file, replacing the old one.

    private Regex crateEx = new Regex(@"crate_normal");
     
    Last edited by a moderator: Jun 27, 2016
  18. Hey Fujikura !
    Try to fix this, but find nothing. You have an idea ?
    Regards,
    Katenn
     
  19. You know that you NEED to reload the plugin for 100% reload of all changed settings, either config file or table?

    Btw: BetterLoot works better then before ;)

    To revert, simply delete config and plugin, and load 1.9.7

    [DOUBLEPOST=1466961783][/DOUBLEPOST]
    BetterLoot has already a switch for that, and for the crate types ;)
    [DOUBLEPOST=1466962163][/DOUBLEPOST]Update Information from any version lower then 2.x.x to any version from 2.x.x:
    >> Please read this COMPLETE part BEFORE installing the plugin <<

    BetterLoot uses now a complete rewritten configuration file. As the name is the same, BetterLoot.json, please backup your config file before update, if you wish to revert to any version before, in case of you are not safisfied with the changes to BetterLoot.
    Before installing the plugin its recommended to delete your current BetterLoot.json in the config folder, as it can't detect which version your file has and then would be mixed with the old configuration file.
    BetterLoot creates on first launch the following files in your servers data folder under the new folder BetterLoot:
    Example: "\data\BetterLoot\LootTable.json"
    Code:
    Blacklist.json << Default blacklisted items
    HeliCrate.json << Default loot tables for helicopter spawns
    LootTable.json << Default servers loot table with MAX Stacksizes for items << you need to change this if needed
    NamesList.json << All BP's (exluded defaults) AND all itemnames AND all items with their current max stacking
    SupplyDrop.json << Default loot tables for SupplyDrop spawns
    LootTable.json, HeliCrate.json and SupplyDrop.json have at first creation the same content. The lists are cleaned by default and not existing BP's, and some not active or not wanted items as a spawn.

    INFO: The default amount of items will be taken from YOUR current MAX servers stacksize. You probably need to change this, as YOUR stacksizes might be very high.
    To have the default loot tables on your server, simply run the plugin once and then do unload it, to change the tables to your need.

    To give you a reference to include missing blueprints and items, you can use the file NamesList.json, which inludes all items and their stacksizes, and those which are not included by default in the tables.
    Easy ADD not included or REMOVE unwanted items from any table, save the file and do reload.

    Any changes to the tables can NOW be reloaded by...
    chatcommand: lootreload
    consolecommand: betterloot.reload

    All types (crates, barrels, heli and supply) have NOW independent settings for spawning blueprints true/false and a configurable maximum for spawning blueprints per container.

    By default, BetterLoot includes most types, like shown in default config:
    Code:
      "Barrel": {
        "barrelTypes": "loot-barrel|loot_barrel|loot_trash"
      },
      "Crate": {
        "crateTypes": "crate_normal|trash-pile"
      }

    By default, BetterLoot does exclude(true) HeliCrates and not include(false) SupplyDrops

    Known Bugs:
    • fixed
    End of update information
    [DOUBLEPOST=1466963014][/DOUBLEPOST]
    Hi Katenn, did a test with 50 reload of an 30 item container, and had on the basic table zero spawns of any defaukt blueprints.
    Sure you did not add those anywhere? Atm i cannot confirm what this could cause on your server.
     
    Last edited by a moderator: Jun 26, 2016
  20. I give you my betterloot.json :
    Code:
    {
      "Barrel": {
        "barrelTypes": "loot-barrel|loot_barrel|loot_trash",
        "maxBlueprintFragmentsBarrel": 10,
        "maxBlueprintsPerBarrel": 1,
        "maxItemsPerBarrel": 3,
        "minBlueprintFragmentsBarrel": 5,
        "minItemsPerBarrel": 1,
        "refreshBarrels": true,
        "spawnBlueprintFragmentsBarrel": false,
        "spawnBlueprintsBarrel": false
      },
      "Chances": {
        "baseBlueprintRarity": 3,
        "baseItemRarity": 3,
        "blueprintProbability": 0.11
      },
      "Crate": {
        "crateTypes": "crate_normal|trash-pile",
        "maxBlueprintFragmentsCrate": 10,
        "maxBlueprintsPerCrate": 1,
        "maxItemsPerCrate": 4,
        "minBlueprintFragmentsCrate": 5,
        "minItemsPerCrate": 2,
        "refreshCrates": true,
        "spawnBlueprintFragmentsCrate": true,
        "spawnBlueprintsCrate": true
      },
      "Generic": {
        "dropWeaponsWithAmmo": false,
        "enforceBlacklist": false,
        "listUpdatesOnLoaded": true,
        "listUpdatesOnRefresh": false,
        "refreshMinutes": 60
      },
      "HeliCrate": {
        "excludeHeliCrate": true,
        "maxBlueprintsPerHeliCrate": 1,
        "maxItemsPerHeliCrate": 4,
        "minItemsPerHeliCrate": 2,
        "spawnBlueprintsHeliCrate": false,
        "useCustomTableHeli": true
      },
      "SupplyDrop": {
        "includeSupplyDrop": false,
        "maxBlueprintsPerSupplyDrop": 1,
        "maxItemsPerSupplyDrop": 6,
        "minItemsPerSupplyDrop": 3,
        "spawnBlueprintsSupplyDrop": true,
        "useCustomTableSupply": true
      }
    }
    Maybe my eyes don't work correctly ^^
     
    Last edited by a moderator: Jun 29, 2016