948672463
本帖最后由 1582952890 于 2017-9-17 11:20 编辑



特点:
创建商店很简单
支持悬浮物
走到跟前会有悬浮信息显示
支持无限商店和管理员商店
支持物品名,附魔,lore等
一个商店可兼容收购和出售

指令:
/shop create <数量> <收购价格> <出售价格> <类型>                    然后右键箱子,创建商店
箱子类型: normal 普通 infinite 无限 admin 管理员
/shop remove                    然后右键箱子,删除商店
/shop info                    然后右键箱子,查看商店信息
/shop reload                    重载插件
/shop update                    检查更新
/shop limits                    查看自己的商店数量限制

食用方法:
购买: 右键箱子
出售: 左键箱子
打开另一个玩家的箱子: shift+右键箱子
权限:
shopchest.*
所有权限
shopchest.create
创建商店权限【给玩家】
shopchest.create.infinite
创建无限商店权限
shopchest.create.admin
创建管理员商店权限
shopchest.create.protected【给玩家】
创建被保护商店权限
shopchest.buy
购买权限【给玩家】
shopchest.sell
出售权限【给玩家】
shopchest.openOther
打开其他人的箱子
shopchest.removeOther
删除其他人的箱子
shopchest.reload
重载插件
shopchest.update
检查更新
shopchest.limits
查看商店数量限制【给玩家】

配置文件:(真的不想汉化,谁汉化好了发下吧)



2021.12 数据,可能有更多内容


特点:创建商店很简单支持悬浮物走到跟前会有悬浮信息显示支持无限商店和管理员商店支持物品名,附魔,lore等一个商店可兼容收购和出售

指令:/shop create &lt;数量&gt; &lt;收购价格&gt; &lt;出售价格&gt; &lt;类型&gt;  然后右键箱子,创建商店箱子类型: normal 普通 infinite 无限 admin 管理员/shop remove  然后右键箱子,删除商店/shop info  然后右键箱子,查看商店信息/shop reload  重载插件/shop update  检查更新/shop limits  查看自己的商店数量限制

食用方法:购买: 右键箱子出售: 左键箱子打开另一个玩家的箱子: shift+右键箱子
权限:shopchest.*所有权限
shopchest.create创建商店权限【给玩家】shopchest.create.infinite创建无限商店权限shopchest.create.admin创建管理员商店权限shopchest.create.protected【给玩家】创建被保护商店权限shopchest.buy购买权限【给玩家】shopchest.sell出售权限【给玩家】shopchest.openOther打开其他人的箱子shopchest.removeOther删除其他人的箱子shopchest.reload重载插件shopchest.update检查更新shopchest.limits查看商店数量限制【给玩家】

配置文件:(真的不想汉化,谁汉化好了发下吧)
# ===============================================
# == Default Configuration File of 'ShopChest' ==
# ===============================================
#
# Lines starting with '#' are comments and are ignored by the server.
#
# If you are using special characters be sure to save this file in ANSI encoding!
#
# Color Codes (Must be BEFORE Formatting Codes):
# &amp;0 = Black
# &amp;1 = Dark Blue
# &amp;2 = Dark Green
# &amp;3 = Dark Aqua
# &amp;4 = Dark Red
# &amp;5 = Dark Purple
# &amp;6 = Gold
# &amp;7 = Gray
# &amp;8 = Dark Gray
# &amp;9 = Blue
# &amp;a = Green
# &amp;b = Aqua
# &amp;c = Red
# &amp;d = Light Purple
# &amp;e = Yellow
# &amp;f = White
#
# Formatting Codes (Must be AFTER Color Codes):
# &amp;k = Obfuscated
# &amp;l = Bold
# &amp;m = Strikethrough
# &amp;n = Underline
# &amp;o = Italic
# &amp;r = Reset
# \n = Extra line


# Set the main command you have to enter to manage the shops (default: &quot;/shop ...&quot;)
# DO NOT USE COLOR-/FORMATTING CODES HERE!
main-command-name: &quot;shop&quot;


