PrettySimpleShop
一个简单美观的商店插件。无需告示牌。支持双层箱子与领地保护!
入门指南
-
创建商店:
- 放置一个箱子
- 在其中放入一些物品(需为同一种类)
- 执行 /setprice 命令
- 搞定!你现在拥有一个商店了!
-
查看物品信息或从商店购买:
- 左键点击商店以查看物品详情(鼠标悬停在聊天栏文字上)
- 再次点击该物品或商店,系统会询问你希望购买的数量。直接输入你想要购买的数量即可。
- 或者,如果你希望使用命令,可以执行 /buy 并指定任意数量。
-
销售所得收入将存储在商店中,当玩家打开或破坏商店时,收入将转移给该玩家。
-
与领地保护插件完美集成。
- 只有能够打开商店的玩家才能更改价格、收取收入并在该区域创建新商店。
- 无论是否有领地保护,所有玩家都可以从商店购买商品。
<EmpathyHeals>无需记忆告示牌格式,无需输入命令即可购买,尊重保护插件,可出售自定义物品,拥有精美的全息显示,保留销售历史记录,近乎完美
命令
- /shop
- 打印一条可配置的帮助消息,告知玩家如何创建商店以及如何从其他商店购买商品。
- /setprice
- 设置商店中每个物品的单价。
- /buy
- 从选定的商店购买商品。
- 如果已配置,系统会要求玩家确认交易,以防出错并审查总交易成本。
特性
- 支持双层箱子!(这并非易事。)
- 支持任何可命名的容器方块——例如陷阱箱、潜影盒,如果你愿意,甚至包括发射器和熔炉。
- 记录商店销售数据,让你了解哪些商店更受欢迎。
- 支持自定义物品。显示自定义物品的名称和描述。
- 玩家甚至不需要知道任何命令即可购买商品。双击商店即可提示玩家输入想要购买的数量。
- 无需记忆告示牌格式!
- 所有商店数据(价格、物品和收入)都存储在世界中!没有混乱且可能损坏的存储文件!
- 商店是“面向未来”的,因为待售物品存储在真实的箱子中,Mojang 在更新方块/物品时会进行转换。
- 轻松更换商店中售卖的物品。只需取出旧物品并放入新物品即可。
- 确认系统帮助玩家避免错误,并在确认购买前审查交易内容。
- 若使用 Paper,则使用 Minecraft 原版物品名称
- 支持所有区域保护插件!无需像其他插件那样进行“允许使用”等繁琐操作即可让玩家购买。
- 使用你的经济插件的格式和符号。
- 几乎所有消息均可配置。
- 命名为“shop”(或在配置文件中设置的名称)的箱子将提示玩家使用该箱子创建商店。这在向玩家“出售”商店时非常有用。
Pretty Simple Sponsors
SurfHosting:使用代码 "Robo" 享受 50% 折扣:
PrettySimpleShop
A pretty simple shop plugin. No signs required. Supports DoubleChests and claim protections!
?Issue Tracker | ?Support the developer | ?Source code
Getting started
-
To make a shop:
- Place a chest
- Put some items (of the same type) in it
- /setprice
- Tada! You now have a shop!
-
To view item info or buy from a shop:
- Left-click a shop to view item details (hover over text in chat)
- Click the item or the shop again, and you will be asked how much you'd like to buy. Simply input the quantity you wish to buy.
- Or if you wish to use a command, /buy as much as you want.
-
Revenue from sales are stored in the shop, and are transferred to the player when they open or destroy the shop.
-
Integrates nicely with area protection plugins.
- Only players who can open the shop can change its price, collect revenue, and create new shops in that area.
- All players are able to buy from a shop regardless of area protections.
<EmpathyHeals>no sign formats to type, no commands to buy, respects protection plugins, can sell custom items, nice holographic displays, keeps a history of sales, it's nearly perfect
Commands
- /shop
- Prints a configurable help message that informs players how to create a shop and how to buy from other shops.
- /setprice
- Sets the price per item of a shop.
- /buy
- Buys items from the selected shop.
- If configured, the player is asked to confirm their transaction, in case they made a mistake and to review the total transaction cost.
Features
- Supports DoubleChests! (Wasn't a simple task.)
- Supports any block that is a Nameable Container - e.g. trapped chests, shulker boxes, even dispensers and furnaces if you so desire.
- Records shop sales, so you can see how popular a shop is.
- Supports custom items. Displays custom item name and lore.
- Players don't even need to know any commands to buy items. Clicking a shop twice will prompt the player to input the quantity they wish to buy from the shop.
- No sign formats to memorize!
- All shop data (prices, items, and revenue) is stored in the world! No messy, potentially-corruptible storage files!
- Shops are "future-proof" since the items for sale are stored in the actual chest and are converted by Mojang whenever they update blocks/items.
- It's easy to change the item you're selling in a shop. Just take out the old items and put the new ones in.
- Confirmation system helps players avoid mistakes and review the transaction before confirming the purchase.
- Uses Minecraft item names if you're using Paper
- Supports all region protection plugins! No need to "allow use" or anything silly like that just to allow players to buy.
- Uses your economy's format and symbol.
- Nearly every message is configurable.
- Chests named "shop" (or whatever you have set in the config) will help prompt players to create a shop with that chest. Useful if you "sell" shops to players.
Pretty Simple Sponsors
SurfHosting: 50% discount with code "Robo":
下载 PrettySimpleShop
下载 PrettySimpleShop
下载 PrettySimpleShop
下载 PrettySimpleShop
下载 PrettySimpleShop
下载 PrettySimpleShop
下载 PrettySimpleShop
下载 PrettySimpleShop
下载 PrettySimpleShop
下载 PrettySimpleShop
不知为何,我有一年没发布这个的更新版本了 lul。
- 在检查区块是否已加载时,避免意外加载区块
- 修复确认书不出现的问题(该改动发生在 1.15 版本)
- 修复购买双层箱子全部库存时的异常(将整数除法改为向上取整)
- 升级 API 至 1.16 以支持新的 1.16 物品类型
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
用于绘制游戏内地图或在浏览器中随探索实时进行地图绘制的实时地图。
插件
使床在所有维度中爆炸的模组
插件
为 Armor Poser 模组添加兼容性
插件
SkyBlock、OneBlock、Boxed、SkyGrid、AcidIsland、CaveBlock、Poseidon、StrangerRealms——以及更多!这些只是由 BentoBox 支持的基于岛屿的游戏模式之一。来自原版 ASkyBlock 的作者。
插件
一个高度兼容、功能完善且稳定的 TPA 模组
评论 0
登录后参与评分
还没有评论,来抢沙发吧