GeyserPackSync
一个 Velocity/BungeeCord 插件,利用 Geyser 的 API 实现针对每个服务器的资源包。
示例: 大厅服务器使用大厅专属资源包,小游戏服务器使用小游戏专属资源包,以此类推。
当前限制
- 在使用强制主机(forced hosts)时,或者当玩家重新登录到一个非默认服务器的过程中,该插件无法完全正常工作。可以通过启用踢出选项来解决,也可以不解决。 未来会修复此问题;不过相应的变通方案会稍微复杂一些。
安装方法
- 从 Modrinth 页面的 Releases 标签页下载最新版本
- 将插件放入你的 Velocity/BungeeCord 插件文件夹中
- 重启代理服务器
- 配置文件,特别是 ip/port 和服务器设置。有关更多信息,请参阅配置文件!
- 运行
/reloadpacks以重新加载配置,或重启代理服务器。 - 将与目标服务器名称相同的 Bedrock 版资源包放入对应文件夹中。
- 重启代理服务器,或运行
/reloadpacks以重新加载配置。
命令
- /reloadpacks - 重新加载配置文件和资源包。需要
geyserpacksync.reload权限。 - /packsyncreload - /reloadpacks 的别名;权限要求相同。
如需帮助:
免责声明:虽然本项目专为与 Geyser 配合使用而设计(实际上依赖 Geyser),但它并非官方项目——如需帮助,请在 GitHub 上提交 issue 或在链接的 Discord 中提问。
工作原理
Bedrock 版的情况比较特殊。它只允许在登录到服务器之前发送一次资源包。 我们也无法动态地禁用/启用资源包。
为了解决这个问题,本插件会在玩家登录时发送默认资源包,然后在切换服务器时发送特定于服务器的资源包。 这意味着玩家需要登出并重新登录才能获取新的资源包——这通过传输数据包自动完成。
GeyserPackSync
A Velocity/BungeeCord plugin that utilizes Geyser's API to allow for per-server resource packs.
Example: Lobby server with lobby resource pack, minigame server with minigame specific resource pack, etc.
Current limitations
- Does not fully work with forced hosts, or when the player that's logging back in to a server which is not the default server. Can be worked around with the kick option - or not. Will fix in the future; the workaround would be a bit complex though.
Installation
- Download the latest release from the modrinth page/releases tab
- Place the plugin in your Velocity/BungeeCord plugins folder
- Restart your proxy
- Configure the config file, specifically ip/port, and the servers. See the config file for more info!
- Run
/reloadpacksto reload the config, or restart the proxy. - Put the Bedrock edition resource packs in the folder with the name of the server they should be used on.
- Restart the proxy, or run
/reloadpacksto reload the config.
Commands
- /reloadpacks - Reloads the config file and packs. Requires the
geyserpacksync.reloadpermission. - /packsyncreload - Alias for /reloadpacks; same permission.
For help with this project:
DISCLAIMER: While this project is made to work with Geyser (literally requires geyser), it is not an official one - for help, ask in issues on GitHub or on the linked discord.
How does it work?
Bedrock edition is... weird. It only allows resource packs to be sent once - before actually logging in to a server. We also cannot disable/enable resource packs on the fly.
To work around this, this plugin sends the default resource pack(s) on login, and then sends the server specific resource pack(s) on server switch. This means that the player will have to log out and back in to get the new resource pack(s) - which is done automatically with a transfer packet.
下载 GeyserPackSync
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 GeyserPackSync
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 GeyserPackSync
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 GeyserPackSync
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 GeyserPackSync
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 GeyserPackSync
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 GeyserPackSync
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 GeyserPackSync
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 GeyserPackSync
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 GeyserPackSync
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
2.0 版本修复:捕获因意外断开连接而引发的 NullPointerException
2.0 更新日志: 本次发布旨在修复所有异常问题,解决基岩版玩家有时无法被正确识别的情况。 此外,此次更新包含大量内部改动,以确保 BungeeCord 和 Velocity 版本的行为保持一致。
如有任何问题,请在 GitHub 页面 上报告。 如有其他疑问,请加入 Discord 服务器寻求帮助:
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
插件
ExyliaPlugins 的库。
插件
通过对话框或铁砧界面帮助你的 Anthme
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
插件
用于绘制游戏内地图或在浏览器中随探索实时进行地图绘制的实时地图。
评论 0
登录后参与评分
还没有评论,来抢沙发吧