星光灬羽神
本帖最后由 星光灬羽神 于 2022-8-8 14:13 编辑

ShopKeepers

店主商店|村民商店

开源|统计|捐赠现作者|原作者|提交问题|Wiki(英文)



       这是一款老牌插件,它可以创建自定义村民商店以及其他生物商店,同时拥有管理员商店和玩家商店两种功能,以及可以创建牌子商店和NPC商店(需要Citizens)来创建商店,并且同时拥有购买商店/出售商店/书本商店以及交易商店四种类型。

搬运授权+再搬理由:



主要特点:
  • 容易创建的村民商店,方便的设置交易物品。
  • 支持管理员的无限商店
  • 在附近有箱子时,还支持玩家商店
  • 四种商店类型:出售商店、购买商店、交易商店以及书本商店。
  • 支持多种生物类型,还支持牌子公民NPC(Citizens)
  • 支持NBT的Lore,名字等判定内容!同时支持附魔书等内容!
  • 可更改的生物外观。
  • 远程操控商店!
  • 许多可以配置的选项。
  • 可自定义翻译内容
  • 它还开源!


详细介绍
(商店类型)

管理员商店(Admin Shop):


出售商店/购买商店(Selling/Buying):

交易商店(trading):

书本商店(Book):


(指令、权限和配置文件)


指令(Command):

权限(Permission):



配置文件(Config):—— 已经汉化,有问题请指出。
请认准你的插件版本!不用复制的,下面会放下载链接
1.13以上可用(2.10.0及其以上版本)


1.12-1.7.2可用(2.2.4):





(如何创建商店)

因为商店不同,创建方法有点差异,但是五步即可解决


我愿称之为: 创 业 五 步


创建管理员商店(默认创建商店):

1.14以上适用方法:
1.12-1.7.2适用方法


创建玩家商店【购买|出售|交易|书本】(全版本通用):


创建公民商店:
我知道很多人都喜欢这个,方便你们不用找教程就写出来了。



创建牌子商店:




(关于下载|其他内容)

由于作者要求,只能贴出原帖下载地址:
(全部下载地址)



原帖更新记录

本贴更新记录:


统计:(可以禁止)
本插件使用bStats插件进行统计,这有助于了解使用该插件的服务器数量。
以下是统计列表
常用信息:插件数量、玩家数量、在线模式、MC版本、插件版本、核心版本、操作系统、国家、JAVA版本
额外信息:相关插件(公民、WG、城镇、Gringotts、箱子保护、经济插件),商店数量,是否使用玩家商店,备份,彩色代码,箱子保护,自动删除税率,NBT信息检查,禁用的生物,单个世界的商店数量。


Q&A更多问题:
注意:出现BUG或有问题建议直接问作者,作者两天内就会回复,问我是没有用的,这里提供一些常用的解决方案。
这是已知BUG:https://github.com/Shopkeepers/Shopkeepers-Wiki/wiki/Known-Issues
官方常见问题:https://github.com/Shopkeepers/Shopkeepers-Wiki/wiki/Frequently-Asked-Questions

Q:如何让我的村民可以中文或者用彩色代码?(感谢 @不动要塞 @sanqiue 等人的指正)
A:打开Config.yml,找到[name-regex:]选项,修改
其中若为用中文名,则[A-Za-z0-9\u4e00-\u9fa5 ]{3,25}
其中若用彩色字体,则[A-Za-z0-9&§ ]{3,25}
如果我全都要,则填  *  如果无效可以尝试  ( .* )[1.12.2/1.16.5]

Q:如何禁用玩家商店?
A:方法一 打开Config.yml,找到[shop-creation-item],设置为其他玩家得不到的东西,并且禁用[create-player-shop-with-command]
方法二  禁止权限
    shopkeeper.admin:创建管理员商店
    shopkeeper.player.sell:创建出售商店
    shopkeeper.player.buy:创建购买商店
    shopkeeper.player.trade:创建交易商店
    shopkeeper.player.book:创建书商店
    shopkeeper.player:创建玩家商店

来自群组: HAYO Studio
2021.12 数据,可能有更多内容

ShopKeepers
店主商店|村民商店
开源|统计|捐赠(现作者|原作者)|提交问题|Wiki(英文)


    这是一款老牌插件,它可以创建自定义村民商店以及其他生物商店,同时拥有管理员商店和玩家商店两种功能,以及可以创建牌子商店和NPC商店(需要Citizens)来创建商店,并且同时拥有购买商店/出售商店/书本商店以及交易商店四种类型。


搬运授权+再搬理由:MCBBS原帖仅仅更新到了1.14,并且搬运者已经超过一年没有在线了。其实我也用了很久,发现功能不只这些。并且1.13进行了村庄更新,那个搬运贴的内容过时了。授权搬运:



主要特点:
  • 容易创建的村民商店,方便的设置交易物品。
  • 支持管理员的无限商店
  • 在附近有箱子时,还支持玩家商店
  • 四种商店类型:出售商店、购买商店、交易商店以及书本商店。
  • 支持多种生物类型,还支持牌子公民NPC(Citizens)
  • 支持NBT的Lore,名字等判定内容!同时支持附魔书等内容!
  • 可更改的生物外观。
  • 远程操控商店!
  • 许多可以配置的选项。
  • 可自定义翻译内容
  • 它还开源!


详细介绍
(商店类型)
管理员商店(Admin Shop):
OP情况下默认的商店类型,直接通过菜单来编辑交易选项

出售商店/购买商店(Selling/Buying):
玩家创建的购买商店,通过设置货币的多少来收购/出售物品(默认的货币为绿宝石)



交易商店(trading):
这是玩家进行交易的商店,玩家可以自定义进行以物换物,同时玩家需要一个箱子来放置物品(需要提前放好)
菜单编辑界面与管理员界面相似。


书本商店(Book):
对需要出售的书本进行复印并出售,可用于成书和空白书


(指令、权限和配置文件)


指令(Command):






/shopkeepers help——查询帮助
/shopkeepers [商店类型] [物体类型]——创建一个商店
/shopkeepers reload——重载插件
/shopkeeper list [player|'admin'] [页数]——浏览玩家/管理员商店
/shopkeeper remove [player|'all'|'admin']——删除玩家/所有/管理员商店
/shopkeepers give [player] [数量]——给玩家创建商店的物体
/shopkeepers remote <商店名> [玩家名]——远程控制商店
/shopkeepers edit [商店名]——编辑商店
/shopkeepers transfer <新主人>——转让商店
/shopkeepers setTradePerm <商店ID> <权限|-|?>设置,删除(-)或查看(?)一个商店交易所需要的权限
/shopkeepers setforhire——设置租.用价格
/shopkeepers debug——打开调试
/shopkeepers check——检查商店
/shopkeepers debugCreateShops [shopCount]——创建多个管理员商店


权限(Permission):
    指令权限:
    shopkeeper.help:指令帮助
    shopkeeper.reload:重载指令
    shopkeeper.debug:打开调试
    shopkeeper.list.own:查看自己的商店
    shopkeeper.list.others:查看别人的商店
    shopkeeper.list.admin:查看管理员商店
    shopkeeper.remove.own:删除自己的商店
    shopkeeper.remove.others:删除别人的商店
    shopkeeper.remove.all:删除所有人的商店
    shopkeeper.remove.admin:删除管理员商店
    shopkeeper.give:给创建商店工具
    shopkeeper.remote:远程控制商店
    shopkeeper.remote.otherplayers:远程控制其他玩家的商店
    shopkeeper.remoteedit:远程编辑商店
    shopkeeper.transfer:转让商店所有权
    shopkeeper.settradeperm:设置管理员商店的贸易权限
    shopkeeper.setforhire:设置租.用价格


    总体权限:
    shopkeeper.trade:允许交易
    shopkeeper.hire:允许出.租
    shopkeeper.bypass:允许绕开限制
    shopkeeper.maxshops.<count>:可以有多少个商店


    商店类型:
    shopkeeper.admin:创建管理员商店
    shopkeeper.player.sell:创建出售商店
    shopkeeper.player.buy:创建购买商店
    shopkeeper.player.trade:创建交易商店
    shopkeeper.player.book:创建书商店
    shopkeeper.player:创建玩家商店


    商店物体类型:
    shopkeeper.sign:创建牌子商店
    shopkeeper.citizen:创建公民商店
    shopkeeper.entity.*:创建所有物体类型的商店
    # 你可以在这里看见所有物体类型
    # https://hub.spigotmc.org/javadoc ... ity/EntityType.html
    # shopkeeper.entity.<mob-type>:创建某种物体类型的商店


    老旧权限:
    shopkeeper.player.normal:创建和修改出售商店
    shopkeeper.villager:创建村民商店
    shopkeeper.witch:创建女巫商店
    shopkeeper.creeper:创建苦力怕商店


配置文件(Config):—— 已经汉化,有问题请指出。
请认准你的插件版本!不用复制的,下面会放下载链接
1.16-1.13可用(2.10.0及其以上版本)


