MysticalShop

Commands & Permissions

MysticalShop has very few commands and permissions. The plugin is mostly configured through the files.

Note: <> are mandatory arguments, and [] are optional arguments.

Please note that every shop can have its own open command.

Permissions

Create a Shop

Creating a shop is relatively simple once you understand the configuration.

This is a full example shop configuration file:

settings:
  key: Example
  command: coinshop
  economy: VAULT
  refreshTime: 180
  persistent: false
  unique: true

  inventory:
    title: 'Coin Shop'
    rows: 3
    shopSlots:
      - 13

items:
  '0':
    available-item:
      material: DIAMOND
      name: '<green>Diamond'
      lore:
        - '<gray>Costs $10'
    bought-permission: bought.diamond
    bought-item:
      material: DIAMOND
      name: '<green>Diamond'
      lore:
        - '<gray>Already bought!'
    required-permission: buy.diamond
    no-permission-item:
      material: DIAMOND
      name: '<green>Diamond'
      lore:
        - '<gray>No permission'
    commands:
      - 'give %player% diamond 1'
    price: 10
    weight: 1.0
  '1':
    available-item:
      material: IRON_INGOT
      name: '<green>Iron Ingot'
      lore:
        - '<gray>Costs $5'
    commands:
      - 'give %player% iron_ingot 1'
    price: 5
    weight: 2.5

filler-items:
  '0':
    slots:
      - 4
    material: CLOCK
    name: <green>%timeRemaining%
    commands:
      - 'say Hello!'

If you need more help creating your shops, feel free to reach out on Discord!