FastBurst
Modify the loot tables for the Christmas Presents, Halloween Bags and Easter Eggs

Supported Games
GameServerKingsGameServerKings
used by

Holiday Loot (formerly Present Loot) allows configuring which items Christmas Presents, Large and Medium Halloween Loot Bags, and Silver & Gold Easter Eggs give when they are unwrapped.

Configuration

{
  "General": {
    "Weapons Spawn With Random Ammo": true
  },
  "Gold Egg": {
    "Max Items": 5,
    "Min Items": 5,
    "Num Needed To Unwrap": 1
  },
  "Large Loot Bag": {
    "Max Items": 5,
    "Min Items": 5,
    "Num Needed To Unwrap": 1
  },
  "Large Presents": {
    "Max Items": 5,
    "Min Items": 5,
    "Num Needed To Unwrap": 1
  },                                       
  "Medium Loot Bag": {
    "Max Items": 3,
    "Min Items": 3,
    "Num Needed To Unwrap": 1
  },
  "Medium Presents": {
    "Max Items": 3,
    "Min Items": 3,
    "Num Needed To Unwrap": 1
  },
  "Silver Egg": {
    "Max Items": 3,
    "Min Items": 3,
    "Num Needed To Unwrap": 1
  },
  "Small Presents": {                     
    "Max Items": 1,
    "Min Items": 1,
    "Num Needed To Unwrap": 1
  }
}

Stored Data

The loot configuration is currently located under data/HolidayLoot in the SmallPresents, MediumPresents, LargePresents, GoldEggs, SilverEggs, MediumHalloweenBags, and LargeHalloweenBags files. Keep in mind that to edit these files, the server needs to be shutdown or the plugin unloaded, else the changes will not be used and will be overwritten.

Localization

{
  "No Permission": "You are not allowed to use this command",
  "Tables Reloaded": "The Holiday Loot data tables have been reloaded",
  "NotEnoughItems": "You do not have enough of this item to unwrap it!"
}

Credits

  • Original Author redBDGR

MIT License


Copyright (c) 2020 FastBurst


Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:


The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.


THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.