MC-TRANSFER-X
厌倦了为了在服务器之间转移玩家而设置复杂的代理(如 BungeeCord)? MC-TRANSFER-X 是一款现代、轻量且独立的插件,允许你通过简单自定义的命令无缝地在服务器间转移玩家。它是想要无需网络代理开销即可实现直接传输系统的服务器管理员的完美“即插即用”解决方案。
✨ 特性
- 无需代理: 利用 Spigot/Paper 最新版本(1.20.6+)内置的现代
player.transfer() API。告别用于简单服务器间传输的 BungeeCord!
- 动态命令: 直接从简单的配置文件中创建任意数量的自定义转移命令。如果你想要一个
/survival 命令,你可以创建它;如果你想要 /event,也可以创建!
- 健壮的服务端检查: 在转移玩家之前,插件会立即 ping 目标服务器以确保其在线。这可以防止玩家将玩家踢入错误屏幕,并在服务器宕机时提供清晰的反馈。
- 动态权限: 你创建的每个转移命令都会自动拥有自己的权限节点(
mctransferx.<command>),让你完全控制哪些玩家组可以访问哪些服务器。
- 易于使用: 干净直观的配置让设置变得轻而易举。
? 要求
- 运行 Spigot、Paper 或兼容分支 的 Minecraft 服务器,且支持
player.transfer API。
- 推荐 Minecraft 版本:1.20.6 或更高。
? 安装
- 从发布页面下载最新的
MC-TRANSFER-X.jar。
- 将
.jar 文件放入服务器的 plugins 目录中。
- 启动或重启服务器。这将生成
plugins/MC-TRANSFER-X 文件夹和默认的 config.yml。
- 停止服务器并编辑
config.yml 以定义你的服务器命令。
- 再次启动服务器,为玩家分配权限,即可开始使用!
⚙️ 配置
配置文件位于 plugins/MC-TRANSFER-X/config.yml。设置非常直观。在 command 部分下,只需将你希望使用的命令名称映射到你希望它指向的服务器地址即可。
如果未指定端口,插件将自动使用默认 Minecraft 端口(25565)。
示例 config.yml:
# MC-TRANSFER-X Configuration
#
# Define your server transfer commands here.
# The format is: command_name: "server_ip:port"
# If you don't specify a port, the default port (25565) will be used.
command:
survival: "play.yourserver.com"
skyblock: "play.yourserver.com:25566"
creative: "192.168.1.100:25567"
? 命令与权限
该插件设计有简单而强大的权限系统。
| 命令 |
权限 |
描述 |
/trx reload |
mctransferx.reload |
重新加载插件的配置文件。(默认:OP) |
/<command> |
mctransferx.<command> |
将玩家转移到为该命令定义的服务器。 |
权限示例
基于上述示例 config.yml:
- 要使用
/survival 命令,玩家需要权限 mctransferx.survival。
- 要使用
/skyblock 命令,玩家需要权限 mctransferx.skyblock。
- 要使用
/creative 命令,玩家需要权限 mctransferx.creative。
你可以使用任何标准的权限插件(如 LuckPerms)来分配这些权限。
MC-TRANSFER-X | 由 xs7david 创建
MC-TRANSFER-X
Tired of complex proxy setups like BungeeCord just to move players between your servers? MC-TRANSFER-X is a modern, lightweight, and standalone plugin that allows you to transfer players seamlessly between servers with simple, custom commands. It's the perfect "plug-and-play" solution for server owners who want a straightforward transfer system without the overhead of a network proxy.
✨ Features
- No Proxy Needed: Utilizes the modern
player.transfer() API built into recent versions of Spigot/Paper (1.20.6+). Say goodbye to BungeeCord for simple server-to-server transfers!
- Dynamic Commands: Create any number of custom transfer commands directly from a simple configuration file. If you want a
/survival command, you can create it. If you want /event, you can create that too!
- Robust Server Check: Before transferring a player, the plugin instantly pings the destination server to ensure it's online. This prevents players from being kicked into an error screen and provides them with clear feedback if a server is down.
- Dynamic Permissions: Each transfer command you create automatically has its own permission node (
mctransferx.<command>), giving you full control over which player groups can access which servers.
- Easy to Use: A clean and straightforward configuration file makes setup a breeze.
? Requirements
- A Minecraft server running Spigot, Paper, or a compatible fork that supports the
player.transfer API.
- Recommended Minecraft Version: 1.20.6 or newer.
? Installation
- Download the latest version of
MC-TRANSFER-X.jar from the releases page.
- Place the
.jar file into your server's plugins directory.
- Start or restart your server. This will generate the
plugins/MC-TRANSFER-X folder and the default config.yml.
- Stop the server and edit the
config.yml to define your server commands.
- Start the server again, assign the permissions to your players, and you're ready to go!
⚙️ Configuration
The configuration is located in plugins/MC-TRANSFER-X/config.yml. The setup is intuitive. Under the command section, simply map the command name you want to use to the server address you want it to point to.
If you don't specify a port, the plugin will automatically use the default Minecraft port (25565).
Example config.yml:
# MC-TRANSFER-X Configuration
#
# Define your server transfer commands here.
# The format is: command_name: "server_ip:port"
# If you don't specify a port, the default port (25565) will be used.
command:
survival: "play.yourserver.com"
skyblock: "play.yourserver.com:25566"
creative: "192.168.1.100:25567"
? Commands and Permissions
The plugin is designed with a simple and powerful permission system.
| Command |
Permission |
Description |
/trx reload |
mctransferx.reload |
Reloads the plugin's configuration file. (Default: OP) |
/<command> |
mctransferx.<command> |
Transfers the player to the server defined for that command. |
Permission Examples
Based on the example config.yml above:
- To use the
/survival command, a player needs the permission mctransferx.survival.
- To use the
/skyblock command, a player needs the permission mctransferx.skyblock.
- To use the
/creative command, a player needs the permission mctransferx.creative.
You can assign these permissions using any standard permissions plugin, such as LuckPerms.
MC-TRANSFER-X | Created by xs7david
评论 0
登录后参与评分
还没有评论,来抢沙发吧