velocity-hub 插件为 Velocity 网络添加了 /hub 命令,以便在存在枢纽服务器(Hub Server)或类似服务器时轻松返回。只需将其安装到 Velocity 服务器,即可在所有已连接的服务器上运行 /hub 和 /lobby 命令!
/hub 命令将在整个 Velocity 网络中生效。无需将插件添加到 Paper 服务器或其他连接到 Velocity 的服务器中。
由于该插件仅添加至代理服务器,因此游戏版本支持 Velocity 4.1.0-SNAPSHOT 所支持的所有版本。必须指定并已指定游戏版本,详情请参阅 PaperMC 网站。
安装方法
- 下载插件的最新发布版本
- 将
velocity-hub-x.x-SNAPSHOT.jar 放入 Velocity 的 /plugins 目录
安装完成!
从 1.10-SNAPSHOT 版本开始,必须安装 Java 25 或更高版本。
下载地址↓
上述列出的站点均由开发者管理。
配置参考
- hubServerName
指定目标服务器。这是 velocity.toml 中 servers 列表里显示的服务器名称。(通常,hubServerName 与 try=[] 括号内列出的服务器名称相同。)
消息自定义
我们支持日语、俄语等多种语言。如果您发现不支持的语言,请通过 GitHub Issue 告知我们!
支持 MiniMessage。如果您编写 <red>hub,它将显示为红色。详情请见 此处。
您可以在以下网站测试显示效果:
| 键 |
类型 |
描述 |
| transferMessage |
String |
设置玩家使用命令进行转移时发送的消息。 |
| alreadyConnectedMessage |
String |
如果使用该命令的玩家已在指定为转发目标的服务器上,则设置此消息。 |
| serverNotAvailableMessage |
String |
当指定的服务器不可用时设置此消息。 |
问题与反馈
如果插件无法正常工作,请尝试删除 config.json。
问题和功能请求请参阅 此处。
The velocity-hub plugin adds the /hub command to the velocity network for easy return if a hub server or similar is present.Simply add it to the velocity server and the /hub and /lobby command will run on all connected servers!
The /hubcommand is added across the entire Velocity network. There is no need to add the plugin to Paper servers or other server connected to Velocity.
The game version is for all versions supported by Velocity 4.1.0-SNAPSHOT as it is added to the proxy server only. The game version must be specified and is specified, but see the PaperMC website for details.
Installation
- Download the latest release of the plugin
- Put velocity-hub-x.x-SNAPSHOT.jar in /plugins directory of velocity
This completes the process!
Starting with version 1.10-SNAPSHOT, Java 25 or later must be installed.
Download here↓
The sites listed above are projects managed by the developer.
Config reference
- hubServerName
Specify the destination server. This is the server name listed in servers in velocity.toml. (Usually, the hubServerName is the same as the server name listed in the try=[] brackets.)
Message custom
We support Japanese, Russian, and other languages. If there are any languages that we do not support, please let us know via GitHub issue!
MiniMessage is supported. If you write like <red>hub
, it will be displayed in red. See here for details.
You can test the display at the following sites.
| key |
Type |
Description |
| transferMessage |
String |
Sets the message to be sent to the player who used the command during the transfer. |
| alreadyConnectedMessage |
String |
Sets the message if the player using the command is on the server designated as the forwarding destination. |
| serverNotAvailableMessage |
String |
Sets the message when the specified server is unavailable. |
Issue and question
If the plugin does not work properly, try deleting config.json.
Problems and questions feature request here.
评论 0
登录后参与评分
还没有评论,来抢沙发吧