Commit graph

22 commits

Author SHA1 Message Date
walterhiggins 5a82f0afa7 fix issue #214 2015-02-19 20:24:20 +00:00
walterhiggins 5c4ff153e8 Moved watcher and at to separate modules (not in utils anymore). 2015-01-25 19:10:51 +00:00
walterhiggins 1dabf3d25d missed bukkit load world handler 2015-01-25 13:10:12 +00:00
walterhiggins e778920937 Fixing utils.at to work more efficiently (one thread per world) 2015-01-25 13:09:49 +00:00
walterhiggins 9f80f240a9 Fixing the at() function so it works for canarymod 2015-01-24 00:07:58 +00:00
walterhiggins 1fabb59eb5 Fixes issue #204 (getPlayerPos() throws error) 2015-01-18 21:16:38 +00:00
walterhiggins 74a97e0ca0 Fix issue #198 2015-01-17 09:30:53 +00:00
walterhiggins e95c9596a2 Fixes issue #203 2015-01-17 08:45:32 +00:00
walterhiggins d33c9ca1e4 Fix issue #193 2015-01-11 12:27:47 +00:00
walterhiggins c21be34609 Re-enabling signs and arrows modules/plugins for CanaryMod 2015-01-11 00:09:56 +00:00
walterhiggins eb8b78cce9 Added utils.worlds() and utils.stat. enums 2014-10-18 12:08:00 +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
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 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 96b1a54896 Making bukkit objects easier to identify by name (bk prefix) 2014-02-19 22:17:19 +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 f1925efd87 added syntax-highlighting to code samples 2014-02-04 21:36:00 +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/modules/utils/utils.js (Browse further)