# Set the maximal distance to the shop where the player can see the hologram.
# Value MUST be a number (e.g. 1, 1.5, 2.75, ...)
maximal-distance: 1.75


# Set whether the shop's chest should be protected by hoppers
hopper-protection: true


# Set whether the shop's chest should be protected by explosions
explosion-protection: true


# Set the currency symbol after price values
currency-symbol: $


# Set whether the buy price must be greater than or equal sell price.
buy-greater-or-equal-sell: true


# Set the minimum prices for each individual Item. Not per Stack, per single Item!
# To add an item DELETE THE '[]' after 'minimum-prices:' and follow the format below.
# Important: You must have exactly 2 spaces between the text and the edge.
# You can find the item names in the 'item_names.txt' file.
minimum-prices: []
#&quot;STONE:1&quot;: 0.5
#&quot;DIAMOND_SWORD&quot;: 100


# Set the items of which a player can't create a shop.
# To add an item DELETE THE '[]' after 'blacklist:' and follow format below.
# Important: You must have exactly 2 spaces between the text and edge.
# You can find the item names in the 'item_names.txt' file.
blacklist: []
#- &quot;STONE:1&quot;
#- &quot;DIAMOND_BLOCK&quot;


# Priority: default &lt; group &lt; player
shop-limits:


# Set the amount of shops anyone who's not listed in the sections below can have.
# If you don't want the players to have a limit, set the value to -1.
default: 5


# Set the amount of shops a player in a specific permission group can have.
# If you don't want the group to have a limit, set the value to -1.
# To add an item DELETE THE '[]' after 'group:' and follow the format below.
# Important: You must have exactly 4 spaces between the text and the edge.
group: []
#&quot;VIP&quot;: 10


# Set the amount of shops a specific player can have.
# You can add a player by its name or by its UUID, but please do NOT provide the name and the UUID.
# If you don't want the player to have a limit, set the value to -1.
# To add an item DELETE THE '[]' after 'player:' and follow the format below.
# Important: You must have exactly 4 spaces between the text and the edge.
player: []
#&quot;EpicEric&quot;: 50
#&quot;898afbbe-6566-4a0f-b0ac-145868b3cb12&quot;: 50


messages:


# Set the message when a shop is created at the clicked chest.
shop-created: &quot;&amp;6Shop created.&quot;


# Set the message when the clicked chest already is a shop.
chest-already-shop: &quot;&amp;cChest already is shop.&quot;


# Set the message when the clicked shop is removed.
shop-removed: &quot;&amp;6Shop removed.&quot;


# Set the message when the clicked chest is not a shop.
chest-no-shop: &quot;&amp;cChest is not a shop.&quot;


shop-info:


# Set the vendor message the player gets after entering '/shop info'.
# Usable regex: %VENDOR%
vendor: &quot;&amp;6Vendor: &amp;e%VENDOR%&quot;


# Set the product message the player gets after entering '/shop info'.
# Usable regex: %AMOUNT%, %ITEMNAME%
product: &quot;&amp;6Product: &amp;e%AMOUNT% x %ITEMNAME%&quot;


# Set the in-stock message the player after entering '/shop info'.
# Usable regex: %AMOUNT%
stock: &quot;&amp;6In Stock: &amp;e%AMOUNT%&quot;


# Set the enchantments message the player gets after entering '/shop info' if the product is enchanted
# Usable regex: %ENCHANTMENT%
enchantments: &quot;&amp;6Enchantments: &amp;e%ENCHANTMENT%&quot;


# Set the arrow effect message the player gets after entering '/shop info' if the product is a tipped arrow (1.9 and later)
# Usable regex: %ARROW-EFFECT%
arrow-effect: &quot;&amp;6Arrow Effect: &amp;e%ARROW-EFFECT%&quot;


# If the product is a tipped arrow but it doesn't have an effect, this gets displayed instead of the arrow effect
none: &quot;&amp;7None&quot;


