Skip to content

Instantly share code, notes, and snippets.

@MrBluePotato
Created January 31, 2014 23:06
Show Gist options
  • Save MrBluePotato/8745128 to your computer and use it in GitHub Desktop.
Save MrBluePotato/8745128 to your computer and use it in GitHub Desktop.
How this should work:
*NOTE* # refers to the number that is supplied on the texture info page of the texture hosting site
- Client executes command (ex: /env terrain #)
- Server sends GET/POST request to URL (ex: texture.classicube.net/getTexture?#)
- Server gets reply of the URL of the texture (ex: texture.classicube.net/repo/mrbluepotato/sphax64x-129484)
- Server stores that URL somewhere (ex: in fCraft, worlds.xml)
- Server sends EnvMapAppearance packet to client containing the URL of the texture
- Client then proceeds to download texture and apply it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment