TextCloudF
用于在 Minecraft 中显示聊天消息作为玩家头顶文本气泡的 Fabric 模组。
功能
- 将授权玩家的显示为角色上方的气泡。
- 允许玩家单独启用或禁用自己的气泡。
- 支持使用
&0 到 &f 的 Minecraft 颜色;&x 重置颜色。
- 可配置显示时间、文字高度和打字速度。
- 每当字符出现时播放声音。
- 在服务器上存储授权玩家列表及其偏好设置。
要求
- Minecraft 1.21.4
- Fabric Loader
- Fabric API
在服务器以及所有将使用或接收文本气泡的客户端上安装 Fabric Loader 和 Fabric API。将 TextCloudF 的 .jar 文件放入相应的 mods 文件夹,然后重启游戏或服务器。
命令
| 命令 |
描述 |
权限 |
/bbt add <player> |
授权一名玩家使用文本气泡。该玩家必须在线。 |
Operator, level 2 |
/bbt remove <player> |
移除玩家的授权。 |
Operator, level 2 |
/bbt list |
显示已授权的玩家。 |
Operator, level 2 |
/bbt on |
启用你的文本气泡。 |
已授权玩家 |
/bbt off |
禁用你的文本气泡。你的消息将通过普通聊天发送。 |
已授权玩家 |
/bbt settings |
将设置重置为默认值。 |
Operator, level 2 |
/bbt settings <hold> <textY> <speed> |
更改文本气泡设置。 |
Operator, level 2 |
也可以使用 /bbt <hold> [textY] [speed] 单独更改设置。
设置
| 参数 |
默认值 |
范围 |
描述 |
hold |
100 |
0–1200 |
动画完成后气泡保持可见的时间,以刻(ticks)为单位。20 刻大约等于一秒。 |
textY |
0 |
-100–100 |
气泡内文字的垂直偏移量。 |
speed |
1 |
1–20 |
每刻显示的字符数。 |
示例:/bbt settings 100 0 1 应用默认值。
设置在当前服务器会话期间生效。当服务器重启后,它们将恢复为默认值。
多人游戏行为
当已授权玩家启用了文本气泡时,他们的消息将以气泡形式显示给安装了 TextCloudF 且也已授权并启用了自己气泡的客户端。消息不会发送到普通聊天。未收到气泡的玩家也不会在聊天中看到该消息。
如果玩家未获得授权或使用 /bbt off,他们的消息将通过普通聊天发送。
颜色
在你想要着色的文本片段前放置颜色代码。例如:
&c你好! &a你怎么样?
支持 &0–&f 代码。使用 &x 将颜色重置为默认值。
TextCloudF
Fabric mod for displaying chat messages as text bubbles above players in Minecraft.
Features
- Displays messages from authorized players as bubbles above their characters.
- Allows players to individually enable or disable their bubbles.
- Supports Minecraft colors using
&0 to &f; &x resets the color.
- Configures display time, text height, and typing speed.
- Plays a sound whenever a character appears.
- Stores the list of authorized players and their preferences on the server.
Requirements
- Minecraft 1.21.4
- Fabric Loader
- Fabric API
Install Fabric Loader and Fabric API on the server and on every client that will use or receive the text bubbles. Place the .jar file for TextCloudF in the corresponding mods folder and restart the game or server.
Commands
| Command |
Description |
Permission |
/bbt add <player> |
Authorizes a player to use text bubbles. The player must be online. |
Operator, level 2 |
/bbt remove <player> |
Removes a player's authorization. |
Operator, level 2 |
/bbt list |
Displays the authorized players. |
Operator, level 2 |
/bbt on |
Enables your text bubbles. |
Authorized player |
/bbt off |
Disables your text bubbles. Your messages are sent through normal chat again. |
Authorized player |
/bbt settings |
Resets the settings to their default values. |
Operator, level 2 |
/bbt settings <hold> <textY> <speed> |
Changes the text bubble settings. |
Operator, level 2 |
Settings can also be changed individually using /bbt <hold> [textY] [speed].
Settings
| Parameter |
Default |
Range |
Description |
hold |
100 |
0–1200 |
Time the bubble remains visible after finishing its animation, in ticks. 20 ticks are approximately one second. |
textY |
0 |
-100–100 |
Vertical offset of the text inside the bubble. |
speed |
1 |
1–20 |
Number of characters displayed per tick. |
Example: /bbt settings 100 0 1 applies the default values.
Settings apply during the current server session. When the server is restarted, they return to their default values.
Multiplayer Behavior
When an authorized player has text bubbles enabled, their message is displayed as a bubble to clients that have TextCloudF installed and are also authorized and have their bubbles enabled. The message is not sent to normal chat. Players who do not receive the bubble will not see the message in chat either.
If the player is not authorized or uses /bbt off, their messages are sent through normal chat.
Colors
Place the color code before the text fragment you want to color. For example:
&cHello! &aHow are you?
The codes &0–&f are supported. Use &x to reset the color to the default.
评论 0
登录后参与评分
还没有评论,来抢沙发吧