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/lib
walterhiggins 19162c3688 First phase of transition from Bukkit to Canary.
Some of the plugins are not yet supported.
If you're feeling brave you can build from source using ant.
2014-09-29 23:42:41 +01:00
..
command.js Support named function in lieu of command name as first argument 2014-06-14 15:38:41 +01:00
console.js First phase of transition from Bukkit to Canary. 2014-09-29 23:42:41 +01:00
events-bukkit.js First phase of transition from Bukkit to Canary. 2014-09-29 23:42:41 +01:00
events-canary.js First phase of transition from Bukkit to Canary. 2014-09-29 23:42:41 +01:00
events.js First phase of transition from Bukkit to Canary. 2014-09-29 23:42:41 +01:00
java-utils.js Improved Tab completion to work with Java Enums on JRE7 and JRE8. 2014-05-20 00:05:38 +01:00
js-patch.js First phase of transition from Bukkit to Canary. 2014-09-29 23:42:41 +01:00
json2.js Added logging of errors during plugin autoload. 2014-01-25 09:04:16 +00:00
legacy-check.js First phase of transition from Bukkit to Canary. 2014-09-29 23:42:41 +01:00
persistence.js Fix a doozy of a bug in #nashorn - engine.eval('(' + jsonContainingArray + ')' ) does not return same result as JSON.parse( jsonContainingArray ) 2014-06-07 21:50:23 +01:00
plugin.js First phase of transition from Bukkit to Canary. 2014-09-29 23:42:41 +01:00
readme.md Added logging of errors during plugin autoload. 2014-01-25 09:04:16 +00:00
require.js First phase of transition from Bukkit to Canary. 2014-09-29 23:42:41 +01:00
scriptcraft.js First phase of transition from Bukkit to Canary. 2014-09-29 23:42:41 +01:00
tabcomplete-jsp.js First phase of transition from Bukkit to Canary. 2014-09-29 23:42:41 +01:00
tabcomplete.js First phase of transition from Bukkit to Canary. 2014-09-29 23:42:41 +01:00
task-bukkit.js First phase of transition from Bukkit to Canary. 2014-09-29 23:42:41 +01:00
task-canary.js First phase of transition from Bukkit to Canary. 2014-09-29 23:42:41 +01:00

lib directory

This directory contains core scriptcraft files and modules.

  • plugin.js - A module which provides support for persistent plugins (plugins which need to save state)
  • require.js - The require() function implementation. See [Node.js modules] documentation.
  • scriptcraft.js - The core scriptcraft code.
  • events.js - Event handling module for use by plugin/module developers.

When require('modulename') is called, if a file in the current working directory called 'modulename' is not found then the lib folder is the first location that require() looks for modules.