SeniorResourcePacks
SeniorResourcePacks 是一款 Bukkit/Spigot 插件,旨在以零麻烦的方式在本地托管 Minecraft 资源包。只需将您的 .zip 文件放入插件文件夹,它便会自动生成一个 Minecraft 可直接使用的下载链接。
无需第三方托管服务——该插件运行其自身轻量级的 HTTP 服务器,允许您的服务器直接向玩家提供资源包。支持高达 1 GB 的资源包,加载速度快,并能自动检测正确的 SHA-1 哈希值以确保客户端兼容性。
要求
- Minecraft Server: Spigot 或 Bukkit 1.21+
- Java Version: Java 19 或更高版本
- RAM: 至少可用 1GB
- Network: 开放 HTTP 端口(默认:8080)
安装
步骤 1:下载
- 从发布页面下载
senior-resource-packs-1.0.0.jar
- 将 JAR 文件放入服务器的
plugins/ 文件夹中
步骤 2:启动
-
启动或重启您的 Minecraft 服务器
-
插件将自动执行以下操作:
- 创建
plugins/senior-resource-packs/ 文件夹
- 生成默认的
config.yml
- 创建用于存放资源包的
pack/ 文件夹
- 启动 HTTP 服务器
步骤 3:验证
检查您的服务器控制台是否显示类似如下信息:
[INFO]: [senior-resource-packs] Detected external IP: [your-ip]
[INFO]: [senior-resource-packs] Simple HTTP server started on 0.0.0.0:8080
[INFO]: [senior-resource-packs] Senior Resource Packs plugin has been enabled!
[INFO]: [senior-resource-packs] HTTP server running on: http://[your-ip]:[port]/
配置
默认 config.yml
server_ip: ""
http_port: 8080
force_pack: false
auto_apply_all_worlds: true
resource_packs:
pack1: ""
pack2: ""
pack3: ""
messages:
resource_pack_applied: "§aResource pack applied successfully!"
resource_pack_failed: "§cFailed to apply resource pack!"
reload_success: "§aConfiguration reloaded successfully!"
no_permission: "§cYou don't have permission to use this command!"
选项
| 设置项 |
描述 |
默认值 |
可选值 |
server_ip |
服务器 IP(若为空则自动检测) |
"" |
IP 地址或留空 |
http_port |
HTTP 服务器端口 |
8080 |
1–65535 |
force_pack |
强制接受资源包 |
false |
true/false |
auto_apply_all_worlds |
自动将资源包应用到所有世界 |
true |
true/false |
resource_packs |
资源包槽位 |
- |
资源包名称 |
命令
| 命令 |
描述 |
/rp reload |
重新加载配置 |
/rp applyall |
为所有玩家应用资源包 |
/rp info |
显示插件信息 |
/rp apply <player> |
为玩家应用资源包 |
/rp list |
显示 Web 界面 URL |
Web 界面
访问方式
- 打开浏览器 →
http://[服务器IP]:[端口]/
- 默认地址:
http://[服务器IP]:8080/
功能特性
- 仪表盘:服务器状态、端口、IP、已加载的资源包
- 资源包管理器:列表、状态、下载、大小信息
- 配置面板:更改端口、强制接受、自动应用、重新加载插件
- 响应式设计:支持手机、平板和桌面设备
资源包
添加资源包
文件上传
- 将
.zip 格式的资源包放入 plugins/senior-resource-packs/pack/ 目录
- 重启服务器或执行
/rp reload
Web 界面
要求
- 格式:仅限
.zip
- 位置:
pack/ 文件夹
- 命名:描述性名称(避免空格)
- 大小:无严格限制(请考虑玩家带宽)
加载流程
- 启动时扫描资源包
.zip 文件生成对应 URL:http://[IP]:[端口]/pack.zip
- 若启用自动应用,玩家在加入服务器时将接收资源包
故障排除
下载问题
- 下载失败 → 检查 IP、HTTP 服务器、防火墙,并手动测试 URL
IP 地址错误
- 检测到内网 IP → 在配置文件中手动设置
server_ip
HTTP 错误
- 服务器无法启动 → 检查端口冲突、权限及其他插件干扰
资源包问题
- 未加载 → 确认是否为
.zip 格式、检查权限,并使用 /rp reload 重新加载
控制台日志
高级
- 手动 IP:
server_ip: "123.456.789.012"
- 自定义端口:
http_port: 9080
- 强制加载资源包:
force_pack: true
- 性能优化:使用线程池、自动清理、MIME 类型服务
支持
- 查看控制台日志
- 使用 Web 界面
- 直接测试资源包 URL
- 验证权限
插件信息
- 版本:1.0.0
- 作者:YourSenior
- 技术支持:CloudNord.net
- Minecraft 版本:1.21+
- Java 版本:19+
许可与致谢
由 CloudNord.net 提供支持 —— 专业的 Minecraft 主机服务。
由 CloudNord.net 用 ❤️ 制作
SeniorResourcePacks
SeniorResourcePacks is a Bukkit/Spigot plugin designed to host Minecraft resource packs locally with zero hassle. Simply drop your .zip file into the plugin’s folder, and it automatically provides a direct download link that Minecraft can use.
No need for third-party hosting – the plugin runs its own lightweight HTTP server, allowing your server to deliver resource packs directly to players. Supports packs up to 1 GB, loads fast, and auto-detects the correct SHA-1 hash for client compatibility.
Requirements
- Minecraft Server: Spigot or Bukkit 1.21+
- Java Version: Java 19 or higher
- RAM: Minimum 1GB available
- Network: Open HTTP port (default: 8080)
Installation
Step 1: Download
- Download
senior-resource-packs-1.0.0.jar from the releases
- Place the JAR file in your server's
plugins/ folder
Step 2: Start
-
Start or restart your Minecraft server
-
The plugin will automatically:
- Create the
plugins/senior-resource-packs/ folder
- Generate default
config.yml
- Create
pack/ folder for resource packs
- Start the HTTP server
Step 3: Verify
Check your server console for messages like:
[INFO]: [senior-resource-packs] Detected external IP: [your-ip]
[INFO]: [senior-resource-packs] Simple HTTP server started on 0.0.0.0:8080
[INFO]: [senior-resource-packs] Senior Resource Packs plugin has been enabled!
[INFO]: [senior-resource-packs] HTTP server running on: http://[your-ip]:[port]/
Configuration
Default config.yml
server_ip: ""
http_port: 8080
force_pack: false
auto_apply_all_worlds: true
resource_packs:
pack1: ""
pack2: ""
pack3: ""
messages:
resource_pack_applied: "§aResource pack applied successfully!"
resource_pack_failed: "§cFailed to apply resource pack!"
reload_success: "§aConfiguration reloaded successfully!"
no_permission: "§cYou don't have permission to use this command!"
Options
| Setting |
Description |
Default |
Values |
server_ip |
Server IP (auto-detected if empty) |
"" |
IP or empty |
http_port |
HTTP server port |
8080 |
1–65535 |
force_pack |
Force pack acceptance |
false |
true/false |
auto_apply_all_worlds |
Auto-apply packs to all worlds |
true |
true/false |
resource_packs |
Pack slots |
- |
Pack names |
Commands
| Command |
Description |
/rp reload |
Reload configuration |
/rp applyall |
Apply packs to all players |
/rp info |
Show plugin info |
/rp apply <player> |
Apply packs to a player |
/rp list |
Show web interface URL |
Web Interface
Access
- Open browser →
http://[server-ip]:[port]/
- Default:
http://[server-ip]:8080/
Features
- Dashboard: Server status, port, IP, loaded packs
- Pack Manager: List, status, downloads, size info
- Config Panel: Change port, force pack, auto apply, reload plugin
- Responsive: Works on mobile, tablet, desktop
Resource Packs
Adding Packs
File Upload
- Place
.zip packs in plugins/senior-resource-packs/pack/
- Restart or
/rp reload
Web Interface
- Use upload or file manager
- Reload plugin
Requirements
- Format:
.zip only
- Location:
pack/ folder
- Names: Descriptive (avoid spaces)
- Size: No strict limit (consider player bandwidth)
Loading Process
- Packs scanned on startup
.zip files get URLs: http://[ip]:[port]/pack.zip
- Players receive packs on join if auto-apply is enabled
Troubleshooting
Download Issues
- Failed download → check IP, HTTP server, firewall, manual URL test
Wrong IP
- Detected internal IP → set
server_ip in config manually
HTTP Errors
- Server won’t start → check port conflicts, permissions, other plugins
Pack Issues
- Not loading → confirm
.zip, permissions, use /rp reload
Console Logs
- Always check startup and error logs for info
Advanced
- Manual IP:
server_ip: "123.456.789.012"
- Custom Port:
http_port: 9080
- Force Pack:
force_pack: true
- Performance: Uses thread pool, auto cleanup, MIME serving
Support
- Check console logs
- Use web interface
- Test pack URL directly
- Verify permissions
Plugin Info
- Version: 1.0.0
- Author: YourSenior
- Powered by: CloudNord.net
- MC Version: 1.21+
- Java: 19+
License & Credits
Powered by CloudNord.net – professional Minecraft hosting.
Made with ❤️ by CloudNord.net
评论 0
登录后参与评分
还没有评论,来抢沙发吧