⭕ NPCShops ✨ Create an economy with shops! ⭐ icon

⭕ NPCShops ✨ Create an economy with shops! ⭐ -----

For skyblock, survival and other servers!



Documentation - NPCShops

NPCShops is a plugin that allows you to create nice shops with the ability to buy, repurchase and sell items. It has integration with custom items and extensive configuration.​

● Commands
[​IMG]
Responsible for creating a new shop, in the <name> value we enter the name of the shop, which cannot be repeated. The name will be displayed in the GUI.

Example: /NPCShops create MyShop

[​IMG]
Using this command you can edit prices or items in a given shop. The first argument is responsible for selecting whether we want to edit items or price. The second one is to select the shop we want to edit.

Example: /NPCShops edit items MyShop

[​IMG]
With this command you will delete a shop that you no longer need.

Example: /NPCShops remove MyShop

[​IMG]
This command allows us to open the shop's graphical interface to another player. First, we select the player, then the shop, and finally whether the player should receive information about opening the shop.

Example: /NPCShops forceopen MyNick MyShop -s

[​IMG]
The command opens a graphical interface that allows us to add, remove and edit shops without the need to enter commands.

[​IMG]
It shows us a simple list of currently existing shops.

[​IMG]
The command reloads the entire plugin. A command is required to confirm any changes to shops.

[​IMG]
Used to open the selected shop.

Example: /shop MyShop

● Permissions
npcshops.update-info - Sends update information on entry
npcshops.admin - Provides access to the /npcshops command
npcshops.shopuse - Gives access to every shop
npcshops.shopuse.<shop> - Allows you to open only the selected shop

● Basic configuration
The basic, or simple, configuration involves an easy-to-use interface available under /NPCShops gui​

[​IMG]
Click on enderchest to create a new shop.

[​IMG]
Write its name on the plate

[​IMG]
Press LMB to edit items in the shop

[​IMG]
Click on an item in your inventory to add it to the shop.

[​IMG] [​IMG]
Set its buy and sell price. To confirm the changes, enter NPCShops reload

[​IMG]
If you have set the wrong price, you can easily change it by entering RMB in Edit price

[​IMG]
Now after committing your changes using NPCShops reload you can enjoy the item in the shop.

● Advanced Configuration

[​IMG]
Index 0 shows us an example item that always appears after creating a new shop. Index 1 shows the item that was added when describing the basic configuration. Index 2 is a representation of an item from an advanced configuration.

Material: Material [e.g. BOOK]
Enchantments: Enchant:EnchantLevel [e.g. MENDING:1]
Flags: ItemFlag [e.g. HIDE_ATTRIBUTES]


It is also possible to add custom items, otherwise known as a full ItemStack.
[​IMG]


Example integration with oraxen:
[​IMG]
Resource Information
Author:
----------
Total Downloads: 15
First Release: Jul 2, 2023
Last Update: Jan 23, 2024
Category: ---------------
All-Time Rating:
1 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings