RessourcePackManager (RPM) 插件
由 Kartoffel_Licht 开发
RPM 插件是一个小型项目,旨在简化在 Minecraft Paper 服务器上使用的资源包。
目前该插件处于测试阶段(最初目的是让插件可用,但尚未正式发布)。
虽然在设计时已考虑到非破坏性原则,但请注意,该插件可能存在漏洞(甚至可能被利用)
功能
- 全局资源包文件夹
- 自定义物品(参见示例资源包)
- 自定义音效
- 自定义盔甲
- Geyser 支持(有限)
- 服务器端资源包托管
- Velocity 支持
要添加默认的全局资源包,请将(.zip 或 .mcpack 格式的文件)放入服务器根目录下的 resourcepacks 文件夹中
自定义内容(例如自定义物品)扩展了常规的数据包。请参阅发布章节中的示例数据包。
在创造模式下,任何权限的玩家都可以执行 /rsrc show 命令来获取自定义物品。
配置
hostResourcepacks: true #是否在服务器上托管资源包
uploadScript: "" #在资源包更改时执行的脚本
doPackValidation: false #是否在加载时验证数据包
limboWithWorld: true #是否将加载中的玩家发送到过渡世界(仅影响 Java 版玩家)
limboWithPacketblock: true #是否拦截加载中的玩家的大多数传入数据包(仅影响 Java 版玩家)
generatedPackUUID: <随机 UUID> #生成包的 UUID,每次加载配置时均为随机值
请注意,在使用 limboworld 时,如果 worlds 文件夹中不包含 plugins 文件夹,可能会出现问题。
RessourcePackManager (RPM) Plugin
by Kartoffel_Licht
The RPM Plugin is a small Project aiming to make it easier to use resourcepacks on minecraft paper servers.
Currently, the plugin is in beta (intented to initially make the plugin available without really publishing it quite yet)
While a non-destructive nature was kept in mind, please note that the plugin might show bugs (perhaps of an exploitable nature)
Features
- global resourcepack folder
- custom items (see example pack)
- custom sounds
- custom armor
- Geyser support (limited)
- server-side pack hosting
- velocity support
To add default global resourcepacks, add (either a .zip or .mcpack) it to the resourcepacks-folder in the server root directory
Custom content (eg. custom items) extent regular datapacks. See the example pack in the release section
When in creative mode, players (of any permission) may execute the '/rsrc show' command to give themselves custom items~~~~
Configuration
hostResourcepacks: true #Wether to host the resourcepacks on the server
uploadScript: "" #a script that gets executed on resourcepack change
doPackValidation: false #Wether to validate packs on load
limboWithWorld: true #Wether to send loading players to a limbo world (only affects java players)
limboWithPacketblock: true #Wether most of the incoming packets of loading players will be blocked (only affects java players)
generatedPackUUID: <random UUID> #The UUID of the generated packs, random on each config load otherwise
Note that problems may arise when using the limboworld and having the worlds folder not containing the plugins folder
评论 0
登录后参与评分
还没有评论,来抢沙发吧