代码:

  1. # *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*
  2. # Shopkeepers 的 Config,汉化:羽神
  3. # Wiki: https://github.com/Shopkeepers/Shopkeepers-Wiki/wiki/Configuration
  4. # Wiki包括了很多config选项的解释.
  5. # 社区翻译: https://github.com/Shopkeepers/Translations
  6. # *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*

  7. # 这决定了config的版本。不要改变它!
  8. config-version: 2
  9. # 是否开启调试(debug)。
  10. debug: false
  11. # 额外调试选项.
  12. # - 'capabilities': 日志会详细显示服务器版本中依赖的功能。
  13. # - 'log-all-events': 日志显示全部内容。
  14. # - 'print-listeners': 在每一次开始的时候显示
  15. #    注册信息。
  16. # - 'shopkeeper-activation': 打开调试一些有关激活Shopkeeper输出的
  17. #    信息。
  18. # - 'commands': 打开输出额外的输入指令的调试信息。
  19. # - 'owner-name-updates': 日志中显示更改商人主人的
  20. #    名字.
  21. # - 'item-migrations': 日志显示店主移动的物品 (例如
  22. #    换贸易物品).
  23. debug-options: []
  24. # 是否允许发送统计数据到 https://bStats.org
  25. # 所有的信息都能在这里看见:
  26. # https://bstats.org/plugin/bukkit/Shopkeepers
  27. enable-metrics: true

  28. # *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*
  29. # 店主商店 数据
  30. # *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*

  31. # 文件会用哪种方式进行保存。 如果为空,则使用系统语言
  32. # 来进行编码. 如果你的保存文件有问题, 例如特殊的
  33. # 字符没有办法被保存,可以尝试的去使用 'UTF-8' 编码。
  34. file-encoding: "UTF-8"
  35. # 是否每次在编辑店主商店之后定时进行保存。
  36. # 如果关闭,插件会关闭并占用五分钟的时间进行保存。
  37. # 如果你的服务器有大量的玩家或者商店, 为了性能
  38. # 关闭它可能对服务器更友好。
  39. save-instantly: true

  40. # *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*
  41. # 插件兼容性
  42. # *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*

  43. # 插件是否定期去验证
  44. # 村民是否存在。这只有在你开启插件时,
  45. # 店主商店消失时再启用。
  46. enable-spawn-verifier: false
  47. # 如果开启, 店主商店会尝试通过其他插件加载生物行为
  48. # (例如 耕地保护插件)。
  49. bypass-spawn-blocking: true
  50. # 如果开启,店主商店是否会考虑村民
  51. # 与其他插件进行互动.
  52. check-shop-interaction-result: false

  53. # 如果开启,玩家可能只有在WorldGuard插件中的'allow-shop'标志
  54. # 的允许下并且拥有店主商店放置权限才可以创建店主商店。
  55. enable-world-guard-restrictions: false
  56. # 如果开启 (另外 enable-world-guard-restrictions 也要开启),
  57. # 玩家只有在'allow-shop'标志设置了的地方才可以
  58. # 放置店主商店,其他地方不能放置。玩家仍然可以
  59. # 用箱子来制作商店,并且玩家需要小心的放置物品
  60. # 不能影响到其他地方,商店的箱子必须有提前放好
  61. # 另外 require-chest-recently-placed需设为关闭。
  62. require-world-guard-allow-shop-flag: false
  63. # 是否登记有 allow-shop 标志 WorldGuard 地方 (如果没有其他插件去
  64. # 注册?). 通常它不需要开启.
  65. # 改变这个选项没有任何影响
  66. # 直到你重启或者重载服务器!
  67. register-world-guard-allow-shop-flag: true

  68. # 如果开启,玩家只允许创建商店在
  69. # 被设定好的城镇里。
  70. enable-towny-restrictions: false

  71. # *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*
  72. # 商店创建 (和删除)
  73. # *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*

  74. # 创建玩家商店的图标.
  75. shop-creation-item: VILLAGER_SPAWN_EGG

  76. # 是否保护普通商店创建图标。 玩家通常需要
  77. # 权限才能绕过此 (通常是店主)。
  78. prevent-shop-creation-item-regular-usage: false
  79. # 是否删除 (或破坏) 玩家在创建店主商店获得 (掉落)
  80. # 的物品。
  81. deleting-player-shop-returns-creation-item: false

  82. # 是否允许玩家使用 /shopkeeper 指令来创建店主商店。
  83. create-player-shop-with-command: false

  84. # 是否必须选择附近的箱子并放进去物品,
  85. # 才能尝试创建商店。
  86. require-chest-recently-placed: true
  87. # 玩家的店主商店最大的格数
  88. # 这个数字不能超过 50。
  89. max-chest-distance: 15
  90. # 玩家最大能拥有几个商店。
  91. # 设置为0则为无限个。
  92. max-shops-per-player: 0
  93. # 列出节点让特殊的玩家或在权限组的玩家
  94. # 拥有的商店不能超过这个数字。 使用
  95. # shopkeeper.maxshops.<数字> 权限可以越过这个选项配置。
  96. max-shops-perm-options: 5,15,25

  97. # 是否保护玩家商店的箱子不被打开或破坏。
  98. # 通常它需要指令才能打开。
  99. protect-chests: true
  100. # 是否保护物品的移动来保护商店箱子 (例如
  101. # 漏洞,凋落物之类的。)。保护被禁用则总是
  102. # 允许物品进行移动。
  103. prevent-item-movement: true
  104. # 删除玩家商店的时候是否破坏箱子里的物品。
  105. delete-shopkeeper-on-break-chest: false

  106. # 如果开启 (这个值设置大于 0),每次插件进行统计时,
  107. # 店主商店会检查并删除无效的商店。 这个设置
  108. # 决定了玩家商店在多久没有登录后会自动
  109. # 将此商店视为无效商店.
  110. player-shopkeeper-inactive-days: 0

  111. # *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*
  112. # 商店 (物体) 类型
  113. # *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*

  114. # 店主商店可以使用的怪物列表。添加更多新的怪物
  115. # 来支持更多默认没有的怪物, 例如一些怪物类型可能
  116. # 无法正常工作或各种原因的问题。
  117. enabled-living-shops:
  118. - VILLAGER
  119. - COW
  120. - MUSHROOM_COW
  121. - SHEEP
  122. - PIG
  123. - CHICKEN
  124. - OCELOT
  125. - RABBIT
  126. - WOLF
  127. - SNOWMAN
  128. - IRON_GOLEM
  129. - POLAR_BEAR
  130. - BLAZE
  131. - SILVERFISH
  132. - SKELETON
  133. - STRAY
  134. - WITHER_SKELETON
  135. - SPIDER
  136. - CAVE_SPIDER
  137. - CREEPER
  138. - WITCH
  139. - ENDERMAN
  140. - ZOMBIE
  141. - ZOMBIE_VILLAGER
  142. - HUSK
  143. - GIANT
  144. - GHAST
  145. - SLIME
  146. - MAGMA_CUBE
  147. - SQUID
  148. - HORSE
  149. - MULE
  150. - DONKEY
  151. - SKELETON_HORSE
  152. - ZOMBIE_HORSE
  153. - EVOKER
  154. - VEX
  155. - VINDICATOR
  156. - ILLUSIONER
  157. - PARROT
  158. - TURTLE
  159. - PHANTOM
  160. - COD
  161. - SALMON
  162. - PUFFERFISH
  163. - TROPICAL_FISH
  164. - DROWNED
  165. - DOLPHIN
  166. - CAT
  167. - PANDA
  168. - PILLAGER
  169. - RAVAGER
  170. - LLAMA
  171. - TRADER_LLAMA
  172. - WANDERING_TRADER
  173. - FOX
  174. - BEE
  175. - ZOMBIFIED_PIGLIN
  176. - PIGLIN
  177. - HOGLIN
  178. - ZOGLIN
  179. - STRIDER

  180. # 因为Minecraft自身的原因,一些动物旧的行为,如可以被推动,他们的AI
  181. # 还有他们自身的重力. 通过新的行为和 vanilla AI
  182. # 来让插件代替取消他们的重力和行为。
  183. use-legacy-mob-behavior: false
  184. # 是否让店主商店的生物无视重力。
  185. disable-gravity: false
  186. # 在范围内检查玩家附近店主商店生物的重力,
  187. # 设置太高可能会导致负面影响,
  188. # 并且设置低于服务器实体检测则会导致生物在半空中,
  189. # 并且只有靠近生物才可以检测
  190. # 设置为0会导致禁止重力检查,玩家在附近的时候也一样
  191. # 如果重力或者普通生物行为被禁用
  192. # 这也不会有什么影响。
  193. gravity-chunk-range: 4

  194. # 是否允许店主商店中生物发出声音。
  195. silence-living-shop-entities: true

  196. # 是否显示名字铭牌。
  197. show-nameplates: true
  198. # 是否总是显示名字铭牌。如果关闭,铭牌只会在玩家
  199. # 看到店主商店的时候显示。
  200. always-show-nameplates: false
  201. # 铭牌前缀 (这可以帮助玩家区分出商店).
  202. nameplate-prefix: "&a"

  203. # 是否允许使用公民插件创建商店,这需要插件 Citizens.
  204. enable-citizen-shops: false

  205. # 是否允许牌子商店.
  206. enable-sign-shops: true
  207. # 是否允许创建牌子商店 (会代替原来的牌子)。
  208. enable-sign-post-shops: true
  209. # 牌子第一行写什么创建商店。
  210. sign-shop-first-line: "[SHOP]"

  211. # *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*
  212. # 名称
  213. # *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*

  214. # 这个是村民名称表达法如
  215. # 下面看见关于JAVA的字符表达方式:
  216. # https://docs.oracle.com/javase/9/docs/api/java/util/regex/Pattern.html
  217. # 例如:
  218. # * "[A-Za-z0-9 ]{3,25}": 这是默认设置. 允许所有字母和数字,长度从 3 到 25
  219. # 字节.
  220. # * "[A-Za-z0-9& ]{3,25}": 相似的默认设置,但允许使用
  221. # 彩色代码.
  222. # * ".*": 允许使用任何东西.
  223. name-regex: "[A-Za-z0-9 ]{3,25}"
  224. # 玩家是否可用给商店命名。
  225. # 在编辑菜单的时候可以隐藏名字。
  226. naming-of-player-shops-via-item: false
  227. # 是否允许玩家重命名NPC商店。
  228. # 默认情况下商店会以玩家的名字命名。
  229. allow-renaming-of-player-npc-shops: false

  230. # *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*
  231. # 编辑菜单
  232. # *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*

  233. # 店主商店编辑菜单窗口。
  234. editor-title: "店主菜单编辑"

  235. # 这是交易界面翻页按钮的物品图标。
  236. # 物品名字和LORE由物品自带。
  237. # 语言等其他信息不在这里设定。
  238. previous-page-item: WRITABLE_BOOK
  239. next-page-item: WRITABLE_BOOK
  240. current-page-item: WRITABLE_BOOK
  241. trade-setup-item: PAPER

  242. # 这是设置名称的按钮图标 (如果开启此功能)。
  243. name-item: NAME_TAG

  244. # 是否允许玩家在选项打开商店仓库。
  245. enable-chest-option-on-player-shop: true
  246. # 打开仓库的按钮。
  247. chest-item: CHEST

  248. # 删除图标。
  249. delete-item: BONE

  250. # *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*
  251. # 非店主商店 村民
  252. # *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*

  253. # 是否保护无店主商店的村民
  254. disable-other-villagers: false
  255. # 是否禁止无店主商店的村民生成
  256. # 插件生成,怪物蛋,繁殖或者从僵尸村民变来
  257. # 等这些方式不受影响。
  258. block-villager-spawns: false
  259. # 僵尸村民是否能被治疗。
  260. disable-zombie-villager-curing: false
  261. # 无店主商店的村民是否能被治疗
  262. hire-other-villagers: false

  263. # 是否可以与流浪商人贸易
  264. disable-wandering-traders: false
  265. # 是否禁止生成流浪商人和流浪骆驼
  266. # 不会影响流浪商人和流浪骆驼从插件,
  267. # 刷怪蛋,繁殖等方式。
  268. block-wandering-trader-spawns: false
  269. # 是否允许无店主商店的流浪商人被治疗。
  270. hire-wandering-traders: false

  271. # *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*
  272. # 租..用
  273. # *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*

  274. # 这个图标是玩家租..用店主商店的按钮,
  275. # 和租..用价格的按钮。
  276. hire-item: EMERALD
  277. # 显示租..用价格租..用物品图标数量。
  278. hire-other-villagers-costs: 1
  279. # 玩家租..用店主商店时菜单的标题
  280. for-hire-title: "待租..用"
  281. # 玩家是否只能租..用自己拥有租..用权限
  282. # 类型的店主商店。
  283. hire-require-creation-permission: true

  284. # *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*
  285. # 交易
  286. # *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*

  287. # 是否禁止玩家与自己的店主商店交易。
  288. # 建议开启。
  289. prevent-trading-with-own-shop: true
  290. # 如果开启,当玩家在线的时候不需要通过店主商店交易。
  291. # 这适用与角色扮演的服务器,并且强迫玩家与
  292. # 在线的玩家直接交易。
  293. prevent-trading-while-owner-is-online: false
  294. # 我的世界允许交易不完全相同的物品
  295. # (例如 物品附加数据(lore)不同也能交易),如果开启,
  296. # 店主商店会检查这种不完全相同的物品Shopkeepers will always check that the traded items are fully matching and it
  297. # 并且会阻止玩家试图拿走交易物品
  298. use-strict-item-comparison: false
  299. # 是否允许所有店主商店中交易品均保存到插件csv文件中
  300. # 注意:一般情况下,不会记录管理员商店。
  301. # 所以不要依赖于这些购买记录!
  302. enable-purchase-logging: false
  303. # 当玩家打开普通村民交易菜、店主商店交易菜单和交易
  304. # 是否增加对普通村民和交易村民
  305. # 的统计数据
  306. increment-villager-statistics: false

  307. # 从玩家交易得到的东西中收多少百分比的物品税。
  308. tax-rate: 0
  309. # 是否在计算收税时取整。
  310. tax-round-up: false

  311. # *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*
  312. # 货币
  313. # *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*

  314. # 玩家交易时使用的物品。
  315. currency-item: EMERALD

  316. # 玩家没有设置货币显示的物品。
  317. zero-currency-item: BARRIER

  318. # 在第二个交易槽中设置更高级的货币。
  319. # 设置为 'AIR' 为禁用第二种货币。
  320. high-currency-item: EMERALD_BLOCK

  321. # 玩家没有设置第二个交易槽物品时显示的物品
  322. zero-high-currency-item: BARRIER

  323. # 以第一种货币为基础,第二种货币的价值。
  324. high-currency-value: 9
  325. # 第二种货币只会在第一种货币
  326. # 超过某个价值的时候使用。
  327. high-currency-min-cost: 20

  328. # *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*
  329. # 信息
  330. # *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*

  331. language: ch

  332. msg-shop-type-admin-regular: "管理员商店"
  333. msg-shop-type-selling: "出售商店"
  334. msg-shop-type-buying: "购买商店"
  335. msg-shop-type-trading: "交易商店"
  336. msg-shop-type-book: "书本商店"

  337. msg-shop-type-desc-admin-regular: "无限制库存"
  338. msg-shop-type-desc-selling: "向玩家出售物品"
  339. msg-shop-type-desc-buying: "向玩家购买物品"
  340. msg-shop-type-desc-trading: "与玩家交换物品"
  341. msg-shop-type-desc-book: "出售书"

  342. msg-shop-object-type-living: "{type}"
  343. msg-shop-object-type-sign: "牌子"
  344. msg-shop-object-type-npc: "npc"

  345. msg-selected-shop-type: "&a选择商店类型: &6{type} &7({description})"
  346. msg-selected-shop-object-type: "&a选择目标类型: &6{type}"

  347. msg-creation-item-selected: |-
  348. &a商店 创建:
  349. &e左键/右键点击 来选择商店类型。
  350. &e潜行 + 左键/右键点击 选择目标类型
  351. &e右键点击选择它
  352. &e左键选择放置店主商店

  353. msg-button-previous-page: "&6<- 上一页 ({prev_page} / {max_page})"
  354. msg-button-previous-page-lore: []
  355. msg-button-next-page: "&6下一页 ({next_page} / {max_page}) ->"
  356. msg-button-next-page-lore: []
  357. msg-button-current-page: "&6当前页数 {page} / {max_page}"
  358. msg-button-current-page-lore: []

  359. msg-button-name: "&a设置商店名字"
  360. msg-button-name-lore:
  361. - 对你的村民
  362. - 进行重命名
  363. msg-button-chest: "&a浏览库存"
  364. msg-button-chest-lore:
  365. - 观察你商店的
  366. - 库存
  367. msg-button-delete: "&4删除"
  368. msg-button-delete-lore:
  369. - 清理并删除
  370. - 这个店主商店
  371. msg-button-hire: "&a租..用"
  372. msg-button-hire-lore:
  373. - 购买一个店主商店

  374. msg-button-sign-variant: "&a改变牌子类型"
  375. msg-button-sign-variant-lore:
  376. - "改变牌子的"
  377. - "木制类型"
  378. msg-button-baby: "&a变成宝宝体型"
  379. msg-button-baby-lore:
  380. - "让这个生物"
  381. - "从宝宝与成年的类型中转换"
  382. msg-button-sitting: "&a变成坐下姿态"
  383. msg-button-sitting-lore:
  384. - "让这个生物"
  385. - "坐下来"
  386. msg-button-cat-variant: "&a选择猫的外观"
  387. msg-button-cat-variant-lore:
  388. - "改变猫的外观"
  389. msg-button-rabbit-variant: "&a选择兔子外观"
  390. msg-button-rabbit-variant-lore:
  391. - "改变兔子外观"
  392. msg-button-collar-color: "&a改变项圈颜色"
  393. msg-button-collar-color-lore:
  394. - "改变这个动物"
  395. - "项圈的颜色"
  396. msg-button-wolf-angry: "&a切换成愤怒的狼"
  397. msg-button-wolf-angry-lore:
  398. - "切换狼的"
  399. - "生气状态"
  400. msg-button-carrying-chest: "&a切换成箱子"
  401. msg-button-carrying-chest-lore:
  402. - "是否让这个生物"
  403. - "变成一个箱子"
  404. msg-button-horse-color: "&a改变马的颜色"
  405. msg-button-horse-color-lore:
  406. - "改变这匹马的"
  407. - "颜色"
  408. msg-button-horse-style: "&a改变马的花纹"
  409. msg-button-horse-style-lore:
  410. - "改变马的"
  411. - "花纹"
  412. msg-button-horse-armor: "&a改变马的盔甲"
  413. msg-button-horse-armor-lore:
  414. - "改变马的"
  415. - "盔甲"
  416. msg-button-llama-variant: "&a改变羊驼体型"
  417. msg-button-llama-variant-lore:
  418. - "改变羊驼外观"
  419. msg-button-llama-carpet-color: "&a改变毛毯颜色"
  420. msg-button-llama-carpet-color-lore:
  421. - "改变毛毯的"
  422. - "颜色"
  423. msg-button-creeper-charged: "&a开关闪电苦力怕"
  424. msg-button-creeper-charged-lore:
  425. - "改变苦力怕"
  426. - "是否带电"
  427. msg-button-fox-variant: "&a改变狐狸样子"
  428. msg-button-fox-variant-lore:
  429. - "改变狐狸外观"
  430. msg-button-fox-crouching: "&a改变为蹲下姿势"
  431. msg-button-fox-crouching-lore:
  432. - "改变狐狸为"
  433. - "蹲下的姿势"
  434. msg-button-fox-sleeping: "&a改变为睡觉姿势"
  435. msg-button-fox-sleeping-lore:
  436. - "改变狐狸为"
  437. - "为睡觉的姿势"
  438. msg-button-mooshroom-variant: "&a改变蘑菇外观"
  439. msg-button-mooshroom-variant-lore:
  440. - "改变蘑菇的"
  441. - "外观"
  442. msg-button-panda-variant: "&a改变熊猫外挂"
  443. msg-button-panda-variant-lore:
  444. - "改变熊猫的外观"
  445. msg-button-parrot-variant: "&a改变鹦鹉外观"
  446. msg-button-parrot-variant-lore:
  447. - "Changes the parrot's look"
  448. msg-button-pig-saddle: "&a给猪戴上鞍"
  449. msg-button-pig-saddle-lore:
  450. - "切换猪是否有马鞍"
  451. msg-button-sheep-color: "&a改变羊的颜色"
  452. msg-button-sheep-color-lore:
  453. - "改变羊的"
  454. - "羊毛颜色"
  455. msg-button-sheep-sheared: "&a羊是否被剪羊毛"
  456. msg-button-sheep-sheared-lore:
  457. - "改变羊的"
  458. - "羊毛形状"
  459. msg-button-villager-profession: "&a改变村民的职业"
  460. msg-button-villager-profession-lore:
  461. - "改变村民的"
  462. - "职业"
  463. msg-button-villager-variant: "&a改变村民的外观"
  464. msg-button-villager-variant-lore:
  465. - "改变村民的"
  466. - "外观"
  467. msg-button-villager-level: "&a改变村民徽章颜色"
  468. msg-button-villager-level-lore:
  469. - "改变村民的"
  470. - "徽章颜色"
  471. msg-button-zombie-villager-profession: "&a改变僵尸村民的职业"
  472. msg-button-zombie-villager-profession-lore:
  473. - "改变僵尸村民的"
  474. - "职业"

  475. msg-trading-title-prefix: "&2"
  476. msg-trading-title-default: "店主商店"

  477. msg-selected-chest: "&a成功选择箱子!右键方块来创建你的店主商店。"
  478. msg-must-select-chest: "&7你必须右键点击箱子才能放置你的店主商店。"
  479. msg-no-chest-selected: "&7选择的方块不是箱子!"
  480. msg-chest-too-far: "&7这个店主商店离箱子太远了!"
  481. msg-chest-not-placed: "&7你必须选择一个最近放置的箱子!"
  482. msg-chest-already-in-use: "&7另一位店主玩家已经选择了这个箱子!"
  483. msg-no-chest-access: "&7你无法访问这个已经选择的箱子。"
  484. msg-too-many-shops: "&7你已经拥有了很多商店!"
  485. msg-no-admin-shop-type-selected: "&7你选择了管理员商店!"
  486. msg-no-player-shop-type-selected: "&7你选择了玩家商店!"
  487. msg-shop-create-fail: "&7你不能在这个地方创建商店"

  488. msg-type-new-name: "&a请在聊天框输入商店名字。\n&a输入 (-) 取消命名"
  489. msg-name-set: "&a已经设置了这个商店的名字!"
  490. msg-name-has-not-changed: "&a这个商店的名字没有改变。"
  491. msg-name-invalid: "&a这个名字无效!"

  492. msg-shop-type-disabled: "&7商店类型 '&6{type}&7' 是被禁用的。"
  493. msg-shop-object-type-disabled: "&7这个类型是 '&6{type}&7' 被禁用的。"

  494. msg-must-target-shop: "&7你必须选择一个店主商店"
  495. msg-must-target-admin-shop: "&7你选择了一个管理员商店。"
  496. msg-must-target-player-shop: "&7你选择了一个玩家商店。"
  497. msg-target-entity-is-no-shop: "&7选择的商店不存在。"
  498. msg-target-shop-is-no-admin-shop: "&7选择的商店不是管理员商店。"
  499. msg-target-shop-is-no-player-shop: "&7选择的商店不是玩家商店。"
  500. msg-unused-chest: "&7没有玩家使用这个箱子。"
  501. msg-not-owner: "&7这个店主商店没有主人。"
  502. msg-owner-set: "&a设置了新的店主 &e{owner}"
  503. msg-shop-creation-items-given: "&a玩家 &e{player}&a 已经接受了 &e{amount}&a 创建商店的物品!"
  504. msg-unknown-book-author: "未知"

  505. msg-trade-perm-set: "&a这个商店已经设置了权限 '&e{perm}&a'!"
  506. msg-trade-perm-removed: "&a这个商店权限 '&e{perm}&a' 已经被删除!"
  507. msg-trade-perm-view: "&a这个商店交易的权限是 '&e{perm}&a'。"

  508. msg-zombie-villager-curing-disabled: "&7僵尸村民禁止被治疗。"
  509. msg-must-hold-hire-item: "&7你必须在手中持有租..用的物品。"
  510. msg-set-for-hire: "&a这个店主商店已经设置为可租..用。"
  511. msg-hired: "&a你已经租..用了这个店主商店!"
  512. msg-missing-hire-perm: "&7你没有权限租..用店主商店。"
  513. msg-cant-hire: "&7你不能承担租..用这个店主商店的费用。"
  514. msg-cant-hire-shop-type: "&7你没有权限租..用这个类型的店主商店。"
  515. msg-villager-for-hire: "&a这个村民愿意做店主,但是需要 &6{costs}x {hire-item}&a."

  516. msg-missing-trade-perm: "&7你没有权限和这个商店贸易。"
  517. msg-missing-custom-trade-perm: "&7你没有权限和这个商店贸易。"
  518. msg-cant-trade-with-own-shop: "&7你不能和自己的商店做贸易。"
  519. msg-cant-trade-while-owner-online: "&7因为 ('&e{owner}&7') 在线,你不能和他的商店进行贸易。"
  520. msg-cant-trade-with-shop-missing-chest: "&7因为他的仓库缺少货物,你不能和他的商店贸易。"

  521. msg-shopkeeper-created: "&a创建了店主商店: &6{type} &7({description})\n{setupDesc}"

  522. msg-shop-setup-desc-selling: |-
  523. &e在你的箱子里添加物品,
  524. &e然后右键商店,偷偷摸摸的改变价格。
  525. msg-shop-setup-desc-buying: |-
  526. &e添加更多可以在商店购买的物品,
  527. &e然后右键商店,偷偷摸摸的改变价格。
  528. msg-shop-setup-desc-trading: |-
  529. &e添加更多可以在商店出售的物品,
  530. &e然后右键商店,偷偷摸摸的改变价格。
  531. msg-shop-setup-desc-book: |-
  532. &e添加成书和空白书,
  533. &e然后右键商店,偷偷摸摸的改变价格
  534. msg-shop-setup-desc-admin-regular: |-
  535. &e右键商店可以偷偷摸摸的改变价格。

  536. msg-trade-setup-desc-header: '&6{shopType}'
  537. msg-trade-setup-desc-admin-regular:
  538. - 无限制的进货。
  539. - 在清单界面上放入。
  540. - '顶行: 物品'
  541. - '底行: 物品价格'
  542. msg-trade-setup-desc-selling:
  543. - 出售物品给玩家。
  544. - 将要出售的物品列入清单界面。
  545. - 左键/右键 调整成本。
  546. - '顶行: 出售物品'
  547. - '底行: 物品价格'
  548. msg-trade-setup-desc-buying:
  549. - 向玩家购买物品。
  550. - 放入你要购买的物品
  551. - 和大量的货币
  552. - 到清单界面上。
  553. - 左键/右键 调整成本。
  554. - '顶行: 物品价格'
  555. - '底行: 购买的物品'
  556. msg-trade-setup-desc-trading:
  557. - 与玩家交易物品
  558. - 在你的清单界面中选出物品
  559. - 然后放置它
  560. - 左键/右键 调整成本。
  561. - '顶行: 物品'
  562. - '底行: 物品价格'
  563. msg-trade-setup-desc-book:
  564. - 出售复印书本.
  565. - 放置成书和空书,
  566. - 到箱子里。
  567. - 左键/右键 调整成本。
  568. - '顶行: 出售的书'
  569. - '底行: 物品价格'

  570. msg-list-admin-shops-header: "&9这是 &e{shopsCount} &9的管理员商店: &e(Page {page} / {maxPage})"
  571. msg-list-player-shops-header: "&9玩家 '&e{player}&9' 的 &e{shopsCount} &9商店: &e(Page {page} / {maxPage})"
  572. msg-list-shops-entry: "&e{shopId}) &7{shopName}&r&8在 &7({location})&8, 类型: &7{shopType}&8, 物体: &7{objectType}"

  573. msg-removed-admin-shops: "&e{shopsCount} &a管理员商店被删除。"
  574. msg-removed-shops-of-player: "&e 玩家'&e{player}&a' {shopsCount} &a类型的商店被删除。"
  575. msg-removed-player-shops: "&e{shopsCount} &a的玩家商店被删除。"

  576. msg-confirm-remove-all-admin-shops: "&c你将不可撤销的删除所有管理员商店 (&6{shopsCount}&c)!"
  577. msg-confirm-remove-all-own-shops: "&c你将不可撤销的删除你的所有管理员商店 (&6{shopsCount}&c)!"
  578. msg-confirm-remove-all-shops-of-player: "&c你将不可撤销的删除这个玩家的所有商店 &6{player}&c (&6{shopsCount}&c)!"
  579. msg-confirm-remove-all-player-shops: "&c你将不可撤销的删除所有玩家的所有商店 (&6{shopsCount}&c)!"

  580. msg-confirmation-required: "&7请输入 &6/shopkeepers confirm &7来确认操作。"
  581. msg-confirmation-expired: "&c确认失效。"
  582. msg-nothing-to-confirm: "&c目前没有要确认的。"

  583. msg-no-permission: "&c你没有权限这样做。"

  584. msg-command-unknown: "&c错误的指令 '&e{command}&c'!"
  585. msg-command-argument-unexpected: "&c没有变量 '&e{argument}&c'."
  586. msg-command-argument-requires-player: "&c变量 '&e{argumentFormat}&c' 需要玩家输入指令。"
  587. msg-command-argument-missing: "&c错误变量 '&e{argumentFormat}&c'."
  588. msg-command-argument-invalid: "&c无效变量 '&e{argument}&c'."
  589. msg-command-player-argument-missing: "&c未指定为 '&e{argumentFormat}&c'."
  590. msg-command-player-argument-invalid: "&c找不到合适的 '&e{argument}&c'."
  591. msg-command-shop-type-argument-invalid: "&c没有商店类型 '&e{argument}&c'."
  592. msg-command-shop-object-type-argument-invalid: "&c没有商店体型 '&e{argument}&c'."
  593. msg-command-shopkeeper-argument-invalid: "&c找不到店主 '&e{argument}&c'."
  594. msg-command-shopkeeper-argument-no-admin-shop: "&c店主商店 '&e{argument}&c' 不是管理员商店。"
  595. msg-command-shopkeeper-argument-no-player-shop: "&c店主商店 '&e{argument}&c' 不是玩家商店。"

  596. msg-ambiguous-player-name: "&c有多个名字匹配: '&e{name}&c'!"
  597. msg-ambiguous-player-name-entry: "&c- '&e{name}&r&c' (&6{uuid}&c)"
  598. msg-ambiguous-player-name-more: "&c- ...."

  599. msg-command-help-title: "&9***** &8[&6店主商店 v{version}&8] &9*****"
  600. msg-command-help-usage-format: "&e{usage}"
  601. msg-command-help-description-format: "&8 - &3{description}"

  602. msg-command-description-shopkeeper: "创建店主商店。"
  603. msg-command-description-help: "显示帮助页面。"
  604. msg-command-description-reload: "重载插件。"
  605. msg-command-description-debug: "开关调试模式。"
  606. msg-command-description-list: "浏览所有指定玩家的商店,或者管理员商店"
  607. msg-command-description-remove: "删除指定玩家所有的商店,或者所有玩家的商店,或所有管理员商店"
  608. msg-command-description-give: "给特定的玩家创建商店的物品。"
  609. msg-command-description-remote: "远程开店 (可选择: 随便任何的一个玩家)."
  610. msg-command-description-remote-edit: "远程编辑一个商店"
  611. msg-command-description-transfer: "转让商店所有权。"
  612. msg-command-description-settradeperm: "设置,删除 (-) 或者显示 (?) 交易权限."
  613. msg-command-description-setforhire: "设置你商店待售的物品"