# Set the price message the player gets after entering '/shop info'.
# Usable regex: %BUY-PRICE%, %SELL-PRICE%, %CURRENCY-SYMBOL%
price: &quot;&amp;6Price: Buy: &amp;e%BUY-PRICE%%CURRENCY-SYMBOL%, &amp;6Sell: &amp;e%SELL-PRICE%%CURRENCY-SYMBOL%&quot;


# If the sell price or buy price is disabled, this message will be displayed instead of the price and the currency symbol in the message above.
disabled: &quot;&amp;7Disabled&amp;e&quot;


# Set the infinite message the player gets after entering '/shop info' ...
# ... when the shop is infinite.
is-infinite: &quot;&amp;6Type: &amp;eInfinite&quot;


#... when the shop is normal.
is-normal: &quot;&amp;6Type: &amp;eNormal&quot;


# ... when the shop is an admin shop.
is-admin: &quot;&amp;6Type: &amp;eAdmin&quot;


# Set the message when the clicked block is not a chest.
block-no-chest: &quot;&amp;cBlock is not a chest&quot;


# Set the message when the player tries to create a shop with sell price and buy price set to 0
buy-and-sell-disabled: &quot;&amp;cYou can't create a shop with buying and selling disabled.&quot;


# Set the message when the player successfully bought something.
# Usable regex: %AMOUNT%, %ITEMNAME%, %BUY-PRICE%, %CURRENCY-SYMBOL%, %VENDOR%
buy-success: &quot;&amp;aYou bought &amp;6%AMOUNT% x %ITEMNAME%&amp;a for &amp;6%BUY-PRICE%%CURRENCY-SYMBOL%&amp;a from &amp;6%VENDOR%&amp;a.&quot;


# Set the message when the player successfully bought something from an admin shop.
# Usable regex: %AMOUNT%, %ITEMNAME%, %BUY-PRICE%, %CURRENCY-SYMBOL%
buy-success-admin: &quot;&amp;aYou bought &amp;6%AMOUNT% x %ITEMNAME%&amp;a for &amp;6%BUY-PRICE%%CURRENCY-SYMBOL%&amp;a.&quot;


# Set the message when the player successfully sold something.
# Usable regex: %AMOUNT%, %ITEMNAME%, %SELL-PRICE%, %CURRENCY-SYMBOL%, %VENDOR%
sell-success: &quot;&amp;aYou sold &amp;6%AMOUNT% x %ITEMNAME%&amp;a for &amp;6%SELL-PRICE%%CURRENCY-SYMBOL%&amp;a to &amp;6%VENDOR%&amp;a.&quot;


# Set the message when the player successfully sold something to an admin shop.
# Usable regex: %AMOUNT%, %ITEMNAME%, %SELL-PRICE%, %CURRENCY-SYMBOL%
sell-success-admin: &quot;&amp;aYou sold &amp;6%AMOUNT% x %ITEMNAME%&amp;a for &amp;6%SELL-PRICE%%CURRENCY-SYMBOL%&amp;a.&quot;


# Set the message when a player bought something from the player's shop.
# Usable regex: %AMOUNT%, %ITEMNAME%, %BUY-PRICE%, %CURRENCY-SYMBOL%, %PLAYER%
someone-bought: &quot;&amp;6%PLAYER% &amp;abought &amp;6%AMOUNT% x %ITEMNAME%&amp;a for &amp;6%BUY-PRICE%%CURRENCY-SYMBOL%&amp;a from your shop.&quot;


# Set the message when a player sold something to the player's shop.
# Usable regex: %AMOUNT%, %ITEMNAME%, %SELL-PRICE%, %CURRENCY-SYMBOL%, %PLAYER%
someone-sold: &quot;&amp;6%PLAYER% &amp;asold &amp;6%AMOUNT% x %ITEMNAME%&amp;a for &amp;6%SELL-PRICE%%CURRENCY-SYMBOL%&amp;a from your shop.&quot;


# Set the message when the inventory is full when the player is buying something.
not-enough-inventory-space: &quot;&amp;cNot enough space in inventory.&quot;


