FancyShop
创建使用实体货币交易的箱子商店。现已支持 1.8!
github.com/DeltaWhy/bukkit-fancyshop
功能特性
- 通过图形界面创建箱子商店。
- 使用游戏内物品作为货币。
- 购买和出售任何物品——包括附魔物品与书籍、药水,甚至带有描述(lore)或自定义 NBT 数据的物品。
- 单个商店最多可购买和出售 27 种不同的物品。
- 商店受到保护,防止被破坏以及通过漏斗偷窃。
- 创建管理员商店,可无限制地购买和出售各类物品。
- 将商店限制在特定区域(取决于 Flags)。
命令
/fancyshop: 创建和管理商店。 (别名:/fs, /shop)
/fancyshop create - 创建一个新的商店。
/fancyshop remove - 移除一个商店。
/fancyshop rename <name> - 重命名一个商店。
/fancyshop setadmin true - 将商店设置为管理员商店。
/fancyshop setadmin false - 将商店设置为普通商店。
/fancyshop currency <name> - 将当前手持的物品添加为自定义货币。
配置
请参阅 配置 和 区域支持。
此插件使用了 Hidendra 的 PluginMetrics,该功能会向 mcstats.org 发送一些关于您服务器的匿名数据。这些数据包括插件和服务器的版本、服务器使用的 Java 版本、在线玩家数量、操作系统版本等。如果您希望退出数据收集,可以通过编辑 plugins/PluginMetrics/config.yml 文件,将 opt-out: false 改为 true。
用法
要使用商店,只需右键点击其箱子。你将看到商店的菜单。
要购买物品,在持有与“购买”价格相符的货币时点击它。
出售物品时,手持该物品并点击报价即可。
要设置商店,输入 '/fancyshop create',然后右键点击一个箱子。
你会看到“管理商店”菜单 - 要添加报价,手持你想购买或出售的物品并点击空槽位。
要设置价格,手持你希望使用的货币并点击该物品。右下角的羊毛图标会告诉你是在更改买入价还是卖出价。点击它可切换。
别忘了将你要出售的物品(或用于购买它的货币)放入你的箱子中。潜行时右键点击箱子以正常打开它。
要移除报价,在“管理商店”菜单中点击火焰图标,然后点击它。
商店会自动防止破坏和盗窃。要破坏商店的箱子,首先通过输入 '/fancyshop remove' 并右键点击来移除商店。然后你就可以正常破坏箱子了。这些保护可以在 config.yml 中禁用。
为什么还要另一个商店插件?
我不喜欢经济类插件。虽然它们可能在大型服务器上让事情变得更简单,但对我来说它们不太像 Minecraft。它们增加了一层抽象,我觉得这会削弱生存方面的体验。然而,我喜欢有商店——它们让玩家有更多选择如何花费时间。如果你不想花时间挖掘圆石或建造大型农场,你可以从其他人那里购买。因此,我想要一个可以使用游戏内贵重物品而不是创建人造货币的商店插件。
为什么不使用 GoldIsMoney、Gringotts 等?
因为我不想通过将某一种物品(金锭、绿宝石、钻石等)作为唯一货币来使其膨胀。在我的小型白名单服务器上,我不需要世界保护或其他需要 Vault 兼容性的插件。
权限
fancyshop.create:
description: Create a shop.
default: true
fancyshop.create.anywhere:
description: Create a shop, bypassing region permissions.
default: op
fancyshop.rename:
description: Change the name of your shop.
default: true
fancyshop.use:
description: Use other people's shops.
default: true
fancyshop.remove:
description: Remove someone else's shop (you can always remove your own)
default: op
fancyshop.open:
description: 打开其他玩家的商店箱子。
default: op
fancyshop.setadmin:
description: 创建无限数量的(管理员)商店。
default: op
fancyshop.currency:
description: 添加自定义货币。
default: op
FancyShop
Create chest shops that trade in physical currencies. Now with 1.8 support!
github.com/DeltaWhy/bukkit-fancyshop
Features
- Create chest shops with a graphical interface.
- Use in-game items as currency.
- Buy and sell any item - enchanted items and books, potions, even items with lore or custom NBT data.
- Buy and sell up to 27 different items in a single shop.
- Shops are protected against damage and against stealing with hoppers.
- Create admin shops that can buy and sell an unlimited number of items.
- Restrict shops to certain regions (depends on Flags).
Commands
/fancyshop: Create and manage shops. (Aliases: /fs, /shop)
/fancyshop create - Create a new shop.
/fancyshop remove - Remove a shop.
/fancyshop rename <name> - Rename a shop.
/fancyshop setadmin true - Make a shop an admin shop.
/fancyshop setadmin false - Make a shop a normal shop.
/fancyshop currency <name> - Add the currently held item as a custom currency.
Configuration
See Configuration and Region Support.
This plugin uses Hidendra's PluginMetrics which sends some anonymized data about your server to mcstats.org. This data includes the plugin and server versions, the server's Java version, the number of online players, the OS version, etc. If you want to opt out you can do so by editing plugins/PluginMetrics/config.yml and changing opt-out: false to true.
Usage
To use a shop, just right-click its chest. You will see a menu of the shop's offers.
To buy an item, click on it while holding currency matching the 'Buy' price.
To sell an item, click on the offer while holding that item.
To set up a shop, type '/fancyshop create' and then right-click a chest.
You'll see the 'Manage Shop' menu - to add an offer click on an empty slot while holding the item you want to buy or sell.
To set the price, click that item while holding your desired currency. The wool icon in the bottom right tells you whether you are changing the buy or sell price. Click it to switch.
Don't forget to add the item you are selling (or the currency you are buying it with) to your chest. Right-click the chest while sneaking to open it normally.
To remove an offer, click the fire icon in the 'Manage Shop' menu, then click it.
Shops are automatically protected against damage and theft. To break a shop chest, first remove the shop by typing '/fancyshop remove' and right-clicking it. Then you will be able to break the chest normally. These protections can be disabled in config.yml.
Why another shop plugin?
I'm not a fan of economy plugins. While they might make things simpler on large servers, they don't seem very Minecraft-y to me. They add a layer of abstraction that I feel takes away from the survival aspects. However, I like having shops - they give players more choice where to spend their time. If you don't want to spend time mining cobble or building a big farm, you can buy them from someone who does. So I wanted a shop plugin that can use in-game valuables rather than creating an artificial currency.
Why not use GoldIsMoney, Gringotts, etc.?
Because I don't want to inflate any one item (gold, emeralds, diamonds, etc.) by making it the sole currency. On my small whitelisted server, I don't need world protection or other plugins that need Vault compatibility.
Permissions
fancyshop.create:
description: Create a shop.
default: true
fancyshop.create.anywhere:
description: Create a shop, bypassing region permissions.
default: op
fancyshop.rename:
description: Change the name of your shop.
default: true
fancyshop.use:
description: Use other people's shops.
default: true
fancyshop.remove:
description: Remove someone else's shop (you can always remove your own)
default: op
fancyshop.open:
description: Open chests for other people's shops.
default: op
fancyshop.setadmin:
description: Create unlimited (admin) shops.
default: op
fancyshop.currency:
description: Add custom currencies.
default: op
评论 0
登录后参与评分
还没有评论,来抢沙发吧