Resourceloader
一个简洁且灵活的 Minecraft 服务器资源包加载与合并插件。通过 ResourceLoader 加载不同的资源包,并将多个资源包合并为一个!
功能特性
- 使用简单命令加载服务器的默认资源包
- 配置并加载多个附加资源包
- 在插件内部将多个资源包进行合并
- 支持基于 URL 和基于文件的资源包
- 易于使用的命令
- 基于权限的访问控制
- 简单的配置文件
命令
/load- 加载服务器默认资源包/load <packname>- 加载指定的资源包/mergepack <output-file>.zip <pack1> <pack2> [pack3...]- 在插件内部合并现有的资源包/listpacks- 列出所有可用的资源包/resourcereload- 重新加载插件配置/resourceversion- 检查你正在运行的 ResourceLoader 版本
权限
resourceloader.load- 允许使用 /load 命令(默认:true)resourceloader.list- 允许使用 /listpacks 命令(默认:true)resourceloader.reload- 允许重新加载插件配置(默认:op)resourceloader.admin- 允许访问 ResourceLoader 的所有管理命令(默认:op)
配置
# 主服务器资源包
# 可以是 URL 或 packs 文件夹中的文件名
# 对于 URL:"https://example.com/server-pack.zip"
# 对于文件:"server-pack.zip"
server-pack: "server-pack.zip"
# Web 服务器设置
server-port: 40021 # 默认端口,可更改为主机上的任何可用端口
localhost: false # 生产服务器请设为 false,仅在本地测试时设为 true
server-address: "" # 如果为空,将尝试自动检测
fallback-address: "localhost" # 自动检测失败时使用
# 附加资源包
# 可以使用 URL 或 packs 文件夹中的文件
# 对于 URL:"https://example.com/examplepack.zip"
# 对于文件:"example-pack.zip"
resource-packs:
exampleurlpack: "https://example.com/examplepack.zip"
examplefilepack: "example-pack.zip"
安装
- 下载最新版本
- 将 JAR 文件放入服务器的
plugins文件夹中 - 启动/重启服务器
- 在
plugins/Resourceloader/中会创建一个packs文件夹 - 将资源包文件放入
packs文件夹 - 在
config.yml中配置资源包 - 使用
/resourcereload应用更改
基于文件的资源包
要使用基于文件的资源包:
- 将 .zip 资源包文件放入
plugins/Resourceloader/packs/文件夹 - 在 config.yml 中,仅使用文件名(例如 "my-pack.zip")而不是完整的 URL
- 插件将自动在 packs 文件夹中查找该文件
基于 URL 的资源包
对于基于 URL 的资源包:
- 在 config.yml 中使用完整的 URL(例如 ")
- 确保 URL 可以直接下载
- URL 必须指向有效的 Minecraft 资源包 .zip 文件
要求
- Minecraft 1.13 或更高版本
- Spigot/Paper 服务器
支持
如果你遇到任何问题或有建议,请在 Discord 上联系 @vortexunwanted。
Resourceloader
A simple and flexible resource pack loader and merger plugin for Minecraft servers. Load different resource packs and merge multiple packs into one with ResourceLoader!
Features
- Load the server's default resource pack with a simple command
- Configure and load multiple additional resource packs
- Merge multiple resource packs in the plugin itself
- Support for both URL and file-based resource packs
- Easy-to-use commands
- Permission-based access control
- Simple configuration
Commands
/load- Load the default server resource pack/load <packname>- Load a specific resource pack/mergepack <output-file>.zip <pack1> <pack2> [pack3...]- Merge existing resource packs in the plugin itself/listpacks- List all available resource packs/resourcereload- Reload the plugin configuration/resourceversion- Check the version of ResourceLoader you're running
Permissions
resourceloader.load- Allows using the /load command (default: true)resourceloader.list- Allows using the /listpacks command (default: true)resourceloader.reload- Allows reloading the plugin configuration (default: op)resourceloader.admin- Allows access to all the admin commands of ResourceLoader (default: op)
Configuration
# Main server resource pack
# Can be either a URL or a file name in the packs folder
# For URLs: "https://example.com/server-pack.zip"
# For files: "server-pack.zip"
server-pack: "server-pack.zip"
# Web server settings
server-port: 40021 # Default port, can be changed to any open port on your host
localhost: false # Set to false for production servers, true only for local testing
server-address: "" # Will try to auto-detect if empty
fallback-address: "localhost" # Used if auto-detection fails
# Additional resource packs
# Can use either URLs or files from the packs folder
# For URLs: "https://example.com/examplepack.zip"
# For files: "example-pack.zip"
resource-packs:
exampleurlpack: "https://example.com/examplepack.zip"
examplefilepack: "example-pack.zip"
Installation
- Download the latest release
- Place the JAR file in your server's
pluginsfolder - Start/restart your server
- A
packsfolder will be created inplugins/Resourceloader/ - Place your resource pack files in the
packsfolder - Configure the packs in
config.yml - Use
/resourcereloadto apply changes
File-based Resource Packs
To use file-based resource packs:
- Place your .zip resource pack files in the
plugins/Resourceloader/packs/folder - In config.yml, use just the filename (e.g., "my-pack.zip") instead of a full URL
- The plugin will automatically look for the file in the packs folder
URL-based Resource Packs
For URL-based packs:
- Use the complete URL in config.yml (e.g., ")
- Ensure the URL is directly downloadable
- The URL must point to a valid Minecraft resource pack .zip file
Requirements
- Minecraft 1.13 or newer
- Spigot/Paper server
Support
If you encounter any issues or have suggestions, please contact @vortexunwanted on discord.
下载 ResourceLoader
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 ResourceLoader
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 ResourceLoader
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 ResourceLoader
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 ResourceLoader
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 ResourceLoader
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 ResourceLoader
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 ResourceLoader
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 ResourceLoader
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 ResourceLoader
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
Resourceloader 2.5.2
再次支持 Minecraft 1.13 至 26.3
自 2.3 版本起,Resourceloader 拒绝在 1.21 之前的任何版本上加载,且每个版本都需要 Java 17(而大多数 1.13–1.16 服务器并未运行该版本),尽管旧版本仍被列出。2.5.2 版本可在 从 1.13 到 26.3 的所有版本上运行,并使用服务器当前使用的 Java 版本(Java 8 或更高版本)。已在 Paper 1.13.2、1.14.4、1.15.2、1.16.5、1.17.1、1.18.2、1.19.4、1.20.2、1.20.4、1.20.6、1.21.4、1.21.11 和 26.3 上进行了端到端测试(包括加载、自动加载、强制启用、URL 资源包、合并、合并 GUI、/checkpack 命令及语言支持)。
依赖服务器版本的功能差异:
- 1.18+: 在强制启用模式下,资源包提示会将该资源包显示为必需。
- 1.20.2 之前:
/mergepack命令会将服务器自身的资源包格式写入合并后的资源包中,因为如此旧的客户端仅读取pack_format字段。这些客户端不会收到“不兼容”警告。 - 1.20.3+: 资源包具有 ID,因此通过
/autoload在use-server-properties模式下添加的资源包会叠加在server.properties指定的资源包之上。在较旧版本中,它会替换该资源包,因为 1.20.3 之前的客户端同一时间只能持有一个服务器资源包。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
插件
ExyliaPlugins 的库。
插件
通过对话框或铁砧界面帮助你的 Anthme
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
插件
用于绘制游戏内地图或在浏览器中随探索实时进行地图绘制的实时地图。
评论 0
登录后参与评分
还没有评论,来抢沙发吧