Sell Command

When a transaction occurs in the store, a specific command can be executed.

Placeholders

  • buy : {player} {shop} {itemType} {amount} {priceSum}

  • sell : {player} {shop} {itemType} {amount} {priceSum} {tax}

Command

/ds shop <shop name> command <sell | buy> add <index> <command>
/ds shop <shop name> command <sell | buy> delete <index>
/ds shop <shop name> command active <true | false>

Example

Options:
  title: SampleShop
  enable: true
  lore: ''
  page: 2
  permission: ''
  flag: {}
  command:
    active: true
    sell:
      '0': bal {player}
      '1': say {player} {shop} {itemType} {amount} {priceSum} {tax}
    buy:
      '0': baltop

Last updated