node package manager
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org ยป

hackedvoxels-drop

hackedvoxels-drop

TODO: UPDATE LINKS TODO: REMOVE PLAYERDAT..

Drag and drop various types of files to load them into your game (voxel.js plugin)

Uses the W3C File API to read file data dropped by the user from their desktop to the browser. Currently recognizes:

  • .zip or .jar: loads textures using artpacks (hold shift to clear)
  • .js: loads JavaScript and/or plugins using voxel-plugins
  • .coffee: same as .js but first compiles CoffeeScript
  • .dat: loads MC player.dat inventory files using playerdat into voxel-carry (hold shift to append)

License

MIT