1.12-1.7.2可用(2.2.4):


代码:

  1. # *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*
  2. # 店主商店配置文件,汉化:羽神
  3. # Wiki: https://github.com/Shopkeepers/Shopkeepers-Wiki/wiki/Configuration
  4. # *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*

  5. # 开启调试模式
  6. debug: false
  7. # 是否允许发送统计数据到 https://bStats.org
  8. # 所有的信息都能在这里看见:
  9. # https://bstats.org/plugin/bukkit/Shopkeepers
  10. enable-metrics: true

  11. # *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*
  12. # 村民商店数据
  13. # *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*

  14. # 文件会用哪种方式进行保存。 如果为空,则使用系统语言
  15. # 来进行编码. 如果你的保存文件有问题, 例如特殊的
  16. # 字符没有办法被保存,可以尝试的去使用 'UTF-8' 编码。
  17. file-encoding: "UTF-8"
  18. # 是否每次在编辑店主商店之后定时进行保存。
  19. # 如果关闭,插件会关闭并占用五分钟的时间进行保存。
  20. # 如果你的服务器有大量的玩家或者商店, 为了性能
  21. # 关闭它可能对服务器更友好。
  22. save-instantly: true
  23. # 是否保存玩家的自定义头颅。
  24. # 有时候 Bukkit / Spigot 的某些版本保存时会出问题,
  25. # 然后导致保存文件出错。
  26. skip-custom-head-saving: true

  27. # *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*
  28. # 插件兼容性
  29. # *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*

  30. # 插件是否定期去验证
  31. # 村民是否存在。这只有在你开启插件时,
  32. # 店主商店消失时再启用。
  33. enable-spawn-verifier: false
  34. # 如果开启, 店主商店会尝试通过其他插件加载生物行为
  35. # (例如 耕地保护插件)。
  36. bypass-spawn-blocking: true
  37. # 如果开启,店主商店是否会考虑村民
  38. # 与其他插件进行互动.
  39. check-shop-interaction-result: false

  40. # 如果开启,玩家可能只有在WorldGuard插件中的'allow-shop'标志
  41. # 的允许下并且拥有店主商店放置权限才可以创建店主商店。
  42. enable-world-guard-restrictions: false
  43. # 如果开启 (另外 enable-world-guard-restrictions 也要开启),
  44. # 玩家只有在'allow-shop'标志设置了的地方才可以
  45. # 放置店主商店,其他地方不能放置。玩家仍然可以
  46. # 用箱子来制作商店,并且玩家需要小心的放置物品
  47. # 不能影响到其他地方,商店的箱子必须有提前放好
  48. # 另外 require-chest-recently-placed需设为关闭。
  49. require-world-guard-allow-shop-flag: false
  50. # 如果开启,玩家只能将店主商店
  51. # 放置在特定的城镇商业区。
  52. enable-towny-restrictions: false

  53. # *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*
  54. # 商店创建 (和删除)
  55. # *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*

  56. # 商店创建的物品
  57. shop-creation-item: MONSTER_EGG
  58. # 创建商店的数据值,设置为-1为不启用。
  59. shop-creation-item-data: 0
  60. # 创建商店物品的名字,为空则不启用。
  61. shop-creation-item-name: ""
  62. # 创建商店物品的Lor,为空则不启用。
  63. shop-creation-item-lore: []
  64. # 创建商店的怪物蛋类型 (如果它设置为刷怪蛋)
  65. # 设置为空为不启用,设置为空格 (例如输入 ' ')
  66. # 则为空的刷怪蛋 (无法刷出任何生物的刷怪蛋)。
  67. shop-creation-item-spawn-egg-entity-type: "VILLAGER"
  68. # 是否保护普通商店创建图标。 玩家通常需要
  69. # 权限才能绕过此 (通常是店主)。
  70. prevent-shop-creation-item-regular-usage: false
  71. # 是否删除 (或破坏) 玩家在创建店主商店获得 (掉落)
  72. # 的物品。
  73. deleting-player-shop-returns-creation-item: false

  74. # 是否允许玩家使用 /shopkeeper 指令来创建店主商店。
  75. create-player-shop-with-command: false
  76. # 是否兼容其他插件
  77. # 创建的箱子。
  78. simulate-right-click-on-command: true

  79. # 是否必须选择附近的箱子并放进去物品,
  80. # 才能尝试创建商店。
  81. require-chest-recently-placed: true
  82. # 玩家的店主商店最大的格数
  83. # 这个数字不能超过 50。
  84. max-chest-distance: 15
  85. # 是否保护玩家商店的箱子不被打开或破坏。
  86. # 通常它需要指令才能打开。
  87. protect-chests: true
  88. # Whether to delete player shopkeepers when their backing chest is broken.
  89. delete-shopkeeper-on-break-chest: false

  90. # 玩家最大能拥有几个商店。
  91. # 设置为0则为无限个。
  92. max-shops-per-player: 0
  93. # 列出节点让特殊的玩家或在权限组的玩家
  94. # 拥有的商店不能超过这个数字。 使用
  95. # shopkeeper.maxshops.<数字> 权限可以越过这个选项配置。
  96. max-shops-perm-options: 5,15,25

  97. # 如果开启 (这个值设置大于 0),每次插件进行统计时,
  98. # 店主商店会检查并删除无效的商店。 这个设置
  99. # 决定了玩家商店在多久没有登录后会自动
  100. # 将此商店视为无效商店.
  101. player-shopkeeper-inactive-days: 0

  102. # *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*
  103. # 商店(物体)类型
  104. # *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*

  105. # 店主商店可以使用的怪物列表。添加更多新的怪物
  106. # 来支持更多默认没有的怪物, 例如一些怪物类型可能
  107. # 无法正常工作或各种原因的问题。
  108. enabled-living-shops:
  109. - VILLAGER
  110. - COW
  111. - MUSHROOM_COW
  112. - SHEEP
  113. - PIG
  114. - CHICKEN
  115. - OCELOT
  116. - RABBIT
  117. - WOLF
  118. - SNOWMAN
  119. - IRON_GOLEM
  120. - POLAR_BEAR
  121. - BLAZE
  122. - SILVERFISH
  123. - SKELETON
  124. - STRAY
  125. - WITHER_SKELETON
  126. - SPIDER
  127. - CAVE_SPIDER
  128. - CREEPER
  129. - WITCH
  130. - ENDERMAN
  131. - ZOMBIE
  132. - ZOMBIE_VILLAGER
  133. - PIG_ZOMBIE
  134. - HUSK
  135. - GIANT
  136. - GHAST
  137. - SLIME
  138. - MAGMA_CUBE
  139. - SQUID
  140. - EVOKER
  141. - VEX
  142. - VINDICATOR
  143. - ILLUSIONER
  144. - PARROT

  145. # 因为Minecraft自身的原因,一些动物旧的行为,如可以被推动,他们的AI
  146. # 还有他们自身的重力. 通过新的行为和 vanilla AI
  147. # 来让插件代替取消他们的重力和行为。
  148. use-legacy-mob-behavior: false
  149. # 是否让店主商店的生物无视重力。
  150. disable-gravity: false
  151. # 在范围内检查玩家附近店主商店生物的重力,
  152. # 设置太高可能会导致负面影响,
  153. # 并且设置低于服务器实体检测则会导致生物在半空中,
  154. # 并且只有靠近生物才可以检测
  155. # 设置为0会导致禁止重力检查,玩家在附近的时候也一样
  156. # 如果重力或者普通生物行为被禁用
  157. # 这也不会有什么影响。
  158. gravity-chunk-range: 4

  159. # 是否允许店主商店中生物发出声音。
  160. silence-living-shop-entities: true

  161. # 是否显示名字铭牌。
  162. show-nameplates: true
  163. # 是否允许随时显示名字铭牌,如果关闭,名字铭牌只会在玩家
  164. # 看向店主商店的时候显示。注意: 这可能不会
  165. # 工作于1.8的版本。
  166. always-show-nameplates: false
  167. # 铭牌前缀 (这可以帮助玩家区分出商店).
  168. nameplate-prefix: "&a"

  169. # 是否允许使用公民插件创建商店,这需要插件 Citizens.
  170. enable-citizen-shops: false

  171. # 是否允许牌子商店.
  172. enable-sign-shops: true
  173. # 牌子第一行写什么创建商店。
  174. sign-shop-first-line: "[SHOP]"

  175. # *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*
  176. # 名称
  177. # *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*

  178. # 这个是村民名称表达法如
  179. # 下面看见关于JAVA的字符表达方式:
  180. # https://docs.oracle.com/javase/9/docs/api/java/util/regex/Pattern.html
  181. # 例如:
  182. # * "[A-Za-z0-9 ]{3,25}": 这是默认设置. 允许所有字母和数字,长度从 3 到 25
  183. # 字节.
  184. # * "[A-Za-z0-9& ]{3,25}": 相似的默认设置,但允许使用
  185. # 彩色代码.
  186. # * ".*": 允许使用任何东西.
  187. name-regex: "[A-Za-z0-9 ]{3,25}"
  188. # 玩家是否可用给商店命名。
  189. # 在编辑菜单的时候可以隐藏名字。
  190. naming-of-player-shops-via-item: false
  191. # 是否允许玩家重命名NPC商店。
  192. # 默认情况下商店会以玩家的名字命名。
  193. allow-renaming-of-player-npc-shops: false

  194. # *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*
  195. # 编辑菜单
  196. # *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*

  197. # 店主商店编辑菜单窗口。
  198. editor-title: "店主菜单编辑"

  199. # 名字编辑按钮,以及命名项 (如果开启).
  200. name-item: NAME_TAG
  201. # 名字编辑按钮的附加值,设置为-1为不启用。
  202. name-item-data: 0
  203. # 名字编辑按钮的Lore,设置为空为不启用
  204. name-item-lore: []

  205. # 是否在店主菜单编辑界面种有打开商店箱子的按钮
  206. # 注意: 这会代替名字编辑的按钮!
  207. enable-chest-option-on-player-shop: false
  208. # 打开商店箱子的按钮物品
  209. chest-item: CHEST
  210. # 商店箱子按钮的附加值,设置为-1为不启用。
  211. chest-item-data: 0

  212. # 删除按钮
  213. delete-item: BONE
  214. # 删除按钮的附加值,设置为-1为不启用。
  215. delete-item-data: 0

  216. # *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*
  217. # 非店主商店 村民
  218. # *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*

  219. # 是否保护这些非店主商店的村民。
  220. disable-other-villagers: false
  221. # 是否禁止所有非店主商店的生成。
  222. block-villager-spawns: false
  223. # 是否可以租..用这些非店主商店。
  224. hire-other-villagers: false

  225. # *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*
  226. # 租..用
  227. # *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*

  228. # 这个图标是玩家租..用店主商店的按钮,
  229. # 和租..用价格的按钮。
  230. hire-item: EMERALD
  231. # 设置这个物品的附加值,设置为-1为不启用。
  232. hire-item-data: 0
  233. # 设置这个物品的名字,设置为空为不启用。
  234. hire-item-name: ""
  235. # 设置这个物品的Lore,设置为空为不启用
  236. hire-item-lore: []
  237. # 显示租..用价格租..用物品图标数量。
  238. hire-other-villagers-costs: 1
  239. # 玩家租..用店主商店时菜单的标题
  240. for-hire-title: "待租..用"
  241. # 玩家是否只能租..用自己拥有租..用权限
  242. # 类型的店主商店。
  243. hire-require-creation-permission: true

  244. # *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*
  245. # 交易
  246. # *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*

  247. # 是否禁止玩家与自己的店主商店交易。
  248. # 建议开启。
  249. prevent-trading-with-own-shop: true
  250. # 如果开启,当玩家在线的时候不需要通过店主商店交易。
  251. # 这适用与角色扮演的服务器,并且强迫玩家与
  252. # 在线的玩家直接交易。
  253. prevent-trading-while-owner-is-online: false
  254. # 我的世界允许交易不完全相同的物品
  255. # (例如 物品附加数据(lore)不同也能交易),如果开启,
  256. # 店主商店会检查这种不完全相同的物品Shopkeepers will always check that the traded items are fully matching and it
  257. # 并且会阻止玩家试图拿走交易物品
  258. use-strict-item-comparison: false
  259. # 是否允许所有店主商店中交易品均保存到插件csv文件中
  260. # 注意:一般情况下,不会记录管理员商店。
  261. # 所以不要依赖于这些购买记录!
  262. enable-purchase-logging: false

  263. # 从玩家交易得到的东西中收多少百分比的物品税。
  264. tax-rate: 0
  265. # 是否在计算收税时取整。
  266. tax-round-up: false

  267. # *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*
  268. # 货币
  269. # *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*

  270. # 玩家交易时使用的物品。
  271. currency-item: EMERALD
  272. # 设置交易物品的附加值,设置为-1为不启用。
  273. currency-item-data: 0
  274. # 设置交易物品的名字,设置为-1为不启用。
  275. currency-item-name: ""
  276. # 设置交易物品的名字,设置为空为不启用。
  277. currency-item-lore: []

  278. # 玩家没有设置货币时显示的物品。
  279. zero-currency-item: BARRIER
  280. # 设置无货币时显示物品的附加值,设置为-1为不启用。
  281. zero-currency-item-data: 0
  282. # 设置无货币时显示物品的名字,设置为空为不启用。
  283. zero-currency-item-name: ""
  284. # 设置无货币时显示物品的Lore,设置为空为不启用。
  285. zero-currency-item-lore: []

  286. # 在第二个交易槽中设置更高级的货币。
  287. # 设置为 'AIR' 为禁用第二种货币。
  288. high-currency-item: EMERALD_BLOCK
  289. # 设置第二种货币的附加值,设置为-1为不启用。
  290. high-currency-item-data: 0
  291. # 设置第二种货币的名字,设置为空为不启用。
  292. high-currency-item-name: ""
  293. # 设置第二种货币的Lore,设置为空为不启用。
  294. high-currency-item-lore: []

  295. # 以第一种货币为基础,第二种货币的价值。
  296. high-currency-value: 9
  297. # 第二种货币只会在第一种货币
  298. # 超过某个价值的时候使用。
  299. high-currency-min-cost: 20

  300. # 玩家没有设置第二个交易槽物品时显示的物品
  301. high-zero-currency-item: BARRIER
  302. # 设置第二个交易槽无货币时的附加值,设置为-1为不启用。
  303. high-zero-currency-item-data: 0
  304. # 设置第二个交易槽无货币时的名字,设置为空为不启用。
  305. high-zero-currency-item-name: ""
  306. # 设置第二个交易槽无货币时的Lore,设置为空为不启用。
  307. high-zero-currency-item-lore: []

  308. # *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*
  309. # 语言
  310. # *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*

  311. language: ch

  312. msg-creation-item-selected: |
  313.     &a左键/右键点击 来选择商店类型。
  314.     &a潜行 + 左键/右键点击 选择目标类型。
  315.     &a右键点击选择箱子。
  316.     &a左键选择放置店主商店。

  317. msg-button-name: "&a设置商店名字"
  318. msg-button-name-lore:
  319. - 对你的村民
  320. - 进行重命名
  321. msg-button-chest: "&a浏览库存"
  322. msg-button-chest-lore:
  323. - 观察你商店的
  324. - 库存
  325. msg-button-type: "&a选择外观"
  326. msg-button-type-lore:
  327. - 选择商店的
  328. - 外观
  329. msg-button-delete: "&4删除"
  330. msg-button-delete-lore:
  331. - 清理并删除
  332. - 这个店主商店
  333. msg-button-hire: "&a租..用"
  334. msg-button-hire-lore:
  335. - 购买一个店主商店

  336. msg-trading-title-prefix: "&2"
  337. msg-trading-title-default: "店主商店"

  338. msg-selected-sell-shop: "&a选择了出售商店 (向玩家出售物品)。"
  339. msg-selected-buy-shop: "&a选择了购买商店 (向玩家购买物品)."
  340. msg-selected-trade-shop: "&a选择了交易商店 (与玩家交换物品)."
  341. msg-selected-book-shop: "&a选择了书本商店 (出售书本)."

  342. msg-selected-living-shop: "&a你选择了: &f{type}"
  343. msg-selected-sign-shop: "&a你选择了: &f牌子商店"
  344. msg-selected-citizen-shop: "&a你选择了: &f公民NPC商店"

  345. msg-selected-chest: "&a成功选择箱子!右键方块来创建你的店主商店。"
  346. msg-must-select-chest: "&a你必须右键点击箱子才能放置你的店主商店。"
  347. msg-chest-too-far: "&a这个店主商店离箱子太远了!"
  348. msg-chest-not-placed: "&a你必须选择一个最近放置的箱子!"
  349. msg-too-many-shops: "&a你已经拥有了很多商店!"
  350. msg-shop-create-fail: "&a你不能在这个地方创建商店."

  351. msg-type-new-name: "&a请在聊天框输入商店名字。\n&a输入 (-) 取消命名"
  352. msg-name-set: "&a已经设置了这个商店的名字!"
  353. msg-name-has-not-changed: "&a这个商店的名字没有改变。"
  354. msg-name-invalid: "&a这个名字无效!"

  355. msg-shop-type-disabled: "&7商店类型 '&6{type}&7' 是被禁用的。"
  356. msg-shop-object-type-disabled: "&7这个类型是 '&6{type}&7' 被禁用的。"
  357. msg-must-target-chest: "&7你必须选择一个箱子。"
  358. msg-unused-chest: "&7没有玩家使用这个箱子。"
  359. msg-not-owner: "&7这个店主商店没有主人。"
  360. msg-owner-set: "&a设置了新的店主 &e{owner}"

  361. msg-trade-perm-set: "&a这个商店已经设置了权限 '&e{perm}&a'!"
  362. msg-trade-perm-removed: "&a这个商店权限 '&e{perm}&a' 已经被删除!"
  363. msg-trade-perm-view: "&a这个商店交易的权限是 '&e{perm}&a'。"

  364. msg-must-hold-hire-item: "&7你必须在手中持有租..用的物品。"
  365. msg-set-for-hire: "&a这个店主商店已经设置为可租..用。"
  366. msg-hired: "&a你已经租..用了这个店主商店!"
  367. msg-missing-hire-perm: "&7你没有权限租..用店主商店。"
  368. msg-cant-hire: "&7你不能承担租..用这个店主商店的费用。"
  369. msg-cant-hire-shop-type: "&7你没有权限租..用这个类型的店主商店。"
  370. msg-villager-for-hire: "&a这个村民愿意做店主,但是需要 &6{costs}x {hire-item}&a."

  371. msg-missing-trade-perm: "&7你没有权限和这个商店贸易。"
  372. msg-missing-custom-trade-perm: "&7你没有权限和这个商店贸易。"
  373. msg-cant-trade-while-owner-online: "&7&7因为 ('&e{owner}&7') 在线,你不能和他的商店进行贸易。"

  374. msg-sell-shop-created: |
  375.     &a创建店主商店!
  376.     &a在你的箱子里添加物品,
  377.     &a然后右键商店,偷偷摸摸的改变价格。
  378. msg-buy-shop-created: |
  379.     &a创建店主商店!
  380.     &a添加更多可以在商店购买的物品,
  381.     &a然后右键商店,偷偷摸摸的改变价格。
  382. msg-trade-shop-created: |
  383.     &a创建店主商店!
  384.     &a添加更多可以在商店出售的物品,
  385.     &a然后右键商店,偷偷摸摸的改变价格。
  386. msg-book-shop-created: |
  387.     &a创建店主商店!
  388.     &a添加成书和空白书,
  389.     &a然后右键商店,偷偷摸摸的改变价格。
  390. msg-admin-shop-created: |
  391.     &a创建店主商店!
  392.     &a右键商店可以偷偷摸摸的改变价格。

  393. msg-list-admin-shops-header: "&9这是 &e{shopsCount} &9的管理员商店: &e(Page {page} / {maxPage})"
  394. msg-list-player-shops-header: "&9玩家 '&e{player}&9' 的 &e{shopsCount} &9商店: &e(Page {page} / {maxPage})"
  395. msg-list-shops-entry: "&e{shopId}) &7{shopName}&r&8在 &7({location})&8, 类型: &7{shopType}&8, 物体: &7{objectType}"

  396. msg-removed-admin-shops: "&e{shopsCount} &a管理员商店被删除。"
  397. msg-removed-shops-of-player: "&e 玩家'&e{player}&a' {shopsCount} &a类型的商店被删除。"
  398. msg-removed-player-shops: "&e{shopsCount} &a的玩家商店被删除。"

  399. msg-confirm-remove-all-admin-shops: "&c你将不可撤销的删除所有管理员商店 (&6{shopsCount}&c)!"
  400. msg-confirm-remove-all-own-shops: "&c你将不可撤销的删除你的所有管理员商店 (&6{shopsCount}&c)!"
  401. msg-confirm-remove-all-shops-of-player: "&c你将不可撤销的删除这个玩家的所有商店 &6{player}&c (&6{shopsCount}&c)!"
  402. msg-confirm-remove-all-player-shops: "&c你将不可撤销的删除所有玩家的所有商店 (&6{shopsCount}&c)!"

  403. msg-confirmation-required: "&7请输入 &6/shopkeepers confirm &7来确认操作。"
  404. msg-confirmation-expired: "&c确认失效。"
  405. msg-nothing-to-confirm: "&c目前没有要确认的。"

  406. msg-no-permission: "&c你没有权限这样做。"

  407. msg-command-unknown: "&c错误的指令 '&e{command}&c'!"
  408. msg-command-argument-unexpected: "&c没有变量 '&e{argument}&c'."
  409. msg-command-argument-missing: "&c错误变量 '&e{argumentFormat}&c'."
  410. msg-command-argument-invalid: "&c无效变量 '&e{argument}&c'."
  411. msg-command-player-argument-missing: "&c未指定为 '&e{argumentFormat}&c'."
  412. msg-command-player-argument-invalid: "&c找不到合适的 '&e{argument}&c'."
  413. msg-command-shop-type-argument-invalid: "&c没有商店类型 '&e{argument}&c'."
  414. msg-command-shop-object-type-argument-invalid: "&c没有商店体型 '&e{argument}&c'."
  415. msg-command-shopkeeper-argument-invalid: "&c找不到店主 '&e{argument}&c'."

  416. msg-command-help-title: "&9***** &8[&6店主商店 v{version}&8] &9*****"
  417. msg-command-help-usage-format: "&e{usage}"
  418. msg-command-help-description-format: "&8 - &3{description}"

  419. msg-command-description-shopkeeper: "创建店主商店。"
  420. msg-command-description-help: "显示帮助页面。"
  421. msg-command-description-reload: "重载插件。"
  422. msg-command-description-debug: "开关调试模式。"
  423. msg-command-description-list: "浏览所有指定玩家的商店,或者管理员商店"
  424. msg-command-description-remove: "删除一个商店"
  425. msg-command-description-transfer: "转让商店所有权。"
  426. msg-command-description-settradeperm: "设置,删除 (-) 或者显示 (?) 交易权限."
  427. msg-command-description-setforhire: "设置你商店待售的物品"





