Showcase Mod
当前描述适用于 V2。如需查看 V1,请点击此处。
一款服务端 Minecraft 模组,允许玩家通过命令或聊天关键词在聊天中分享链接,以展示物品、背包、容器、村民交易和统计数据。
? 完整文档
✨ 功能特性
- 全面分享:支持物品、背包、容器和村民交易的分享
- 服务端运行:无需客户端安装
- 交互式预览:自动展开容器内容,查看书籍和地图
- 多语言支持:支持 17 种以上语言
- 持久化存储:分享内容保存至过期前有效
- 权限系统:集成 LuckPerms
- 可配置聊天关键词:自定义触发词以实现快速分享
- 统计数据追踪:带有详细分类的玩家统计数据
- 开发者占位符:集成 PlaceholderAPI 以兼容其他插件
- 聊天物品图标:在聊天消息中显示可定制的物品图标(实验性功能)
关于聊天物品图标(实验性功能)
在聊天消息中为分享物品显示图标。
为何需要资源包? 作为服务端模组,我们利用 Minecraft 的自定义字体系统来渲染图标。
设置步骤:
- 在 IconifyCraft 生成资源包
- 将资源包托管到 Web 服务器
- 在
config/showcase/config.yml中启用:itemIcons.enabled = true - 添加到
server.properties:resource-pack=<your-hosted-pack-url> resource-pack-sha1=<pack-sha1-hash> require-resource-pack=true
配置选项:
itemIcons:
enabled: false # 启用/禁用图标
fontNamespace: "iconifycraft" # 资源包命名空间
includeInItemNames: true # 在物品名称中显示图标
⚠️警告:此为实验性功能。目前对方块(包括箱子和大箱子)的显示支持尚不完整。
⌨️ 命令
? 查看详细命令参考,包含示例和权限说明
玩家命令
/showcase <type> [player] [duration] [description]
类型:item、inventory、hotbar、enderchest、container、merchant、stats
持续时间格式:30s、5m、1h、1h30m 或直接秒数(例如 300)
其他命令:
/showcase cancel <id>- 取消你的分享/showcase-view <id>- 查看分享的内容
管理员命令
/admin-showcase <type> <player> [receiver] [duration] [description]
/showcase-manage <action> [args]
操作:reload、list [page]、cancel <id|player>
聊天关键词
玩家可以在聊天中输入方括号内的关键词来快速分享内容:
默认关键词(可在 config.yml 中配置):
[item]或[i]- 分享手中物品[inventory]或[inv]- 分享背包[hotbar]或[hb]- 分享快捷栏[ender_chest]或[ec]- 分享末影箱[stats]或[stat]- 分享统计数据
示例:Check out my [item]! → 自动替换为可点击的分享链接
? 开发者 API
? 完整 API 文档 - 集成指南和示例
PlaceholdersAPI 集成
基础分享:
%showcase:item% - 分享手中物品
%showcase:inventory% - 分享背包
%showcase:hotbar% - 分享快捷栏
%showcase:ender_chest% - 分享末影箱
%showcase:stats% - 分享统计数据
常用统计数据:
%showcase:shares_count% - 活跃分享数量
%showcase:total_views% - 总浏览次数
%showcase:can_share_item% - 权限检查 (true/false)
%showcase:has_admin_perms% - 管理员检查 (true/false)
? 查看所有占位符
⚙️ 配置
⚙️ 配置参考 - 完整设置指南
主配置文件:config/showcase/config.yml(YAML 格式)
关键设置:
- 分享冷却时间和权限
- 聊天关键词和触发器
- 统计数据追踪选项
- 性能优化
- 多语言支持
? 文档与资源
- 完整文档 - 完整的功能文档
- 入门指南 - 安装与设置指南
- 命令参考 - 所有命令及示例
- 配置指南 - 设置与自定义
- 开发者 API - PlaceholderAPI 集成
- 常见问题与故障排除 - 常见问题及解决方案
? 许可证
MIT
Showcase Mod
The current description is for V2. For V1, please click here.
A server-side Minecraft mod that allows players to share links in chat to showcase items, inventories, containers, villager trades, and statistics through commands or chat keywords.
✨ Features
- Comprehensive Sharing: Items, inventories, containers, and villager trades
- Server-Side: No client installation required
- Interactive Previews: Auto-unpack containers, view books and maps
- Multi-Language: Support for 17+ languages
- Persistent Storage: Shares saved until expiration
- Permission System: LuckPerms integration
- Configurable Chat Keywords: Customizable trigger words for quick sharing
- Statistics Tracking: Player statistics with detailed categorization
- Developer Placeholders: PlaceholderAPI integration for other plugins
- Chat Item Icons: Customizable item icons in chat messages (Experimental)
About Chat Item Icons (Experimental)
Displays item icons in chat messages for shared items.
Why Resource Pack? As a server-side mod, we use Minecraft's custom font system to render icons.
Setup:
- Generate resource pack at IconifyCraft
- Host the pack on a web server
- Enable in
config/showcase/config.yml:itemIcons.enabled = true - Add to
server.properties:resource-pack=<your-hosted-pack-url> resource-pack-sha1=<pack-sha1-hash> require-resource-pack=true
Config Options:
itemIcons:
enabled: false # Enable/disable icons
fontNamespace: "iconifycraft" # Resource pack namespace
includeInItemNames: true # Show icons in item names
⚠Warning: Experimental feature. Current support for displaying blocks, including chests and ender chests, is incomplete.
⌨️ Commands
? View detailed command reference with examples and permissions
Player Commands
/showcase <type> [player] [duration] [description]
Types: item, inventory, hotbar, enderchest, container, merchant, stats
Duration formats: 30s, 5m, 1h, 1h30m or raw seconds (e.g. 300)
Other Commands:
/showcase cancel <id>- Cancel your share/showcase-view <id>- View shared content
Admin Commands
/admin-showcase <type> <player> [receiver] [duration] [description]
/showcase-manage <action> [args]
Actions: reload, list [page], cancel <id|player>
Chat Keywords
Players can type keywords in square brackets to quickly share content:
Default Keywords (configurable in config.yml):
[item]or[i]- Share held item[inventory]or[inv]- Share inventory[hotbar]or[hb]- Share hotbar[ender_chest]or[ec]- Share ender chest[stats]or[stat]- Share statistics
Example: Check out my [item]! → automatically replaced with clickable share link
? Developer API
? Full API Documentation - Integration guides and examples
PlaceholdersAPI Integration
Basic Sharing:
%showcase:item% - Share held item
%showcase:inventory% - Share inventory
%showcase:hotbar% - Share hotbar
%showcase:ender_chest% - Share ender chest
%showcase:stats% - Share statistics
Essential Statistics:
%showcase:shares_count% - Number of active shares
%showcase:total_views% - Total views received
%showcase:can_share_item% - Permission check (true/false)
%showcase:has_admin_perms% - Admin check (true/false)
⚙️ Configuration
⚙️ Configuration Reference - Complete settings guide
Main configuration file: config/showcase/config.yml (YAML format)
Key Settings:
- Share cooldowns and permissions
- Chat keywords and triggers
- Statistics tracking options
- Performance optimization
- Multi-language support
? View example config | ? Permission setup
? Documentation & Resources
- Complete Documentation - Full feature documentation
- Getting Started - Installation and setup guide
- Command Reference - All commands with examples
- Configuration Guide - Settings and customization
- Developer API - PlaceholderAPI integration
- FAQ & Troubleshooting - Common issues and solutions
? License
MIT
下载 Showcase
下载 Showcase
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Showcase
下载 Showcase
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Showcase
下载 Showcase
下载 Showcase
下载 Showcase
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Showcase
下载 Showcase
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
查看物品与配方
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
添加区块认领和玩家组队功能,并与 Xaero's Minimap 和 World Map 集成
模组
添加全屏世界地图,显示你在世界中已探索的区域。与 Xaero's Minimap 搭配使用效果极佳。
评论 0
登录后参与评分
还没有评论,来抢沙发吧