Commit graph

48 commits

Author SHA1 Message Date
walterhiggins 39ce9061f7 Fixes issue #167 2014-12-25 14:04:45 +00:00
walterhiggins bba65fdfca Fixes issue #179 2014-12-23 14:31:20 +00:00
walterhiggins 3ec582f653 Include docs for both bukkit and canary event helpers. 2014-11-09 11:52:10 +00:00
walterhiggins fde20f6fa2 Make events and items work with JRE 6, 7 and 8 2014-10-19 15:41:06 +01:00
walterhiggins 4e623299ae reinstating bukkit as build target. 2014-10-18 11:05:30 +01:00
walterhiggins 70282e278d Added items to API docs, added recipes. added utils.players() and utils.playerNames() functions. 2014-10-05 17:29:04 +01:00
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
walterhiggins cc4f98474d moving bukkit.js from lib to modules (it shouldn't be part of core) 2014-09-25 20:36:39 +01:00
walterhiggins 127697f774 added documentation for the bukkit object. 2014-09-12 19:00:09 +01:00
walterhiggins 8c3c7d67fe tab-completion using a callback 2014-06-14 15:46:07 +01:00
walterhiggins c9257b3038 Support callback function for objects. 2014-06-14 15:39:47 +01:00
walterhiggins 4df746a2d8 line-wrap markdown comments 2014-06-14 15:39:17 +01:00
walterhiggins 918ef23773 Support named function in lieu of command name as first argument 2014-06-14 15:38:41 +01:00
walterhiggins 4d97452b15 Added new bukkit.playerNames() function. 2014-06-14 15:38:01 +01:00
walterhiggins c01ce603c5 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
walterhiggins 5754816017 Fix BlockBreakEvent error for Nashorn and pre-Nashorn both both cases (eventType = 'block.BlockBreakEvent' and eventType = org.bukkit.event.block.BlockBreakEvent) 2014-06-06 19:40:47 +01:00
Walter Higgins 4d6d444d53 Merge pull request #142 from tennysonholloway/master
Fix Nashorn error: has no such function getHandlerList.
2014-06-06 18:30:44 +01:00
walterhiggins ede823d62c fixed bug in persistence module 2014-06-06 18:17:30 +01:00
TennysonHolloway 553bec363b Fix Nashorn error: has no such function getHandlerList. 2014-06-05 15:55:19 -07:00
walterhiggins 20519d88db fix tab completion for /jsp command 2014-05-29 22:10:16 +01:00
walterhiggins fa64f07c38 doc changes - change ref of js-plugins to scriptcraft/plugins 2014-05-26 21:03:47 +01:00
walterhiggins c324adf269 Improved Tab completion to work with Java Enums on JRE7 and JRE8.
Added bukkit namespace.
2014-05-20 00:05:38 +01:00
walterhiggins dc812c934c don't echo result if undefined/null 2014-04-28 23:29:53 +01:00
walterhiggins e0d5abb5f6 fix docs for events.js 2014-04-26 20:34:45 +01:00
walterhiggins 2ba3335a16 Omit abstract event classes from events-helper.
Improved tab completion for jre8
2014-04-26 20:20:10 +01:00
walterhiggins a4968d8dc6 Events handling changes. Added new convenience functions to events module
to make event handling easier still for newbies
2014-04-26 16:56:57 +01:00
Ivan Kay 6ec85d5a8f Improve bkEventExecutor interface implementation
What was done before isn't valid JS; This does the same thing, while keeping the JS syntax valid.
2014-04-24 19:51:11 -05:00
walterhiggins d6d1a906b5 Fixes #129 2014-03-16 19:50:18 +00:00
walterhiggins 76c6d6f23f Fixes #132 2014-03-16 18:58:19 +00:00
walterhiggins d59b0682de added comment to leave semicolon off of last line. 2014-03-15 18:21:20 +00:00
walterhiggins f82d88cb3f Event handling rework. Simplified event handling and unregistering. 2014-03-15 18:06:23 +00:00
walterhiggins 9d406dbb44 Made maze code place blocks 2 high 2014-03-14 22:23:35 +00:00
walterhiggins b7352ed962 Show correct lineNumber in require() errors on Nashorn (JRE8) 2014-03-13 22:49:03 +00:00
walterhiggins fce28567e6 Make error messages more concise (don't repeat file name) 2014-03-13 22:11:01 +00:00
Jason Kohles 45217a0953 Make error messages from require() more useful 2014-03-13 14:18:45 -04:00
Jason Kohles 5bec691575 Fix require() to work with index.js 2014-03-13 12:10:51 -04:00
walterhiggins 360b7df75b Fix issue #115 2014-03-11 19:57:40 +00:00
walterhiggins e40786d727 Fix issue #115 2014-03-10 23:17:58 +00:00
walterhiggins fae2b6aac7 Improved Drone background-processing. 2014-03-08 21:01:25 +00:00
walterhiggins 96b1a54896 Making bukkit objects easier to identify by name (bk prefix) 2014-02-19 22:17:19 +00:00
walterhiggins 5bec21d381 Fix bug in reload - data dir was not present. fix #119 2014-02-16 18:29:15 +00:00
walterhiggins 8453525da6 Improvements to classroom.js module (added players/ directory into which players can drop their custom scripts when classroom.allowScripting(true) is called. 2014-02-10 20:55:32 +00:00
walterhiggins 39b459ab7f further syntax-highlighting and ignore netbeans folder. 2014-02-04 21:49:12 +00:00
walterhiggins f1925efd87 added syntax-highlighting to code samples 2014-02-04 21:36:00 +00:00
walterhiggins 5868b9099a Round up setInterval and setTimeout to match bukkit's min 50ms tick. 2014-01-31 00:42:05 +00:00
walterhiggins 7ab34980e4 fix issue #113 2014-01-29 20:11:47 +00:00
walterhiggins 7457cd58b8 Changed formatting to use idiomatic style. (like glasses-mode in emacs) 2014-01-29 19:49:15 +00:00
walterhiggins 7a7767c83c Added logging of errors during plugin autoload. 2014-01-25 09:04:16 +00:00