Chest Shop - Simple and easy to use chest shop plugin icon

Chest Shop - Simple and easy to use chest shop plugin -----

Simple and easy to use ChestShop plugin!



[​IMG]

Farewell to the day when you set up trade for villagers with commands!
Here's a plugin that works in solidarity with economic plugins and also supports vanilla emerald trading!

Feature
Items and names are displayed on the shop in an easy-to-understand manner so that
can see the items for bought or sell at a glance!

This will allow buyers to purchase smoothly and make better deals.

Signs are colored in admin shops, player shops, etc. to make it easier to identify.

In addition, concepts such as consumption tax have been introduced, and you can use the consumption tax collected from players in various ways such as setting up public facilities!

Of course you can also create an AdminShop!

How to use
How to create a shop exclusively for bought

  1. Write [shop] on the first line.
  2. Please write the selling price on the second line
  3. Write the selling price on the third line.
  4. Right-click on the item you want to selling while facing the sign.
  5. Put the items to selling in the shop chest and you're done.
Note: If you put too many items and there is no space for emeralds, you cannot selling them.
[​IMG]
When creating an admin shop, Enter [AdminShop] when creating an Admin Shop. Also, in the case of AdminShop, there is no need to put items or emeralds.


How to create a shop exclusively for sell

  1. Write [shop] on the first line.
  2. Please write the buy price on the second line
  3. Do not write anything on the third line
  4. Write the buy price on the 4th line.
  5. Right-click on the item you want to buy towards the sign
  6. Finally, put the emerald in the chest and you're done. Also, if you are in "Economy" mode, you do not need to put it.
Note: You can't buy if you have too much emerald and there isn't enough space for the buy item.
[​IMG]
When creating an admin shop, Enter [AdminShop] when creating an Admin Shop. Also, in the case of AdminShop, there is no need to put items or emeralds.

How to create a shop for bought and sell

  1. Write [shop] on the first line.
  2. Number of items to sell in the second line
  3. Write the bought price on the third line.
  4. Write the sell price on the 4th line.
  5. Right-click on the item toward the sign to complete the shop.
  6. Put the product in the shop chest, and finally put the emerald in the chest and you're done. Also, in "economy" mode, you don't need to put emeralds.
Note: Sell or bought if you put too many items or emeralds
You will not be able to sell or bought items because you will not be able to put in the items you will get when you do. Please leave some space.
[​IMG]
When creating an admin shop, Enter [AdminShop] when creating an Admin Shop. Also, in the case of AdminShop, there is no need to put items or emeralds.


commands
/chestshop reload: Reload the config file.

configuration
Config details

Code (YAML):

# vanilla: When set to emerald, the currency is set to emerald.
# economy: When set to economy, it will be synchronized with the economy plugin. Vault is required.
mode
: "vanilla"

# Set the currency when set to "vanilla" mode.
currency
: "EMERALD"

# The cost of creating a shop. (Int)
creationCost
: 0

# Taxes will be charged on the bought or sell of the property. % designation. (Int)
tax
: 0
 

Code (YAML):

prefix
: "&7[&6SHOP&7]&f "
NotFoundVault
: "&cI'm currently set to \"Economy\ " mode in the config, but I couldn't find a vault or an economy plugin to support the vault and couldn't start it correctly. If you do not plan to install economy plugin, please change to \"Emerald\ " mode"
help
: "&6/chestshop reload&8: &7Reload the config file."
reloadDone
: "&6Reload is complete."
start
: "&6Chest Shop has started! Have a better trading life!"
notFoundItem
: "The currency was set to emerald because the item name %name% was not found."

#
# Message
#
BalanceInsufficient
: "Your balance is insufficient."
boughtItem
: "You just bought &a%item%&f for &6%price%&f!"
sellItem
: "You sold &a%item%&f items for &6%price%&f!"
CreateShop
: "Created a shop!"
DeleteShop
: "Deleted a shop!"
BoughtPriceNumberOnly
: "Please note that the bought price must be entered as a number"
SellPriceNumberOnly
: "Please note that the sell price must be entered as a number"
ItemAmountNumberOnly
: "Please note that the item amount must be entered as a number"
MinItemAmount
: "The number of items must be at least 1."
MinBoughtPrice
: "The bought price should be set at 1 or more."
MinSellPrice
: "The sell price should be set at 0 or more."
NotSetPrice
: "To create a shop, you'll need to set a price for a sell or bought, or both!"
NotSetItem
: "To create a shop you need to hold the item you want to sell in your hand and right click on the sign"
ChestTop
: "Can't create a shop because there is a block on one of the chests"
SignNeedFront
: "The sign needs to be place on the front of the chest!"
DeleteIsOwnerOnly
: "The shop can only be destroyed by the player owner!"
NotEnoughCost
: "The shop creation cost is not enough."
sellOnly
: "This shop is for sell only."
boughtOnly
: "This shop is for bought only."
balanceInsufficient
: "Your balance is insufficient."
emeraldInsufficient
: "Your emerald is insufficient."
outOfStock
: "This shop does not have it in stock. Please wait until it's refilled or contact us at &a%player%&f."
fullStock
: "This shop is full and cannot be sell anymore. Please wait until the stock is low or contact &a%player%&f!"
adminShopOpenChest
: "The Admin Shop does not need to be replenished with items."
notFoundEmerald
: "Can't sell items because there are no emeralds in the shop. Please wait until the stock is low or contact &a%player%&f!"
shopNoInventorySell
: "I couldn't sell it because the shop is full. Please wait until the stock is low or contact &a%player%&f!"
shopNoInventoryBought
: "I couldn't bought it because the shop is full. Please wait until the stock is low or contact &a%player%&f!"
notEnoughItem
: "Not enough items to sell."
notEnoughMoneyOwner
: "The shop owner does not have enough money to sell."

#
# Sign
#
shop
: "&e&lSHOP"
adminshop
: "&c&lAdmin SHOP"
boughtShop
: "B: &r%boughtprice%"
sellShop
: "S &r%sellprice%"
bothshop
: "B &r%boughtprice% : &r%sellprice% S"
itemName
: "%name% x%amount%"
administer
: "&lAdminister"
 


Permissions
chestshop.create:
Will be able to create a shop.
default: all players

chestshop.delete:
delete shops created by other players.
default: admin

chestshop.adminshop:
Will be able to create an Admin Shop.
default: admin

chestshop.revenue.get:
Get all tax revenue.
default: admin

chestshop.revenue.view:
view the total tax revenue.
default: admin

chestshop.revenue.get:
Get all tax revenue.
default: admin

chestshop.reload:
reload config
default: admin



Note

To enable "Economy" mode, you need
Vault and other economic plugins such as essentials and The new economy.


Future
It is a future plan content.
Allows you to change the contents of the sign.

That's all for the future. Stay tuned!


Other
If you have any requests for features you would like us to add to this plugin, please write them in the review! We will implement it as much as possible!

I try to eliminate bugs as much as possible, but I can't eliminate them 100%.
If you encounter a bug with this plugin, please check if the plugin is the latest version, and if it still occurs, please report it in the review.
We apologize for the inconvenience, and thank you for your cooperation.

This plugin uses bStats to collect simple server metrics. All data is completely anonymized and the IP address is not linked to the server, but if you want to disable it, see "Disabling bStats" at https://bstats.org/getting-started.​
Resource Information
Author:
----------
Total Downloads: 16,876
First Release: Nov 18, 2020
Last Update: Nov 26, 2020
Category: ---------------
All-Time Rating:
9 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings