Self hosting
Your hosting service must let you get additional ports for your server.
If your hosting service doesn't provide you additional ports you have to use one of the alternative hosting methods.
What is the difference between self-host and the other methods?
Difference is that with self-host you can download the pack directly from your server without having to upload it to a website each time you make a small change.
self-host
is really useful when you are configuring the resourcepack on your test server on your PC.
You just have to use command /iazip
and you'll see changes applied in-game almost instantly.
Configuration
Check in your hosting service panel if you can get an additional port, if not please ask hosting service support to provide your one.
For example on Pterodactyl:


after you obtained a new port you can open
config.yml
and set like this:
you have to replace
127.0.0.1
with your server IPand replace
8163
with the new port you obtained.
For example if my ip is 123.456.789.0
and my additional port is 8163
I will set it like this:
pack-port
is not the same as your server port (the one your users use to connect).
Do not forget to use /iazip
everytime you edit a texture, a 3D model, a sound... or you won't see any change obviously.
Last step
After you configured the config.yml
file you just have to run /iazip
command to refresh the zip file and start the hosting.
Continue installation if you need
First Install(optional) Cloudflare configuration
This guide won't protect your server IP as you are already exposing it via the SRV rule and Cloudflare free doesn't allow protecting traffic from non-standard ports.
This guide might make your traffic lower due to how Cloudflare caches requests automatically, so resourcepack requests might be less heavy after applying this method.
Create a new DNS record
DNS record


type:
A
name:
pack
(for example)IPv4 address to your server IP, where the pack is hosted (ItemsAdder is running)
Proxy status:
Proxied
Click Save

Create a new Origin rule
Origin rule


Select "Change Port" and "Create a Rule".

Select "Custom filer expression" and complete as shown in the screenshot changing the values based on your setup.

Configure ItemsAdder
set
server-ip
to your new pack addressset
pack-port
to your resourcepack portset
append-port
to falsetry to access the
Last updated
Was this helpful?