Patbox / polymer

Library for creating better server side content! (For Fabric)
GNU Lesser General Public License v3.0
248 stars 23 forks source link

AutoHost isn't working #120

Open TangentFoxy opened 1 month ago

TangentFoxy commented 1 month ago

After following the instructions at https://polymer.pb4.eu/latest/user/resource-pack-hosting/ my server does not use the resource pack. I also tried making it required and it still doesn't work. Everything works if I manually copy the generated resource pack, it's just automatically using it that isn't functioning. I am running server and client on the same machine to make sure it works before setting up anything more permanent, using localhost to connect.

What am I missing?

Version 1.20.4 of Minecraft, Polymer 0.7.8.

Patbox commented 1 month ago

Hmm thats weird. Make sure that you enabled it correctly in the config! Ideally by also editing it before starting the server. If you don't see any logs related to resource packs on the server (at the end of loading), then it isn't enabled

TangentFoxy commented 1 month ago

Make sure that you enabled it correctly in the config!

Which config? What does correctly mean? According to instructions, all that is needed is to change a value in config/polymer/auto-host.json. What logs should I be seeing? This is what appears:

[23:41:06] [main/INFO]: Compatibility level set to JAVA_17
[23:41:09] [main/INFO]: Initializing MixinExtras via com.llamalad7.mixinextras.service.MixinExtrasServiceImpl(version=0.3.5).
[23:41:28] [main/ERROR]: No data fixer registered for base_projectile
[23:41:29] [main/INFO]: Environment: Environment[sessionHost=https://sessionserver.mojang.com, servicesHost=https://api.minecraftservices.com, name=PROD]
[23:41:29] [main/INFO]: Found new data pack fabric, loading it automatically
[23:41:29] [main/INFO]: Found new data pack fabric-convention-tags-v1, loading it automatically
[23:41:29] [main/INFO]: Found new data pack polydecorations, loading it automatically
[23:41:29] [main/INFO]: Found new data pack polydex, loading it automatically
[23:41:29] [main/INFO]: Found new data pack server_translations_api, loading it automatically
[23:41:31] [main/INFO]: No existing world data, creating new world
[23:41:31] [main/INFO]: filament decorations registered: 0
[23:41:31] [main/INFO]: filament decoration block entities registered: 0
[23:41:31] [main/INFO]: filament blocks registered: 0
[23:41:31] [main/INFO]: filament decorations registered: 0
[23:41:31] [main/INFO]: filament decoration block entities registered: 0
[23:41:31] [main/INFO]: filament items registered: 0
[23:41:34] [main/INFO]: Loaded 7 recipes
[23:41:35] [main/INFO]: Loaded 1340 advancements
[23:41:35] [ForkJoinPool.commonPool-worker-1/INFO]: Loaded 49 translation keys
[23:41:37] [main/INFO]: Applied 0 biome modifications to 0 of 64 new biomes in 3.012 ms
[23:41:37] [Server thread/INFO]: Starting minecraft server version 1.20.4
[23:41:37] [Server thread/INFO]: Loading properties
[23:41:37] [Server thread/INFO]: Default game type: SURVIVAL
[23:41:37] [Server thread/INFO]: Generating keypair
[23:41:37] [Server thread/INFO]: Starting Minecraft server on *:25565
[23:41:37] [Server thread/INFO]: Using default channel type
[23:41:37] [Server thread/INFO]: Preparing level "world"
[23:41:46] [Server thread/INFO]: Preparing start region for dimension minecraft:overworld
[23:41:48] [Worker-Main-6/INFO]: Preparing spawn area: 0%
(removed intervening preparation messages)
[23:42:38] [Worker-Main-5/INFO]: Preparing spawn area: 98%
[23:42:38] [Server thread/INFO]: Time elapsed: 52547 ms
[23:42:38] [Server thread/INFO]: Done (60.955s)! For help, type "help"
[23:42:38] [Server thread/INFO]: [Polydex] Started matching recipes and items...
[23:42:38] [IO-Worker-3/INFO]: [Polymer] Starting resource pack generation...
[23:42:39] [Server thread/INFO]: [Polymer] Resource pack created successfully!
[23:42:41] [Server thread/INFO]: [Polydex] Done! It took 2432 ms

I removed almost everything I was trying to use in case it was one of them breaking things before trying again, and it still doesn't work.

Patbox commented 1 month ago

Hmm thats weird, it should work then. Maybe you didn't accept it on client? Through check if there is ending message for resource pack generation as logs you provided only have starting one

TangentFoxy commented 1 month ago

Maybe you didn't accept it on client?

The client acts as if the server does not have a resource pack.

Through check if there is ending message for resource pack generation as logs you provided only have starting one

That is the entire output. Nothing else happens except for logs generated by in-game actions.