迷の十六
本帖最后由 1582952890 于 2017-9-16 09:56 编辑




此插件取决于 Vault. 如果你没有安装 Vault 和其他经济插件, ShopChest 会自动禁用!

ShopChest 是一个非常简单的插件. 你不需要用一个指令买东西, 只需要点击全息字或箱子.
?

特点:  


教程:  

创建一个商店
创建一个管理商店
删除一个商店
删除一个玩家的全部商店
查询商店信息
重载商店(配置,语言)
检查更新
更改配置参数
购买物品
卖出物品
打开一个商店
权限:  



配置文件:  

config


下载:  

ShopChest.jar (329.69 KB, 下载次数: 1252)

注: 语言文件在jar里面
注: 汉化语言自行扔到文件夹,支持版本1.8-1.12,  暂时没空翻译余剩内容(这个星期过了,  会继续翻译的)

本人汉化了1.8-1.11.2的 物品/附魔/药水/实体/箭矢/方块, 1.12部分物品我没玩过所以不太明白

[fly]汉化用时3-4小时, 如果你喜欢我搬运的插件,不妨下面评个分?[/fly]








2021.12 数据,可能有更多内容



此插件取决于 Vault. 如果你没有安装 Vault 和其他经济插件, ShopChest 会自动禁用!


ShopChest 是一个非常简单的插件. 你不需要用一个指令买东西, 只需要点击全息字或箱子.
?


特点:


  • 非常简单的商店互动和创建
  • 非常令人愉快的全息字和浮空物品
  • 正常商店 和 管理商店
  • 没有复杂的flag. 它只是读取了手中的物品
  • 商店支持漏斗、爆炸 的保护
  • 悬浮物品支持 水, 熔浆, 活塞, 僵尸, 拾取, 死亡 和 ClearLag 的保护
  • 你可以翻译全部信息. 你可以使用语言文件将:物品, 附魔, 药水, 效果, 等名称. 翻译成你的语言
  • 支持 MySQL 和 SQLite
  • 几乎支持所有保护插件 WorldGuard, Towny, PlotSquared, LWC, 等.
  • Vault 一体化: 经济 和 权限
  • 超多可配置的选项

教程:


创建一个商店
[spoiler]
  • 确保你拥有权限
  • 确保你拥有金钱
  • 确保你手持想要出售的物品
  • /shop create <数量> <出售价格> <收购价格>
  • 你可以设置 出售价格 或 收购价格 为 0 来关闭 出售 或 收购
  • 点击确认箱子为商店
  • 当然还没完成, 还要把物品放到箱子里
[/spoiler]创建一个管理商店
[spoiler]
  • 确保你拥有权限
  • 确保你拥有进去
  • 确保你手持想要出售的物品
  • /shop create <数量> <出售价格> <收购价格e> admin
  • 你可以设置 出售价格 或 收购价格 为 0 来关闭 出售 或 收购
  • 点击确认箱子为商店
  • 不需要把物品放到箱子里
[/spoiler]删除一个商店
[spoiler]
  • /shop remove
  • 点击你想要删除的商店
[/spoiler]删除一个玩家的全部商店
[spoiler]
  • 确保你拥有权限
  • /shop removeall <player>
[/spoiler]查询商店信息
[spoiler]
  • /shop info
  • 点击查看你想要的商店信息
[/spoiler]重载商店(配置,语言)
[spoiler]
  • 确保你拥有权限
  • /shop reload
[/spoiler]检查更新
[spoiler]
  • 确保你拥有权限
  • /shop update
[/spoiler]更改配置参数
[spoiler]
  • 确保你拥有权限
  • All comments in the configuration file will be deleted!
  • /shop config <set|add|remove> <property> <value>
[/spoiler]购买物品
[spoiler]
  • 确保你拥有权限
  • 确保你拥有金钱
  • 右击商店购买物品(秒)
  • 查看聊天框获取有关你购买的信息
