我制作这个模组是为了满足我自己的 SMP 服务器的需求,因为我找不到一个能同时显示谁正在直播、谁的自定义名字颜色是什么,以及某人是否开启了“不睡觉”状态的模组。如果你不是服务器管理员或模组开发者,这可能不适合你。
此模组具有一些独立运行的功能,但所有占位符都需要一个次要模组来启用占位符解析。
功能:
开始直播
/live 告诉全世界你正在 YouTube 或 Twitch 上直播!将占位符设置为活动状态(可通过配置文件自定义)。使用 /live link <url> 设置链接,它就会变成可点击的。如果使用特定的 twitch.tv 链接,它会自动获取频道名称;如果你(作为管理员)愿意配置 Twitch API 密钥,那么在 Twitch 上直播时会自动更新玩家的状态,无需命令。如果未配置,仍然可以手动操作。
个人资料、颜色和背景故事
/profile 会显示你期望看到的所有信息:名字、颜色、如果你有安装 Player Pronouns,还会显示代词;如果有安装 LuckPerms,则显示角色;还有直播状态、背景故事和不睡觉状态。离线状态下也能工作。
玩家可以自己设置名字颜色(/color <hex> 或 /color gradient <hex1> <hex2>),并为他们的个人资料编写自由形式的背景故事,支持完整的 MiniMessage 格式。
其他小功能
- 不睡觉开关(你可以说你不想要睡觉),这样人们可以选择退出整个服务器跳过夜晚的情况,因为一个人去睡觉了
- 如果安装了 Simple Voice Chat,会有语音聊天状态图标(需要一个资源包来映射符号,否则看起来可能不太对劲)
- LuckPerms 的角色符号,通过配置文件驱动
- 操作员有一个
/tag命令,可以在某人的名字上固定前缀(图标或角色名称)
在游戏中运行 /features 或查看 GitHub 上的 readme 文件。
设置
需要 Fabric API + Placeholder API,下载与你 Minecraft 版本匹配的 jar 文件,启动一次服务器即可完成。配置文件位于 config/Fanta's Smart Placeholder/config.toml —— 每个消息字段都接受 MiniMessage 标签,因此你可以重新着色或改写任何你想要的内容。
在我的服务器上构建和测试(TSNSMP),所以如果有什么坏了,可能是因为我还没有遇到那个具体的边缘情况——提交一个问题,我会处理它。
I made this for my own SMP because i simply didnt find a mod that could show who's streaming, who has a custom name color, and whether someone's toggled no-sleep. If you arent a server owner/mod this probably isnt for you.
This mod has features that work on their own, but all of the placeholders Require a secondary mod that enables parsing of placeholders.
Features:
Going live
/live tells the world youre live on youtube or twitch! Sets the placeholder to the active status (customizable via config). Set a link with /live link <url> and it becomes clickable. Use twitch.tv link specifically and it grabs the channel name on its own and if you (the admin) bother setting up Twitch API keys, going live on Twitch updates the player's status automatically, no command needed. If you don't set that up, it still works, just manually.
Profiles, colors, lore
/profile shows exactly what you'd expect name, color, pronouns if you've got Player Pronouns installed, role from LuckPerms, live status, lore, no-sleep. Works offline too.
Players can set their own name color (/color <hex> or /color gradient <hex1> <hex2>) and write freeform lore for their profile with full MiniMessage formatting.
The smaller stuff
- No-sleep toggle( you can say that you dont want to sleep) so people can opt out of the whole server skipping the night because one person went to bed
- Voice chat status icons if Simple Voice Chat is around (needs a resource pack that maps the glyphs, it's not going to look right out of the box)
- LuckPerms role symbols, config-driven
- Operators get a
/tagcommand for pinning a prefix(an icon or a role name) on someone's name
Run /features in-game or check out the github readme.
Setup
Fabric API + Placeholder API, drop the jar matching your MC version, start the server once, done. Config lands at config/Fanta's Smart Placeholder/config.toml — every message field takes MiniMessage tags, so re-color/reword anything you want.
Built and tested on my own server (TSNSMP), so if something's broken, it's probably because I haven't hit that exact edge case yet — open an issue and I'll get to it.
下载 Fanta's Smart Placeholders
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Fanta's Smart Placeholders
下载 Fanta's Smart Placeholders
下载 Fanta's Smart Placeholders
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Fanta's Smart Placeholders
下载 Fanta's Smart Placeholders
下载 Fanta's Smart Placeholders
1.8 的 26.x 版本
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
AE2:一款流行的自动化与存储模组
模组
那是什么?一个 Waila/Hwyla 的分支。
评论 0
登录后参与评分
还没有评论,来抢沙发吧