为玩家提供一个旋转的黑市商店,拥有有限的库存、基于稀有度的交易以及可配置的奖励。
FoBlackmarket 为希望提供稀有交易、定时补货且无需通过配置文件构建一切的服务器管理员提供了一个简洁的黑市系统。玩家可以浏览当前优惠,查看价格和全服或按玩家的库存情况,并购买奖励;而管理员则可以控制奖励池、稀有度、布局、成本和补货行为。

功能特性
- 创建旋转的黑市优惠,支持配置全服或按玩家的库存、价格及补货计时器。
- 根据稀有度生成优惠,使普通、稀有、史诗和传奇交易的出现几率各不相同。
- 使用 Vault 货币、所需物品或两者结合向玩家收费,以提供更灵活的服务器经济系统。
- 向玩家发放实体物品、控制台命令或两者的组合作为奖励。
- 完整保留奖励、成本和图标物品的数据,包括名称、描述、自定义模型数据、属性、附魔和头颅数据。
- 向玩家展示有用的优惠详情,如稀有度、库存、成本、概率、售罄状态以及距离下次补货的时间。
- 通过游戏内管理员 GUI 管理奖励、稀有度、补货、广播和市场布局。


设置说明
FoBlackmarket 专为命令驱动或 NPC 驱动的服务器工作流设计。请使用来自你的 NPC/菜单设置的 opengui 命令来为玩家打开可购买的市场,然后让玩家使用 /blackmarket 作为查看信息或浏览市场的命令。
默认市场包含示例奖励池、稀有度槽位、库存数量、金钱成本以及 60 分钟的补货间隔。你可以直接编辑 YAML 文件或使用游戏内编辑器来调整商店。



依赖项
- Vault: 可选,但基于金钱的成本需要此依赖
- PlaceholderAPI: 可选,添加
%foblackmarket_time_remaining%
命令
/blackmarket - 显示市场信息或打开玩家浏览 GUI(取决于配置)。
/bm - /blackmarket 的别名。
/blackmarketadmin version - 显示已安装的插件版本。
/blackmarketadmin editor - 打开游戏内黑市编辑器。
/blackmarketadmin reload - 重新加载配置和市场数据。
/blackmarketadmin restock - 立即重新生成当前市场。
/blackmarketadmin opengui <player> - 为玩家打开可购买的黑市 GUI。
/bmadmin - /blackmarketadmin 的别名。
权限
foblackmarket.use - 允许玩家使用 /blackmarket。默认:所有人。
foblackmarket.admin - 允许访问管理员命令和编辑器工具。默认:操作员 (operators)。
可选的 PlaceholderAPI 支持用于显示实时补货计时器,而当配置了基于金钱的奖励时,会自动使用 Vault 经济支持。
占位符
%foblackmarket_time_remaining% - 显示格式化后的距离下次黑市补货的时间。
Give players a rotating black-market shop with limited stock, rarity-based deals, and configurable rewards.
FoBlackmarket adds a clean black-market system for server owners who want rare deals, timed restocks, and NPC-friendly shop access without building everything in config files. Players can browse active offers, see prices and server-wide or per-player stock, and buy rewards while admins control the reward pools, rarities, layout, costs, and restock behavior.

Features
- Create rotating black-market offers with configurable server-wide or per-player stock, prices, and restock timers.
- Roll offers by rarity so common, rare, epic, and legendary deals can appear at different chances.
- Charge players with Vault money, required items, or both for more flexible server economies.
- Reward players with physical items, console commands, or a mix of both.
- Preserve full reward, cost, and icon item data, including names, lore, custom model data, attributes, enchantments, and skull data.
- Show players useful offer details such as rarity, stock, cost, chance, sold-out state, and time until restock.
- Manage rewards, rarities, restocks, broadcasts, and the market layout from in-game admin GUIs.


Setup Notes
FoBlackmarket is designed for command-driven or NPC-driven server workflows. Use the admin opengui command from your NPC/menu setup to open the purchasable market for a player, then use /blackmarket as the player-facing info or browser command.
The default market includes example reward pools, rarity slots, stock amounts, money costs, and a 60-minute restock interval. You can edit the YAML files directly or use the in-game editor to adjust the shop.



Dependencies
- Vault: Optional, but required for money-based costs
- PlaceholderAPI: Optional, adds
%foblackmarket_time_remaining%
Commands
/blackmarket - Shows market info or opens the player browser GUI, depending on config.
/bm - Alias for /blackmarket.
/blackmarketadmin version - Shows the installed plugin version.
/blackmarketadmin editor - Opens the in-game black market editor.
/blackmarketadmin reload - Reloads config and market data.
/blackmarketadmin restock - Rerolls the active market immediately.
/blackmarketadmin opengui <player> - Opens the purchasable black market GUI for a player.
/bmadmin - Alias for /blackmarketadmin.
Permissions
foblackmarket.use - Allows players to use /blackmarket. Default: everyone.
foblackmarket.admin - Allows access to admin commands and editor tools. Default: operators.
Optional PlaceholderAPI support exposes the live restock timer, and Vault economy support is used automatically when money-based rewards are configured.
Placeholders
%foblackmarket_time_remaining% - Shows the time until the next black market restock formatted.
评论 0
登录后参与评分
还没有评论,来抢沙发吧