Dynamic Shop

This shop lets you set products to rotate every x minutes and customize the number of items displayed, ensuring only those will be included in the rotation.

{
  "autoPlace": true,
  "id": "DYNAMIC",
  "title": "%shop%",
  "currency": "impactor:dollars",
  "economy": {
    "EconomyId": "IMPACTOR",
    "currency": "impactor:dollars"
  },
  "closeCommand": "",
  "soundOpen": "block.chest.open",
  "soundClose": "block.chest.close",
  "rows": 6,
  "globalDiscount": 0.0,
  "type": {
    "typeShop": "DYNAMIC",
    "cooldown": 30,
    "productsRotation": 3
  },
  "rectangle": {
    "startRow": 1,
    "startColumn": 1,
    "length": 4,
    "width": 7
  },
  "discounts": {
    "group.vip": 2.0
  },
  "display": {
    "slot": 1,
    "slots": [],
    "item": "",
    "displayname": "",
    "lore": [],
    "CustomModelData": 0,
    "nbt": ""
  },
  "itemInfoShop": {
    "slot": 51,
    "slots": [],
    "item": "",
    "displayname": "",
    "lore": [],
    "CustomModelData": 0,
    "nbt": ""
  },
  "itemBalance": {
    "slot": 47,
    "slots": [],
    "item": "",
    "displayname": "",
    "lore": [],
    "CustomModelData": 0,
    "nbt": ""
  },
  "subShops": [],
  "products": [
    {
      "product": "minecraft:dirt",
      "buy": 9999999,
      "sell": 1
    },
    {
      "product": "item:1:minecraft:dirt",
      "buy": 9999999,
      "sell": 1
    },
    {
      "product": "item:1:minecraft:dirt#{CustomModelData:1}",
      "buy": 9999999,
      "sell": 1
    },
    {
      "product": "pokemon:rattata alola",
      "buy": 9999999,
      "sell": 1
    },
    {
      "display": "minecraft:emerald",
      "product": "command:lp user %player% permission set a",
      "buy": 9999999,
      "sell": 1
    },
    {
      "display": "minecraft:emerald",
      "product": "command:lp user %player% permission set a|lp user %player% permission set b",
      "buy": 9999999,
      "sell": 1
    },
    {
      "product": "money:1",
      "buy": 9999999,
      "sell": 1
    },
    {
      "product": "money:tokens:1",
      "buy": 9999999,
      "sell": 1
    },
    {
      "product": "mod:cobblehunt:radar",
      "buy": 9999999,
      "sell": 1
    },
    {
      "product": "cobblemon:poke_ball|cobblemon:great_ball|cobblemon:ultra_ball|command:lp user %player% permission set a|pokemon:rattata alola",
      "buy": 9999999,
      "sell": 1
    },
    {
      "oneByOne": true,
      "uuid": "61b04ec7-2137-4f9b-8f65-6e7ea7242388",
      "max": 1,
      "cooldown": 60,
      "canBuyPermission": "cobbleshop.dirt",
      "notBuyPermission": "cobbleshop.dirt",
      "discount": 10.0,
      "display": "minecraft:stone",
      "displayname": "Custom Stone",
      "lore": [
        "This is a custom stone",
        "You can use it to build"
      ],
      "CustomModelData": 0,
      "slot": 0,
      "product": "minecraft:stone",
      "buy": 9999999,
      "sell": 1
    }
  ],
  "itemPrevious": {
    "slot": 45,
    "slots": [],
    "item": "",
    "displayname": "",
    "lore": [],
    "CustomModelData": 0,
    "nbt": ""
  },
  "itemClose": {
    "slot": 49,
    "slots": [],
    "item": "",
    "displayname": "",
    "lore": [],
    "CustomModelData": 0,
    "nbt": ""
  },
  "itemNext": {
    "slot": 53,
    "slots": [],
    "item": "",
    "displayname": "",
    "lore": [],
    "CustomModelData": 0,
    "nbt": ""
  },
  "panels": [
    {
      "fill": {
        "slot": 0,
        "slots": [],
        "item": "minecraft:gray_stained_glass_pane",
        "displayname": "",
        "lore": [],
        "CustomModelData": 0,
        "nbt": ""
      },
      "slots": [
        0,
        1,
        2,
        3,
        4,
        5,
        6,
        7,
        8,
        9,
        10,
        11,
        12,
        13,
        14,
        15,
        16,
        17,
        18,
        19,
        20,
        21,
        22,
        23,
        24,
        25,
        26,
        27,
        28,
        29,
        30,
        31,
        32,
        33,
        34,
        35,
        36,
        37,
        38,
        39,
        40,
        41,
        42,
        43,
        44,
        45,
        46,
        47,
        48,
        49,
        50,
        51,
        52,
        53
      ]
    }
  ]
}

Last updated