[/spoiler]卖出物品
[spoiler]
  • 确保你拥有权限
  • 确保你拥有物品
  • 左击商店卖出物品(秒)
  • 查看聊天框获取有关你卖出的信息
[/spoiler]打开一个商店
[spoiler]
  • 如果商店不是你的, 请确保你拥有权限
  • /shop open
[/spoiler]权限:
[spoiler]shopchest.*
Gives access to all the below ShopChest permissions.
?
shopchest.create:
Allows the player to create a buy and sell shop for all items
?
shopchest.create.buy:
Allows the player to create a buy-shop.?


shopchest.create.sell:
Allows the player to create a sell-shop.?


shopchest.create.admin:
Allows the player to create an admin shop
?
shopchest.create.protected:
Allows the player to create a shop on a protected chest
?
shopchest.buy:
Allows the player to buy something
?
shopchest.sell:
Allows the player to sell something
?
shopchest.openOther:
Allows the player to open other players' shops
?
shopchest.remove.other:
Allows the player to remove other players' shops
?
shopchest.reload:
Allows the player to reload the shops
?
shopchest.remove.admin:
Allows the player to remove an admin shop.
?
shopchest.notification.update:
Allows the player to get update notifications on join
?
shopchest.update:
Allows the player to check for updates?


shopchest.config:
Allows the player to change configuration values per command
?
shopchest.extend.other:
Allows the player to extend other players' shops?


shopchest.extend.protected:
Allows the player to extend shops into a protected region of WorldGuard or Towny
?
shopchest.external.bypass:
Allows the player to use shops in WorldGuard regions that deny shop use?
[/spoiler]


配置文件:


config[spoiler]

