Magic Loot

Simple components multiplier & loot system

Total Downloads: 13,435 - First Release: Nov 13, 2016 - Last Update: Nov 2, 2017

5/5, 44 likes
  1. Well, I have both already, but FancyDrop has a really badass ugly system and HeliControl doesn't have any example datafile :p
     
  2. I may in the future add an option to control loot in individual boxes, but I've left this untouched for right now as Facepunch continues to make tweaks to the code of how loot is spawned.
     
  3. I installed the plugin into the Oxide plugins folder but there is not config file. How do I get a config file?
     
  4. what is the dm crate list used for?
     
  5. I have the problem the regular airdrops having good loot adjusted with magicloot,but when i call 1 with supply signal there is not modified crapy loot.
    Is it possible to have a option for supply signal loot?
     
  6. Howe can i add Hige quality metal ?
     
  7. Crates in the rad towns seem to not spawn here is my config.
    Code:
    {
      "_Settings": {
        "DisableBlueprintDropMultiplier": true,
        "DisableBlueprintDrops": false,
        "ForceRefreshDisabledCratesOnLoad": true,
        "ItemListMultiplier": 2,
        "Multiplier": 2,
        "MultiplyOnlyItemList": false,
        "RandomWorkshopSkins": true,
        "ReportMissingConfigCrates": true
      },
      "DeveloperDebug": {
        "_EnableLogs": false,
        "AmountChange": false,
        "ExtraItem": false,
        "LootRefresh": false,
        "Skins": false
      },
      "Exclude": {
        "list": [
          "bleach"
        ]
      },
      "ExcludeFromMultiplication": {
        "list": [
          "crude.oil"
        ]
      },
      "ExtraLoot": {
        "Enabled": true,
        "ExtraItemsMax": 8,
        "ExtraItemsMin": 1,
        "ItemStackSizeMin": 1,
        "PreventDuplicates": false,
        "VanillaLootTablesOnly": true
      },
      "ItemList": {
        "list": {
          "ammo.rocket.smoke": 1.0,
          "ducttape": 1.0,
          "gears": 1.0,
          "glue": 1.0,
          "metalblade": 1.0,
          "metalpipe": 1.0,
          "propanetank": 1.0,
          "riflebody": 1.0,
          "roadsigns": 1.0,
          "rope": 1.0,
          "semibody": 1.0,
          "sewingkit": 1.0,
          "sheetmetal": 1.0,
          "smgbody": 1.0,
          "metalspring": 1.0,
          "sticks": 1.0,
          "tarp": 1.0,
          "techparts": 3.0,
          "antiradpills": 1.0,
          "wood": 1.0,
          "apple": 1.0,
          "chocholate": 1.0,
          "granolabar": 1.0,
          "can.beans": 1.0,
          "can.tuna": 1.0,
          "metal.fragments": 1.0,
          "lowgradefuel": 1.0,
          "largemedkit": 1.0,
          "syringe.medical": 1.0,
          "black.raspberries": 1.0,
          "blueberries": 1.0,
          "bandage": 1.0,
          "metal.refined": 1.0,
          "scrap": 7.0
        }
      },
      "LootContainersEnabled": {
        "list": {
          "bradley_crate": {
            "enabled": true,
            "minExtraItems": 0,
            "maxExtraItems": 0,
            "lootMultiplier": 1.0
          },
          "crate_basic": {
            "enabled": true,
            "minExtraItems": 4,
            "maxExtraItems": 8,
            "lootMultiplier": 3.0
          },
          "crate_elite": {
            "enabled": true,
            "minExtraItems": 5,
            "maxExtraItems": 10,
            "lootMultiplier": 5.0
          },
          "crate_mine": {
            "enabled": true,
            "minExtraItems": 0,
            "maxExtraItems": 0,
            "lootMultiplier": 2.0
          },
          "crate_normal": {
            "enabled": true,
            "minExtraItems": 3,
            "maxExtraItems": 6,
            "lootMultiplier": 2.0
          },
          "crate_normal_2": {
            "enabled": true,
            "minExtraItems": 3,
            "maxExtraItems": 6,
            "lootMultiplier": 2.0
          },
          "crate_normal_2_food": {
            "enabled": true,
            "minExtraItems": 0,
            "maxExtraItems": 0,
            "lootMultiplier": 2.0
          },
          "crate_normal_2_medical": {
            "enabled": true,
            "minExtraItems": 0,
            "maxExtraItems": 0,
            "lootMultiplier": 2.0
          },
          "crate_tools": {
            "enabled": true,
            "minExtraItems": 0,
            "maxExtraItems": 0,
            "lootMultiplier": 1.0
          },
          "dm ammo": {
            "enabled": true,
            "minExtraItems": 1,
            "maxExtraItems": 2,
            "lootMultiplier": 2.0
          },
          "dm c4": {
            "enabled": true,
            "minExtraItems": 0,
            "maxExtraItems": 0,
            "lootMultiplier": 1.0
          },
          "dm construction resources": {
            "enabled": true,
            "minExtraItems": 1,
            "maxExtraItems": 2,
            "lootMultiplier": 2.0
          },
          "dm construction tools": {
            "enabled": true,
            "minExtraItems": 0,
            "maxExtraItems": 0,
            "lootMultiplier": 1.0
          },
          "dm food": {
            "enabled": true,
            "minExtraItems": 0,
            "maxExtraItems": 0,
            "lootMultiplier": 2.0
          },
          "dm medical": {
            "enabled": true,
            "minExtraItems": 0,
            "maxExtraItems": 0,
            "lootMultiplier": 2.0
          },
          "dm tier1 lootbox": {
            "enabled": true,
            "minExtraItems": 0,
            "maxExtraItems": 0,
            "lootMultiplier": 2.0
          },
          "dm tier2 lootbox": {
            "enabled": true,
            "minExtraItems": 0,
            "maxExtraItems": 0,
            "lootMultiplier": 2.0
          },
          "dm tier3 lootbox": {
            "enabled": true,
            "minExtraItems": 0,
            "maxExtraItems": 0,
            "lootMultiplier": 2.0
          },
          "foodbox": {
            "enabled": true,
            "minExtraItems": 0,
            "maxExtraItems": 0,
            "lootMultiplier": 2.0
          },
          "giftbox_loot": {
            "enabled": true,
            "minExtraItems": 0,
            "maxExtraItems": 0,
            "lootMultiplier": 2.0
          },
          "heli_crate": {
            "enabled": true,
            "minExtraItems": 0,
            "maxExtraItems": 0,
            "lootMultiplier": 2.0
          },
          "loot_barrel_1": {
            "enabled": true,
            "minExtraItems": 0,
            "maxExtraItems": 0,
            "lootMultiplier": 2.0
          },
          "loot_barrel_2": {
            "enabled": true,
            "minExtraItems": 0,
            "maxExtraItems": 0,
            "lootMultiplier": 2.0
          },
          "loot_trash": {
            "enabled": true,
            "minExtraItems": 0,
            "maxExtraItems": 0,
            "lootMultiplier": 2.0
          },
          "loot-barrel-1": {
            "enabled": true,
            "minExtraItems": 0,
            "maxExtraItems": 0,
            "lootMultiplier": 2.0
          },
          "loot-barrel-2": {
            "enabled": true,
            "minExtraItems": 0,
            "maxExtraItems": 0,
            "lootMultiplier": 2.0
          },
          "minecart": {
            "enabled": true,
            "minExtraItems": 0,
            "maxExtraItems": 0,
            "lootMultiplier": 1.0
          },
          "oil_barrel": {
            "enabled": true,
            "minExtraItems": 0,
            "maxExtraItems": 0,
            "lootMultiplier": 2.0
          },
          "stocking_large_deployed": {
            "enabled": true,
            "minExtraItems": 0,
            "maxExtraItems": 0,
            "lootMultiplier": 1.0
          },
          "stocking_small_deployed": {
            "enabled": true,
            "minExtraItems": 0,
            "maxExtraItems": 0,
            "lootMultiplier": 1.0
          },
          "supply_drop": {
            "enabled": true,
            "minExtraItems": 0,
            "maxExtraItems": 0,
            "lootMultiplier": 3.0
          },
          "trash-pile-1": {
            "enabled": true,
            "minExtraItems": 0,
            "maxExtraItems": 0,
            "lootMultiplier": 2.0
          }
        }
      }
    }
     
  8. Cool plugin. Thank you.
     
    Last edited by a moderator: Dec 17, 2017
  9. Wait where is the config file? I don't see one in the oxide/config directory.
     
  10. Me and my friends are trying to get this plugin to work.. But the problem is that the quantum of loot found in barrels and crates doesn't stay consistant at all.. what do we do wrong?
    ex: we want scrap amount to be 5 in every barrel, but it always goes back to 1... help?
     
  11. Please note after you reboot a server it can take like 15-30 minutes for crates to respawn, even in Vanilla.

    if you want to avoid out of date items and low value junk spawning you can add them to the exclusion list, for example:
    Code:
      "Exclude": {
        "list": [
          "apple.spoiled"
         ,"battery.small"
         ,"bearmeat.burned"
         ,"bleach"
         ,"blood"
         ,"blueprintbase"
         ,"candycane"
         ,"chicken.burned"
         ,"chicken.spoiled"
         ,"clone.corn"
         ,"clone.hemp"
         ,"clone.pumpkin"
         ,"door.closer"
         ,"door.key"
         ,"ducttape"
         ,"glue"
         ,"humanmeat.burned"
         ,"humanmeat.cooked"
         ,"humanmeat.raw"
         ,"humanmeat.spoiled"
         ,"lock.key"
         ,"map"
         ,"meat.pork.burned"
         ,"rock"
         ,"seed.corn"
         ,"seed.hemp"
         ,"seed.pumpkin"
         ,"sticks"
         ,"water"
         ,"water.salt"
         ,"wolfmeat.burned"
         ,"wolfmeat.spoiled"
        ]
      },
    Honestly if I see sticks or bleach I tend to skip on to the next server to avoid wasting time on a poorly set up server.
    Note: take out "ammo.rocket.smoke" if you run lockon rockets and "door.closer" if you do not run autodoors. Personally I would add wood armor to that list:
    Code:
         ,"wood.armor.helmet"
         ,"wood.armor.jacket"
         ,"wood.armor.pants"
    
     
  12. I've been using BetterLoot, which has worked great, but moved to Magic Loot simply for increasing the scrap. They seem to coexist fine for barrels and crates, but since adding Magic Loot supply drops are not longer being controlled by BetterLoot. I'm under the impression that Magic Loot doesn't touch the Supply Drop config at all. Is there any way whatsoever that Magic Loot has modified this? If so, is it possible to make Magic Loot completely ignore supply drops so it can be run by other plugins? This is my current config:

    Code:
    {
      "_Settings": {
        "DisableBlueprintDropMultiplier": true,
        "DisableBlueprintDrops": false,
        "ForceRefreshDisabledCratesOnLoad": false,
        "ItemListMultiplier": 1,
        "Multiplier": 1,
        "MultiplyOnlyItemList": false,
        "RandomWorkshopSkins": false,
        "ReportMissingConfigCrates": true
      },
      "DeveloperDebug": {
        "_EnableLogs": false,
        "AmountChange": false,
        "ExtraItem": false,
        "LootRefresh": false,
        "Skins": false
      },
      "Exclude": {
        "list": [
          "ammo.rocket.smoke"
        ]
      },
      "ExcludeFromMultiplication": {
        "list": [
          "crude.oil"
        ]
      },
      "ExtraLoot": {
        "Enabled": false,
        "ExtraItemsMax": 3,
        "ExtraItemsMin": 1,
        "ItemStackSizeMin": 1,
        "PreventDuplicates": false,
        "VanillaLootTablesOnly": false
      },
      "ItemList": {
        "list": {
          "scrap": 5.0
        }
      },
      "LootContainersEnabled": {
        "list": {
          "crate_basic": {
            "enabled": true,
            "minExtraItems": 0,
            "maxExtraItems": 0,
            "lootMultiplier": 1.0
          },
          "crate_elite": {
            "enabled": true,
            "minExtraItems": 0,
            "maxExtraItems": 0,
            "lootMultiplier": 1.0
          },
          "crate_mine": {
            "enabled": true,
            "minExtraItems": 0,
            "maxExtraItems": 0,
            "lootMultiplier": 1.0
          },
          "crate_normal": {
            "enabled": true,
            "minExtraItems": 0,
            "maxExtraItems": 0,
            "lootMultiplier": 1.0
          },
          "crate_normal_2": {
            "enabled": true,
            "minExtraItems": 0,
            "maxExtraItems": 0,
            "lootMultiplier": 1.0
          },
          "crate_normal_2_food": {
            "enabled": true,
            "minExtraItems": 0,
            "maxExtraItems": 0,
            "lootMultiplier": 1.0
          },
          "crate_normal_2_medical": {
            "enabled": true,
            "minExtraItems": 0,
            "maxExtraItems": 0,
            "lootMultiplier": 1.0
          },
          "crate_tools": {
            "enabled": true,
            "minExtraItems": 0,
            "maxExtraItems": 0,
            "lootMultiplier": 1.0
          },
          "foodbox": {
            "enabled": false,
            "minExtraItems": 0,
            "maxExtraItems": 0,
            "lootMultiplier": 1.0
          },
          "loot_barrel_1": {
            "enabled": true,
            "minExtraItems": 0,
            "maxExtraItems": 0,
            "lootMultiplier": 1.0
          },
          "loot_barrel_2": {
            "enabled": true,
            "minExtraItems": 0,
            "maxExtraItems": 0,
            "lootMultiplier": 1.0
          },
          "loot-barrel-1": {
            "enabled": true,
            "minExtraItems": 0,
            "maxExtraItems": 0,
            "lootMultiplier": 1.0
          },
          "loot-barrel-2": {
            "enabled": true,
            "minExtraItems": 0,
            "maxExtraItems": 0,
            "lootMultiplier": 1.0
          },
          "minecart": {
            "enabled": false,
            "minExtraItems": 0,
            "maxExtraItems": 0,
            "lootMultiplier": 1.0
          },
          "oil_barrel": {
            "enabled": false,
            "minExtraItems": 0,
            "maxExtraItems": 0,
            "lootMultiplier": 1.0
          },
          "stocking_large_deployed": {
            "enabled": false,
            "minExtraItems": 0,
            "maxExtraItems": 0,
            "lootMultiplier": 1.0
          },
          "stocking_small_deployed": {
            "enabled": false,
            "minExtraItems": 0,
            "maxExtraItems": 0,
            "lootMultiplier": 1.0
          },
          "supply_drop": {
            "enabled": false,
            "minExtraItems": 0,
            "maxExtraItems": 0,
            "lootMultiplier": 1.0
          },
          "trash-pile-1": {
            "enabled": true,
            "minExtraItems": 0,
            "maxExtraItems": 0,
            "lootMultiplier": 1.0
          }
        }
      }
    }
     
  13. Code:
    supply_drop": {
            "enabled": false,
    Doesn't that let you use a different plugin for Supply Drops? I like Fancy Drops, but that is just me.
     
  14. I'm trying to force certain items to only drop as blueprints, to basically stop folks looting and plopping down deployables as litter. For example:

    Code:
      "ItemList": {
        "list": {
          "sign.pole.banner.large.blueprint": 1.0
        }
      },
    And then adding it to my exclude, for example:
    "Exclude": {
    "list": [
    "ammo.rocket.smoke",
    "apple.spoiled",
    "sign.pole.banner.large
    ]

    But it is not working. Is that coding look ok?
     
  15. Hello every one how's it going? I'm in need of some help for the plug in config files.

    Everything is working lovely, the amount of pipe I want, gears, and other resources. But I am not happy with the amount of scrap, I'm only getting X5 from crates and only X1 from barrels. Idealy I would like to add more scrap into the barrels, and maybe some on the ground here and there? can someone have a look at my config table and tell me what I should be changing? Ive tried a few things but after saving the settings and eloading plug in, nothing changes.,

    {
    "_Settings": {
    "DisableBlueprintDropMultiplier": true,
    "DisableBlueprintDrops": false,
    "ForceRefreshDisabledCratesOnLoad": false,
    "ItemListMultiplier": 1,
    "Multiplier": 1,
    "MultiplyOnlyItemList": false,
    "RandomWorkshopSkins": true,
    "ReportMissingConfigCrates": true
    },
    "DeveloperDebug": {
    "_EnableLogs": false,
    "AmountChange": true,
    "ExtraItem": false,
    "LootRefresh": false,
    "Skins": true
    },
    "Exclude": {
    "list": [
    "ammo.rocket.smoke"
    "bleach"
    "ducttape"
    "glue"
    "sticks"
    "antiradpills"
    ]
    },
    "ExcludeFromMultiplication": {
    "list": [
    "crude.oil"
    ]
    },
    "ExtraLoot": {
    "Enabled": false,
    "ExtraItemsMax": 3,
    "ExtraItemsMin": 1,
    "ItemStackSizeMin": 1,
    "PreventDuplicates": false,
    "VanillaLootTablesOnly": true
    },
    "ItemList": {
    "list": {
    "bleach": 1.0,
    "ducttape": 1.0,
    "gears": 1.0,
    "glue": 1.0,
    "metalblade": 1.0,
    "metalpipe": 1.0,
    "propanetank": 1.0,
    "riflebody": 1.0,
    "roadsigns": 1.0,
    "rope": 1.0,
    "semibody": 1.0,
    "sewingkit": 1.0,
    "sheetmetal": 1.0,
    "smgbody": 1.0,
    "metalspring": 1.0,
    "sticks": 1.0,
    "tarp": 1.0,
    "techparts": 1.0,
    "antiradpills": 1.0,
    "wood": 1.0,
    "apple": 1.0,
    "chocholate": 1.0,
    "granolabar": 1.0,
    "can.beans": 1.0,
    "can.tuna": 1.0,
    "metal.fragments": 1.0,
    "lowgradefuel": 1.0,
    "largemedkit": 1.0,
    "syringe.medical": 1.0,
    "black.raspberries": 1.0,
    "blueberries": 1.0,
    "bandage": 1.0,
    "metal.refined": 1.0,
    "scrap": 1.0
    }
    },
    "LootContainersEnabled": {
    "list": {
    "crate_basic": {
    "enabled": true,
    "minExtraItems": 0,
    "maxExtraItems": 0,
    "lootMultiplier": 1.0
    },
    "crate_normal": {
    "enabled": true,
    "minExtraItems": 0,
    "maxExtraItems": 0,
    "lootMultiplier": 1.0
    },
    "crate_normal_2": {
    "enabled": true,
    "minExtraItems": 0,
    "maxExtraItems": 0,
    "lootMultiplier": 1.0
    },
    "crate_tools": {
    "enabled": true,
    "minExtraItems": 0,
    "maxExtraItems": 0,
    "lootMultiplier": 1.0
    },
    "foodbox": {
    "enabled": true,
    "minExtraItems": 0,
    "maxExtraItems": 0,
    "lootMultiplier": 1.0
    },
    "loot_barrel_1": {
    "enabled": true,
    "minExtraItems": 0,
    "maxExtraItems": 0,
    "lootMultiplier": 1.0
    },
    "loot_barrel_2": {
    "enabled": true,
    "minExtraItems": 0,
    "maxExtraItems": 0,
    "lootMultiplier": 1.0
    },
    "loot-barrel-1": {
    "enabled": true,
    "minExtraItems": 0,
    "maxExtraItems": 0,
    "lootMultiplier": 1.0
    },
    "loot-barrel-2": {
    "enabled": true,
    "minExtraItems": 0,
    "maxExtraItems": 0,
    "lootMultiplier": 1.0
    },
    "oil_barrel": {
    "enabled": true,
    "minExtraItems": 0,
    "maxExtraItems": 0,
    "lootMultiplier": 1.0
    },
    "stocking_large_deployed": {
    "enabled": true,
    "minExtraItems": 0,
    "maxExtraItems": 0,
    "lootMultiplier": 1.0
    },
    "stocking_small_deployed": {
    "enabled": true,
    "minExtraItems": 0,
    "maxExtraItems": 0,
    "lootMultiplier": 1.0
    },
    "trash-pile-1": {
    "enabled": true,
    "minExtraItems": 0,
    "maxExtraItems": 0,
    "lootMultiplier": 1.0
    }
    }
    }

     
  16. At the top you set:
    "Multiplier": 1,
    So you give 1 of what you set.
    You have set:
    "scrap": 1.0
    So what you get will get will depend on the per box type:
    "lootMultiplier": 1.0

    So you going to end up with a single scrap per barrel.

    You might want to clean up your item list it has stuff in it that you have in exclude.

    Attached is my sample one that has triple scrap and a loot. Folks seem to like the bonus items. :)
     

    Attached Files:

  17. Good, I like this one, finally a loot plugin thats simple and lets you control different crates.

    How do I remove junk such as doors and clothing from the loot though?
    [DOUBLEPOST=1515915374][/DOUBLEPOST]Everytime I remove items from the itemlist it just adds them back later
     
  18. exclude item list
     
  19. Here is a long list of things most player do not want or need in the exclude section:
    Code:
      "Exclude": {
        "list": [
          "ammo.rocket.smoke",
          "apple.spoiled",
          "bearmeat.burned",
          "bleach",
          "blood",
          "blueprintbase",
          "building.planner",
          "candycane",
          "chicken.burned",
          "chicken.spoiled",
          "clone.corn",
          "clone.hemp",
          "clone.pumpkin",
          "deermeat.burned",
          "door.key",
          "ducttape",
          "facialhair.style01",
          "female_hairstyle_01",
          "female_hairstyle_02",
          "female_hairstyle_03",
          "femalearmpithair.style01",
          "femaleeyebrow.style01",
          "femalepubichair.style01",
          "generator.wind.scrap",
          "glue",
          "humanmeat.burned",
          "humanmeat.cooked",
          "humanmeat.raw",
          "humanmeat.spoiled",
          "lock.key",
          "male.facialhair.style02",
          "male_hairstyle_01",
          "male_hairstyle_02",
          "male_hairstyle_03",
          "malearmpithair.style01",
          "maleeyebrow.style01",
          "malepubichair.style01",
          "map",
          "meat.pork.burned",
          "note",
          "paper",
          "researchpaper",
          "seed.corn",
          "seed.hemp",
          "seed.pumpkin",
          "skull.human",
          "smallwaterbottle",
          "sticks",
          "water",
          "water.salt",
          "wolfmeat.burned",
          "wolfmeat.spoiled"
        ]
      }
    If you use lockon rockets (paid plugin) then you might want to not have this in the exclude:
    "ammo.rocket.smoke",
     
  20. hey guys just wondering im a lil stuck so i only want about 20 scrap in the loot drops like barrels creates ect also would like other items to spawn around the same amount but for some reason the loot in barrels,creates,drops are spawning in large amounts like some barrels are spawning 150 scrap ect not sure what im doing wrong
     

    Attached Files: