贸易标准
为您的服务器商业区提供实体交易许可。
Trading Standards 允许管理员发放许可证:真实的、可持有的物品,用于授权玩家交易特定内容,例如 Apple 或 All Wool。每张许可证都会与中央注册表进行核对,因此无法伪造、复制、重命名或被拾取并冒充他人的许可证。
深受 Hermitcraft 第 10 赛季中“Hermit Permits”的启发。其实现方式和美术资源均为原创。
✦ 功能特性
- 实体许可证: 每张许可证都会显示其主题、持有者、ID 和等级,并在手中、地面以及物品展示框中以 3D 卡片的形式呈现。
- 四个等级: 铁质、金质、钻石质,以及用于大型合集(如 All Terracotta 或 All Stone)的特殊等级。
- 类别徽章: 食物、建筑、红石、运输、武器、盔甲、资源和装饰。
- 防篡改验证: 系统会拦截副本、过期版本、已撤销的许可证以及被错误玩家持有的许可证。
- 完整的管理员界面: 提供游戏内屏幕,用于发放、查询、转移、重新发放和撤销许可证,还包括注册表浏览器和审计日志。
- 完整的历史记录: 每张许可证都会保留其发放、转移或撤销的操作记录,包括操作者和时间。
- 任意主题: 支持单个物品或整个合集,由管理员自由输入。无需编辑配置文件。
✦ 对于玩家
右键点击许可证即可打开其卡片:查看其是否有效、详细信息,以及以下按钮:
- 出示: 向周围所有人展示。当顾客要求查看您的执照时非常有用。
- 打开 我的许可证,列出所有注册在您名下的许可证。
无需学习命令。您的许可证就是您的通行凭证。
✦ 对于管理员
运行 /function trading_standards:admin/menu 以打开管理员界面:
- 发放许可证: 选择玩家、主题、类别和等级。
- 注册表和查询: 查看所有许可证及其完整历史记录。
- 转移、重新发放、撤销: 旧副本会自动失效。
- 审计日志: 查看服务器上的近期活动。
- 官员: 为受信任的玩家提供访问管理员界面的权限。
- 危险区域: 撤销所有内容,或重置系统。
每个操作也可以通过 /function 命令执行。admin/help 列出了所有可用命令。
✦ 安装
Trading Standards 包含两个包,两者均为必需:
- 数据包: 将其放入您世界的
datapacks 文件夹中,然后重启服务器。
- 资源包: 将其设置为服务器资源包(在
server.properties 中的 resource-pack 字段),以便玩家自动获取。
如果没有资源包,许可证将显示为普通纸张。
✦ 兼容性
| Minecraft |
版本 |
| Java Edition 26.3 |
1.1.0(包含特殊等级) |
| Java Edition 26.2 |
1.0.0 |
- 服务器软件: Vanilla、Paper、Fabric 或其他任何软件;无需额外插件。
- 单人游戏: 同样适用。
- 升级: 会保留所有许可证和历史记录。
✦ 须知
- 管理员命令使用
/function,因为数据包无法添加自定义命令。游戏内界面涵盖了所有功能。
- 玩家必须在线才能接收许可证。
Trading Standards
Physical trading permits for your server's shopping district.
Trading Standards lets admins issue permits: real, holdable items that license a player to trade something, like Apple or All Wool. Every permit is checked against a central registry, so it can't be forged, copied, renamed or picked up and passed off as someone else's.
Inspired heavily by the 'Hermit Permits' from Hermitcraft Season 10. The implementation and artwork are original.
✦ Features
- Physical permits: Each one shows its subject, holder, ID and tier, and appears as a 3D card in hand, on the ground and in item frames.
- Four tiers: Iron, Gold, Diamond, and Special for large collections such as All Terracotta or All Stone.
- Category emblems: Food, building, redstone, transport, weapons, armor, resources and decoration.
- Tamper-proof verification: Copies, stale versions, revoked permits and permits held by the wrong player are all caught.
- Full admin interface: In-game screens to issue, look up, transfer, reissue and revoke permits, plus a registry browser and an audit log.
- Complete history: Every permit keeps its record of who issued, transferred or revoked it, and when.
- Any subject you like: Single items or whole collections, typed freely by admins. No config files to edit.
✦ For players
Right-click a permit to open its card: whether it's valid, its details, and buttons to:
- Present it to everyone nearby. Perfect when a customer asks to see your licence.
- Open My Permits, a list of every permit registered to you.
No commands to learn. Your permit is your way in.
✦ For admins
Run /function trading_standards:admin/menu to open the admin screen:
- Issue Permit: player, subject, category, tier.
- Registry and Look Up: every permit with its full history.
- Transfer, Reissue, Revoke: old copies stop working automatically.
- Audit Log: recent activity across the server.
- Officers: give trusted players access to the admin screens.
- Danger Zone: revoke everything, or reset the system.
Every action is also available as a /function command. admin/help lists them all.
✦ Installation
Trading Standards is two packs, and both are required:
- Datapack: place it in your world's
datapacks folder and restart the server.
- Resource pack: set it as your server resource pack (
resource-pack in server.properties) so players get it automatically.
Without the resource pack, permits appear as plain paper.
✦ Compatibility
| Minecraft |
Version |
| Java Edition 26.3 |
1.1.0 (includes the Special tier) |
| Java Edition 26.2 |
1.0.0 |
- Server software: vanilla, Paper, Fabric or any other; nothing extra needed.
- Singleplayer: works too.
- Upgrading: keeps all permits and history.
✦ Good to know
- Admin commands use
/function, since datapacks can't add custom commands. The in-game screens cover everything.
- Players must be online to receive a permit.
评论 0
登录后参与评分
还没有评论,来抢沙发吧