Simple Server Transfer 是一款适用于 Paper 和 Spigot 的插件,它利用 Minecraft 1.20.5 引入的原版 Transfer 数据包,在玩家加入的瞬间将其重定向至配置好的服务器。无需 BungeeCord、Velocity 或任何代理软件。
? 工作原理
当玩家连接时,插件会在可配置的延迟(以刻为单位)后安排转移,并触发原版 Transfer 数据包将玩家发送到你配置的目的地。目标服务器会收到一个正常的原版转移请求并原生处理——除了 paper-global.yml 中设置 accepts-transfers: true 外,该端无需任何特殊软件。
✨ 功能特性
转移 (Transfer)
- 使用原版 Transfer 数据包——两端均无需代理软件
- 可配置从加入到转移之间的延迟时间(以刻为单位)
- 通过 Geyser + Floodgate 为 Bedrock 玩家提供独立的转移目标
服务器展示 (Server Presentation)
- 在服务器列表中隐藏在线人数和最大人数(仅限 Paper)
- 抑制加入和离开时的广播消息
世界控制 (World Control)
玩家限制 (Player Restrictions)
- 阻止玩家在等待转移期间使用聊天
- 阻止玩家在等待转移期间使用命令(管理员豁免)
服务器限流器 (Server Limiter) ⚙️
一种可选模式,专为仅作为转移中继的服务器设计。启用后会抑制生物生成、实体伤害、饥饿消耗、方块破坏与放置、方块与实体交互、物品掉落以及世界自动保存——从而将服务器负载降低至接受连接并触发转移所需的绝对最小值。
? 要求
- Java 21(Paper 26.1.x 版本需 Java 25)
- 目标服务器的
paper-global.yml 中必须设置 accepts-transfers: true
- 仅在配置中启用了 Bedrock 支持时才需要 Geyser 和 Floodgate
⚙️ 配置
所有设置均通过 config.yml 进行控制,该文件在首次运行时生成,并带有完整的内联注释说明。proxy-mode 选项充当总开关——当设置为 false 时,插件将完全不起作用。
任何配置更改都需要重启服务器才能生效。不支持 /reload 命令,其无法正常工作。
? 开源
Simple Server Transfer 完全开源。源代码(包括普通 jar 和阴影 jar)可在 GitHub 获取。
Simple Server Transfer is a Paper and Spigot plugin that redirects players to a configured server the moment they join, using the vanilla Transfer packet introduced in Minecraft 1.20.5. No BungeeCord, no Velocity, no proxy software required.
? How It Works
When a player connects, the plugin schedules a transfer after a configurable tick delay and fires the vanilla Transfer packet to send them to your configured destination. The destination server receives a normal vanilla transfer and handles it natively — no special software needed on that end beyond accepts-transfers: true in paper-global.yml.
✨ Features
Transfer
- Vanilla Transfer packet — no proxy software required on either end
- Configurable delay between join and transfer (in ticks)
- Separate transfer target for Bedrock players via Geyser + Floodgate
Server Presentation
- Hide online and max player count in the server list (Paper only)
- Suppress join and quit broadcast messages
World Control
- Lock the day/night cycle
- Lock weather
Player Restrictions
- Block chat while players wait to be transferred
- Block commands while players wait (ops are exempt)
Server Limiter ⚙️
An optional mode designed for servers that exist solely as a transfer relay. When enabled it suppresses mob spawning, entity damage, hunger drain, block breaking and placing, block and entity interaction, item dropping, and world auto-saving — reducing server load to the absolute minimum needed to accept a connection and fire the transfer.
? Requirements
- Java 21 (Java 25 for the Paper 26.1.x release)
accepts-transfers: true must be set in paper-global.yml on the destination server
- Geyser and Floodgate are only required if Bedrock support is enabled in the config
⚙️ Configuration
Everything is controlled through config.yml, which is generated on first run and fully documented with inline comments. The proxy-mode option acts as a master switch — when set to false the plugin does absolutely nothing.
A full server restart is required for any config changes to take effect. /reload is not supported and will not work correctly.
? Open Source
Simple Server Transfer is fully open source. The source code, including both the normal and shaded jar, is available on GitHub.
评论 0
登录后参与评分
还没有评论,来抢沙发吧