BetterLoot

Moved

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

4.95699/5, 93 likes
  1. Wulf

    Wulf Community Admin

    The plugin is already updated, just download it.
     
  2. wulf alredy update it
     
  3. From the Overview: "To give you a reference to include missing 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."
     
  4. yea but i searh for a config for the tables i want to se want order server have mybe is can you it for me server
     
  5. I'll give you mine in a bit when I get home but it's for a medieval server so I highly doubt you want to copy my files lol. Which is kinda why the creator just encourages us to figure them out and make it up how we want it for our servers.
     
  6. thanks i wil make it beter in figure but for now is fine i have a son now se all me time go to there !
     
  7. I deleted the old version of the plugin and the .json file in the config folder, download the newest update and reinstalled it. It is still giving me an error and no new config file is appearing. The error reads: Error while compiling BetterLoot.cs(1339,11): error CS1061: Type `ConsoleSystem.Arg' does not contain a definition for `Connection' and no extension method `Connection' of type `ConsoleSystem.Arg' could be found. Are you missing an assembly reference?

    I tried unloading and reloading the plugin but nothing has worked. I've even deleted and redownloaded the new version twice.
     
  8. Wulf

    Wulf Community Admin

    You are using an old version of Rust.
     
  9. Hi, i have some trouble, i'm new into Rust modded server but i'm not a newbie either in the world of modding/dev.

    But i have some problem right now, i'm using BetterLoot to modify loot inside Barrel/Crate/HeliCrate/SupplyDrop and it's not working fine even if i'm following the FAQ

    Actually, after i start using BetterLoot, no crate are spawning anymore, not even 1
    but in my config/BetterLoot.json
    Code:
    {
      "Barrel": {
        "barrelTypes": "loot-barrel|loot_barrel|loot_trash",
        "enableBarrels": true,
        "maxItemsPerBarrel": 5,
        "minItemsPerBarrel": 1,
        "refreshBarrels": true
      },
      "Crate": {
        "crateTypes": "crate_normal|crate_tools",
        "enableCrates": true,
        "maxItemsPerCrate": 10,
        "minItemsPerCrate": 3,
        "refreshCrates": true
      },
      "Generic": {
        "dropWeaponsWithAmmo": true,
        "enforceBlacklist": false,
        "listUpdatesOnLoaded": true,
        "listUpdatesOnRefresh": false,
        "pluginEnabled": true,
        "refreshMinutes": 20,
        "removeStackedContainers": true,
        "seperateLootTables": true
      },
      "HeliCrate": {
        "includeHeliCrate": true,
        "maxItemsPerHeliCrate": 10,
        "minItemsPerHeliCrate": 2,
        "useCustomTableHeli": true
      },
      "Rarity": {
        "Override": {
          "autoturret": 4,
          "lmg.m249": 4,
          "targeting.computer": 3
        }
      },
      "SupplyDrop": {
        "includeSupplyDrop": true,
        "maxItemsPerSupplyDrop": 10,
        "minItemsPerSupplyDrop": 3,
        "useCustomTableSupply": true
      }
    }

    and well of what i read, this is actually a setting that should spawn crate/barrels.
    Tell me if i'm wrong, but i guess it's good

    But now even with only the barrel i try having new item spawning inside the barrel but it's not working either, maybe i don't understand the FAQ clearly but i modified my LootTable.json and the last item doesn't have a comma ! Ps : i simply put everything to spawn inside the barrel/crate to test if it's working, but no crate mean can't test with the crate and barrel only dropping vanilla item.

    Code:
    {
      "ItemListBarrels": {
        "rifle.ak": 1,
        "ammo.handmade.shell": 3,
        "ammo.pistol": 3,
        "ammo.pistol.fire": 3,
        "ammo.pistol.hv": 3,
        "ammo.rifle": 3,
        "ammo.rifle.explosive": 3,
        "ammo.rifle.incendiary": 3,
        "ammo.rifle.hv": 3,
        "ammo.rocket.basic": 3,
        "ammo.rocket.fire": 3,
        "ammo.rocket.hv": 3,
        "ammo.rocket.smoke": 3,
        "ammo.shotgun": 3,
        "ammo.shotgun.slug": 3,
        "antiradpills": 3,
        "apple": 3,
        "apple.spoiled": 3,
        "arrow.hv": 3,
        "arrow.wooden": 3,
        "axe.salvaged": 1,
        "bandage": 3,
        "barricade.concrete": 3,
        "barricade.metal": 3,
        "barricade.sandbags": 3,
        "barricade.stone": 3,
        "barricade.wood": 3,
        "barricade.woodwire": 3,
        "battery.small": 3,
        "trap.bear": 3,
        "bed": 3,
        "black.raspberries": 3,
        "bleach": 3,
        "blood": 3,
        "blueberries": 10,
        "blueprintbase": 3,
        "rifle.bolt": 1,
        "bone.club": 1,
        "bone.fragments": 1,
        "botabag": 3,
        "bow.hunting": 1,
        "box.wooden.large": 1,
        "box.wooden": 1,
        "bucket.water": 1,
        "building.planner": 1,
        "burlap.shirt": 1,
        "burlap.shoes": 1,
        "cactusflesh": 5,
        "tool.camera": 1,
        "campfire": 1,
        "can.beans": 10,
        "can.beans.empty": 10,
        "can.tuna": 10,
        "can.tuna.empty": 10,
        "candycane": 5,
        "cctv.camera": 1,
        "ceilinglight": 1,
        "chocholate": 3,
        "cloth": 15,
        "coal": 15,
        "corn": 10,
        "clone.corn": 10,
        "seed.corn": 10,
        "crossbow": 1,
        "crude.oil": 15,
        "cupboard.tool": 1,
        "door.double.hinged.metal": 1,
        "door.double.hinged.toptier": 1,
        "door.double.hinged.wood": 1,
        "door.hinged.metal": 1,
        "door.hinged.toptier": 1,
        "door.hinged.wood": 1,
        "door.key": 1,
        "ducttape": 10,
        "fat.animal": 15,
        "flare": 3,
        "weapon.mod.flashlight": 1,
        "floor.grill": 1,
        "floor.ladder.hatch": 1,
        "lowgradefuel": 15,
        "furnace": 1,
        "furnace.large": 1,
        "gates.external.high.stone": 1,
        "gates.external.high.wood": 1,
        "gears": 3,
        "generator.wind.scrap": 1,
        "burlap.gloves": 1,
        "glue": 10,
        "granolabar": 10,
        "grenade.beancan": 3,
        "grenade.f1": 3,
        "fun.guitar": 1,
        "gunpowder": 15,
        "attire.hide.helterneck": 1,
        "hammer": 1,
        "hammer.salvaged": 1,
        "hat.beenie": 1,
        "hat.boonie": 1,
        "bucket.helmet": 1,
        "burlap.headwrap": 1,
        "hat.candle": 1,
        "hat.cap": 1,
        "coffeecan.helmet": 1,
        "deer.skull.mask": 1,
        "hat.miner": 1,
        "riot.helmet": 1,
        "hat.wolf": 1,
        "hatchet": 1,
        "hazmat.boots": 1,
        "hazmat.gloves": 1,
        "hazmat.helmet": 1,
        "hazmat.jacket": 1,
        "hazmat.pants": 1,
        "hazmatsuit": 1,
        "clone.hemp": 1,
        "seed.hemp": 1,
        "attire.hide.boots": 1,
        "attire.hide.skirt": 1,
        "attire.hide.vest": 1,
        "weapon.mod.holosight": 1,
        "hoodie": 1,
        "icepick.salvaged": 1,
        "bone.armor.suit": 1,
        "jacket.snow": 1,
        "jacket": 1,
        "jackolantern.angry": 1,
        "jackolantern.happy": 1,
        "knife.bone": 1,
        "ladder.wooden.wall": 1,
        "lantern": 1,
        "largemedkit": 3,
        "weapon.mod.lasersight": 1,
        "leather": 15,
        "lock.code": 1,
        "lock.key": 1,
        "longsword": 1,
        "rifle.lr300": 1,
        "lmg.m249": 1,
        "pistol.m92": 1,
        "mace": 1,
        "machete": 1,
        "map": 1,
        "mask.balaclava": 1,
        "mask.bandana": 1,
        "metal.facemask": 1,
        "metal.fragments": 1,
        "metal.plate.torso": 1,
        "metal.refined": 1,
        "metalblade": 3,
        "metalpipe": 1,
        "mining.pumpjack": 1,
        "mining.quarry": 1,
        "smg.mp5": 1,
        "mushroom": 15,
        "weapon.mod.muzzleboost": 1,
        "weapon.mod.muzzlebrake": 1,
        "note": 15,
        "burlap.trousers": 1,
        "pants": 1,
        "attire.hide.pants": 1,
        "roadsign.kilt": 1,
        "pants.shorts": 1,
        "paper": 1,
        "pickaxe": 1,
        "pistol.eoka": 1,
        "pistol.revolver": 1,
        "pistol.semiauto": 1,
        "planter.large": 1,
        "planter.small": 1,
        "attire.hide.poncho": 1,
        "pookie.bear": 1,
        "xmas.present.large": 1,
        "xmas.present.medium": 3,
        "xmas.present.small": 5,
        "propanetank": 1,
        "pumpkin": 2,
        "clone.pumpkin": 2,
        "seed.pumpkin": 5,
        "pistol.python": 1,
        "target.reactive": 1,
        "box.repair.bench": 1,
        "research.table": 1,
        "researchpaper":  20,
        "riflebody": 1,
        "roadsign.jacket": 1,
        "roadsigns": 1,
        "rock": 1,
        "rope": 10,
        "water.salt": 1,
        "salvaged.cleaver": 1,
        "salvaged.sword": 1,
        "santahat": 1,
        "weapon.mod.small.scope": 1,
        "rifle.semiauto": 1,
        "semibody": 1,
        "sewingkit": 1,
        "sheetmetal": 1,
        "shelves": 1,
        "shirt.collared": 1,
        "shirt.tanktop": 1,
        "shoes.boots": 1,
        "shotgun.double": 1,
        "shotgun.pump": 1,
        "shotgun.waterpipe": 1,
        "shutter.metal.embrasure.a": 1,
        "shutter.metal.embrasure.b": 1,
        "shutter.wood.a": 1,
        "sign.hanging.banner.large": 1,
        "sign.hanging": 1,
        "sign.hanging.ornate": 1,
        "sign.pictureframe.landscape": 1,
        "sign.pictureframe.portrait": 1,
        "sign.pictureframe.tall": 1,
        "sign.pictureframe.xl": 1,
        "sign.pictureframe.xxl": 1,
        "sign.pole.banner.large": 1,
        "sign.post.double": 1,
        "sign.post.single": 1,
        "sign.post.town": 1,
        "sign.post.town.roof": 1,
        "sign.wooden.huge": 1,
        "sign.wooden.large": 1,
        "sign.wooden.medium": 1,
        "sign.wooden.small": 1,
        "weapon.mod.silencer": 1,
        "skull.human": 1,
        "skull.wolf": 1,
        "sleepingbag": 1,
        "small.oil.refinery": 10,
        "stash.small": 1,
        "smallwaterbottle": 1,
        "smg.2": 1,
        "smgbody": 1,
        "spear.stone": 1,
        "spear.wooden": 1,
        "spikes.floor": 1,
        "metalspring": 5,
        "sticks": 5,
        "stocking.large": 1,
        "stocking.small": 1,
        "stone.pickaxe": 1,
        "stonehatchet": 1,
        "supply.signal": 1,
        "surveycharge": 1,
        "fishtrap.small": 1,
        "syringe.medical": 3,
        "targeting.computer": 1,
        "tarp": 3",
        "techparts": 10,
        "smg.thompson": 10,
        "torch": 1,
        "tshirt": 1,
        "tshirt.long": 1,
        "tunalight": 1,
        "wall.external.high.stone": 1,
        "wall.external.high": 1,
        "wall.frame.cell.gate": 1,
        "wall.frame.cell": 1,
        "wall.frame.fence.gate": 1,
        "wall.frame.fence": 1,
        "wall.frame.shopfront": 1,
        "wall.window.bars.metal": 1,
        "wall.window.bars.toptier": 1,
        "wall.window.bars.wood": 1,
        "water.catcher.large": 1,
        "water.catcher.small": 1,
        "water.barrel": 1,
        "waterjug": 1,
        "water.purifier": 1,
        "wood.armor.jacket": 1,
        "wood.armor.pants": 1
       
      },
      "ItemListCrates": {
        "rifle.ak": 1,
        "ammo.handmade.shell": 3,
        "ammo.pistol": 3,
        "ammo.pistol.fire": 3,
        "ammo.pistol.hv": 3,
        "ammo.rifle": 3,
        "ammo.rifle.explosive": 3,
        "ammo.rifle.incendiary": 3,
        "ammo.rifle.hv": 3,
        "ammo.rocket.basic": 3,
        "ammo.rocket.fire": 3,
        "ammo.rocket.hv": 3,
        "ammo.rocket.smoke": 3,
        "ammo.shotgun": 3,
        "ammo.shotgun.slug": 3,
        "antiradpills": 3,
        "apple": 3,
        "apple.spoiled": 3,
        "arrow.hv": 3,
        "arrow.wooden": 3,
        "axe.salvaged": 1,
        "bandage": 3,
        "barricade.concrete": 3,
        "barricade.metal": 3,
        "barricade.sandbags": 3,
        "barricade.stone": 3,
        "barricade.wood": 3,
        "barricade.woodwire": 3,
        "battery.small": 3,
        "trap.bear": 3,
        "bed": 3,
        "black.raspberries": 3,
        "bleach": 3,
        "blood": 3,
        "blueberries": 10,
        "blueprintbase": 3,
        "rifle.bolt": 1,
        "bone.club": 1,
        "bone.fragments": 1,
        "botabag": 3,
        "bow.hunting": 1,
        "box.wooden.large": 1,
        "box.wooden": 1,
        "bucket.water": 1,
        "building.planner": 1,
        "burlap.shirt": 1,
        "burlap.shoes": 1,
        "cactusflesh": 5,
        "tool.camera": 1,
        "campfire": 1,
        "can.beans": 10,
        "can.beans.empty": 10,
        "can.tuna": 10,
        "can.tuna.empty": 10,
        "candycane": 5,
        "cctv.camera": 1,
        "ceilinglight": 1,
        "chocholate": 3,
        "cloth": 15,
        "coal": 15,
        "corn": 10,
        "clone.corn": 10,
        "seed.corn": 10,
        "crossbow": 1,
        "crude.oil": 15,
        "cupboard.tool": 1,
        "door.double.hinged.metal": 1,
        "door.double.hinged.toptier": 1,
        "door.double.hinged.wood": 1,
        "door.hinged.metal": 1,
        "door.hinged.toptier": 1,
        "door.hinged.wood": 1,
        "door.key": 1,
        "ducttape": 10,
        "fat.animal": 15,
        "flare": 3,
        "weapon.mod.flashlight": 1,
        "floor.grill": 1,
        "floor.ladder.hatch": 1,
        "lowgradefuel": 15,
        "furnace": 1,
        "furnace.large": 1,
        "gates.external.high.stone": 1,
        "gates.external.high.wood": 1,
        "gears": 3,
        "generator.wind.scrap": 1,
        "burlap.gloves": 1,
        "glue": 10,
        "granolabar": 10,
        "grenade.beancan": 3,
        "grenade.f1": 3,
        "fun.guitar": 1,
        "gunpowder": 15,
        "attire.hide.helterneck": 1,
        "hammer": 1,
        "hammer.salvaged": 1,
        "hat.beenie": 1,
        "hat.boonie": 1,
        "bucket.helmet": 1,
        "burlap.headwrap": 1,
        "hat.candle": 1,
        "hat.cap": 1,
        "coffeecan.helmet": 1,
        "deer.skull.mask": 1,
        "hat.miner": 1,
        "riot.helmet": 1,
        "hat.wolf": 1,
        "hatchet": 1,
        "hazmat.boots": 1,
        "hazmat.gloves": 1,
        "hazmat.helmet": 1,
        "hazmat.jacket": 1,
        "hazmat.pants": 1,
        "hazmatsuit": 1,
        "clone.hemp": 1,
        "seed.hemp": 1,
        "attire.hide.boots": 1,
        "attire.hide.skirt": 1,
        "attire.hide.vest": 1,
        "weapon.mod.holosight": 1,
        "hoodie": 1,
        "icepick.salvaged": 1,
        "bone.armor.suit": 1,
        "jacket.snow": 1,
        "jacket": 1,
        "jackolantern.angry": 1,
        "jackolantern.happy": 1,
        "knife.bone": 1,
        "ladder.wooden.wall": 1,
        "lantern": 1,
        "largemedkit": 3,
        "weapon.mod.lasersight": 1,
        "leather": 15,
        "lock.code": 1,
        "lock.key": 1,
        "longsword": 1,
        "rifle.lr300": 1,
        "lmg.m249": 1,
        "pistol.m92": 1,
        "mace": 1,
        "machete": 1,
        "map": 1,
        "mask.balaclava": 1,
        "mask.bandana": 1,
        "metal.facemask": 1,
        "metal.fragments": 1,
        "metal.plate.torso": 1,
        "metal.refined": 1,
        "metalblade": 3,
        "metalpipe": 1,
        "mining.pumpjack": 1,
        "mining.quarry": 1,
        "smg.mp5": 1,
        "mushroom": 15,
        "weapon.mod.muzzleboost": 1,
        "weapon.mod.muzzlebrake": 1,
        "note": 15,
        "burlap.trousers": 1,
        "pants": 1,
        "attire.hide.pants": 1,
        "roadsign.kilt": 1,
        "pants.shorts": 1,
        "paper": 1,
        "pickaxe": 1,
        "pistol.eoka": 1,
        "pistol.revolver": 1,
        "pistol.semiauto": 1,
        "planter.large": 1,
        "planter.small": 1,
        "attire.hide.poncho": 1,
        "pookie.bear": 1,
        "xmas.present.large": 1,
        "xmas.present.medium": 3,
        "xmas.present.small": 5,
        "propanetank": 1,
        "pumpkin": 2,
        "clone.pumpkin": 2,
        "seed.pumpkin": 5,
        "pistol.python": 1,
        "target.reactive": 1,
        "box.repair.bench": 1,
        "research.table": 1,
        "researchpaper":  20,
        "riflebody": 1,
        "roadsign.jacket": 1,
        "roadsigns": 1,
        "rock": 1,
        "rope": 10,
        "water.salt": 1,
        "salvaged.cleaver": 1,
        "salvaged.sword": 1,
        "santahat": 1,
        "weapon.mod.small.scope": 1,
        "rifle.semiauto": 1,
        "semibody": 1,
        "sewingkit": 1,
        "sheetmetal": 1,
        "shelves": 1,
        "shirt.collared": 1,
        "shirt.tanktop": 1,
        "shoes.boots": 1,
        "shotgun.double": 1,
        "shotgun.pump": 1,
        "shotgun.waterpipe": 1,
        "shutter.metal.embrasure.a": 1,
        "shutter.metal.embrasure.b": 1,
        "shutter.wood.a": 1,
        "sign.hanging.banner.large": 1,
        "sign.hanging": 1,
        "sign.hanging.ornate": 1,
        "sign.pictureframe.landscape": 1,
        "sign.pictureframe.portrait": 1,
        "sign.pictureframe.tall": 1,
        "sign.pictureframe.xl": 1,
        "sign.pictureframe.xxl": 1,
        "sign.pole.banner.large": 1,
        "sign.post.double": 1,
        "sign.post.single": 1,
        "sign.post.town": 1,
        "sign.post.town.roof": 1,
        "sign.wooden.huge": 1,
        "sign.wooden.large": 1,
        "sign.wooden.medium": 1,
        "sign.wooden.small": 1,
        "weapon.mod.silencer": 1,
        "skull.human": 1,
        "skull.wolf": 1,
        "sleepingbag": 1,
        "small.oil.refinery": 10,
        "stash.small": 1,
        "smallwaterbottle": 1,
        "smg.2": 1,
        "smgbody": 1,
        "spear.stone": 1,
        "spear.wooden": 1,
        "spikes.floor": 1,
        "metalspring": 5,
        "sticks": 5,
        "stocking.large": 1,
        "stocking.small": 1,
        "stone.pickaxe": 1,
        "stonehatchet": 1,
        "supply.signal": 1,
        "surveycharge": 1,
        "fishtrap.small": 1,
        "syringe.medical": 3,
        "targeting.computer": 1,
        "tarp": 3",
        "techparts": 10,
        "smg.thompson": 10,
        "torch": 1,
        "tshirt": 1,
        "tshirt.long": 1,
        "tunalight": 1,
        "wall.external.high.stone": 1,
        "wall.external.high": 1,
        "wall.frame.cell.gate": 1,
        "wall.frame.cell": 1,
        "wall.frame.fence.gate": 1,
        "wall.frame.fence": 1,
        "wall.frame.shopfront": 1,
        "wall.window.bars.metal": 1,
        "wall.window.bars.toptier": 1,
        "wall.window.bars.wood": 1,
        "water.catcher.large": 1,
        "water.catcher.small": 1,
        "water.barrel": 1,
        "waterjug": 1,
        "water.purifier": 1,
        "wood.armor.jacket": 1,
        "wood.armor.pants": 1
      }
    }
    So well if anyone help me or contact me in private, i have discord/skype/teamviewer.
    i tried to found a tutorial on exactly how to use BetterLoot but i don't think anyone made one.

    Thanks you for your help in advance !
     
  10. Is the plug-in correctly loaded without errors?
     
  11. Yes, i have no error when i load the plugins ! 0 error, and i have more then 1 plugins, i try using only BetterLoot, but it change nothing

    Edit : Wait, i finally found an error, i did restart the server 3 time with the same config and i finally got an error, i'm trying something maybe it will solve it
     
    Last edited by a moderator: Feb 5, 2017
  12. @Wulf So, this plugin works to make multiple items show up in the boxes like I'm looking for, but what plugin would you recommend using to make ti where it drops 100x of item A, 100x of item B, and 100x of item C?
     
  13. There's no need to constantly ping Wulf for your questions, he's not the author of this plugin ;)
     
  14. Okay, so which would you recommend?

    I tagged him because he's been assisting me with some issues about this recently.
    @Fujikura ^^
     
  15. I did not really understand your last question with 100x....
     
  16. I am looking to multiply the amount of the items themselves.
    Or well, I guess an easier way to explain it is:

    You open a crate or you break a barrel. 3-6 Canvas Bags or Items appear. I want the quantity of each item to be 100x. So you would find a stack of 100 Blueberries, a stack of 100 bandages, and a stack of 100 syringes.

    Does that make sense?

    I tried using MagicLoot because it's supposed to do the 3-6 different items and their stack sizes, but that's not working no matter what I do, so!

    @Wulf Any assistance here?

    @Fujikura Or is there a way you can add a multiplier to it?
     
    Last edited by a moderator: Feb 7, 2017
  17. Using BetterLoot i have no crate spawning, anyone can help me ? Inside the config the crate is enable
     
  18. It does not control the re-spawn of loot, it does only control the contents. Normal re-spawntimes are between 30-40 min at all monuments.
     
  19. If you get one sent to you can you post it or please send it to me. I run a PVP server and want supply drops with m249 and c4 to make them worthwhile and desired. Thanks!
     
  20. Guys it's easy, you copy and paste what you want from the NamesList file into the LootTable file found in the BetterLoot data folder. If someone had to make your LootTable for you you'd need them literally every time you wanted to tweak the loot. ;P