(如何创建商店)
因为商店不同,创建方法有点差异,但是五步即可解决


我愿称之为: 创 业 五 步


创建管理员商店(默认创建商店):


1.16-1.14适用方法:




  • 直接输入 /ShopKeepers [生物类型] 即可创建一个商店,不输入生物类型默认村民。
  • 蹲下+右键[Shift+鼠标右键]进入编辑菜单。
  • 修改外观,改变名字。
  • 第一行放上出售的物品。
  • 第三行和第二行放上需要的物品。
  • 一个商店创建成功

就像这样

结果就是这样



1.12-1.7.2适用方法


  • 直接输入 /ShopKeepers [生物类型]来创建商店
  • 蹲下+右键[Shift+鼠标右键]进入编辑菜单
  • 修改名字,外观
  • 第一、第二行需要物品
  • 第三行放交易成品
  • 一个商店创建成功



创建玩家商店【购买|出售|交易|书本】(全版本通用):


需要物品:箱子、村民刷怪蛋(默认)、生存模式


第一步,放置一个箱子,拿起刷怪蛋,它会显示



第二步,按照提示,左键/右键选择商店类型



第三步,继续蹲下+左右键选择生物类型



第四步,左键点击箱子,然后找个空位放下村民蛋



第五步,蹲下,右键村民,进行设置



此时商店创建成功



创建公民商店:
我知道很多人都喜欢这个,方便你们不用找教程就写出来了。
需要:公民插件Citizens
打开Config.yml找到,设置为true并重载插件

代码:

  1. # 是否允许使用公民插件创建商店,这需要插件 Citizens.
  2. enable-citizen-shops: false
进入游戏,可以输入指令 /ShopKeepers [商店类型(可为空)] citizens 直接创建商店
或者拿着刷怪蛋,蹲下+左键/右键找到NPC

然后放置即可(这是我的ID和皮肤,村民蛋放置会默认设置为玩家的ID而指令生成会变成村民)

之后便是公民插件的操作了...
/npc sel选择npc,
/npc rename &lt;名字&gt;改名,
/npc skin &lt;名字&gt;换皮肤,
/npc type &lt;类型&gt;改生物类型,
/npc text 进入对话编辑模式
/npc path 进入路径编辑
/npc equip 进入装备编辑
我一般也就用这些指令了,这里也不是公民插件贴,不要问怎么设置qwq






创建牌子商店:


  • 找好地方
  • 拿出牌子
  • 放上,第一行写上[SHOP]
  • 然后蹲下右键
  • 按照上方管理员商店设置即可...





(关于下载|其他内容)
由于作者要求,只能贴出原帖下载地址:(全部下载地址)1.16-1.13:(2.12.0)1.12-1.7.2:(2.2.4)如果1.7无法使用,请使用(1.6.8)
更低版本不在此列出。Config及其汉化:
(两个文件一共加起来1000+行,难道就不施舍一下吗qwq)(覆盖可用)