代码:

  1. # ===============================================
  2. # ======'ShopChest' 配置文件 By-迷の十六 ======
  3. # ===============================================
  4. #
  5. # Lines starting with '#' are comments and are ignored by the server.

  6. # 设置管理商店的主要指令
  7. # (默认: "/shop ...")
  8. main-command-name: "shop"

  9. # 设置语言更改 物品-, 附魔-, 药水- 和 箭矢效果 的名称
  10. # The value must equal to the name of one of a file in the 'lang' folder
  11. # (不用输入 '.lang' 后缀)
  12. language-file: "cn_ZH"

  13. # 箱子上面的悬浮物品
  14. show-shop-items: true

  15. # 设置悬浮字和悬浮物品的更新速度 (速度)
  16. # 数值为 (从 slowest 到 fastest): (最慢 到 最快)
  17. # 'SLOWEST', 'SLOWER', 'SLOW', 'NORMAL', 'FAST', 'FASTER', 'FASTEST'
  18. # 数值越快, 消耗的性能越高
  19. # 可能导致TPS流失.
  20. update-quality: NORMAL

  21. # 玩家是否可以点击悬浮字体.
  22. # 你可以设置为空来禁用此功能.
  23. shop-info-item: "STICK"

  24. # Set whether interaction with the hologram should be enabled.
  25. # If set to true, a player can do the exact same thing with the
  26. # hologram, as with the chest. You can even open the chest if you
  27. # are the vendor or have permission.
  28. enable-hologram-interaction: true

  29. # Set whether a debug log file should be created.
  30. # The file may get large! Please enable this setting when reporting bugs.
  31. enable-debug-log: false

  32. # Set whether WorldGuard integration should be enabled
  33. # Of course, this only works if WorldGuard is installed
  34. enable-worldguard-integration: true

  35. # Set whether Towny integration should be enabled
  36. # Of course, this only works if Towny is installed
  37. enable-towny-integration: true

  38. # Set whether AuthMe integration should be enabled
  39. # Of course, this only works if AuthMe is installed
  40. enable-authme-integration: true

  41. # Set whether PlotSquared integration should be enabled
  42. # Of course, this only works if PlotSquared is installed
  43. enable-plotsquared-integration: true

  44. # Set whether uSkyBlock integration should be enabled
  45. # Of course, this only works if uSkyBlock is installed
  46. enable-uskyblock-integration: true

  47. # Set whether ASkyBlock integration should be enabled
  48. # Of course, this only works if ASkyBlock is installed
  49. enable-askyblock-integration: true

  50. # Set whether IslandWorld integration should be enabled
  51. # Of course, this only works if IslandWorld is installed
  52. enable-islandworld-integration: true

  53. # Set whether GriefPrevention integration should be enabled
  54. # Of course, this only works if GriefPrevention is installed
  55. enable-griefprevention-integration: true

  56. # Set whether AreaShop integration should be enabled
  57. # Of course, this only works if AreaShop and WorldGuard is installed
  58. enable-areashop-integration: true

  59. # 是否提醒商店的主人
  60. # 有人从他的商店买/卖东西,或者缺货
  61. enable-vendor-messages: true

  62. # 设置玩家只要在看向商店才显示悬浮字.
  63. # 如果关闭, 玩家附近的商店 (指定的距离)
  64. # 显示给他.
  65. only-show-shops-in-sight: true

  66. # 设置是否玩家在看商店的时候才能看到悬浮字.
  67. # 只有启用 'only-show-shops-in-sight' 才生效
  68. only-show-first-shop-in-sight: true

  69. # 设置悬浮字体是否固定在顶部,
  70. # 然后可以支持更多行, 它不会干扰悬浮物品和箱子,
  71. # 但是开销更高.
  72. hologram-fixed-bottom: true

  73. # 设置悬浮字的Y轴. (可以是负)
  74. # 数值为 '1' 则等级一个方块, 数值 '0.25' 等于0.25个方块
  75. hologram-lift: 0

  76. # Set whether players should be allowed to sell their items, even if the
  77. # amount they have, is lower than the amount, the shop owner has set for the
  78. # given price, or if the inventory of the chest doesn't have enough space
  79. # for all the items, but only for a few, or if the player only has enough
  80. # money for a few items, but not for the amount, the shop owner has set.
  81. # When set to true, players may also buy items from a shop, even if the
  82. # amount of items in the chest is lower than the amount, the shop owner has
  83. # set for the given price, or if they don't have enough space in the
  84. # inventory for all of the items, but only for a few, or if the shop owner
  85. # doesn't have enough money to buy all of the items, the player wants to
  86. # sell. The price will be calculated correspondingly.
  87. # (If it's not clear enough, please let me know)
  88. auto-calculate-item-amount: false

  89. # 设定价格是否包含小数 (现有商店的价格将继续保持)
  90. allow-decimals-in-price: true

  91. # 设置玩家是否可以 出售/购买 耐久度不满的物品
  92. allow-broken-items: false

  93. # 设置药水或箭头的等级 (如果有)
  94. # 附加到物品名称. 如果开启, 将显示等级 ("II")
  95. # 在物品名后方显示, 前提是该物品名称没有修改过(铁砧,其他物品修改插件)
  96. # 如果关闭, 它将只显示在
  97. # 商店信息.
  98. append-potion-level-to-item-name: false

  99. # Set whether shops should automatically be removed from the database if
  100. # an error occurred while loading e.g. when no chest is found at a
  101. # shop's location.
  102. # This might be useful if you're removing shop chests with WorldEdit,
  103. # resetting plots, or similar
  104. remove-shop-on-error: false

  105. # 设置鼠标按钮是否反转.
  106. # 默认:
  107. # 右键 -> 购买
  108. # 左键 -> 出售
  109. invert-mouse-buttons: false

  110. # 设置悬浮字视距 (方块为单位)
  111. # 玩家可以看到悬浮字.
  112. maximal-distance: 2

  113. # 设置悬浮物品视距 (方块为单位)
  114. # 玩家可以看到悬浮商店的物品.
  115. maximal-item-distance: 40

  116. # 设置至少要多少价格才能创建商店...
  117. # 你可以设置为0 关闭此选项.
  118. # 数值必须是数字 (例如. 1, 1.5, 2.75, ...)
  119. shop-creation-price:

  120. # ... 正常商店
  121. normal: 5

  122. # ... 管理商店
  123. admin: 0

  124. # 启用漏斗保护
  125. hopper-protection: true

  126. # 启用爆炸保护
  127. explosion-protection: true

  128. # 出售价 是否大于或者等于 收购价
  129. buy-greater-or-equal-sell: true

  130. # Set the minimum prices for each individual Item. Not per Stack, per single Item!
  131. # To add an item, follow the format below.
  132. # Important: You must have exactly 2 leading spaces in each line
  133. # You can find the item names in the 'item_names.txt' file.
  134. minimum-prices:
  135. # "STONE:1": 0.5
  136. # "DIAMOND_SWORD": 100

  137. # Set the maximum prices for each individual Item. Not per Stack, per single Item!
  138. # To add an item, follow the format below.
  139. # Important: You must have exactly 2 leading spaces in each line
  140. # You can find the item names in the 'item_names.txt' file.
  141. maximum-prices:
  142. # "STONE:1": 19.9
  143. # "DIAMOND_SWORD": 1000

  144. # Set the items of which a player can't create a shop.
  145. # To add an item, follow the format below.
  146. # Important: You must have exactly 2 leading spaces in each line
  147. # You can find the item names in the 'item_names.txt' file.
  148. blacklist:
  149. # - "STONE:1"
  150. # - "DIAMOND_BLOCK"

  151. # Set the events of AreaShop when shops on that region should be removed.
  152. # Important: You must have exactly 2 leading spaces in each line
  153. # Valid values are: DELETE, UNRENT, RESELL, SELL
  154. areashop-remove-shops:
  155. - "DELETE"
  156. - "UNRENT"
  157. - "RESELL"
  158. - "SELL"

  159. # Set whether the custom WorldGuard flags should be allowed by default
  160. # (true = Allowed by default, false = Denied by default)
  161. # This can, of course, be overridden in specific regions and is only
  162. # enabled if WorldGuard is installed and WorldGuard integration is enabled
  163. worldguard-default-flag-values:

  164. create-shop: false
  165. use-shop: false
  166. use-admin-shop: false

  167. # Set the types of Towny plots where shop creation should be allowed for...
  168. # Important: You must have exactly 4 leading spaces in each line
  169. # Valid values are:
  170. # RESIDENTIAL, COMMERCIAL, ARENA, EMBASSY, WILDS, SPLEEF, INN, JAIL, FARM
  171. towny-shop-plots:

  172. residents:
  173.     - "COMMERCIAL"

  174. mayor:
  175.     - "COMMERCIAL"

  176. king:
  177.     - "COMMERCIAL"

  178. # Configuration of the database, where everything is stored.
  179. # Shops are found in the table 'shop_list', and logged economy
  180. # transactions are found in the table 'shop_log'
  181. database:

  182. # Select the type of database which should be used
  183. # Either use 'SQLite' or 'MySQL'. Otherwise you will break the plugin!
  184. type: "SQLite"

  185. # If the specified type is 'MySQL', here you configure the...
  186. # (You can leave this empty if you're using SQLite)
  187. mysql:

  188.     # ...interval in seconds, when the database should be pinged,
  189.     # to keep the connection alive
  190.     # You can set this to '0' to disable the ping interval
  191.     ping-interval: 3600

  192.     # ...hostname where the database is accessible
  193.     hostname: ""

  194.     # ...port where the database is accessible (default: 3306)
  195.     port: 3306

  196.     # ...database you want to use
  197.     database: ""

  198.     # ...username you are going to login with
  199.     username: ""

  200.     # ...password you are going to login with
  201.     # Be careful, as anyone who can read this file, can read the password!
  202.     password: ""

  203. # 商店限制由权限决定.
  204. # 给予玩家权限 "shopchest.limit.X" 会有X限制,
  205. # 给予玩家权限 "shopchest.limit.*" 没有商店限制.
  206. shop-limits:

  207. # 设置管理商店是否被排除在 商店限制之外.
  208. # 如果开启, 管理商店将不会影响玩家的限制数.
  209. exclude-admin-shops: true

  210. # 设置默认拥有的商店数量
  211. # 在没有特定权限的情况下.
  212. # 如果你不希望玩家默认有店数限制
  213. # 设置为 -1.
  214. default: 5
