BetterLoot

A complete re-implementation of the drop system

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

4.95699/5, 93 likes
  1. Wulf

    Wulf Community Admin

    I've never used it, so can't really say. Not my plugin.
     
  2. how do we add blueprints
     
  3. how can i edit scrap ?
     
  4. does anyone have a config that has every item in it?
     
  5. We need fast update ..:(
     
  6. Code:
    {
      "ItemListBarrels": {
        "gears": 10,
        "largemedkit": 5,
        "metalblade": 10,
        "metalpipe": 10,
        "propanetank": 5,
            "furnace": 1,
        "riflebody": 1,
       
           "jacket": 1,
         "furnace.large": 1,
          "shoes.boots": 1,
          "jackolantern.angry": 1,
        "jackolantern.happy": 1,
       
       
        "tshirt": 1,
        "tshirt.long": 1,
       
           "wood.armor.jacket": 1,
        "wood.armor.pants": 1,
       
           "water.catcher.large": 1,
        "water.catcher.small": 1,
        "water.barrel": 1,
        "waterjug": 1,
        "water.purifier": 1,
       
       
            "stone.pickaxe": 1,
        "stonehatchet": 1,
       
         "syringe.medical": 1,
        "knife.bone": 1,
        "ladder.wooden.wall": 1,
       
          "sign.post.town.roof": 1,
        "sign.wooden.huge": 1,
        "sign.wooden.large": 1,
        "sign.wooden.medium": 1,
       
       
            "wall.frame.shopfront": 1,
        "wall.frame.shopfront.metal": 1,
        "wall.window.bars.metal": 1,
        "wall.window.bars.toptier": 1,
        "wall.window.bars.wood": 1,
        "sign.wooden.small": 1,
       
       
        "salvaged.cleaver": 1,
       
       
       
          "spear.stone": 1,
        "spear.wooden": 1,
        "spikes.floor": 1,
        "spinner.wheel": 1,
       
       
         "shirt.tanktop": 1,
        "salvaged.sword": 1,
        "santahat": 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,
       
       
        "roadsigns": 5,
        "rope": 20,
       
         "jacket.snow": 1,
           "hoodie": 1,
         "gates.external.high.stone": 1,
        "gates.external.high.wood": 1,
            "chair": 1,
            "floor.ladder.hatch": 1,
            "icepick.salvaged": 1,
        "bone.armor.suit": 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,    "scrap": 200,
        "semibody": 1,
        "sewingkit": 10,
        "sheetmetal": 10,
       
        "burlap.trousers": 1,
        "pants": 1,
            "dropbox": 1,
        "smgbody": 1,
       
        "heavy.plate.jacket": 1,
        "metalspring": 10,
        "syringe.medical": 2,
        "trap.bear": 1,
        "bed": 1,
        "tool.binoculars": 1,
           "door.double.hinged.metal": 1,
        "door.double.hinged.toptier": 1,
        "door.double.hinged.wood": 1,
        "tarp": 3,
        "techparts": 5
      },
      "ItemListCrates": {
      
      
        "metalblade": 10,
           "explosives": 1,
           "fridge": 1,
            "flamethrower": 1,
        "flameturret": 1,
          "weapon.mod.flashlight": 1,
    "grenade.beancan": 1,
        "rifle.ak": 1,
        "ammo.handmade.shell": 1,
       
        "attire.hide.boots": 1,
       
       
            "leather": 1,
        "lock.code": 1,
        "lock.key": 1,
        "locker": 1,
        "longsword": 1,
       
       
        "weapon.mod.holosight": 1,
        "attire.hide.skirt": 1,
        "attire.hide.vest": 1,
       
          "gunpowder": 1,
        "attire.hide.helterneck": 1,
       
         "grenade.f1": 1,
        
        
          "heavy.plate.helmet": 1,
        "hat.miner": 1,
        "riot.helmet": 1,
        "hat.wolf": 1,
       
          "wood.armor.helmet": 1,
        "hatchet": 1,
        "hazmatsuit": 1,
        "clone.hemp": 1,
          "lantern": 1,
        "largemedkit": 1,
        "weapon.mod.lasersight": 1,
       
       
          "mask.balaclava": 1,
        "mask.bandana": 1,
        "metal.facemask": 1,
        "bearmeat.burned": 1,
        "bearmeat.cooked": 1,
       
        "fun.guitar": 1,
         "explosive.satchel": 1,
        "ammo.pistol": 1,
        "ammo.pistol.fire": 1,
       
         "trap.landmine": 1,
        "ammo.pistol.hv": 1,
        "ammo.rifle": 1,
        "ammo.rifle.explosive": 1,
        "ammo.rifle.incendiary": 1,
        "ammo.rifle.hv": 1,
          "crossbow": 1,
            "ammo.shotgun": 1,
        "ammo.shotgun.slug": 1,     "guntrap": 1,
       
           "pistol.m92": 1,
        "mace": 1,
        "machete": 1,
       
          "shotgun.double": 1,
        "shotgun.pump": 1,
        "shotgun.waterpipe": 1,
        "mailbox": 1,
       
        "metal.plate.torso": 1,
       
       
            "surveycharge": 1,    "arrow.hv": 2,
       
          "mining.quarry": 1,
             "searchlight": 1,
        "rifle.semiauto": 1,
        "semibody": 1,
        "sewingkit": 30,
       
            "torch": 1,
        "tshirt": 1,
        "tshirt.long": 1,
        "tunalight": 1,
        "vending.machine": 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.netting": 1,
         
         
           "scrap": 70,
          "weapon.mod.small.scope": 1,
         
          "pumpkin": 1,
        "arrow.wooden": 2,
         "smg.mp5": 1,
        "autoturret": 1,
        "axe.salvaged": 1,
         "pistol.python": 1,
        "bandage": 1,
        "barricade.concrete": 1,
        "barricade.metal": 1,
        "barricade.sandbags": 1,
        "barricade.stone": 1,
       
       
         "pickaxe": 1,
        "pistol.eoka": 1,
        "pistol.revolver": 1,
        "pistol.semiauto": 1,
        "planter.large": 1,
        "planter.small": 1,
       
       
         "roadsign.jacket": 1,
        "roadsigns": 1,
       
          "heavy.plate.pants": 1,
        "attire.hide.pants": 1,
        "roadsign.kilt": 1,
        "pants.shorts": 1,
        "barricade.wood": 1,
       
         "weapon.mod.muzzleboost": 1,
        "weapon.mod.muzzlebrake": 1,
        "barricade.woodwire": 1,
       
            "rifle.bolt": 1,
           
           
                "table": 1,
        "targeting.computer": 1,
       
       
        "bow.hunting": 1,
        "box.wooden.large": 1,
        "box.wooden": 1,
        "bucket.water": 1,
        "building.planner": 1,
        "burlap.shirt": 1,
        "burlap.shoes": 1,
         "cctv.camera": 1,
        "ceilinglight": 1,  
         "weapon.mod.silencer": 1,
        "weapon.mod.simplesight": 1,
       
       
            "stash.small": 1,
           
           
             "smg.thompson": 1,
        "torch": 1,
        "fish.troutsmall": 1,
        "smallwaterbottle": 1,
        "smg.2": 1,
        "smgbody": 1,
       
       
    "hazmatsuit": 1,    "riflebody": 1,
        "roadsigns": 5,
        "rope": 10,
        "scrap": 30,
        "semibody": 1,
        "sewingkit": 10,
        "sheetmetal": 10,
        "smgbody": 1,
        "metalspring": 10,
        "syringe.medical": 5,
        "gunpowder": 40,
        "techparts": 5
      }
    }
    not all items but 80%
     
  7. Hey Fuji!
    So i was looking through BetterLoot's config and found this one entry in the "Crate" section:
    Code:
    "crateTypes": "crate_normal|crate_tools",
    Could you possibly tell me all of the crateTypes so i can possibly make seperate loot lists?

    Thanks!
    ~Nick!
     
  8. (04:08:57) | Invalid Position: generic_world[10739196] scrap (world) (-1036.1, -5008.9, -1112.8) (destroying)

    (04:09:13) | Invalid Position: generic_world[10771094] scrap (world) (-955.6, -5005.0, -1082.6) (destroying)

    (04:09:36) | Invalid Position: generic_world[10771585] scrap (world) (1169.4, -5010.9, -1018.2) (destroying)

    (04:09:36) | Invalid Position: generic_world[10771086] scrap (world) (-966.1, -5007.9, -968.6) (destroying)

    if have scrap spawn enabled get this spam and scrap spawns under barrels/box not inside of them

    if have disables no spam but also not scrap
    [DOUBLEPOST=1507528567][/DOUBLEPOST]also notice that boxs in caves are not managed by this mod they still have vanilla loot eg low grade fuel and mining hats
     
  9. yeah scrap spawn under crate and fall through the world so u get this spam,

    but u can paste this in your LootConfig as example: "scrap": 100, or more

    and set in your config rarity to 0 example:

    "Rarity": {
    "Override": {
    "scrap": 0
    }
    },


    Code:
      "Crate": {
        "crateTypes":"crate_normal|crate_tools|crate_mine|minecart|bradley_crate",
        "enableCrates": true,
        "maxItemsPerCrate": 6,
        "minItemsPerCrate": 4,
        "randomAmountCrates": true,
        "refreshCrates": true
      },
    use crate_mine in your config for spawn loot in it like this below, u can use minecart too if u wish spawn custom loot:

    "crateTypes":"crate_normal|crate_tools|crate_mine|minecart|bradley_crate",
     
    Last edited by a moderator: Oct 9, 2017
  10. Hey Com,
    I startet to create a Loottable for Crates and Supply and Heli but it does not work can somebody tell me what i did wrong?
    Do not wonder this r copies thats why they r .txt.

    Thanks for help. :)
     

    Attached Files:

  11. thank you
    dIMjIM

    very helpful much appreciated

    do i have to make a new loot table file for the different crateTypes eg minecart.json to set loot for them or will it be in LootTable.json automatically after edit config ?

    ok so i edited the plugin to add crate_mine|minecart so from what i can tell is same as box loot is there a way to make it so i can change crate_mine|minecart to be independent of other crates so i can have a different loot table for them to normal boxs?

    note i am editing the plugin instead of config because is easier for me and can change more

    i would like to keep it in LootTable.json as a SeparateLootTable but instead of being under crate would like it to be cave so would look something like this in LootTable.json

    Code:
    {
      "ItemListBarrels": {
        "granolabar": 1,
      },
      "ItemListCaves": {
        "granolabar": 1,
      },
      "ItemListCrates": {
        "granolabar": 1,
      }
    }
     
    Last edited by a moderator: Oct 9, 2017
  12. Is there a way to just increase rate of drops and such on barrels and crates without modifying the loot table? or is that kinda not a thing?
     
  13. the item list is in the data file ( namelist.jason )
     
  14. is any way to add optional loot to crate_elite ? how set different loot to different crate type ?
     
  15. Hello everyone,

    First of all, awesome plugin. Thanks for the release. I've got it all set to my own preference, however I can't get round to get the rarity override to work.

    I run a x15 server so I choose weapons to spawn in boxes and barrels, however even by using the rarity setting, where I guess 1 is very likely to loot, 2-likely, 3-very unlikely, 4-almost impossible, I still get weapons from every other crate.

    Below is an extract of my rarity setting. If anyone could point me in the direction of setting this correctly so that the items below are rare spawns, I'd be very thankful.
    Code:
    "Rarity": {
        "Override": {
          "autoturret": 4,
          "rifle.ak": 3,
          "ammo.rocket.fire": 4,
          "rifle.bolt": 3,
          "cctv.camera": 3,
          "smg.thompson": 3,
          "smg.mp5": 3,
          "flamethrower": 2,
          "pistol.m92": 2,
          "metal.facemask": 3,
          "metal.plate.torso": 3,
          "pistol.python": 2,
          "smg.2": 3,
          "sulfur": 2,
          "lmg.m249": 4,
          "techparts": 2,
          "riflebody": 2,
          "smgbody": 2,
          "ammo.rifle.explosive": 2,
          "ammo.rifle.hv": 2,
          "shotgun.pump": 3,
          "pistol.semiauto": 2,
          "pistol.revolver": 2,
          "targeting.computer": 3
        }
      },
    Best regards
     

  16. try config like this:
    • None = 0
    • Common = 1
    • Uncommon = 2
    • Rare = 3
    • VeryRare = 4
    set it maybe to 4 your weapons
     
  17. update plugin pls :c
     
  18. And with "what" plz???
     
  19. I say. if you could update the plugin, so you can spawn blueprints in the loot please
     
  20. That does not work, cause blueprints need to be created by custom code for each item. Even with a creation function, adding them to the itemlists is the second problem, cause the bp's have all the same shortname :p