# Set the message when the shop's inventory is full when the player is selling something.
chest-not-enough-inventory-space: &quot;&amp;cShop is full.&quot;


# Set the message when the player doesn't have enough money to buy something.
not-enough-money: &quot;&amp;cNot enough money.&quot;


# Set the message when the player doesn't have enough items to sell.
not-enough-items: &quot;&amp;cNot enough items.&quot;


# Set the message when the vendor doesn't have enough money to buy something from the player
vendor-not-enough-money: &quot;&amp;cVendor has not enough money.&quot;


# Set the message when the shop is out of stock.
out-of-stock: &quot;&amp;cShop out of stock.&quot;


# Set the message when an error occurred.
# Usable regex: %ERROR%
error-occurred: &quot;&amp;cAn error occurred: %ERROR%&quot;


# Set the message when the arguments &lt;AMOUNT&gt; and &lt;PRICE&gt; of '/shop create' are not a number.
amount-and-price-not-number: &quot;&amp;cAmount and price must be a number.&quot;


# Set the message when the player doesn't hold an item in the hand.
no-item-in-hand: &quot;&amp;cNo item in hand&quot;


# Set the message when the player must click a chest to create a shop.
click-chest-to-create-shop: &quot;&amp;aClick a chest to create a shop.&quot;


# Set the message when the player must click a shop to remove it.
click-chest-to-remove-shop: &quot;&amp;aClick a shop-chest to remove the shop.&quot;


# Set the message when the player must click a shop to retrieve information.
click-chest-for-info: &quot;&amp;aClick a shop to retrieve information.&quot;


# Set the message when the player opened a shop.
# Usable regex: %VENDOR%
opened-shop: &quot;&amp;aYou opened %VENDOR%'s shop.&quot;


# Set the message when the player tries to break a shop.
cannot-break-shop: &quot;&amp;cYou can't break a shop.&quot;


# Set the message when the player tries to sell a broken item.
cannot-sell-broken-item: &quot;&amp;cYou can't sell a broken item.&quot;


# Set the message when the entered buy price is below the minimum price.
# Usable regex: %MIN-PRICE%, %CURRENCY-SYMBOL%
buy-price-too-low: &quot;&amp;cThe buy price must be higher than %MIN-PRICE%%CURRENCY-SYMBOL%.&quot;


# Set the message when the entered sell price is below the minimum price.
# Usable regex: %MIN-PRICE%, %CURRENCY-SYMBOL%
sell-price-too-low: &quot;&amp;cThe sell price must be higher than %MIN-PRICE%%CURRENCY-SYMBOL%.&quot;


# Set the message when buying is disabled at the shop.
buying-disabled: &quot;&amp;cBuying is disabled at this shop.&quot;


# Set the message when selling is disabled at the shop.
selling-disabled: &quot;&amp;cSelling is disabled at this shop.&quot;


# Set the message when reloading is done.
# Usable regex: %AMOUNT% (Amount of shops)
reloaded-shops: &quot;&amp;aSuccessfully reloaded %AMOUNT% shop/s.&quot;


# Set the message when the player's shop limit is reached.
# Usable regex: %LIMIT%
shop-limit-reached: &quot;&amp;cYou reached your limit of &amp;6%LIMIT% &amp;cshop/s.&quot;


# Set the message that shows the player how many shop slots of his shop limit he has occupied.
# Usable regex: %LIMIT%, %AMOUNT% (Amount of shops)
occupied-shop-slots: &quot;&amp;6You have &amp;c%AMOUNT%/%LIMIT% &amp;6shop slot/s occupied.&quot;


# Set the message when the player tries to create a shop with an item which is listed in the blacklist.
cannot-sell-item: &quot;&amp;cYou cannot create a shop with this item.&quot;


update:


# Set the message when an update is available.
# Usable regex: %VERSION%
update-available: &quot;&amp;l&amp;6Version &amp;c%VERSION% &amp;6of &amp;cShopChest &amp;6is available &amp;chere.&quot;


# Set the message you get when hovering over the available message.
click-to-download: &quot;Click to download&quot;


# Set the message when no update is available.
no-update: &quot;&amp;l&amp;6No new update available.&quot;


# Set the message when the update checker is started.
checking: &quot;&amp;l&amp;6Checking for Updates...&quot;


hologram:


# Set the text in the first row of the shop's hologram
# Usable regex: %ITEMNAME%, %AMOUNT%
format: &quot;%AMOUNT% * %ITEMNAME%&quot;


# Set the text in the second row of the shop's hologram when the player can buy and sell an item.
# Usable regex: %BUY-PRICE%, %SELL-PRICE%, %CURRENCY-SYMBOL%
buy-and-sell: &quot;Buy %BUY-PRICE%%CURRENCY-SYMBOL% | %SELL-PRICE%%CURRENCY-SYMBOL% Sell&quot;


# Set the text in the second row of the shop's hologram when the player can only buy an item.
# Usable regex: %BUY-PRICE%, %CURRENCY-SYMBOL%
only-buy: &quot;Buy %BUY-PRICE%%CURRENCY-SYMBOL%&quot;


# Set the text in the second row of the shop's hologram when the player can only sell an item.
# Usable regex: %SELL-PRICE%, %CURRENCY-SYMBOL%
only-sell: &quot;Sell %SELL-PRICE%%CURRENCY-SYMBOL%&quot;


no-permission:


# Set the message when a not permitted player tries to create a shop.
create: &quot;&amp;cYou don't have permission to create a shop.&quot;


# Set the message when a not permitted player tries to create an infinite shop.
create-infinite: &quot;&amp;cYou don't have permission to create an infinite shop.&quot;


# Set the message when a not permitted player tries to create an admin shop.
create-admin: &quot;&amp;cYou don't have permission to create an admin shop.&quot;


# Set the message when a not permitted player tries to open another player's shop.
open-others: &quot;&amp;cYou don't have permission to open this chest.&quot;


# Set the message when a not permitted player tries to buy something.
buy: &quot;&amp;cYou don't have permission to buy something.&quot;


# Set the message when a not permitted player tries to sell something.
sell: &quot;&amp;cYou don't have permission to sell something.&quot;


# Set the message when a not permitted player tries to remove another player's shop.
remove-others: &quot;&amp;cYou don't have permission to remove this shop.&quot;


# Set the message when a not permitted player tries to reload the shops.
reload: &quot;&amp;cYou don't have permission to reload the shops.&quot;


# Set the message when a not permitted player tries to check for updates.
update: &quot;&amp;cYou don't have permission to check for updates.&quot;


# Set the message when a not permitted player tries to view the shop limits.
limits: &quot;&amp;cYou don't have permission to view the shop limits.&quot;


command-description:


# Set the command description message for '/&lt;main-command&gt; create' when you type '/&lt;main-command&gt;'.
create: &quot;Create a shop.&quot;


# Set the command description message for '/&lt;main-command&gt; remove' when you type '/&lt;main-command&gt;'.
remove: &quot;Remove a shop.&quot;


# Set the command description message for '/&lt;main-command&gt; info' when you type '/&lt;main-command&gt;'.
info: &quot;Retrieve shop information.&quot;


# Set the command description message for '/&lt;main-command&gt; reload' when you type '/&lt;main-command&gt;'.
reload: &quot;Reload shops.&quot;


# Set the command description message for '/&lt;main-command&gt; update' when you type '/&lt;main-command&gt;'.
update: &quot;Check for Updates.&quot;


# Set the command description message for '/&lt;main-command&gt; limits' when you type '/&lt;main-command&gt;'.
limits: &quot;View shop limits.&quot;


# End of file.


星陨坠
这种插件已经很多了 = =

948672463
星陨坠 发表于 2016-5-15 07:24
这种插件已经很多了 = =

QuickShop悬浮物刷东西BUG
ChestShop商店设置太麻烦+不支持悬浮物
SignShop不支持悬浮物

1207741285
顶楼主!!

zntxyd
顶一个!!

晓熠大神
商店建立后!左右键箱子都没反应!