[/spoiler]


下载:





注: 语言文件在jar里面
注: 汉化语言自行扔到文件夹,支持版本1.8-1.12,暂时没空翻译余剩内容(这个星期过了,会继续翻译的)


本人汉化了1.8-1.11.2的 物品/附魔/药水/实体/箭矢/方块, 1.12部分物品我没玩过所以不太明白


[fly]汉化用时3-4小时, 如果你喜欢我搬运的插件,不妨下面评个分?[/fly]



Deadpool至贱
支持RPGitem和特殊lore么

kevinss
这真是商店插件中的一股清流

迷の十六
Deadpool至贱 发表于 2017-6-18 23:07
支持RPGitem和特殊lore么

应该支持手中的物品(自行测试)
这款插件并没有显示lore

迷の十六
世界之冠 发表于 2017-6-18 23:10
这真是商店插件中的一股清流

感谢支持~~~~~~

apple5740
为什么 为什么 为什么没有1710 哇

动物的世界
希望可以亲自截图多点

迷の十六
动物的世界 发表于 2017-6-18 23:29
希望可以亲自截图多点

我相信过几天会的

动物的世界

懒癌患者

3246978610
有汉化么

迷の十六

请你认真看帖?????

yanshuchen
有图嘛- - ~~

迷の十六

