How to install and use EconomyShopGUI plugin [Java]
In this article, we will install and configure EconomyShopGui. This plugin allows you to create an intuitive GUI shop for your players.
📢 Now, let's begin! Installing and configuring this plugin only requires a few easy steps! 📢
🔌 Installing the plugin 🔌
- Go to this link and buy/download the plugin.
- To upload the file to WitherPanel, drag and drop it into the plugins folder. Alternatively, you can upload it via sFTP.
- In order to apply the changes, restart your server.
⌨️ Commands
EconomyShopGUI provides a number of commands that you can use to manage your server shop.
Here are some of the most common commands:
Command | Description |
---|
/shop
| Opens the shop/sellgui
| This command opens a empty inventory where you can drop items in to sell, closing the inventory will complete the transaction. /editshop addsection
| Adds a shop section./editshop editsection
| Edits a existing shop section/editshop deletesection
| Removes a shop section.Adding items:
To add items to the shop you just need to do the following command: /editshop additem <section> <material> <buy price> <sell pirce> [displayname]
after doing that enter the /sreload
command to load the changes.
Editing items:
Editing items is similar to adding them you just have to do the /editshop edititem <section> <index> <action> <key> <value>
command. After doing that enter the /sreload
command to load the changes.
Deleting items:
To delete an item you just have to enter the following command: /editshop deleteitem <section> <index>
. To load the changes enter the /sreload
command.
Alternative method
To do add, edit and delete items and/or sections you can also use the Shops.yml
and Sections.yml
files, you can find them in the plugin's folder.
Sections.yml
example:
`ShopSections:
Blocks:
enable: true
material: "GRASS_BLOCK"
displayname: "Blocks"
slot: 19
lore:
- "Basic building blocks"`
Shops.yml
example:
`Blocks:
1:
material: PAPER
name: "Egyptian Papyrus"
buy: 6
sell: 2
=lore:
-"Papyrus from ancinet Egypt"`
That should be everything. Feel free to open a live chat with any questions.
Article written by sxnnysoul ( ID 568341617178574848 )
Updated on: 16/06/2023
Thank you!