This is just a simple shop plugin with buy and sell features I made for a server to be able to add shops to NPCs with a relatively easy implementation in the config file. Obviously not the best plugin you can find out there, but it works well enough for small servers that just need a simple NPC shop plugin that doesn't need to be too advanced.
The plugin requires Citizens and Vault to function.
Default Config
#Please list the npc shop ids that you would like to be enabled.
#List only the npc shops that you have already created or you will
#recieve errors in the console, as there are no checks for non-existant
#shops. The NPC ids can be found by doing /npc list and finding the
#npc you want the shop to be on. Create the shop further below.
#
# Example:
#enabled-npcs: [45, 21, 7]
enabled-npcs: []
#Please add the shops here you would like there to be for the various
#npcs with the item, then the buy and sell price. Add them in the order
#you would like them to be displayed. Do not add over 54 items as that
#is the maximum items in an inventory and add the rest to another npc
#as there is no feature to have previous pages. Refer to the example
#below to see how it works.
#
#
#Item names can be seen here: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html
#
#
# Explained example:
#npcs:
# 43: (id of the npc)
# name: 'IKEA' (name of the shop)
# OAK_DOOR: (item taht is being purchased/sold)
# buy: 50 (buy price per 1, remove this if you don't want it to be buyable)
# sell: 2 (sell price per 1, remove this if you don't want it to be sellable)
#
#
# Plain Example:
#npcs:
# 43:
# name: "IKEA"
# CRAFTING_TABLE
# buy: 50
# OAK_DOOR:
# buy: 50
# sell: 2
# OAK_FENCE:
# buy: 20
# sell: 1
npcs:
#This is the name of the inventories that pop up when opening a shop.
#This part sohuld be mostly self-explanatory. %name% will be replaced
#with the name of the shop. Keep in mind that inventory names have to
#stay below 32 characters in total. Although, if you go that far, you
#are probably usign way too long names, anyway.
#
#Please do not exclude the %name% part or have identical shop names
#as the plugin detects the shop inventories by name and does not apply
#some advanced way of doing it with different names, although that would
#have been possible with some extra characters but that is beyond the
#point, please just follow the guidelines. Although, you can always just
#make the actual shop names invisible by using a random color code as the
#name of the shop and just having this be the actually displayed inventory
#name.
#
#Jesus, even though I mentioned that this is the most self-explanatory part,
#this still managed to have the most text. Well, hope you had fun wasting your
#time reading all this, even though you probably already knew exactly how this
#would work by just looking at the line below.
inventory-name: "&7Shop: &c%name%"
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta