MCBBS原帖仅仅更新到了1.14,并且搬运者已经超过一年没有在线了。其实我也用了很久,发现功能不只这些。 并且1.13进行了村庄更新,那个搬运贴的内容过时了。 授权搬运:
![]() |
OP情况下默认的商店类型,直接通过菜单来编辑交易选项![]() |
玩家创建的购买商店,通过设置货币的多少来收购/出售物品(默认的货币为绿宝石)![]() |
这是玩家进行交易的商店,玩家可以自定义进行以物换物,同时玩家需要一个箱子来放置物品(需要提前放好) 菜单编辑界面与管理员界面相似。 |
对需要出售的书本进行复印并出售,可用于成书和空白书 |
![]() /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]——创建多个管理员商店 |
指令权限: 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:创建苦力怕商店 |
|
|
就像这样 ![]() 结果就是这样 ![]() |
|
需要物品:箱子、村民刷怪蛋(默认)、生存模式 第一步,放置一个箱子,拿起刷怪蛋,它会显示 ![]() 第二步,按照提示,左键/右键选择商店类型 ![]() 第三步,继续蹲下+左右键选择生物类型 ![]() 第四步,左键点击箱子,然后找个空位放下村民蛋 ![]() 第五步,蹲下,右键村民,进行设置 ![]() 此时商店创建成功 ![]() |
需要:公民插件Citizens 打开Config.yml找到,设置为true并重载插件
或者拿着刷怪蛋,蹲下+左键/右键找到NPC ![]() 然后放置即可(这是我的ID和皮肤,村民蛋放置会默认设置为玩家的ID而指令生成会变成村民) ![]() 之后便是公民插件的操作了... /npc sel选择npc, /npc rename <名字>改名, /npc skin <名字>换皮肤, /npc type <类型>改生物类型, /npc text 进入对话编辑模式 /npc path 进入路径编辑 /npc equip 进入装备编辑 我一般也就用这些指令了,这里也不是公民插件贴,不要问怎么设置qwq |
|
(不做翻译),更多更新记录请到原帖 v2.12.0 for MC 1.16.4, 1.16.3, 1.16.2, 1.16.1, 1.15.2, 1.14.4
API:
Internal:
Update for MC 1.16.2:
Other changes:
Added editor for regular villagers and wandering traders:
Internal changes:
Config changes:
Added messages:
Changed messages (you will have to manually update those!):
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.0 2020-11-14:更新至2.12.0 |
shopkeeper.admin:创建管理员商店
shopkeeper.player.sell:创建出售商店
shopkeeper.player.buy:创建购买商店
shopkeeper.player.trade:创建交易商店
shopkeeper.player.book:创建书商店
shopkeeper.player:创建玩家商店
名副其实 发表于 2020-8-3 14:49
没有提到一个很重要但是也很致命的问题
如何破除插件的正则表达式输入颜色代码与中文 ...
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}
某不知名毁灭术 发表于 2020-8-8 19:23
可以用经济插件的金钱作为交易货币吗,可以的话要怎么设置
星光灬羽神 发表于 2020-8-8 22:27
不可以,目前作者没有对应计划
苏子峰 发表于 2020-8-12 22:09
这个功能界面1.12.2可以使用吗
星光灬羽神 发表于 2020-8-3 16:02
提到了,就在Q&A里
anyang 发表于 2020-8-14 12:29
怎么删除村民商店呀,我好难
星光灬羽神 发表于 2020-8-14 13:02
这不是右下角就有了吗...有什么难的
2020-8-20 19:56 上传
点击文件名下载附件
33.94 KB, 下载次数: 4
txlscmr 发表于 2020-8-20 19:56
楼主,能不能汉化一下新的语言文件?
星光灬羽神 发表于 2020-8-20 19:59
config基本是一致的,这几百行的重新来是不可能的
如果你需要翻译文本,你可以直接把config下部分内容直 ...
我最帅222345 发表于 2020-12-19 08:41
楼主大大,为啥我的citizens没有citizens-shops那个选项
某不知名毁灭术 发表于 2020-8-8 19:23
可以用经济插件的金钱作为交易货币吗,可以的话要怎么设置
starxiaoyu 发表于 2021-2-9 10:54
商店名字不能用中文吗