表情动作
此模组允许你在聊天中使用服务器定义的表情动作
给用户:
只需在聊天栏输入 : 加上你喜欢的表情符号开头,即可使用它们!
给管理员
没有安装客户端模组的玩家将看到由服务器所有者定义的占位符。
所有表情文件都存储在 <服务器文件夹>/config/emotes/emotes 文件夹中
但它们不会自动加载,你需要将它们添加到配置文件中 <服务器文件夹>/config/emotes/emotes.toml。你会看到一个包含所有表情动作的列表,它们应遵循以下格式:"<png 文件名>:<占位符名称>"
例如,我在 emotes/emotes 文件夹中有一个表情 kappa.png
在我的配置文件中,我会这样写:
emotes = ["kappa:Kappa"]
然后我就能在游戏中使用 :kappa:,而没有安装该模组的玩家会看到 "Kappa"
警告
你不能使用大写命名的表情(这是 Minecraft 的一个限制,涉及我将表情存储在内存中的位置),你必须始终使用全小写的名称。
你的表情必须是正方形,它们可以高分辨率,但必须是正方形!
如果不遵守这一点,客户端在打开聊天时将会崩溃。
TL;DR:
- 不要使用
Kappa.png,只使用 kappa.png
- 配置文件中不要使用
"Kappa:Kappa",只使用 "kappa:Kappa"
- 不要使用 600x400 的图片,只使用 600x600
⚠ 你的表情会被发送到客户端,也就是说他们的电脑上会有你的表情文件,因此请注意不要使用你不希望公开的图片。
Emotes
This mod allows you to use server defined emotes in chat
For Users:
Just type : in chat with the start of your favorite emotes to use them!
For admins
Players that don't have the client mod will see a placeholder defined by the server owner.
Every emotes files are stocked in the folder <server folder>/config/emotes/emotes
But they aren't loaded automaticaly, you need to put them in the config at <server folder>/config/emotes/emotes.toml
You'll have a list of all your emotes, they should follow the following patern : "<name of png file>:<placeholder name>"
For example, I have the emote kappa.png in the emotes/emotes folder
In my config file, I'll have
emotes = ["kappa:Kappa"]
and I'll be able to use it in game as ":kappa:" and players without the mod will see "Kappa"
WARNINGS
You can't put emotes with an uppercase name (it's a minecraft limitation for where I stock the emotes in memory), you'll have to always have a full lowercase name.
Your emotes need to be squares, they can be high resolution but they need to be squares!
If not respected, the clients will crash when opening their chat.
TL;DR:
- no
Kappa.png only kappa.png
- no
"Kappa:Kappa" in config file, only "kappa:Kappa"
- no 600x400 images only 600x600
⚠ Your emotes will be sent to the client aka they will have your emotes files on their computer so be aware of not using images you don't want publicly available.
评论 0
登录后参与评分
还没有评论,来抢沙发吧