Daily Shop

Put different products into shop menu.

Shop File

settings:
  menu: 'example-shop-menu'
  buy-more: true
  shop-name: 'Daily Shop'
  hide-message: false

general-configs:
  price-mode: CLASSIC_ANY
  product-mode: CLASSIC_ANY
  display-item:
    1:
      material: REDSTONE
      amount: 1
      name: '&e红石'
      lore:
        - '&f今日商品:'
        - '&7  - 红石'
    2:
      material: IRON_INGOT
      amount: 1
      name: '&e铁锭'
      lore:
        - '&f今日商品:'
        - '&7  - 铁锭'
    3:
      material: GOLD_INGOT
      amount: 1
      name: '&e金锭'
      lore:
        - '&f今日商品:'
        - '&7  - 金锭'
    4:
      material: COPPER_INGOT
      amount: 1
      name: '&e铜锭'
      lore:
        - '&f今日商品:'
        - '&7  - 铜锭'
    5:
      material: DIAMOND
      amount: 1
      name: '&e钻石'
      lore:
        - '&f今日商品:'
        - '&7  - 钻石'
    6:
      material: LAPIS_LAZULI
      amount: 1
      name: '&e青金石'
      lore:
        - '&f今日商品:'
        - '&7  - 钻石'
    7:
      material: EMERALD
      amount: 1
      name: '&e绿宝石'
      lore:
        - '&f今日商品:'
        - '&7  - 绿宝石'
    products:
      1:
        material: REDSTONE
        amount: 1
      2:
        material: IRON_INGOT
        amount: 1
      3:
        material: GOLD_INGOT
        amount: 1
      4:
        material: COPPER_INGOT
        amount: 1
      5:
        material: DIAMOND
        amount: 1
      6:
        material: LAPIS_LAZULI
        amount: 1
      7:
        material: EMERALD
        amount: 1
    sell-prices:
      1:
        economy-plugin: Vault
        amount: 1
        placeholder: '&6{amount} 金币'
        start-apply: 0
    sell-limits:
      global: 640
      default: 18
      vip: 256
    sell-limits-conditions:
      vip:
        - 'permission: group.vip'
    sell-limits-reset-mode: 'TIMED'
    sell-limits-reset-time: '00:00:00'