948672463
晓熠大神 发表于 2016-6-5 17:15
商店建立后!左右键箱子都没反应!

去原帖下最新版本

18820649703
请问这个商店是不是真的有刷东西BUG 我都不敢下了

疾风清酒
箱子上限是五个 我是管理员 怎么调整我的箱子上限啊

948672463
shop-limits:

   # Set the amount of shops anyone who's not listed in the sections below can have.
   # If you don't want the players to have a limit, set the value to -1.
   default: 5

   # Set the amount of shops a player in a specific permission group can have.
   # If you don't want the group to have a limit, set the value to -1.
   # To add an item DELETE THE '[]' after 'group:' and follow the format below.
   # Important: You must have exactly 4 spaces between the text and the edge.
   group: []
   #  "VIP": 10

   # Set the amount of shops a specific player can have.
   # You can add a player by its name or by its UUID, but please do NOT provide the name and the UUID.
   # If you don't want the player to have a limit, set the value to -1.
   # To add an item DELETE THE '[]' after 'player:' and follow the format below.
   # Important: You must have exactly 4 spaces between the text and the edge.
   player: []
   #  "EpicEric": 50
   #  "898afbbe-6566-4a0f-b0ac-145868b3cb12": 50

948672463
疾风清酒 发表于 2016-7-6 17:47
箱子上限是五个 我是管理员 怎么调整我的箱子上限啊

shop-limits:

   # Set the amount of shops anyone who's not listed in the sections below can have.
   # If you don't want the players to have a limit, set the value to -1.
   default: 5

   # Set the amount of shops a player in a specific permission group can have.
   # If you don't want the group to have a limit, set the value to -1.
   # To add an item DELETE THE '[]' after 'group:' and follow the format below.
   # Important: You must have exactly 4 spaces between the text and the edge.
   group: []
   #  "VIP": 10

   # Set the amount of shops a specific player can have.
   # You can add a player by its name or by its UUID, but please do NOT provide the name and the UUID.
   # If you don't want the player to have a limit, set the value to -1.
   # To add an item DELETE THE '[]' after 'player:' and follow the format below.
   # Important: You must have exactly 4 spaces between the text and the edge.
   player: []
   #  "EpicEric": 50
   #  "898afbbe-6566-4a0f-b0ac-145868b3cb12": 50

疾风清酒
948672463 发表于 2016-7-6 18:03
shop-limits:

   # Set the amount of shops anyone who's not listed in the sections below can have. ...

shop-limits:
  
  # Set the amount of shops anyone who's not listed in the sections below can have.
  # If you don't want the players to have a limit, set the value to -1.
  default: 5
  
  # Set the amount of shops a player in a specific permission group can have.
  # If you don't want the group to have a limit, set the value to -1.
  # To add an item DELETE THE '[]' after 'group:' and follow the format below.
  # Important: You must have exactly 4 spaces between the text and the edge.
  group: []
  #  "Sake": 1000

  # Set the amount of shops a specific player can have.
  # You can add a player by its name or by its UUID, but please do NOT provide the name and the UUID.
  # If you don't want the player to have a limit, set the value to -1.
  # To add an item DELETE THE '[]' after 'player:' and follow the format below.
  # Important: You must have exactly 4 spaces between the text and the edge.
  player: []
  #  "EpicEric": 50
  #  "898afbbe-6566-4a0f-b0ac-145868b3cb12": 50

装上重启 还是没用 还是五个求指教

948672463
疾风清酒 发表于 2016-7-6 18:13
shop-limits:
  
  # Set the amount of shops anyone who's not listed in the sections below can have ...

醉了 英语这么差
配置文件找到这里
然后把default后面改成-1

疾风清酒
948672463 发表于 2016-7-6 18:34
醉了 英语这么差
配置文件找到这里
然后把default后面改成-1

我英语渣 方便留个号么

疾风清酒
948672463 发表于 2016-7-6 18:34
醉了 英语这么差
配置文件找到这里
然后把default后面改成-1

改完后还是无用 还是五个