?️ 易于安装,无需摆弄数据库,只需将文件放入插件文件夹即可。
?️ 默认拥有合理的权限设置,因此你通常无需担心此问题。
? 支持本地化,你可以轻松创建任何语言的翻译。
⚠️ 不提供方块保护,需要外部方法来保护商店的容器和物品展示框。
♻️ 依赖 Vault 以与该支持的任意经济插件进行交互。 ? 在此下载 Vault。
? 在 Github 上以 Mozzila Public License 2.0 开源。
?️ 通过右键或左击查看商店所有者、商品、出售价格和购买价格。
? 潜行并左击以出售。
? 潜行并右击以购买。
⌨️ 注视包含你想要交易的物品的物品展示框时,使用 /shop 。使用标志 -buy 或 -sell 设置买入或卖出(或两者)的价格。使用 -amount 标志设置交易数量。
? 可放置于箱子、桶和潜影盒上。
*️⃣ 可在同一个容器上放置多个商店。
? 设置创建费用,使玩家必须付费才能创建商店 —— 使用 /shop price 查看费用 —— 通过在 config.yml 中设置 create-fee 条目来实现,然后运行 /shop reload 应用更改而无需重启服务器。
? 注视商店时运行 /shop remove 以移除你的商店。
⌨️ 注视包含你想要交易的物品的物品展示框时,使用 /shop server 。使用 -buy 或 -sell 标志设置买入或卖出(或两者)的价格。使用 -amount 标志设置交易数量。
? 可放置于任何实心表面上。
♾️ 无限资源,服务器商店拥有无限的库存和资金。任何售出物品或支付给它的资金都将从游戏中移除。
? 注视商店时运行 /shop remove 以移除任意服务器商店。
? 使用玩家的游戏区域设置来选择插件数据文件夹(位于 .../your server/plugins/Butiko)中具有 .properties 扩展名的适当本地化文件 —— 如果未找到合适的文件,则使用名为 messages.properties 的默认文件。物品和附魔名称会自动翻译。
? 通过复制 messages.properties (位于插件的数据文件夹内)并重命名为 messages_<language>.properties 来仅创建语言本地化文件。将占位符 <language> 替换为小写两位语言代码。 ? 在此查看语言代码。
? 通过复制 messages.properties (位于插件的数据文件夹内)并重命名为 messages_<language>_<country>.properties 来创建国家和语言本地化文件。将占位符 <language> 替换为语言代码,将 <country> 替换为大写两位国家代码。 ? 在此查看国家代码.
?️ 例如,西班牙语本地化文件可能看起来像 messages_es.properties,但哥伦比亚西班牙语本地化文件可能看起来像 messages_es_CO.properties。
✒️ 翻译你刚刚创建的文件,但不要翻译像 <product> 这样的占位符,也不要翻译等号左侧的条目键,如 must_look_at_itemframe。
?️ messages.properties 的内容
shop_created = Shop created
shop_created_fee = Shop created for <fee> fee
shop_removed = Shop removed
duplicated_shop = That's already a shop
must_look_at_shop = You must look at a shop
empty_itemframe = The itemframe must contain an item
container_not_allowed = Shop container must be a <chest>, <barrel>, or a <shulkerbox>
must_look_at_itemframe = You must look at an itemframe
shop_command_usage = Create a shop using /shop while looking at an itemframe
files_reloaded = Configuration and localization files reloaded
cannot_pay_fee = You can't afford to create a shop
must_buy_or_sell = Your shop must buy, sell, or both
buy_price_too_low = Buy price must be higher than the sell price
buy_only = You can only buy from this shop
sell_only = You can only sell to this shop
shop_insufficient_funds = The shop owner can't pay you
shop_insufficient_space = The shop inventory is full
shop_insufficient_items = There is no stock available
client_insufficient_funds = You don't have enough money
client_insufficient_space = You don't have enough inventory space
client_insufficient_items = You don't have enough items to sell
sold_succesfully = Sold <amount>x <product> for <price>
bought_succesfully = Bought <amount>x <product> for <price>
transaction_failed = Unable to complete transaction
buying_for = Buy for <price>
selling_for = Sell for <price>
shop_price = It costs <fee> to create a shop
exempt_from_fee = You are exempt from shop creation fee
not_allowed = You can't do that
♻️ 使用 /shop reload 重新加载插件文件,以便立即获得新的本地化文件,无需重启服务器。
❓ 默认值定义了当未明确设置权限时给予玩家的权限。true 默认意味着所有玩家在加入时都拥有该权限。op 默认意味着只有服务器操作员拥有该权限。
?️ butiko.command - 允许查看 /shop 命令并使用 /shop price。默认为 true。
?️ butiko.player.create - 允许玩家创建商店并移除自己的商店。默认为 true。
?️ butiko.player.nofee - 使玩家免除商店创建费用。
?️ butiko.admin.create - 创建服务器商店。默认为 op。
?️ butiko.admin.remove - 使用 /shop remove 移除其他玩家的商店。默认为 op。
?️ butiko.admin.reload - 重新加载配置和本地化文件。默认为 op。
? 本插件使用 bStats 来收集使用数据。你可以在 .../plugins/bStats/config.yml 中禁用它。
?️ Easy to install, no need to mess around with databases, just drop the file in your plugins folder.
?️ Sensible permissions by default, so you mostly don't have to worry about it.
? Localizable, you can easily create translations to any language.
⚠️ No block protection is provided, external methods are required to protect the shop's container and Item Frame.
♻️ Depends on Vault to interface with any economy plugin supported by it. ? Download Vault here.
? Open source under the Mozzila Public License 2.0 on Github.
?️ View a shop owner, product, sell price, and buy price by right or left clicking.
? Sell by sneaking and left clicking.
? Buy by sneaking and right clicking.
⌨️ Use /shop while looking at an Item Frame containing the item you want to trade. Set the buy or sell — or both — prices with the flags -buy or -sell. Set the amount to be traded using the -amount flag.
? Can be placed on Chests, Barrels, and Shulker Boxes.
*️⃣ Multiple shops can be placed on the same container.
? Set a create fee so players must pay to create a shop — view the fee with /shop price — by setting create-fee entry in the config.yml, then apply the changes without restarting by running /shop reload.
? Remove your shop by running /shop remove while looking at it.
⌨️ Use /shop server while looking at an Item Frame containing the item you want to trade. Set the buy or sell — or both — prices with the -buy or -sell flags. Set the amount to be traded using the -amount flag.
? Can be placed on any solid surfaces.
♾️ Infinite resources, server shops have infinite stock and money. Any items sold or money paid to it is removed from the game.
? Remove any server shop by running /shop remove while looking at it.
? Player's game locale is used to select an appropriate localization file — those with the extension .properties — in the plugin's data folder — at .../your server/plugins/Butiko — and if no suitable one is found, it uses the default one called messages.properties. Item and enchantment names are automatically translated.
? Create a language only localization file by copying messages.properties — inside the plugin's data folder — and renaming it to messages_<language>.properties. Replace the placeholder <language> with the lower case two letter language code. ? See language codes here.
? Create a language and country localization file by copying messages.properties — inside the plugin's data folder — and renaming it to messages_<language>_<country>.properties. Replace the placeholder <language> with the language code, and <country> with the upper case two letter country code. ? See country codes here.
?️ For example a spanish localization file would look like messages_es.properties, but a colombian spanish one would look like messages_es_CO.properties.
✒️ Translate the file you just created, but do not translate the placeholders like <product> or the entry keys to the left of the equal signs like must_look_at_itemframe.
?️ Contents of messages.properties
shop_created = Shop created
shop_created_fee = Shop created for <fee> fee
shop_removed = Shop removed
duplicated_shop = That's already a shop
must_look_at_shop = You must look at a shop
empty_itemframe = The itemframe must contain an item
container_not_allowed = Shop container must be a <chest>, <barrel>, or a <shulkerbox>
must_look_at_itemframe = You must look at an itemframe
shop_command_usage = Create a shop using /shop while looking at an itemframe
files_reloaded = Configuration and localization files reloaded
cannot_pay_fee = You can't afford to create a shop
must_buy_or_sell = Your shop must buy, sell, or both
buy_price_too_low = Buy price must be higher than the sell price
buy_only = You can only buy from this shop
sell_only = You can only sell to this shop
shop_insufficient_funds = The shop owner can't pay you
shop_insufficient_space = The shop inventory is full
shop_insufficient_items = There is no stock available
client_insufficient_funds = You don't have enough money
client_insufficient_space = You don't have enough inventory space
client_insufficient_items = You don't have enough items to sell
sold_succesfully = Sold <amount>x <product> for <price>
bought_succesfully = Bought <amount>x <product> for <price>
transaction_failed = Unable to complete transaction
buying_for = Buy for <price>
selling_for = Sell for <price>
shop_price = It costs <fee> to create a shop
exempt_from_fee = You are exempt from shop creation fee
not_allowed = You can't do that
♻️ Reload plugin's files using /shop reload to make the new localization immediately available with no need to restart the server.
❓ Defaults define what permissions are given to players when no permission is explicitly set. The true default means all players have the permission when they join. A op default means that only server operators have it.
?️ butiko.command - Allows to see /shop command and use /shop price. Default to true.
?️ butiko.player.create - Allows player to create shops and remove their own. Default to true.
?️ butiko.player.nofee - Makes the player exempt from the shop creation fee.
?️ butiko.admin.create - Create a server shop. Default to op.
?️ butiko.admin.remove - Remove another player's shop with /shop remove. Default to op.
?️ butiko.admin.reload - Reload configuration and localization files. Default to op.
? This plugin uses bStats to collect usage data. You can disable it in .../plugins/bStats/config.yml.
评论 0
登录后参与评分
还没有评论,来抢沙发吧