Giter Club home page Giter Club logo

minecraft-sign-shop's Introduction

Good morning, good afternoon and good night!

Today I'm bringing for the first time a very simple store plugin for Minecraft servers.

The cmLoja consists of creating stores using signs, such as the ChestShop plugin.

Both staff and players can create stores, so just have the permissions!

✦ Test the versions: 1.13x, 1.12x, 1.11x, 1.10x, 1.9x, 1.8x

✦ Plugin Video: https://youtu.be/Dklc07uynfg

✦ Commands: /geraritem

➤ Generates some custom item to add on sale using the sign.

✦ Permissions ✦

loja.geraritem: Permission to use the /geraritem command

loja.admin: Permission for admin to create store of all kinds.

loja.player: Permission for the player to create store using the chest.

loja.quebrarloja: Permission for the player to be able to break any Vip store.

loja.abrirbau: Permission for the player to be able to open the chest of any VIP store.

✦ VIP Discount ✦

➤ loja.vender.0-100: Permission to give "discount" in the store, that is, the player will sell more expensive items only in the server store. The values can be from 0 to 100 per cent.

➤ loja.comprar.0-100: Permission to discount the store when buying any items in the server store.

➤ Example: loja.comprar.10 <- The player will have 10% discount on the server store.

➤ ADMINS DO NOT HAVE DISCOUNTS IN SHOP, THAT IS, NO OF THE 2 PERMISSIONS WILL WORK.

✦ Messages Config: https://pastebin.com/T2bkg1g7

✦ Events for programmers ✦

LojaBuyOtherPlayer - It is always called when a player buys in another player's store.

LojaBuyServer - It is called whenever any player buys in the server store.

LojaSellOtherPlayer - It is called whenever a player sells items in another player's store.

LojaSellServer - It is called whenever a player sells items in the server store.

LojaSignCreate - It is called whenever a player creates a store.

♦ Important Notices ♦

The plugin needs Vault and some economy plugin on the server.

If you find errors in the plugin let me know that I will edit to launch in the next version.

minecraft-sign-shop's People

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

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.