SamsSeasons · Guides
Resource Pack Hosting
Where the SamsSeasons pack goes: ItemsAdder, Nexo, CraftEngine, your own folder or the built-in host.
4 min read · Updated
Resource Pack Hosting
SamsSeasons comes with a resource pack: the illustrated season banner, nicer leaf and snowflake sprites, icons for the fishing catches, the seasonal sounds, and the in-game editor's interface.
Optional
The seasons themselves work without the pack: colours, snow, weather, temperature and gameplay all run on vanilla clients. Without it you lose the banner, the custom sprites and icons, the own sounds, and the editor. With enabled: false, no pack plugin and no folder, SamsSeasons switches to these vanilla effects.
Where the Pack Goes
SamsSeasons builds its pack into plugins/SamsSeasons/resourcepack/generated and sends it the way that fits your server:
| Your server has | What SamsSeasons does |
|---|---|
| ItemsAdder, Nexo or CraftEngine | Copies the pack into it and runs its rebuild (iazip, nexo pack, ce reload all) once the server is up, only when the pack changed |
| Another pack plugin, or a tool that merges packs | Copies the pack into every folder you list under folders (below) |
| None of these | Hosts the pack itself with its built-in web server and sends it on join |
Every SamsCreations plugin does this the same way, with the same resource-pack settings.
Putting the Pack Where You Want
folders copies the pack into any folder. For a pack plugin, its main folder is enough: the pack gets its own subfolder there, laid out the way that plugin expects.
resource-pack:
auto-detect: true # use ItemsAdder / Nexo / CraftEngine automatically
folders:
- "plugins/ItemsAdder/contents" # -> contents/samsseasons/resourcepack
- "plugins/Nexo/pack/external_packs" # -> external_packs/samsseasons
- "plugins/CraftEngine/resources" # -> resources/samsseasons/resourcepack
- "plugins/MyPackMerger/packs/samsseasons" # any other folder: assets/ go straight in- Paths start in the server folder.
- Any other folder gets
assets/directly, plus apack.mcmetawhen it has none. Only SamsSeasons's own files in it are touched. - With a folder listed, that plugin sends the pack, so the built-in host stays off.
auto-detect: falsestops SamsSeasons from writing into ItemsAdder, Nexo or CraftEngine on its own.
Configs from before 1.1 (provider and self-host) are moved to these settings automatically on the first start.
Built-In Host
With no pack plugin and no folder, SamsSeasons hosts the zip itself, so you don't need Dropbox, MCPacks or a web server.
resource-pack:
enabled: true
port: 8767
hostname: "" # public IP or domain, leave empty to auto-detect
url-override: "" # use your own URL instead (e.g. behind a CDN)
required: false # kick players who decline or fail to download
max-retries: 3 # re-send the pack this many times if a download fails
prompt: "	BA2DBSamsSeasons &7adds seasonal art and sounds."
kick-message: "&cYou must accept the resource pack to play here."Network Requirement
The port (default 8767) must be open in your firewall (TCP) and port-forwarded if you are not on a dedicated host. On a panel, use one of your allocated extra ports. Each SamsCreations plugin has its own default port (SamsRank 8765, SamsWheel 8766, SamsSeasons 8767, SamsFishing 8768), so they never clash.
One Pack for All SamsCreations Plugins
Running more of them together (SamsRank, SamsWheel, SamsSeasons, SamsFishing)? Their built-in hosts team up: one of them hosts a single pack with all of their packs merged into it, so players download one pack and you open one port. The first in this order hosts: SamsRank, SamsWheel, SamsSeasons, SamsFishing; its port and hostname are used, and the console says which plugin hosts the shared pack.
resource-pack:
share-host: true # false = SamsSeasons keeps its own host and its own packOnly plugins that would host their pack themselves take part. A plugin whose pack goes into ItemsAdder, Nexo, CraftEngine or a listed folder is not in the shared pack.
Your Own Art & Sounds
The pack is rebuilt on every start, with /seasons reload all and with /seasons reload pack (plain /seasons reload leaves the pack alone, so players don't have to download it again). To change a texture or sound, don't edit generated/: put your file into plugins/SamsSeasons/resourcepack/overrides/ under the same path, and it replaces the generated one, e.g. resourcepack/overrides/assets/samsseasons/textures/font/banner/winter_5.png.
Each feature can be switched off on its own under resource-pack.features (season-banner, particles, hide-vanilla-leaves, item-icons, sounds).
Hosting It Somewhere Else
Can't open a port (common on shared hosts)? Zip the contents of plugins/SamsSeasons/resourcepack/generated/ (so pack.mcmeta is at the top of the zip), upload it somewhere with a direct download link, and set url-override: "https://cdn.example.com/samsseasons.zip". Repeat after every update, or players keep the old pack.
Troubleshooting
Port is already in use
Another plugin or program uses that port (SimpleVoiceChat, a web server...). Change port to another free 4 or 5-digit number.
Players see 'Download Failed'
Open the link from the console in a browser. If it doesn't load, the port isn't open or hostname is wrong. Behind a proxy like Cloudflare, use your real public IP or a subdomain that isn't proxied: Minecraft clients need a direct connection to download the zip.
I use Velocity or BungeeCord
The pack is sent by each backend server. Every backend running SamsSeasons needs its own port, or use url-override with one shared link.
Players see old art after an update
With the built-in host, the pack's checksum changes with its contents, so clients download the new one automatically. With ItemsAdder, Nexo or CraftEngine, run their reload if it didn't happen. With url-override, re-upload the new zip.