第二张已经很明确了
你安装了我的 就是中文版

七柔
好像很厉害的样子

一个老baby
我只想说
从不厌倦QS

frea
免费的商店插件能有这样的功能真是不错,可惜我已经用了付费的shop了

晚安2001
其实我真的没想到十六你能去动手汉化物品名称 辛苦了
坚持下去,你就是最强的巨屌萝莉。

MC小白桑
权限呢?

MC小白桑
权限呢?

迷の十六

抱歉 我会尽快加上

MC小白桑
迷の十六 发表于 2017-6-23 16:20
抱歉 我会尽快加上

还有你汉化的语言文本在第一次启动的时候并不会被解压出来,必须用zip打开那个文件强行拖出来才有用

3246978610
支持1.8.8的么

qq1021476868
如果有1.7.10就更好了

myka
大佬为何不上传你的汉化到官方呢,官方已经有繁体了。

kevinyuan
与quickly商店有冲突

kevinyuan
与quickly shop 有严重冲突

耿耿难寐
支持楼主

迷の十六
kevinyuan 发表于 2017-7-24 19:42
与quickly shop 有严重冲突

quickly shop 和 这个只能选一个
俩个都安装 有冲突

KILLER神晓
有点看不懂=-=感觉和红石商店有点像啊

丿剑仙灬
不支持别的版本吗?

迷の十六
丿剑仙灬 发表于 2017-7-25 08:01
不支持别的版本吗?

目前只支持1.8-1.12
估计以后也不会支持更低的版本

丿剑仙灬
可惜我的服务器是1.7.2-1.7.5的

白色的麋鹿
貌似没有汉化,1.12找不到中文的语言文件

迷の十六
白色的麋鹿 发表于 2017-7-28 10:17
貌似没有汉化,1.12找不到中文的语言文件

我扔到jar里面了
自己找

a2055799522
这样还不如单独发一份汉化。。

迷の十六
本帖最后由 迷の十六 于 2017-7-29 11:31 编辑
a2055799522 发表于 2017-7-29 09:49
这样还不如单独发一份汉化。。

cn_ZH.lang
禁止上传该类型的文件.已注明在jar里面 自己翻
不评分的人都懒得理

零落Y_
jar并没有找到汉化文件

第一页 上一页 下一页 最后一页