onebeastchris / PickPack

A Geyser Extension to let Geyser players choose their resource packs.
MIT License
6 stars 0 forks source link

respect `forward-hostname` from geyser #21

Open cupang-afk opened 7 months ago

cupang-afk commented 7 months ago

it forward the hostname from geyser the remote (java) server, from the config

case is i had main domain and 2 backup domain in case something went wrong i.e my public ip is changed by ISP to the private one,

the backup has different implementation (one using playit.gg, another is using tunnel program)

i want to respect that so whenever player apply a pack using /pickpack menu and reconnect, it will reconnect to where the host they connected to e.g, backup1.mydomain.com, backup2.mydomain.com

onebeastchris commented 7 months ago

Thanks for the suggestion! Sadly, this isn't available in Geysers api yet - I will look at hacking this in sometime soon.