原帖更新记录(不做翻译),更多更新记录请到原帖v2.12.0 for MC 1.16.4, 1.16.3, 1.16.2, 1.16.1, 1.15.2, 1.14.4
  • Updated for MC 1.16.4.
  • Bumped Towny dependency to 0.96.2.0 and using Jitpack repository for it now.
  • Fixed: Creating shopkeepers via Citizens trait failed previously if the block at the spawn location is not passable (eg. when the Citizens NPC stands on a non-full block such as carpet).
  • Minor changes to handling failures when trying to create a shopkeeper via Citizens trait. We always inform the player (if there is one), log a warning and delete the trait again now.
  • Config: Added some more examples for the 'name-regex' setting to the default config.
  • Fixed: Some messages would print an empty line when set to an empty text, instead of being disabled.
  • Changed: Players without the permission to edit regular villagers will silently access the regular trading interface now when they sneak and right-click a regular villager.
  • Fixed: The Towny integration could run into a NPE when checking if a location is within a commercial area.
API:
  • PlayerOpenUIEvent indicates whether the UI request has been silent now.
Internal:
  • Moved the installation of Spigot dependencies into a separate script.
  • Added support for building with Jitpack. This uses a Maven wrapper with a fixed version, because Jitpack uses a buggy Maven version currently (3.6.1).
  • Updated building instructions in readme.
  • Internal API: UIHandler#canOpen is public and has an additional 'silent' flag now.
  • Internal API: UI requests can be silent now.
  • Editor UIs are setup lazily now, only when required for the first time.

Update for MC 1.16.2:
  • Config: Added piglin brute to the by default enabled mob types. If you are updating, you will have to manually add this to your config's 'enabled-living-shops' setting.
Other changes:
  • Added: New command &quot;/shopkeeper givecurrency [player] ['low'|'high'] [amount]&quot;.
    • This command can be used to create and give the currency items which have been specified inside the config.
    • Added corresponding permission node &quot;shopkeeper.givecurrency&quot; (default: op).
  • Added: When giving items via command to another player we now also inform the target player that he has received items. These newly added messages are also used now when giving items to yourself.
  • Added: New command &quot;/shopkeeper convertItems [player] ['all']&quot;.
    • This command can be used to convert the held (or all) items to conform to Spigot's internal data format. I.e. this runs the items through Spigot's item serialization and deserialization in the same way as it would happen when these items are used inside shopkeeper trades and the plugin gets reloaded.
    • Added corresponding permission node &quot;shopkeeper.convertitems.own&quot; (default: op). This allows converting own items.
    • Added corresponding permission node &quot;shopkeeper.convertitems.others&quot; (default: op). This allows converting items of other players.
  • Added config options for the automatic conversion of items inside the inventories of players and shop chests to Spigot's internal data format whenever a player is about to open a shopkeeper UI (eg. trading, editor, hiring, etc.).
    • Added config option &quot;convert-player-items&quot; (default: false). This enables and disables the automatic item conversion.
    • Added config options &quot;convert-all-player-items&quot; (default: true) and 'convert-player-items-exceptions' (default: []). These two settings allow limiting which items are affected or ignored by the automatic conversion.
    • Note: Enabling this setting comes with a performance impact. You should generally try to avoid having to use this setting and instead search for alternative solutions. For more information, see the notes on this setting inside the default config.
  • Debug: Added debug option 'item-conversions' which logs whenever we explicitly convert items to Spigot's data format. Note that this does not log when items get implicitly converted, which may happen under various circumstances.
  • Config: Added option 'max-trades-pages' (default: 5, min: 1, max: 10) which allows changing the number of pages that can be filled with trading options. This limit applies to all shopkeepers (there are no different settings for different types of shops or different permission levels so far). Note: The scroll bar rendered by the Minecraft client will only work nicely for up to 64 trades.
  • Added: It is now possible to change the size of slimes and magma cubes. Their default size is 1 (tiny). Even though Minecraft theoretically allows sizes up to 256, we limit the max size to 10. This avoids running into issues such as related to rendering, performance and not being able to interact with the slime or magma cube. If you have market areas where players can create their own shops and they are able to create slime or magma cube shopkeepers, you might want to take this maximum slime/magma cube size into account when assigning shop areas to players.
  • Fixed: Slimes and magma cubes no longer spawn with random size whenever they are respawned.
  • Fixed: Various optional (context dependent) command arguments were shown to be required inside the Shopkeepers command help.
  • Fixed: We no longer attempt to spawn Citizens NPCs when creating or loading Citizens shopkeepers if the spawn location's world is not loaded currently.
  • Fixed: Some versions of Citizens would produce an error when we try to teleport a NPC which has no location and is therefore not spawned currently. The teleport attempt has been replaced with an attempt to spawn the NPC.
  • Fixed: The &quot;shopkeeper.*&quot; permission was missing some child permissions.
  • Removed: The legacy permissions &quot;shopkeeper.player.normal&quot;, &quot;shopkeeper.villager&quot;, &quot;shopkeeper.witch&quot; and &quot;shopkeeper.creeper&quot; have been removed. Use the corresponding replacement permissions instead.
  • Changed: All players have access to all mob types (permission &quot;shopkeeper.entity.*&quot;) by default now.
  • Added: The new 'all' argument for the &quot;/shopkeeper list&quot; command will list all shops now (admin and player shops). (Thanks to Mippy, PR 669)
  • Added: It is possible to use barrels and shulker boxes as containers for player shops now.
  • Added a message (msg-unsupported-container) when a player tries to select a type of container which is not supported by shopkeepers (i.e. hopper, dropper, dispenser, brewing stand, ender chest, or a type of furnace).
  • API: Deprecated PlayerShopkeeper#getChestX/Y/Z, #get/setChest, #getCurrencyInChest, #openChestWindow and PlayerShopCreationData#getShopChest and added corresponding replacements methods with more general names.
  • Various UI related changes:
    • API: It is now possible to create and open UIs that are not associated with any shopkeeper. UISession#getShopkeeper may return null now.
    • API: Added PlayerOpenUIEvent.
    • API: The ShopkeeperOpenUIEvent no longer extends ShopkeeperEvent, but the newly added PlayerOpenUIEvent instead.
    • API: Removed Shopkeeper#isUIActive, #deactivateUI, #activateUI. This is now part of the UISession.
    • API: Added UISession#close(), #closeDelayed(), #closeDelayedAndRunTask(Runnable), #abort(), #abortDelayed(), #abortDelayedAndRunTask(Runnable).
    • API: Added Shopkeeper#getUISessions() and #getUISessions(UIType).
    • API: Deprecated Shopkeeper#closeAllOpenWindows() and replaced it with #abortUISessionsDelayed().
    • API: Added UIRegistry#getUISessions(), #getUISessions(Shopkeeper), #getUISessions(Shopkeeper, UIType), #getUISessions(UIType).
    • API: Deprecated UIRegistry#getSession(Player) and added replacement #getUISession(Player).
    • API: Deprecated UIRegistry#getOpenUIType(Player).
    • API: Deprecated UIRegistry#closeAll(), #closeAll(Shopkeeper) and #closeAllDelayed(Shopkeeper) and added replacements #abortUISessions(), #abortUISessions(Shopkeeper) and #abortUISessionsDelayed(Shopkeeper).
  • Minor fix: We check if the shopkeeper is still valid before attempting to open its container now.
  • Minor fix: If the second buy item of a trading recipe is empty, the corresponding created merchant recipe stores that as an empty second ingredient now. This should help when checking if the existing merchant recipes still match the newly created merchant recipes and thereby cause less recipe updates that are not actually required.
  • Fixed: Monster shopkeepers no longer burn when standing in sunlight.
    • Monsters usually get set on fire quite frequently when standing in sunlight. We therefore give zombies and skeletons a stone button as helmet now. This prevents them from getting set on fire in sunlight, by which we have to process less EntityCombustEvents. The stone button is also small enough to not be visible inside their head.
    • Entities standing in lava or fire are still set on fire as before.

