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
2016-03-19 12:09:26 +00:00
..
.gitignore .gitignore with two files which are apparently generated 2015-04-22 21:31:32 +02: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 Fix issue #256 and fix issue #287 2016-03-19 12:09:26 +00:00
events-canary.js added this.cancel() for canceling events inside an event handling function. 2015-02-14 11:50:20 +00:00
events.js 3.1.5 fix events.connect/events.connection mismatch 2015-05-31 09:09:42 +01:00
find.js Provide more helpful errors when trying to require non-existent modules 2015-05-31 16:44:42 +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
nashorn-type.js Fixes issue #167 2014-12-25 14:04:45 +00: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 Provide more helpful errors when trying to require non-existent modules 2015-05-31 16:44:42 +01:00
readme.md Added logging of errors during plugin autoload. 2014-01-25 09:04:16 +00:00
require.js Merge branch 'requireCacheAccess' of https://github.com/MrVoltz/ScriptCraft into MrVoltz-requireCacheAccess 2016-01-02 11:57:04 +00:00
scriptcraft.js Fix refresh(): add skipOpCheck parameter, unregister event handlers & cancel tasks (only Bukkit) 2016-01-01 17:40:00 +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 Fixes issue #203 2015-01-17 08:45:32 +00:00
task-canary.js Fixes issue #203 2015-01-17 08:45:32 +00: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.