Commit graph

9 commits

Author SHA1 Message Date
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
Tiago Freitas 5a900a16c8 last load time must be for each player 2014-06-28 14:02:14 +01:00
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 2ba3335a16 Omit abstract event classes from events-helper.
Improved tab completion for jre8
2014-04-26 20:20:10 +01:00
walterhiggins f82d88cb3f Event handling rework. Simplified event handling and unregistering. 2014-03-15 18:06:23 +00:00
walterhiggins 2e4516bf69 Added 'utils.unwatchFile()' function to fix #117 2014-02-11 21:10:56 +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 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
Renamed from src/main/javascript/plugins/classroom/classroom.js (Browse further)