? TartanMsg 2.0 — 混合式跨服务器私聊插件
TartanMsg 2.0 是一款轻量级、高性能的私聊插件,专为 Minecraft 网络环境和独立服务器打造。基于真正的混合 JAR 架构构建,同一个 .jar 文件即可在 Velocity 代理端以及 Paper / Spigot / Bukkit 服务端开箱即用。
⚡ 主要特性
? 真正的混合 JAR:单个 .jar 文件自动检测运行环境,并在 Velocity 和 Spigot/Paper 上无缝初始化。
? 全网络消息传递:支持 Velocity 代理网络的即时跨服务器消息传递——轻松将全部玩家群体连接至所有子服务器。
? 隐私切换系统:内置玩家隐私控制功能,允许用户通过 /msgenable 和 /msgdisable 命令按需启用或禁用接收私聊消息。
? 多语言支持:专用 /languages/ 文件夹,预装了 en.yml 和 it.yml 消息文件。通过 config.yml 可即时更改全局语言。
? 颜色格式化:完全支持传统颜色代码 (&) 和 Kyori Adventure API——确保在现代版本和旧版中均无颜色错误或格式 Bug。
? 零外部依赖:所有必要的库(SnakeYAML, Adventure)直接打包在 JAR 内部,提供极致的稳定性和零性能影响。
? 命令与权限
| Command (命令) |
Aliases (别名) |
Description (描述) |
Permission (权限) |
/msg <player> <message> |
/tell, /w, /message |
向玩家发送私聊消息 |
tartanmsg.use |
/msgenable |
/msgen |
启用接收私聊消息 |
tartanmsg.use |
/msgdisable |
/msgdis |
禁用接收私聊消息 |
tartanmsg.use |
? 文件结构与配置
首次启动时,TartanMsg 会生成一个整洁的目录结构:
plugins/TartanMsg/
├── config.yml
└── languages/
├── en.yml
└── it.yml
config.yml
# Default language to load on startup (Default: "en")
language: "en"
# List of available language files in the /languages/ folder
languages_available:
- "en"
- "it"
# General plugin settings
settings:
sound_enabled: true
allow_self_msg: false
⚙️ 兼容性与技术规格
- Velocity: 3.3.0 → 4.x
- Paper / Spigot / Bukkit: 1.8 → 1.21+
- Java 要求: Java 17 或更高版本
?️ 快速安装
- 下载
TartanMsg-2.0.jar。
- 将该文件放入 Velocity 代理端或 Paper/Spigot 服务器的
plugins/ 目录中。
- 启动或重启你的服务器。
- 在
plugins/TartanMsg/config.yml 中自定义偏好设置,并在 plugins/TartanMsg/languages/en.yml 中编辑翻译内容。
? TartanMsg 2.0 — Hybrid Cross-Server Private MessagingTartanMsg 2.0 is a lightweight, high-performance private messaging plugin engineered for Minecraft networks and standalone servers. Built on a true Hybrid JAR architecture, the exact same .jar file runs out-of-the-box on your Velocity proxy and your Paper / Spigot / Bukkit servers.⚡ Key Features? True Hybrid JAR: One single .jar file auto-detects its runtime environment and initializes seamlessly on both Velocity and Spigot/Paper.? Network-Wide Messaging: Instant cross-server messaging for Velocity proxy networks—connect your entire player base across all sub-servers effortlessly.? Privacy Toggle System: Built-in player privacy controls allow users to enable or disable incoming private messages on demand using /msgenable and /msgdisable.? Multi-Language Support: Dedicated /languages/ folder featuring pre-loaded en.yml and it.yml message files. Change the global language instantly via config.yml.? Color Formatting: Complete support for legacy color codes (&) and Kyori Adventure API—ensures zero color glitches or formatting bugs on both modern and legacy versions.? Zero External Dependencies: All necessary libraries (SnakeYAML, Adventure) are bundled directly inside the JAR for ultimate stability and zero performance impact.? Commands & PermissionsCommandAliasesDescriptionPermission/msg <player> <message>/tell, /w, /messageSends a private message to a playertartanmsg.use/msgenable/msgenEnables receiving private messagestartanmsg.use/msgdisable/msgdisDisables receiving private messagestartanmsg.use? File Structure & ConfigurationUpon first boot, TartanMsg generates a clean directory setup:Plaintextplugins/TartanMsg/
├── config.yml
└── languages/
├── en.yml
└── it.yml
config.ymlYAML# Default language to load on startup (Default: "en")
language: "en"
List of available language files in the /languages/ folder
languages_available:
General plugin settings
settings:
sound_enabled: true
allow_self_msg: false
⚙️ Compatibility & Technical SpecsVelocity: 3.3.0 → 4.xPaper / Spigot / Bukkit: 1.8 → 1.21+Java Requirement: Java 17 or higher?️ Quick InstallationDownload TartanMsg-2.0.jar.Drop the file into the plugins/ directory of your Velocity proxy or Paper/Spigot server.Start or restart your server.Customize your preferences in plugins/TartanMsg/config.yml and edit translations in plugins/TartanMsg/languages/en.yml.
评论 0
登录后参与评分
还没有评论,来抢沙发吧