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↓
- modrinth(Recommended)
- Github
- Hangar
- CurseForge
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.
下载 velocity-hub-command
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 velocity-hub-command
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 velocity-hub-command
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 velocity-hub-command
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 velocity-hub-command
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 velocity-hub-command
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 velocity-hub-command
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 velocity-hub-command
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 velocity-hub-command
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 velocity-hub-command
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
将 Velocity API 更新至 4.3.0,并将版本提升至 1.11-SNAPSHOT
修复大厅传输错误处理并增强配置加载逻辑
- 使用 connect() 的结果报告失败的传输,而非 fireAndForget()
- 自动添加缺失的配置键,并在配置损坏时回退到默认值
- 对 config.json 使用 @datadirectory 和 UTF-8 编码;保持 MiniMessage 标签不被转义
- 使仅控制台消息可配置(playerOnlyMessage)
- 在更新检查器中按数值比较版本,并从插件描述中读取版本号
- 将发布工作流更新为 Gradle 和 JDK 25
支持 Velocity 4.1.0-SNAPSHOT
需要 Java 25 或更高版本。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
插件
ExyliaPlugins 的库。
插件
通过对话框或铁砧界面帮助你的 Anthme
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
插件
用于绘制游戏内地图或在浏览器中随探索实时进行地图绘制的实时地图。
评论 0
登录后参与评分
还没有评论,来抢沙发吧