I'm the developer of a custom items plug-in that needs a server resource pack to ensure that players see the right textures of the custom items. Currently, I use the Bukkit API to send the resource pack to players (using `Player.setResourcePack(url, hash)`).
For some reason, this doesn't seem to work on Minehut servers (but works fine on other server hosts): all players seem to automatically reject this resource pack, regardless of whether they allow server resource packs in their minecraft settings. (To be precise, the plug-in receives a `PlayerResourcePackStatusEvent` that is `DECLINED`).
Question
knokko
I'm the developer of a custom items plug-in that needs a server resource pack to ensure that players see the right textures of the custom items. Currently, I use the Bukkit API to send the resource pack to players (using `Player.setResourcePack(url, hash)`).
For some reason, this doesn't seem to work on Minehut servers (but works fine on other server hosts): all players seem to automatically reject this resource pack, regardless of whether they allow server resource packs in their minecraft settings. (To be precise, the plug-in receives a `PlayerResourcePackStatusEvent` that is `DECLINED`).
Does anyone know why this happens?
I have read https://support.minehut.com/hc/en-us/articles/4999526664979-How-do-I-upload-resource-packs , so I know that server admins can manually select the resource pack via the Minehut interface, but it would be more convenient if the plug-in could handle the server resource pack automatically. Would that be possible?
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now