Todo56 / ShopUI

A easy to use simple shop system for Pocketmine
GNU General Public License v3.0
3 stars 3 forks source link

Information

ShopUI is a simple shop system with categories made with a chestui using https://github.com/Muqsit/InvMenu.
HitCount

Commands

The main and only command is /shop.

Contact

If you find any bug please open a github issue. If you have any suggestions please dm me in discord (Todo56#0001)

Dependecies

The only dependency is economy API.

Features

Example config

shopcommand: shop
shopname: Select a Category #Sets the shop name
shoptype: single #single or double
categories: # Categories or your shop
  potions: # Category id
    name: §r§2Potions # Name of the category in the shop
    type: double #single or double
    item: 373 # Id of the item that represents the category
    meta: 0 # Meta of the item that represents the category
    lore: # Lore of the item
      - Select Me!
      - Just some normal and splash potions :D
    items: # List of items
      - name: Normal Potion # Name of the item (required)
        id: 373 # id of the item (required)
        meta: 0 # meta of the item (required)
        cost: 100 # cost of the item (required)
        amount: 1 # amount of the item (required)
        enchantments: # enchantments of the item (optional)
          - "sharpness:120"
          - "efficiency:5"
        keepname: true # Whether the item will keep the name specified (optional) (bool)
        commands:
          - kill {player} #command to be executed (optional) {player} is the player who bought the item.
      - name: §dRegeneration I Potion
        id: 373
        meta: 28
        cost: 100
        amount: 1
      - name: §dRegeneration II Potion
        id: 373
        meta: 30
        cost: 100
        amount: 1