Added editor for regular villagers and wandering traders:
  • Any villagers and wandering traders which are not Citizens NPC or shopkeepers are considered 'regular'.
  • The editor supports editing the villager trades, similar to how editing works for admin shopkeepers. Note that trades created or edited via the editor will have infinite uses, no xp rewards, no price multipliers and the current uses counter gets reset to 0 (there are currently no options to edit or persist these attributes).
  • To not accidentally edit all original trades whenever the editor is opened and closed (and thereby change the above mentioned trade attributes), we compare the trades from the editor with the villager's current trades before applying the trades from the editor: If the items of a trade are still the same, we keep the original trade without changes. A message indicates how many trades have been modified.
  • Since villagers may change their trades whenever they change their profession, we set the villager's xp to at least 1 whenever the villager's trades or profession have been modified via the editor.
  • If the villager is killed or gets unloaded while editing, any changes in the editor will have no effect.
  • Other supported villager editor options are:
    • Deleting the villager entity.
    • Opening a copy of the villager's inventory. Note that any changes to the opened inventory are not reflected in the villager's inventory currently (i.e. you can view, but not modify the villager inventory with this).
    • Changing the villager profession. Changing the profession via the editor will keep the current trades.
    • Changing the villager type (i.e. the biome specific outfit).
    • Changing the villager level (i.e. the badge color). This also affects which level is displayed and whether the villager's xp is shown within the villager's trading UI.
    • Toggling the villager's AI on and off. This is useful to make the villager stationary while editing it. Otherwise it may wander away.
  • Permissions: Added &quot;shopkeeper.edit-villagers&quot; and &quot;shopkeeper.edit-wandering-traders&quot; (default: &quot;op&quot;). These are required to edit regular villagers or wandering traders respectively.
  • Added command &quot;/shopkeeper editVillager [villager]&quot;. This opens an editor to edit the specified villager / wandering trader. The villager / wandering trader can either be specified by uuid or by looking at it.
  • Config: Added settings &quot;edit-regular-villagers&quot; and &quot;edit-regular-wandering-traders&quot; (default: &quot;true&quot;). With these settings enabled the villager editor can be opened by simply sneaking and right-clicking a regular villager (similar to how editing works for shopkeepers).
Internal changes:
  • See the full changelog.
Config changes:
  • The default value of the &quot;prevent-shop-creation-item-regular-usage&quot; setting was changed to &quot;true&quot;.
  • The default value of the &quot;shop-creation-item&quot; setting was changed to a villager spawn egg with display name &quot;&amp;aShopkeeper&quot;. You can give yourself this item in game via the &quot;/shopkeeper give&quot; command.
  • The &quot;use-legacy-mob-behavior&quot; setting was broken since MC 1.14 and has been removed now. All shopkeeper entities always use the NoAI flag now.
  • The default value of the &quot;enable-citizen-shops&quot; setting was changed to &quot;true&quot;.
  • Changed a few comments inside the default config related to the shop container changes.
  • Bumped config version to '3'. A few settings were renamed which get automatically migrated:
    • &quot;require-chest-recently-placed&quot; (now &quot;require-container-recently-placed&quot;)
    • &quot;max-chest-distance&quot; (now &quot;max-container-distance&quot;)
    • &quot;protect-chests&quot; (now &quot;protect-containers&quot;)
    • &quot;delete-shopkeeper-on-break-chest&quot; (now &quot;delete-shopkeeper-on-break-container&quot;)
    • &quot;enable-chest-option-on-player-shop&quot; (now &quot;enable-container-option-on-player-shop&quot;)
    • &quot;chest-item&quot; (now &quot;container-item&quot;)
Added messages:
  • msg-currency-items-given
  • msg-high-currency-items-given
  • msg-high-currency-disabled
  • msg-shop-creation-items-received
  • msg-currency-items-received
  • msg-high-currency-items-received
  • msg-command-description-give-currency
  • msg-command-description-convert-items
  • msg-items-converted
  • msg-button-slime-size
  • msg-button-slime-size-lore
  • msg-button-magma-cube-size
  • msg-button-magma-cube-size-lore
  • msg-unsupported-container
  • msg-missing-edit-villagers-perm
  • msg-missing-edit-wandering-traders-perm
  • msg-must-target-entity
  • msg-must-target-villager
  • msg-target-entity-is-no-villager
  • msg-villager-editor-title
  • msg-villager-editor-description-header
  • msg-villager-editor-description
  • msg-button-delete-villager
  • msg-button-delete-villager-lore
  • msg-button-villager-inventory
  • msg-button-villager-inventory-lore
  • msg-button-mob-ai
  • msg-button-mob-ai-lore
  • msg-villager-inventory-title
  • msg-set-villager-xp
  • msg-no-villager-trades-changed
  • msg-villager-trades-changed
  • msg-command-description-edit-villager
Changed messages (you will have to manually update those!):
  • Some message settings were renamed. If you don't use a custom / separate language file, they get automatically migrated as part of the config migration to version 3. However, most of these messages also had changes to their default contents which need to be applied manually.
    • msg-button-chest (now msg-button-container)
    • msg-button-chest-lore (now msg-button-container-lore)
    • msg-selected-chest (now msg-container-selected)
    • msg-must-select-chest (now msg-must-select-container)
    • msg-no-chest-selected (now msg-invalid-container)
    • msg-chest-too-far (now msg-container-too-far-away)
    • msg-chest-not-placed (now msg-container-not-placed)
    • msg-chest-already-in-use (now msg-container-already-in-use)
    • msg-no-chest-access (now msg-no-container-access)
    • msg-unused-chest (now msg-unused-container)
    • msg-cant-trade-with-shop-missing-chest (now msg-cant-trade-with-shop-missing-container)
  • msg-creation-item-selected
  • msg-shop-setup-desc-selling
  • msg-shop-setup-desc-buying
  • msg-shop-setup-desc-trading
  • msg-shop-setup-desc-book
  • msg-trade-setup-desc-selling
  • msg-trade-setup-desc-buying
  • msg-trade-setup-desc-book
Known potential issues: See here.DonationsIf you like this plugin, consider making a donation.Thanks!
v2.10.0 for MC 1.16.1, 1.15.2, 1.14.4
Update for MC 1.16.1:


Added zombified piglin, piglin, hoglin, zoglin and strider to the by default enabled mob types. If you are updating, you will have to manually add these to your config's 'enabled-living-shops' setting.
During my quick initial testing I did not encounter any major issues with these new mobs, but there are some oddities you might want to be aware of:
We don't support changing the baby property of piglin and zoglin shopkeepers yet. However, we at least ensure that they always spawn as adult.
The zombified piglin, hoglin and strider already support changing the baby property.
The strider constantly shakes when being spawned outside the nether and randomly spawns with saddle.
The pig zombie mob type has been removed from the by default enabled mob types. If you are updating to MC 1.16, it will get automatically removed from your config. To prevent your config from losing its comments and formatting during this small migration, consider manually removing this mob type before your update.
If you are updating to MC 1.16, your pig zombie shopkeepers get automatically converted to zombified pigman shopkeepers.
Internal: Any internal references to the pig zombie mob type have been removed to prevent any kind of binary problems to arise.
Sign shops support the new crimson and warped sign variants.
Internal data format changes: Sign shops of type 'GENERIC' and 'REDWOOD' are migrated to 'OAK' and 'SPRUCE' respectively.
Note on the removal of item type 'ZOMBIE_PIGMAN_SPAWN_EGG' and its replacement with item type 'ZOMBIFIED_PIGLIN_SPAWN_EGG':
If you are updating and your config contains an item of type 'ZOMBIE_PIGMAN_SPAWN_EGG' you will have to manually migrate this item to a 'ZOMBIFIED_PIGLIN_SPAWN_EGG'.
Any items stored inside the shopkeepers (eg. for their trades or hire cost items) are automatically migrated.
Note on Minecraft's new RGB color codes and other new text related features: I have not yet looked into supporting those in the texts and messages of the Shopkeepers plugin.
Other migration notes:


Removed: We no longer migrate items inside the config from legacy (pre MC 1.13) item types, data values and spawn eggs to corresponding item types in MC 1.13. Instead any unknown item types get migrated to their default now.


Other changes:


Changed/Improved: We use a combination of our own 'Shopkeepers data version' (which has been bumped to 2) and Minecraft's data version for the data version stored inside the save.yml now. Minecraft's data version is incremented on every Minecraft release (including minor updates) and may indicate that new item migrations have been added. So whenever you update your server, we automatically trigger a full migration of all your shopkeepers data to ensure that your save.yml is always up-to-date.


Fixed: Some mobs randomly spawn with passengers. We remove these passengers now.


Fixed: When a mob randomly spawns with a passenger, this would previously interfere with our 'bypass-spawn-blocking' feature and print a warning inside the log about an unexpected entity (the passenger) being spawned.


Fixed: The random equipment of certain mobs gets properly cleared now. For instance, this resolves the issue of foxes randomly carrying items inside their mouth.


Fixed: When a Citizens NPC, created without the 'shopkeeper' trait, is deleted, we immediately delete any corresponding shopkeeper now. Previously the corresponding shopkeeper would not get deleted right away, but only during the next plugin startup (when checking whether the corresponding NPC still exists). Any chest used by the shopkeeper would remain locked until then.


