This repository has been archived on 2021-07-14. You can view files and clone it, but cannot push or open issues or pull requests.
scriptcraft/src/main/js
Walter Higgins e3079047a1 Merge pull request #264 from CoderDojoStirling/classroom-example-file
Put example js file in classroom player directory.
2015-08-29 19:48:33 +01:00
..
lib Provide more helpful errors when trying to require non-existent modules 2015-05-31 16:44:42 +01:00
modules Merge pull request #264 from CoderDojoStirling/classroom-example-file 2015-08-29 19:48:33 +01:00
plugins Trivial typo 2015-05-06 21:50:57 +02:00
readme.md Added logging of errors during plugin autoload. 2014-01-25 09:04:16 +00:00

scriptcraft root directory

This directory contains the following subdirectories...

  • lib - contains core scriptcraft modules and code.
  • modules - contains modules for use by others
  • plugins - contains plugins (modules which are automatically loaded and globally-namespaced at startup)

If you are a minecraft modder who wants to develop simple mods then the plugins location is where you should probably place your .js files.

If you are a minecraft modder who wants to develop more complex mods or provide an API for other modders, then modules intended for use by plugins (your own or others) should probably be placed in the modules directory.

The lib directory is reserved for use by ScriptCraft. If a module is considered essential for all, or adds significantly useful new functionality to ScriptCraft then it should be placed in the lib directory.