items:
  A:
    display-item-conditions:
      1: 
        - 'placeholder: {random_daily-1};;==;;A'
      2: 
        - 'placeholder: {random_daily-1};;==;;B'
      3:
        - 'placeholder: {random_daily-1};;==;;C'
      4:
        - 'placeholder: {random_daily-1};;==;;D'
      5:
        - 'placeholder: {random_daily-1};;==;;E'
      6:
        - 'placeholder: {random_daily-1};;==;;F'
      7:
        - 'placeholder: {random_daily-1};;==;;G'
    products-conditions:
      1: 
        - 'placeholder: {random_daily-1};;==;;A'
      2: 
        - 'placeholder: {random_daily-1};;==;;B'
      3:
        - 'placeholder: {random_daily-1};;==;;C'
      4:
        - 'placeholder: {random_daily-1};;==;;D'
      5:
        - 'placeholder: {random_daily-1};;==;;E'
      6:
        - 'placeholder: {random_daily-1};;==;;F'
      7:
        - 'placeholder: {random_daily-1};;==;;G'
  B:
    display-item-conditions:
      1: 
        - 'placeholder: {random_daily-2};;==;;A'
      2: 
        - 'placeholder: {random_daily-2};;==;;B'
      3:
        - 'placeholder: {random_daily-2};;==;;C'
      4:
        - 'placeholder: {random_daily-2};;==;;D'
      5:
        - 'placeholder: {random_daily-2};;==;;E'
      6:
        - 'placeholder: {random_daily-2};;==;;F'
      7:
        - 'placeholder: {random_daily-2};;==;;G'
    products-conditions:
      1: 
        - 'placeholder: {random_daily-2};;==;;A'
      2: 
        - 'placeholder: {random_daily-2};;==;;B'
      3:
        - 'placeholder: {random_daily-2};;==;;C'
      4:
        - 'placeholder: {random_daily-2};;==;;D'
      5:
        - 'placeholder: {random_daily-2};;==;;E'
      6:
        - 'placeholder: {random_daily-2};;==;;F'
      7:
        - 'placeholder: {random_daily-2};;==;;G'
  C:
    display-item-conditions:
      1: 
        - 'placeholder: {random_daily-3};;==;;A'
      2: 
        - 'placeholder: {random_daily-3};;==;;B'
      3:
        - 'placeholder: {random_daily-3};;==;;C'
      4:
        - 'placeholder: {random_daily-3};;==;;D'
      5:
        - 'placeholder: {random_daily-3};;==;;E'
      6:
        - 'placeholder: {random_daily-3};;==;;F'
      7:
        - 'placeholder: {random_daily-3};;==;;G'
    products-conditions:
      1: 
        - 'placeholder: {random_daily-3};;==;;A'
      2: 
        - 'placeholder: {random_daily-3};;==;;B'
      3:
        - 'placeholder: {random_daily-3};;==;;C'
      4:
        - 'placeholder: {random_daily-3};;==;;D'
      5:
        - 'placeholder: {random_daily-3};;==;;E'
      6:
        - 'placeholder: {random_daily-3};;==;;F'
      7:
        - 'placeholder: {random_daily-3};;==;;G'
  D:
    display-item-conditions:
      1: 
        - 'placeholder: {random_daily-4};;==;;A'
      2: 
        - 'placeholder: {random_daily-4};;==;;B'
      3:
        - 'placeholder: {random_daily-4};;==;;C'
      4:
        - 'placeholder: {random_daily-4};;==;;D'
      5:
        - 'placeholder: {random_daily-4};;==;;E'
      6:
        - 'placeholder: {random_daily-4};;==;;F'
      7:
        - 'placeholder: {random_daily-4};;==;;G'
    products-conditions:
      1: 
        - 'placeholder: {random_daily-4};;==;;A'
      2: 
        - 'placeholder: {random_daily-4};;==;;B'
      3:
        - 'placeholder: {random_daily-4};;==;;C'
      4:
        - 'placeholder: {random_daily-4};;==;;D'
      5:
        - 'placeholder: {random_daily-4};;==;;E'
      6:
        - 'placeholder: {random_daily-4};;==;;F'
      7:
        - 'placeholder: {random_daily-4};;==;;G'
  E:
    display-item-conditions:
      1: 
        - 'placeholder: {random_daily-5};;==;;A'
      2: 
        - 'placeholder: {random_daily-5};;==;;B'
      3:
        - 'placeholder: {random_daily-5};;==;;C'
      4:
        - 'placeholder: {random_daily-5};;==;;D'
      5:
        - 'placeholder: {random_daily-5};;==;;E'
      6:
        - 'placeholder: {random_daily-5};;==;;F'
      7:
        - 'placeholder: {random_daily-5};;==;;G'
    products-conditions:
      1: 
        - 'placeholder: {random_daily-5};;==;;A'
      2: 
        - 'placeholder: {random_daily-5};;==;;B'
      3:
        - 'placeholder: {random_daily-5};;==;;C'
      4:
        - 'placeholder: {random_daily-5};;==;;D'
      5:
        - 'placeholder: {random_daily-5};;==;;E'
      6:
        - 'placeholder: {random_daily-5};;==;;F'
      7:
        - 'placeholder: {random_daily-5};;==;;G'
  F:
    display-item-conditions:
      1: 
        - 'placeholder: {random_daily-6};;==;;A'
      2: 
        - 'placeholder: {random_daily-6};;==;;B'
      3:
        - 'placeholder: {random_daily-6};;==;;C'
      4:
        - 'placeholder: {random_daily-6};;==;;D'
      5:
        - 'placeholder: {random_daily-6};;==;;E'
      6:
        - 'placeholder: {random_daily-6};;==;;F'
      7:
        - 'placeholder: {random_daily-6};;==;;G'
    products-conditions:
      1: 
        - 'placeholder: {random_daily-6};;==;;A'
      2: 
        - 'placeholder: {random_daily-6};;==;;B'
      3:
        - 'placeholder: {random_daily-6};;==;;C'
      4:
        - 'placeholder: {random_daily-6};;==;;D'
      5:
        - 'placeholder: {random_daily-6};;==;;E'
      6:
        - 'placeholder: {random_daily-6};;==;;F'
      7:
        - 'placeholder: {random_daily-6};;==;;G'

Config.yml's placeholder.random option

  random:
    daily-1:
      reset-mode: TIMED
      reset-time: '13:45:00'
      elements:
        - 'A'
        - 'B'
        - 'C'
        - 'D'
        - 'E'
        - 'F'
        - 'G'
    daily-2:
      reset-mode: TIMED
      reset-time: '00:00:00'
      elements:
        - 'daily-1'
      not-same-as:
        - 'daily-1'
        - 'daily-3'
        - 'daily-4'
        - 'daily-5'
        - 'daily-6'
    daily-3:
      reset-mode: TIMED
      reset-time: '00:00:00'
      elements:
        - 'daily-1'
      not-same-as:
        - 'daily-1'
        - 'daily-2'
        - 'daily-4'
        - 'daily-5'
        - 'daily-6'
    daily-4:
      reset-mode: TIMED
      reset-time: '00:00:00'
      elements:
        - 'daily-1'
      not-same-as:
        - 'daily-1'
        - 'daily-3'
        - 'daily-2'
        - 'daily-5'
        - 'daily-6'
    daily-5:
      reset-mode: TIMED
      reset-time: '00:00:00'
      elements:
        - 'daily-1'
      not-same-as:
        - 'daily-1'
        - 'daily-3'
        - 'daily-2'
        - 'daily-4'
        - 'daily-6'
    daily-6:
      reset-mode: TIMED
      reset-time: '00:00:00'
      elements:
        - 'daily-1'
      not-same-as:
        - 'daily-1'
        - 'daily-3'
        - 'daily-4'
        - 'daily-5'
        - 'daily-2'

Last updated