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
2014-12-23 14:31:20 +00:00
..
canary.js reinstating bukkit as build target. 2014-10-18 11:05:30 +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 Fixes issue #179 2014-12-23 14:31:20 +00:00
events-bukkit.js First phase of transition from Bukkit to Canary. 2014-09-29 23:42:41 +01:00
events-canary.js Make events and items work with JRE 6, 7 and 8 2014-10-19 15:41:06 +01:00
events.js Include docs for both bukkit and canary event helpers. 2014-11-09 11:52:10 +00: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 Fixes issue #179 2014-12-23 14:31:20 +00: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 Fixes issue #179 2014-12-23 14:31:20 +00: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.