警告: 本项目仅适用于我的私人服务器;如果你碰巧找不到合适的版本,可能需要自行编译。毕竟这只是一个简单的项目。
警告: 如果你下载的是 1.1.1 及以下版本,请添加 Adventure Platform,否则服务器将会崩溃!
? T1sWelcomer
T1sWelcomer 是一款功能强大但轻量级的 Fabric 1.21+ 服务端模组,旨在让服务器管理员完全掌控玩家加入和离开时的通知。抛弃无聊的原版黄色文本,为你的社区营造专业、充满活力的氛围!
✨ 主要特性
- 首次加入与回归加入消息区分: 为新玩家提供温暖独特的欢迎语,同时保持老玩家回归消息的简洁。
- 自定义加入/离开消息: 摆脱无聊的原版加入/离开提示。此外,本模组与 LuckPerms 配合极佳,支持自定义角色!
- MiniMessage 支持: 充分利用 Kyori MiniMessage 的强大功能。使用
<rainbow>、<gradient>、<bold> 等标签,或简单的颜色如 <red>,无需处理繁琐的颜色代码。
- LuckPerms 集成: 自动获取并显示玩家的 前缀 (Prefixes) 和 后缀 (Suffixes)。完美兼容你现有的权限等级系统。
- 智能“等待落地”逻辑: 防止在玩家加载完成前发送消息,确保他们真正“脚踏实地”时能看到欢迎文本。
- 音效: 加入时可播放经验升级音效以吸引玩家注意。
- 零客户端要求: 玩家无需安装此模组即可看到精美的消息!
?️ 命令与权限
| 命令 |
描述 |
权限 |
/t1swelcomer reload |
即时重载配置文件。 |
t1swelcomer.command.reload |
注意:如果未安装 LuckPerms,该命令默认需要 OP 等级 2。
? 配置
配置文件位于 config/t1swelcomer.json。
可用占位符:
<player>: 玩家的显示名称。
<prefix>: 玩家的 LuckPerms 前缀。
<suffix>: 玩家的 LuckPerms 后缀。
? 示例配置文件 (config/t1swelcomer.json)
以下是包含 MiniMessage 格式的配置文件的示例:
{
"enableJoinQuitMessages": true,
"delayTicks": 40,
"waitForGround": true,
"playXpSound": true,
"globalJoinMessage": "<prefix><white><player></white><suffix> <yellow>joined the server.</yellow>",
"globalQuitMessage": "<prefix><white><player></white><suffix> <gray>left the server.</gray>",
"firstJoinMessage": [
"<yellow>==========================================</yellow>",
"<gold><bold>WELCOME <player> TO THE SERVER!</bold></gold>",
"<yellow>==========================================</yellow>"
],
"returnJoinMessage": [
"<aqua>Welcome back, <player>!</aqua>"
]
}
? 安装
- 将
.jar 文件放入服务器的 mods 文件夹中。
- 确保已安装 Fabric API(如果你下载的是 T1SWELCOMER 1.1.1 及以下版本,请添加 ADVENTURE PLATFORM,否则服务器将会崩溃 ..)
- (可选)安装 LuckPerms 以启用前缀/后缀支持..
- 重启服务器,并在生成的配置文件中自定义消息!
? 许可证
本项目采用 MIT License 许可。欢迎在任何整合包中使用!
Warning: This project is built only for my private server; if you happen not to find the right version, you might want to compile it yourself. After all this is just a simple project.
Warning: IF YOU ARE DOWNLOADING VERSION 1.1.1 AND BENEATH PLEASE ADD ADVENTURE PLATFORM OR ELSE SERVER WILL CRASH!
? T1sWelcomer
T1sWelcomer is a powerful yet lightweight server-side mod for Fabric 1.21+ designed to give server owners full control over player join and leave notifications. Ditch the boring yellow vanilla text and create a professional, vibrant atmosphere for your community!
✨ Key Features
- First-Time vs. Returning Join Messages: Give your new players a warm, unique welcome while keeping regular return messages concise.
- Custom join-quit messages: Get rid of boring vanilla join/quit message. Futhermore, this mod work great with LuckPerms for custom roles!
- MiniMessage Support: Leverage the full power of Kyori MiniMessage. Use tags like
<rainbow>, <gradient>, <bold>, or simple colors like <red> without messy color codes.
- LuckPerms Integration: Automatically fetches and displays player Prefixes and Suffixes. Perfectly compatible with your existing rank system.
- Smart "Wait for Ground" Logic: Prevents messages from sending before a player has finished loading, ensuring they actually see the welcome text when they "touch grass."
- Sound Effects: Optional XP-level-up sound upon joining to grab the player's attention.
- Zero Client-Side Requirement: Players don't need to install this mod to see the beautiful messages!
?️ Commands & Permissions
| Command |
Description |
Permission |
/t1swelcomer reload |
Reloads the configuration file instantly. |
t1swelcomer.command.reload |
Note: If LuckPerms is not installed, the command defaults to OP Level 2.
? Configuration
The config file is located at config/t1swelcomer.json.
Available Placeholders:
<player>: The player's display name.
<prefix>: The player's LuckPerms prefix.
<suffix>: The player's LuckPerms suffix.
? Sample Configuration (config/t1swelcomer.json)
Here is an example of how your configuration file will look with MiniMessage formatting:
{
"enableJoinQuitMessages": true,
"delayTicks": 40,
"waitForGround": true,
"playXpSound": true,
"globalJoinMessage": "<prefix><white><player></white><suffix> <yellow>joined the server.</yellow>",
"globalQuitMessage": "<prefix><white><player></white><suffix> <gray>left the server.</gray>",
"firstJoinMessage": [
"<yellow>==========================================</yellow>",
"<gold><bold>WELCOME <player> TO THE SERVER!</bold></gold>",
"<yellow>==========================================</yellow>"
],
"returnJoinMessage": [
"<aqua>Welcome back, <player>!</aqua>"
]
}
? Installation
- Drop the
.jar file into your server's mods folder.
- Ensure you have Fabric API installed (IF YOU ARE DOWNLOADING T1SWELCOMER VERSION 1.1.1 AND BENEATH PLEASE ADD ADVENTURE PLATFORM OR ELSE SERVER WILL CRASH ..)
- (Optional) Install LuckPerms to enable prefix/suffix support..
- Restart the server and customize the messages in the generated config file!
? License
This project is licensed under the MIT License. Feel free to use it in any modpack!
评论 0
登录后参与评分
还没有评论,来抢沙发吧