PackStacker
PackStacker 是一个简单的资源管理插件,旨在为 Minecraft 客户端“堆叠”资源包。 下载链接请参见 releases。
简短指南
资源包通过 .pack 文件进行定义。请导航至服务器 plugins 文件夹下的 PackStacker/packs/ 目录。
要定义一个资源包,请在 packs 文件夹下创建一个扩展名为 .pack 的文件。(例如 example.pack)
.pack 文件遵循 YAML 语法。以下是一个示例 .pack 文件:
name: "MvndiPack"
url: "https://github.com/HydrolienF/MvndiPack/releases/download/1.20.6.425/MvndiPack.zip"
hash: "D64DCFA57B5A94383FA39F32BE3B6D38D853304C"
priority: 0
required: true
prompt: "Hello <rainbow>world</rainbow>."
load_on_join: true
必需的资源包选项
name资源包的名称。两个资源包不能具有相同的名称。资源包名称 必须 是唯一的。url资源包的 URL。此 URL 必须是直接下载链接。通常,这些链接以文件格式.zip结尾。hash资源包的 SHA1 哈希值。您可以在 Windows 上运行certutil -hashfile "filename.exe" SHA1来获取此值。
可选的资源包选项
priority一个数值,对应于该资源包显示的顺序。数值越低,表示该资源包在客户端处于“更低”的层级。默认值:0(无优先级)required如果玩家拒绝接受该资源包,是否踢出客户端。默认值:falseprompt当向客户端请求资源包时,用户将看到的兼容 MiniMessage 格式的字符串。默认值:无提示(null)load_on_join是否在玩家加入时提示加载此资源包。默认值:false
命令
/packPackStacker 的核心命令。/pack list向运行此命令的用户显示可用的资源包列表。/pack load <packName>在运行此命令的玩家身上加载指定的资源包。权限:pack.load.self/pack load <packName> <username>在指定的在线玩家身上加载资源包。权限:pack.load.others/pack unload <packName>在运行此命令的玩家身上卸载指定的资源包。权限:pack.unload.self/pack unload <packName> <username>在指定的在线玩家身上卸载资源包。权限:pack.unload.others/pack reload <messages | packs | all>重新加载 PackStacker 的指定目录。权限:pack.reload.messages|pack.reload.packs|pack.reload.all
许可证
PackStacker 根据 GNU AFFERO GENERAL PUBLIC LICENSE 授权。
PackStacker
PackStacker is a simple resource management plugin intended for "stacking" packs on minecraft clients. Downloads can be found at releases.
Short Guide
Resource packs are defined through ".pack" files. Navigate to PackStacker/packs/ under your servers plugins folder.
To define a pack, create a file with the extension .pack under the packs folder. (i.e example.pack)
Pack files follow yaml syntax. See below for an example .pack file.
name: "MvndiPack"
url: "https://github.com/HydrolienF/MvndiPack/releases/download/1.20.6.425/MvndiPack.zip"
hash: "D64DCFA57B5A94383FA39F32BE3B6D38D853304C"
priority: 0
required: true
prompt: "Hello <rainbow>world</rainbow>."
load_on_join: true
Required Pack Options
nameThe name of the pack. No two packs can have the same name. Pack names MUST be unique.urlThe url to the pack. This url must be a direct download link. Typically, these links end in the file format.zip.hashThe SHA1 hash of the pack. You can obtain this by runningcertutil -hashfile "filename.exe" SHA1on Windows.
Optional Pack Options
priorityA number value corresponding to which order this pack will manifest. A lower number means the pack will be on a "lower" level on the client. Default: 0 (no priority)requiredWhether or not to kick the client if the player refuses the pack. Default: falsepromptA MiniMessage compatible string that users will be prompted with when a pack is requested to the client. Default: no prompt (null)load_on_joinWhether or not to prompt the user this pack on join. Default: false
Commands
/packThe core PackStacker command./pack listShows the user running this command the available resource packs./pack load <packName>Loads the specified resource pack on the player running this command. Permission:pack.load.self/pack load <packName> <username>Loads a resource pack on the specified online player. Permission:pack.load.others/pack unload <packName>Unloads the specified resource pack on the player running this command. Permission:pack.unload.self/pack unload <packName> <username>Unloads a resource pack on the specified online player. Permission:pack.unload.others/pack reload <messages | packs | all>Reloads the specified directory of PackStacker. Permissions:pack.reload.messages|pack.reload.packs|pack.reload.all
License
PackStacker is licensed under the GNU AFFERO GENERAL PUBLIC LICENSE.
下载 PackStacker
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 PackStacker
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 PackStacker
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 PackStacker
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 PackStacker
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
PackStacker 发布 v1.0.4
更改
- 修复了与其他资源包来源相关的潜在空指针异常(NPE)。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
插件
ExyliaPlugins 的库。
插件
通过对话框或铁砧界面帮助你的 Anthme
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
插件
用于绘制游戏内地图或在浏览器中随探索实时进行地图绘制的实时地图。
评论 0
登录后参与评分
还没有评论,来抢沙发吧