SrnkSMP
一款轻量级、多功能的 SMP 服务器插件。
SrnkSMP 将团队、联盟、传送请求、私聊和多语言聊天等核心功能整合进一个兼容 Folia 的插件中。
功能特性
- 团队 (Teams) — 创建带有颜色标识的团队,支持自定义消息、邀请/离开/转让队长权限,以及切换队内 PvP。
- 联盟 (Alliances) — 在团队间建立双边联盟,支持 PvP 控制、基于冷却时间的解散机制以及专用的联盟聊天频道。
- 传送请求 (Teleport Requests) —
/tpa 和 /tpahere,支持配置传送所需的物品消耗(默认为下界合金锭)。
- 私聊 (Private Messaging) —
/msg、/r 和 /rtoggle,提供一对一聊天及自动回复模式。
- 分频聊天 (Channeled Chat) — 可在普通聊天、团队聊天和联盟聊天频道之间切换。
- 名称标签 (Name Tags) — 通过记分板库实现团队颜色的名称标签(兼容 Folia)。
- 多语言支持 (Multilingual) — 内置英文和日文。玩家可使用
/srnksmp lang 选择语言,或系统会自动从客户端区域设置进行检测。
- 自动旁观模式 (Auto-Spec) — 可选的管理员模式,可将死亡玩家自动切换至旁观者模式。
兼容性
| 项目 |
支持情况 |
| 服务端平台 |
Paper, Spigot, Folia |
| Minecraft 版本 |
1.21 - 26.1+ |
| Java 版本 |
1.21.x 服务端需 Java 21;26.1+ 服务端需 Java 25 |
该插件基于 1.21 API 构建,并通过向后兼容性支持更高版本。
依赖项
- ProtocolLib — 可选但推荐。用于处理实体元数据包(团队高亮功能)。
- 对于 1.21.0 – 1.21.8:使用 ProtocolLib 5.4.0 (stable) 即可。
- 对于 1.21.9, 1.21.10, 1.21.11 以及 26.1+:请安装 ProtocolLib dev-build。
命令列表
| 命令 |
别名 |
描述 |
/team <sub> |
/t |
管理团队(添加、邀请、接受、移除、离开、删除、队长、状态、列表、消息、聊天、颜色、管理员) |
/ally <sub> |
— |
管理联盟(添加、接受、拒绝、移除、状态、pvp、聊天) |
/msg <player> <msg> |
/m, /tell, /whisper, /w |
发送私聊消息 |
/r <msg> |
/reply |
回复最后一条消息的发件人 |
/rtoggle |
/rt |
切换自动回复模式 |
/teammsg |
/tc |
切换团队聊天频道 |
/allychat |
/ac, /nc |
切换联盟聊天频道 |
/tpa <player> |
— |
请求传送到某位玩家处 |
/tpahere <player> |
— |
请求某位玩家传送到你这里 |
/tpaccept / /tpdeny |
— |
接受或拒绝传送请求 |
/tpaset [material] |
— |
配置 TPA 传送所需的消耗物品 |
/srnksmp <sub> |
/smp |
插件管理(重载、备份、语言、自动旁观、状态) |
权限节点
| 节点 |
默认权限 |
允许操作 |
srnksmp.admin |
op |
所有 /srnksmp 管理命令 |
srnksmp.team.admin |
op |
/srnksmp admin 团队管理 |
srnksmp.autospec |
op |
切换自动旁观模式 |
srnksmp.tpaset |
op |
更改 TPA 传送消耗的物品 |
非管理员命令(如 /team、/tpa、/smp lang 等)默认对所有玩家开放。
安装步骤
- 下载最新的
.jar 文件并将其放入服务器的 plugins/ 文件夹中。
- (可选)安装 ProtocolLib —— 参见上方的版本说明。
- 启动服务器一次。配置文件将在
plugins/SrnkSMP/ 目录下生成。
- 根据需要编辑
config.yml 和 messages_*.yml,然后运行 /srnksmp reload。
配置说明
config.yml — 通用设置(TPA 物品、联盟冷却时间、语言默认值等)。
messages_en.yml / messages_ja.yml — 按语言分类的消息字符串。
你可以添加自己的条目以进行更深入的本地化。
许可证与致谢
作者: siiart
SrnkSMP 遵循 GPL-3.0(或任何后续版本)许可证。
如需报告问题或贡献代码,请使用项目仓库。
SrnkSMP
A lightweight, multi-feature plugin for SMP servers.
SrnkSMP bundles the essentials — teams, alliances, teleport requests, private messages, and multilingual chat — into a single Folia-compatible plugin.
Features
- Teams — Create teams with colors, custom messages, invite/leave/transfer
leadership, and internal team PvP toggles.
- Alliances — Form bilateral alliances between teams, with PvP control, cooldown-based termination, and dedicated alliance chat.
- Teleport Requests —
/tpa and /tpahere with item-cost configuration (Netherite Ingot by default).
- Private Messaging —
/msg, /r, and /rtoggle for one-on-one chat with auto-reply mode.
- Channeled Chat — Toggle between normal, team, and alliance channels.
- Name Tags — Team-colored name tags via scoreboard library (works on Folia).
- Multilingual — Built-in English and Japanese. Players can pick their language with
/srnksmp lang, or it auto-detects from client locale.
- Auto-Spec — Optional admin mode that switch killed players to spectator mode.
Compatibility
| Item |
Supported |
| Server platforms |
Paper, Spigot, Folia |
| Minecraft versions |
1.21 - 26.1+ |
| Java |
21 for 1.21.x servers, 25 required for 26.1+ |
The plugin is built against the 1.21 API and relies on backward
compatibility for newer releases.
Dependencies
- ProtocolLib — Optional but recommended. Used for entity-metadata packet handling (team light feature).
- For 1.21.0 – 1.21.8: ProtocolLib 5.4.0 (stable) works.
- For 1.21.9, 1.21.10, 1.21.11, and 26.1+: install the ProtocolLib
dev-build.
Commands
| Command |
Aliases |
Description |
/team <sub> |
/t |
Manage teams (add, invite, accept, remove, leave, delete, leader, status, list, message, chat, color, admin) |
/ally <sub> |
— |
Manage alliances (add, accept, deny, remove, status, pvp, chat) |
/msg <player> <msg> |
/m, /tell, /whisper, /w |
Send a private message |
/r <msg> |
/reply |
Reply to the last sender |
/rtoggle |
/rt |
Toggle auto-reply mode |
/teammsg |
/tc |
Toggle team chat channel |
/allychat |
/ac, /nc |
Toggle alliance chat channel |
/tpa <player> |
— |
Request to teleport to a player |
/tpahere <player> |
— |
Request a player to teleport to you |
/tpaccept / /tpdeny |
— |
Accept or deny a teleport request |
/tpaset [material] |
— |
Configure the consumed item for TPA |
/srnksmp <sub> |
/smp |
Plugin management (reload, backup, lang, autospec, status) |
Permissions
| Node |
Default |
Allows |
srnksmp.admin |
op |
All /srnksmp admin commands |
srnksmp.team.admin |
op |
/srnksmp admin team management |
srnksmp.autospec |
op |
Toggle auto-spec mode |
srnksmp.tpaset |
op |
Change the TPA consumed item |
Non-admin commands (/team, /tpa, /smp lang, etc.) are available to all players by default.
Installation
- Download the latest
.jar and drop it into your server's plugins/ folder.
- (Optional) Install ProtocolLib — see the version notes above.
- Start the server once. Configuration files are generated under
plugins/SrnkSMP/.
- Edit
config.yml and messages_*.yml to taste, then run
/srnksmp reload.
Configuration
config.yml — General settings (TPA item, alliance cooldowns, language defaults, etc.).
messages_en.yml / messages_ja.yml — Per-language message strings.
Add your own entries to localize further.
License & Credits
Author: siiart
SrnkSMP is licensed under the GPL-3.0 (or any later version).
For issue reports and contributions, please use the project repository.
评论 0
登录后参与评分
还没有评论,来抢沙发吧