Coder Social home page Coder Social logo

shopui's Introduction

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 (#1)

Dependecies

The only dependency is economy API.

Features

  • You can select the type of chest (single or double).
  • Enchantments per items.
  • Custom lore for categories.
  • Up to 52 items for category.
  • Select whether the item's name should be kept.

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

shopui's People

Contributors

todo56 avatar notacoderr avatar poggit-bot avatar

Stargazers

Yi Lok Enoch Lam avatar Maverick avatar Animeluvr73 avatar

Watchers

James Cloos avatar  avatar Animeluvr73 avatar

shopui's Issues

EconomyAPI bug

If you do not have much money as the cost of the item, the server will give the item.

suggestion

Can you add cmd's for buying an item? (Es. 1 of paper and the console runs a command like setgroup {player} group)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.