BetterLoot

Moved

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

4.95699/5, 93 likes
  1. try "includeSupplyDrop": false, set to "includeSupplyDrop": true,

    same as Heli loot if u wish handle by better loot set "includeHeliCrate": false, to true
     

  2. If that wasn't the problem, its is at the end of your supply drop remove the "," after "smg.thompson": 1,


    Thats the only problem i could see, let me know if that helps.
     
  3. Got it. Thank you very much.
     
  4. How would you Stop any Blueprints from spawning ?
     
  5. How do i add custom loot tables for only the Minecarts!
     
  6. I have betterloot
    and i cant seem to get it to drop 20 scrap from the barrels and stuff how can i change it
    lootable.jvson
    {
    "ItemListBarrels": {
    "scrap": 25,
    "lowgradefuel": 25,
    "crude.oil": 10,
    "metalpipe": 2,
    "metalblade": 2,
    "metalspring": 2,
    "can.beans": 5,
    "can.tuna": 5,
    "rope": 2,
    "techparts": 2

    },
    },
    "ItemListCrates": {
    "smg.Mp5" 1, //
    "gears": 10, //
    "largemedkit": 5, //
    "metalblade": 10, //
    "metalpipe": 10, //
    "mushroom": 10, //
    "riflebody": 10, //
    "roadsigns": 10, //
    "rope": 10, //
    "semibody": 15, //
    "sewingkit": 15, //
    "smgbody": 10, //
    "metalspring": 10, //
    "syringe.medical": 5, /
    "tarp": 5, //
    "techparts": 10, //
    "scrap" : 50, //
    }
    }

    betterloot.jvson

    {
    "Barrel": {
    "barrelTypes": "loot-barrel|loot_barrel|loot_trash",
    "enableBarrels": true,
    "maxItemsPerBarrel": 10,
    "minItemsPerBarrel": 10,
    "randomAmountBarrels": true,
    "refreshBarrels": true
    },
    "Crate": {
    "crateTypes": "crate_normal|crate_tools",
    "enableCrates": true,
    "maxItemsPerCrate": 8,
    "minItemsPerCrate": 5,
    "randomAmountCrates": true,
    "refreshCrates": true
    },
    "Generic": {
    "dropWeaponsWithAmmo": true,
    "enableScrapSpawn": true,
    "enforceBlacklist": false,
    "listUpdatesOnLoaded": true,
    "listUpdatesOnRefresh": false,
    "pluginEnabled": true,
    "refreshMinutes": 30,
    "removeStackedContainers": true,
    "seperateLootTables": true
    },
    "HeliCrate": {
    "includeHeliCrate": false,
    "maxItemsPerHeliCrate": 4,
    "minItemsPerHeliCrate": 2,
    "randomAmountHeliCrate": true,
    "useCustomTableHeli": true
    },
    "Rarity": {
    "Override": {
    "autoturret": 4,
    "lmg.m249": 4,
    "targeting.computer": 3
    }
    },
    "SupplyDrop": {
    "includeSupplyDrop": false,
    "maxItemsPerSupplyDrop": 6,
    "minItemsPerSupplyDrop": 3,
    "randomAmountSupplyDrop": true,
    "useCustomTableSupply": true
    }
    }




    why isnt this working? i cant get it to give us 20 scraps from barrels
     
  7. It's been mentioned in a few replies, but this plugin works separately from scraps. Yes, you can add "scrap" from the namelist (and it even seems to affect crates) but it does not effect barrels. At least, that's what my testing has shows. Second, the value next to scrap is the amount it can spawn up to. So it has a chance to spawn up to 25. I would suggest just moving "scrap" to the ItemListCrates section. That seems to work fine.
     
  8. Can someone provide a better loot file for me? I created a x10 server for some friends and I. Would like the loot to kind of reflect the x10
     
  9. I'd be happy to send you a loot file, but the problem is your description. You want a Better loot file. What is "better"? More loot? More weapons? In what - crates or just barrels? More or less things to break down into scrap? More OP weapons or less? Is ammo hard or easy to find? Etc. I can send you what I have, but what's good for my server, may not be good for you.

    I don't mean for this to sound standoff-ish, but this is probably one of the easiest plugins to edit. You simply need to open the NamesList.json file found in server\YOURSERVERNAME\oxide\data\BetterLoot and put the things you like into the LootTable.json in the same directory.

    I've attached mine below in case you don't want to heed my advice, but eventually you will want the ability to edit/make your own anyway.
     

    Attached Files:

  10. Im sorry i meant better loot file as i was refering to the plugin. I didnt realize that you modified the JSON files as opposed to the CS file. Im farely new to the plugin game. But overall was to increase everything as its a x10 server meant to have fun on for like an hour a day and be able to still enjoy it as opposed to having to grind.
     
  11. For increased rates you will want to check out a different mod. Gather Manager is the one I use.
     
  12. I have already modified the gathering rates! I want all the loot from barrels and crates to kind of cater to the increased gather rate is what i meant, sorry.

    Dont want x1o gather rate with vanilla barrel/crate loot if you know what i mean
     
  13. Then use the file I uploaded. I run a 10x server. You can't expect others to know what you mean by "cater to a 10x server". Good luck.
     
  14. So i have uploaded it, does the server need to restart for the loottable to go into affect?
     
  15. No, but it won't affect existing entries, just new ones. Don't forget to reload the plugin once you've made changed.
    Code:
    oxide.reload BetterLoot
    It is case-sensitive.
     
  16. Ahh gotcha, think that is what i may have been missing.
    [DOUBLEPOST=1512523985][/DOUBLEPOST]
    Another quick question if you dont mind me asking, do i change the amount of items in a barrel/crate in betterloot.cs file? in the oxide/plugins directory?

    Thanks again for the help!
     
  17. I am utilizing your x10 you loaded and I am on x15 that I made. Does this also affect barrels as well? I am still getting nothing but ammo for the supply drops. Was wondering if dropping like flamethrower, rocket launcher, rounds for them and like timed explosive setup would work? Something like that would be great. Any help is appreciated it!
     
    Last edited by a moderator: Dec 6, 2017
  18. Hey Hightechkilla. This plugin doesn't have anything to do with yield btw. Just what items drop from where. The file I uploaded was just for crates and barrels. To affect drops you need to look in the SupplyDrop.json in the same directory.

    Edit: Don't forget to change the config file set supply drops to "true" (they're false by default) read the last few pages of comments to see how.
     
  19. da1geek, so you cant change how many items per barrel/crate drop or the quantity that drops?
     
  20. {
    "ItemListBarrels": {
    "scrap": 8,
    "mace": 1,
    "icepick.salvaged": 1,
    "attire.hide.boots": 1,
    "attire.hide.skirt": 1,
    "burlap.headwrap": 1,
    "bucket.helmet": 1,
    "hat.beenie": 1,
    "door.hinged.metal": 1,
    "door.double.hinged.metal": 1,
    "crude.oil": 9,
    "chair": 1,
    "burlap.shirt": 1,
    "burlap.shoes": 1,
    "bucket.water": 1,
    "box.wooden": 1,
    "bone.club": 1,
    "trap.bear": 1,
    "battery.small": 1,
    "bandage": 3,
    "axe.salvaged": 1,
    "arrow.hv": 7,
    "apple.spoiled": 5,
    "smg.2": 6,
    "ammo.shotgun.slug": 3,
    "ammo.shotgun": 5,
    "shotgun.double": 3,
    "shotgun.waterpipe": 3,
    "salvaged.cleaver": 1,
    "salvaged.sword": 1,
    "pistol.revolver": 2,
    "pistol.semiauto": 2,
    "ammo.pistol": 4,
    "ammo.rifle": 4,
    "crossbow": 1,
    "rifle.bolt": 4,
    "antiradpills": 2,
    "apple": 2,
    "black.raspberries": 2,
    "bleach": 3,
    "blueberries": 2,
    "can.beans": 2,
    "can.tuna": 2,
    "candycane": 0,
    "chocholate": 2,
    "ducttape": 3,
    "gears": 6,
    "glue": 4,
    "granolabar": 5,
    "clone.hemp": 2,
    "largemedkit": 6,
    "metalblade": 8,
    "metalpipe": 8,
    "fish.minnows": 2,
    "mushroom": 2,
    "propanetank": 5,
    "pumpkin": 2,
    "clone.pumpkin": 2,
    "riflebody": 6,
    "roadsigns": 6,
    "rope": 6,
    "semibody": 6,
    "sewingkit": 5,
    "sheetmetal": 6,
    "fish.troutsmall": 2,
    "smallwaterbottle": 2,
    "smgbody": 6,
    "metalspring": 6,
    "sticks": 4,
    "syringe.medical": 6,
    "tarp": 5,
    "techparts": 9
    },
    "ItemListCrates": {
    "scrap": 15,
    "pistol.m92": 1,
    "jacket": 1,
    "jacket.snow": 1,
    "weapon.mod.holosight": 1,
    "hq.metal.ore": 100,
    "hoodie": 1,
    "hazmatsuit": 1,
    "furnace.large": 1,
    "explosive.timed": 9,
    "explosives": 12,
    "door.hinged.toptier": 1,
    "door.double.hinged.toptier": 1,
    "crude.oil": 15,
    "ammo.rocket.basic": 12,
    "ceilinglight": 1,
    "smg.2": 1,
    "weapon.mod.simplesight": 2,
    "weapon.mod.small.scope": 2,
    "shotgun.pump":1,
    "explosives": 12,
    "crossbow": 1,
    "rifle.semiauto": 8,
    "grenade.beancan": 9,
    "antiradpills": 3,
    "apple": 5,
    "black.raspberries": 2,
    "bleach": 3,
    "blueberries": 3,
    "can.beans": 3,
    "can.tuna": 3,
    "candycane": 0,
    "chocholate": 2,
    "ducttape": 2,
    "gears": 9,
    "glue": 4,
    "granolabar": 2,
    "clone.hemp": 2,
    "largemedkit": 9,
    "metalblade": 9,
    "metalpipe": 9,
    "fish.minnows": 2,
    "mushroom": 2,
    "propanetank": 5,
    "pumpkin": 2,
    "clone.pumpkin": 2,
    "riflebody": 7,
    "roadsigns": 7,
    "rope": 5,
    "semibody": 5,
    "sewingkit": 5,
    "sheetmetal": 5,
    "fish.troutsmall": 2,
    "smallwaterbottle": 2,
    "smgbody": 5,
    "metalspring": 5,
    "sticks": 4,
    "syringe.medical": 6,
    "tarp": 5,
    "techparts": 12
    }
    }

    Should I have this in my JSON file as well?

    {
    "Barrel": {
    "barrelTypes": "loot-barrel|loot_barrel|loot_trash",
    "enableBarrels": true,
    "maxItemsPerBarrel": 3,
    "minItemsPerBarrel": 1,
    "randomAmountBarrels": true,
    "refreshBarrels": false
    },
    "Crate": {
    "crateTypes": "crate_normal|crate_tools",
    "enableCrates": true,
    "maxItemsPerCrate": 6,
    "minItemsPerCrate": 3,
    "randomAmountCrates": true,
    "refreshCrates": true
    },
    "Generic": {
    "dropWeaponsWithAmmo": true,
    "enableScrapSpawn": true,
    "enforceBlacklist": false,
    "listUpdatesOnLoaded": true,
    "listUpdatesOnRefresh": false,
    "pluginEnabled": true,
    "refreshMinutes": 30,
    "removeStackedContainers": true,
    "seperateLootTables": true
    },
    "HeliCrate": {
    "includeHeliCrate": false,
    "maxItemsPerHeliCrate": 4,
    "minItemsPerHeliCrate": 2,
    "randomAmountHeliCrate": true,
    "useCustomTableHeli": true
    },
    "Rarity": {
    "Override": {
    "autoturret": 4,
    "lmg.m249": 4,
    "targeting.computer": 3
    }
    },
    "SupplyDrop": {
    "includeSupplyDrop": false,
    "maxItemsPerSupplyDrop": 8,
    "minItemsPerSupplyDrop": 3,
    "randomAmountSupplyDrop": true,
    "useCustomTableSupply": true
    }
    }

    I have just the first one above and when I hit on barrels I am still not getting the items that I have higher numbers on. I want guarantee for the high numbered items and a very low drop rate for the low numbers.


    This is in my other plugin file of BetterLoot. Not sure if this is right.

    #region Config

    bool pluginEnabled;
    bool enableScrapSpawn;
    bool seperateLootTables;
    string barrelTypes;
    string crateTypes;
    bool enableBarrels;
    bool randomAmountBarrels;
    int minItemsPerBarrel;
    int maxItemsPerBarrel;
    bool enableCrates;
    bool randomAmountCrates;
    int minItemsPerCrate;
    int maxItemsPerCrate;
    int minItemsPerSupplyDrop;
    int maxItemsPerSupplyDrop;
    int minItemsPerHeliCrate;
    int maxItemsPerHeliCrate;
    double baseItemRarity = 2;
    int refreshMinutes;
    bool removeStackedContainers;
    bool enforceBlacklist;
    bool dropWeaponsWithAmmo;
    bool includeSupplyDrop;
    bool randomAmountSupplyDrop;
    bool includeHeliCrate;
    bool randomAmountHeliCrate;
    bool listUpdatesOnLoaded;
    bool listUpdatesOnRefresh;
    bool useCustomTableHeli;
    bool useCustomTableSupply;
    bool refreshBarrels;
    bool refreshCrates;


    Also there is no SupplyDrop.JSON file in my config folder like the loot table. Weird?
     
    Last edited by a moderator: Dec 6, 2017