The Shop Plugin
This plugin is made for economy servers. It features 2 main commands:
/shop and /editshop
/shop Info#
/shop has no arguments(sub commands), it opens the shop.
/editshop Info#
/editshop is an OP only command since it's used to edit the items of the shop, it has 5 main sub commands(they have to be in order or the command will fail).
SubCommands#
- Category, Type: String
- Procedure, Type: String
- Material, Type: String
- Price, Type: Positive Integer
- Quantity, Type: Positive Integer
- Material2 (seldom, check READ THIS for more info), Type: String
Sub Command Definitions:#
Category: Category is the type of the material that is being added, there are 6 main types:
blocksweaponstoolscustomsredstoneandcurrency. theblockstype is used for building blocks i.e: stone, theweaponsandtoolstypes are self-explanatory,redstoneis used for redstone materials i.e: observer,customsis used for custom items and enchanted items, in other words any modified vanilla or non vanilla item falls under this type,currencyis for currency exchanges, in other words trading diamonds for any other valuable ingot(s), i.e: gold ingots.Procedure: Procedure is the process of adding or removing an item from the shop.
addandremove. Please note that if theCategoryiscustoms, the sub commands will become:customaddandcustomremand theMaterialandQuantityshall not be included, i.e:/editshop customs customadd/customrem 1, with1being thePrice.Material: it's the item material i.e diamond. NOTE: don't use spaces, use
_between every word, i.e: diamond_sword.Price: it's the price in diamonds. The input has to be a positive integer, without the word
diamonds, i.e: 8.Quantity: it's the quantity of the item being sold, The input has to be a positive integer, i.e: 8
READ THIS:#
If the Category is currency, then there will be an extra field, Material2, it's gonna be the material of the price, i.e, gold ingots. That way it's possible to buy diamonds. Command example: /editshop currency add diamond 64 1 gold_ingot
Command examples:#
/editshop blocks add stone 64 1
/editshop blocks remove bedrock 3 2
/editshop customs customadd 2