Shadows-of-Fire / PackMenu

Tool for editing the main menu in modpacks.
MIT License
16 stars 10 forks source link

[question] Is there currently a way to disable a "resource pack prompt" using the config for the buttons? #18

Closed koalalord9999 closed 3 years ago

koalalord9999 commented 4 years ago

I'm usign a modpack that has some buttons that directly connect to the server I play on, and it doesn't let me change the option to never prompt for a resource pack. I already have it manually installed on my client, and don't need to reload it every time I log in. Is this a possibel config option to disable in the buttons? Thanks :)

Shadows-of-Fire commented 4 years ago

There is not, and it might take a bit to solve, since normally the server data is serialized as part of the multiplayer list, but with the packmenu direct connect button action, that server data object is never serialized. The resource pack mode will probably have to be manually stored somewhere else so that it's not permanently in prompt mode.

Shadows-of-Fire commented 3 years ago

Solved by creating a dummy ServerData to hold the RP prompt info inside.