Improved: In order to determine the player who is setting up a shopkeeper via the 'shopkeeper' trait, we previously only took players into account which are adding the trait via the Citizens trait command (NPCTraitCommandAttachEvent). However, players are also able to add traits during NPC creation. We now also react to players creating NPCs (PlayerCreateNPCEvent) and then (heuristically) assume that any directly following trait additions for the same NPC within one tick are caused by this player. This player will then be able to receive feedback messages about the shopkeeper creation.


Improved: For any trait additions not directly associated with a player, we previously waited 5 ticks before the corresponding shopkeeper got created. One (minor) side effect of the above change is that we react to all trait additions within 1 tick now.


Added: Added a link inside the config which points to the translations repository.


Added: Added feedback messages when a player cannot trade with a shop due to trading with own shops being disabled or if the shop's chest is missing.


Changed: The check for whether the player is able to bypass the restriction of not being able to trade with own shops was previously checking if the player is an operator. Instead we now check if the player has the bypass permission.


Changed: When checking if the player is able to bypass the restriction of not being able to trade with shops while their owner is online, we only check for the bypass permission now after checking if the shop owner is actually online currently.


Added: The variant of rabbit shopkeepers can be changed now. Any existing rabbit shopkeepers will use the brown variant (the default). This also resolves an issue with the rabbit type randomly changing whenever the shopkeeper is respawned.


Added: Added a header comment to the top of the save.yml file mentioning the risk of manually editing this file while the server is still running or without making a backup first.


Fixed: If regular item usage is disabled we also prevent any kind of entity interaction now while holding the shop creation item in hand. Players in creative mode or with the 'shopkeeper.bypass' permission are exempt from this restriction.


Fixed: Checking the WorldGuard allow-shop flag now takes into account the player for whom the flag is being queried.


Fixed: The returned shop creation item would get dropped twice under certain conditions.


Fixed: The shop creation item is now also returned if a player deletes his own shop via command.


Fixed/API: The PlayerDeleteShopkeeperEvent is now also called when a player deletes shops via command.


Changed: The result message after deleting shops via command will now print the number of actually removed shops (which does not necessarily match the number of shops that were confirmed for removal).


Changed: The item representing the black horse inside the editor is now slightly less black.


Debug: Added the debug option 'capabilities', which logs additional details when the plugin checks for server version dependent capabilities.


Debug: Added some more information to the debug message that gets logged when the PlayerDeleteShopkeeperEvent has been cancelled.


Debug: Minor changes to some debug messages related to Citizens shopkeepers.


API/Internal: Added Shopkeeper#delete(Player) which optionally passes the player responsible for the shopkeeper deletion. Note that the player is not passed if a player shop is deleted due to a player breaking the shop's chest.


API: Added a note about the PlayerDeleteShopkeeperEvent not being called in all circumstances.


Internal changes:


Moved most of the code responsible for returning the shop creation item for deleted player shops into the new PlayerShopkeeper#delete(Player) method.
Added ShopkeeperEventHelper class and moved the common code for calling and handling PlayerDeleteShopkeeperEvents there.
Various minor refactorings related to the Text implementation.
Various minor refactorings related to Citizens shopkeepers.
Minor formatting changes. Not applied to the whole code base yet.
Added messages:


msg-button-rabbit-variant
msg-button-rabbit-variant-lore
msg-cant-trade-with-own-shop
msg-cant-trade-with-shop-missing-chest
Changed messages (you will have to manually update those!):


Renamed 'msg-removed-player-shops' to 'msg-removed-shops-of-player'.


Renamed 'msg-removed-all-player-shops' to 'msg-removed-player-shops'.


Renamed 'msg-confirm-remove-admin-shops' to 'msg-confirm-remove-all-admin-shops'.


Renamed 'msg-confirm-remove-own-shops' to 'msg-confirm-remove-all-own-shops'.


Renamed 'msg-confirm-remove-player-shops' to 'msg-confirm-remove-all-shops-of-player'.


The 'msg-removed-player-shops' message (previously 'msg-removed-all-player-shops') no longer mentions that 'all' shops got deleted (since this is not necessarily true).


Changed the 'msg-button-villager-level' and 'msg-button-villager-level-lore' messages to clarify that this option only changes the visual appearance of the villager's badge color. The included german translation has been updated accordingly as well.


Slightly changed the german translation of the 'msg-cant-trade-while-owner-online' message.


Removed the note about left and right clicking items to adjust amounts from the 'msg-trade-setup-desc-admin-regular' message, since this doesn't actually apply to admin shops.


Known potential issues: See here.


Donations
If you like this plugin, consider making a donation.


Thanks!
本贴更新记录:2020-8-3:搬运插件2020-8-19:更新至2.11.02020-11-14:更新至2.12.0

统计:(可以禁止)
本插件使用bStats插件进行统计,这有助于了解使用该插件的服务器数量。
以下是统计列表
常用信息:插件数量、玩家数量、在线模式、MC版本、插件版本、核心版本、操作系统、国家、JAVA版本
额外信息:相关插件(公民、WG、城镇、Gringotts、箱子保护、经济插件),商店数量,是否使用玩家商店,备份,彩色代码,箱子保护,自动删除税率,NBT信息检查,禁用的生物,单个世界的商店数量。


Q&amp;A更多问题:
注意:出现BUG或有问题建议直接问作者,作者两天内就会回复,问我是没有用的,这里提供一些常用的解决方案。
这是已知BUG:https://github.com/Shopkeepers/Shopkeepers-Wiki/wiki/Known-Issues
官方常见问题:https://github.com/Shopkeepers/Shopkeepers-Wiki/wiki/Frequently-Asked-Questions


Q:如何让我的村民可以中文或者用彩色代码?(感谢 @不动要塞 @sanqiue 等人的指正)
A:打开Config.yml,找到[name-regex:]选项,修改
其中若为用中文名,则[A-Za-z0-9\u4e00-\u9fa5 ]{3,25}
其中若用彩色字体,则[A-Za-z0-9&amp;§ ]{3,25}
如果我全都要,则填*如果无效可以尝试( .* )[1.12.2/1.16.5]


Q:如何禁用玩家商店?
A:方法一 打开Config.yml,找到[shop-creation-item],设置为其他玩家得不到的东西,并且禁用[create-player-shop-with-command]
方法二禁止权限
    shopkeeper.admin:创建管理员商店
    shopkeeper.player.sell:创建出售商店
    shopkeeper.player.buy:创建购买商店
    shopkeeper.player.trade:创建交易商店
    shopkeeper.player.book:创建书商店
    shopkeeper.player:创建玩家商店


星光灬羽神
汉化文件已经提交给作者了,之后会自带中文汉化的.

为什么我那么小心谨慎还是得审核啊QAQ

小冰糖a
上次看还是支持1.14,居然更新这么快,感谢搬运啦~

名副其实
没有提到一个很重要但是也很致命的问题
如何破除插件的正则表达式输入颜色代码与中文

12344987498496
那个插件他回来了!

星光灬羽神
名副其实 发表于 2020-8-3 14:49
没有提到一个很重要但是也很致命的问题
如何破除插件的正则表达式输入颜色代码与中文 ...

提到了,就在Q&A里
Q:如何让我的村民可以中文或者用彩色代码?
A:打开Config.yml,找到[name-regex:]选项,修改
其中若为用中文名,则[A-Za-z0-9\u4e00-\u9fa5 ]{3,25}
其中若用彩色字体,则[A-Za-z0-9&§ ]{3,25}
如果我全都要,则[A-Za-z0-9&§\u4e00-\u9fa5 ]{3,25}


1249630245
MCBBS有你更精彩

某不知名毁灭术
可以用经济插件的金钱作为交易货币吗,可以的话要怎么设置

DLS童真
啊!终于找到以前低版本的自定义村民交换商店的插件了!

星光灬羽神
某不知名毁灭术 发表于 2020-8-8 19:23
可以用经济插件的金钱作为交易货币吗,可以的话要怎么设置

不可以,目前作者没有对应计划

某不知名毁灭术
星光灬羽神 发表于 2020-8-8 22:27
不可以,目前作者没有对应计划

太难了qwq

账号已弃用
可以,很强!

赵同学
大大,装了虚拟人生mod以后好像会跟他的界面冲突,无法设置交易

Momant
久违的自定义村民插件 感谢楼主分享!!!

877705308
妈妈,我再也不用到处找村民交易了,也不怕跑没了

asassssa
好家伙支持1.16了

造水厂
用不到啊,可惜了

苏子峰


这个功能界面1.12.2可以使用吗


星光灬羽神
苏子峰 发表于 2020-8-12 22:09
这个功能界面1.12.2可以使用吗

不可以,1.12还没有进行村庄更新

38416029

楼主 我用1.16.1版本的 ShopKeepers 用成中文 name-regex: "[A-Za-z0-9&§\u4e00-\u9fa5 ]{3,25}" 还是不行

小孟desu
很好用,感谢楼主

anyang
怎么删除村民商店呀,我好难

星光灬羽神
anyang 发表于 2020-8-14 12:29
怎么删除村民商店呀,我好难

这不是右下角就有了吗...有什么难的

anyang
星光灬羽神 发表于 2020-8-14 13:02
这不是右下角就有了吗...有什么难的

我刚刚的没有,重载了一下才有.

wsxll
作者更新啦

txlscmr
楼主,能不能汉化一下新的语言文件?

星光灬羽神
txlscmr 发表于 2020-8-20 19:56
楼主,能不能汉化一下新的语言文件?

config基本是一致的,这几百行的重新来是不可能的

如果你需要翻译文本,你可以直接把config下部分内容直接复制到你的config内

txlscmr
星光灬羽神 发表于 2020-8-20 19:59
config基本是一致的,这几百行的重新来是不可能的

如果你需要翻译文本,你可以直接把config下部分内容直 ...

好的,再让我水一句

sanqiue
本帖最后由 sanqiue 于 2020-8-24 01:14 编辑

楼主 我用1.16.1版本的 ShopKeepers 用成中文 name-regex: "[A-Za-z0-9&§\u4e00-\u9fa5 ]{3,25}" 还是不行

哦改成.*就好了

最爱的小敏儿
无法创建公民商店,还有汉化文件覆盖之后 启动服务器又会重置为原文件

我是沙壁
下载了,挺好用的

Naive4901
跟村民冲突了,玩家无法和村民交易了

南宫君
谢谢~看起来就很有趣

Mr_Liuxing
有自定义村民插件还是挺好的  给生存服扩充一下玩法

hua8
支持楼主 但是我没有金粒了

异类控
感谢分享~

ET_commmon
感谢楼主的插件,用来给服务器用很不错

_拱白菜的猪_
楼主大大求解 ‘这不是有效的mod文件’ 该怎么办

2096908391
我的版本是1.16.2,核心是spigot,shopkeeper用的是2.11版本,我用mm写出来的装备不能兑换,村民商店里的前两个兑换物品都已经摆上去了,但是最终的兑换物是拿不下来的,这是为什么。。没有报错,交易权限也给了,包括op也不行,有时候能兑换有时候对换不了

皇橙橙橙籽
支持这个插件!!!好用!!!(已收录至插件整理帖)

肆火
可以让玩家自定义自己商店所使用的的货币吗?比如用自己的签名书当做货币。

zhangxinlei1563
很好的插件

272076243
666666666666+

txlscmr
1.16.1服务器无法创建牌子商店

2013487731
MCBBS有你更精彩~

我最帅222345
楼主大大,为啥我的citizens没有citizens-shops那个选项

星光灬羽神
我最帅222345 发表于 2020-12-19 08:41
楼主大大,为啥我的citizens没有citizens-shops那个选项

在shopkeeper插件里找,不是zitizens

我想梦见你笑
全是英文看不懂

LwTs
纯插件都福利

MC_Nirvana
新版配置文件里面的信息改动很大。。。楼主你的汉化已经没办法适用于新版本了(我目前使用的版本是2.12.0)

下一页 最后一页