Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Serve texture packs through wsmc web server #44

Open
deathcap opened this issue Feb 14, 2016 · 0 comments
Open

Serve texture packs through wsmc web server #44

deathcap opened this issue Feb 14, 2016 · 0 comments

Comments

@deathcap
Copy link
Owner

MC has a 'set resource pack' packet, can point to remote URLs of resource pack archives to offer the client to download. Would be nice if wsmc could serve these resource pack files from its integrated webserver – a new configuration option, give it a local file, and have wsmc serve it then push the resource pack packet, with the local URL.

voxel-clientmc recognizes server-offered resource packs: https://github.com/voxel/voxel-clientmc/blob/69982f742ead55423d1a8d5c4c09c2ed806144e6/resource_pack.js - but only shows the URL to the user to let them download and manually install (drag and drop into browser window https://github.com/voxel/voxel-drop), but if they were served locally, then the web client could fetch voxel/voxel-clientmc#39 them using XHR, as they won't need to cross origins.

Also could be useful for servers with mods, containing extra textures for new blocks. The 'stock' texture pack won't necessarily have everything, better if the server could push what it needs since it knows best.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant