Tiago Freitas
b480922b15
- Classroom file watcher was not working as expected because lastModifiedTime of a directory is not updated when a file is changed inside it.
...
- Added functions watchDir/unwatchDir which is responsible for watching all files and subdirectories changes
- Callback is called once for each detected change
- Changed classroom to check for the last "refresh" made to avoid multiple refreshes without changes
- Changed refresh time to 3s because it is much more comfortable
- I don't think this would be an issue because checking for lastModifiedTime should be very fast, perhaps even 3s is too much time
- Tested in Windows
2014-06-28 13:32:55 +01:00
walterhiggins
bded5e8bd5
docs for tab-completion of jsp command using function
2014-06-14 15:47:13 +01:00
walterhiggins
8c3c7d67fe
tab-completion using a callback
2014-06-14 15:46:07 +01:00
walterhiggins
e0acaed700
add doc comment for command tab completion using a function
2014-06-14 15:45:44 +01:00
walterhiggins
bbcdb48bef
line-wrap markdown comments
2014-06-14 15:40:19 +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
965ba76a62
Fix problem with change to bukkit xml doc change
2014-06-14 15:37:34 +01:00
walterhiggins
521e35ffe8
fixes issue #140
2014-06-14 15:36:56 +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
a2b0cda399
fixes issue #139
2014-05-28 22:40:38 +01:00
walterhiggins
fa64f07c38
doc changes - change ref of js-plugins to scriptcraft/plugins
2014-05-26 21:03:47 +01:00
walterhiggins
2f2db3c76f
Added new blocks. and changed Drone.extend to support single param.
2014-05-24 10:55:27 +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
e3078804ab
Fixed events-helper to include all non-abstract handlers.
...
Added items.js module and fixed sounds.js (more work needed on items.js)
2014-05-18 00:35:26 +01:00
walterhiggins
4d230bd514
Added new sounds module
2014-05-10 18:45:48 +01:00
walterhiggins
dc812c934c
don't echo result if undefined/null
2014-04-28 23:29:53 +01:00
walterhiggins
3700c11223
fix travis issues (finally?)
2014-04-26 22:21:03 +01:00
walterhiggins
03ebf347b1
fix travis issues.
2014-04-26 22:09:54 +01:00
walterhiggins
f1a960680a
changed generateEventsHelper to use engine.eval instead of eval (fix travis build problem)
2014-04-26 21:08:18 +01:00
walterhiggins
e0d5abb5f6
fix docs for events.js
2014-04-26 20:34:45 +01:00
walterhiggins
a314bf849f
tidy up docs on events-helper module.
2014-04-26 20:31:52 +01:00
walterhiggins
1cfa6ff767
added priority optional param to docs
2014-04-26 20:24: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
d8cfcb4572
fixing toc issue
2014-04-26 17:14:32 +01:00
walterhiggins
b4fe523482
fixing TOC issues in API ref
2014-04-26 17:03:08 +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
Walter Higgins
c8425cb597
Merge pull request #138 from Strat-/patch-1
...
Improve bkEventExecutor interface implementation
2014-04-25 21:03:07 +01:00
walterhiggins
9d2df863b6
spacing
2014-04-25 20:51:15 +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
3c7f8ae94e
Make drone build processing more evenly distributed for multiple players
2014-04-19 17:28:43 +01:00
Walter Higgins
9bbc3a45ca
Merge pull request #134 from marcogerosa/patch-1
...
Update YoungPersonsGuideToProgrammingMinecraft.md
2014-04-19 10:36:48 +01:00
walterhiggins
8c81b37bb3
Added asynchronous player input (async prompt) function.
2014-04-13 23:25:02 +01:00
walterhiggins
7b7d8cb35c
Fix issue #135
2014-04-07 20:59:09 +01:00
walterhiggins
35d67fe6e4
Fixes issue #133
2014-04-07 20:43:23 +01:00
Marco Aurelio Gerosa
dcef5a0b9c
Update YoungPersonsGuideToProgrammingMinecraft.md
2014-04-06 21:32:34 -07:00
walterhiggins
2adf0e3792
removed commented code.
2014-03-16 21:26:29 +00:00
walterhiggins
d64128705f
Fixes #131
2014-03-16 21:25:37 +00:00
walterhiggins
ebf2e031c6
Fixes #131
2014-03-16 21:24:26 +00: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
9b0ac86de2
Fixes #130
2014-03-16 18:57:59 +00:00
walterhiggins
aa58d490fe
release notes for simplified event handling
2014-03-15 18:33:03 +00:00