Packer
⚠️PACKER 正处于积极开发阶段,可能会遇到问题⚠️
适用于生存模式、动态的 Minecraft 服务端自定义模型!
Packer 是什么?
Packer 允许你在 Minecraft 生存服务器中上传、管理和使用自定义模型。它结合了用户友好的(大致上)Web 门户和游戏内命令,并支持上传包数据的动态重载。此外,还提供以生存友好方式将模型应用到物品的命令!
入门指南
要将 Packer 加入你的 Fabric 服务器,只需把模组放入服务器,运行一次以生成配置文件,然后按照以下说明操作即可!
配置
为了使用 Packer,你需要额外开放一个端口来访问 Web 门户服务器。只需填入你服务器的公网 IP 和端口即可开始使用!
#Packer 配置文件
# 将 server-address 设置为你服务器的公网 IP 或域名。
server-address=YOUR_IP
# 你开放的端口!
port=YOUR_OPEN_PORT
# 文件上传的最大大小(字节)
max_upload_bytes=15000000
访问你的 Web 门户
你可以使用任何网页浏览器通过你服务器的公网 IP 访问 Web 门户!如果你想要一个快速链接,可以在游戏内输入 /packer link(需要 packer.link 权限)来获取快捷链接。要访问你的门户,必须进行身份验证。你可以在游戏内运行 /packer auth 进行验证。然后将生成的代码输入到你的 Web 门户中。请注意,所有会话仅在退出游戏或服务器重启前有效。
上传你的第一个模型
要在 Packer 中上传模型,你需要以下三项内容:
- 物品模型定义
- 物品模型
- 纹理(贴图)
你可以像常规资源包一样在不同资产间复用这些资源
你可以像为其他资源包那样创建这些资产。Packer 会将你上传的所有资产放在以你的 UUID 命名的文件夹下。为了方便本地处理文件,你可以在任何 json 文件中使用 packer_id 作为占位符。在上传时,它会被替换为你的 UUID。
更多信息请参阅(进行中)Wiki。
Packer
⚠️PACKER IS IN ACTIVE DEVELOPMENT EXPECT ISSUES⚠️
Survival friendly, dynamic, server-side custom models for Minecraft!
What is Packer?
Packer allows you to upload, manage, and utilize custom models in survival Minecraft servers. Using a mix of a user-friendly(ish) web portal and ingame commands. Complete with dynamic reloading of uploaded pack data. Plus commands to apply models to items in a survival friendly way!
Getting started
To get started add the mod to your fabric server. Run once to generate config file and follow directions below!
Configuration
In order to utilize packer you will need at least one extra port in order to access the web portal server. Justs put your servers PUBLIC ip and port and you are ready to go!
#Packer Configuration
# Set server-address to your Public IP or Domain.
server-address=YOUR_IP
# Your open port!
port=YOUR_OPEN_PORT
# The maximum upload size of files in bytes
max_upload_bytes=15000000
Accessing your web portal
You can accessing your web portal in any web browser using your servers public ip! If you want a quick link you can type /packer link (requires packer.link permisions) in game to gain a quick link. To gain access to your portal you must authentic. In order to authentic you can run /packer auth in game. Put the generate code in your web portal. Due note that all sessions last ONLY until you leave the game or the server restarts.
Uploading your first model
To upload a model in packer you need 3 things.
- The item model definition
- The item model
- The texture(s)
you may reuse these resourcess between assets as normal for resource packs
You may author these assets as you would for any other resource pack. Packer will place all assets you upload in a folder under YOUR UUID. As a shorthand for working with files locally you can use packer_id inside any json file. This will be replaced with your UUID upon uploading.
More info can be found on the (wip) Wiki.
评论 0
登录后参与评分
还没有评论,来抢沙发吧