Commit graph

115 commits

Author SHA1 Message Date
walterhiggins 8056da0d3b Fix doors and stairs for 1.7 2014-12-27 19:03:30 +00:00
walterhiggins 21a64efca0 Further work on Drone for 1.8 Doors now work! and Chessboard, rainbow and all colored materials. 2014-12-27 16:48:27 +00:00
walterhiggins 1443b37ec4 Fixed signs in 1.8 and prism0 in 1.8 Doors are still problematic as are torches and ladders in Drone. Added blockhelper for setting block properties. 2014-12-27 13:42:38 +00:00
walterhiggins 39ce9061f7 Fixes issue #167 2014-12-25 14:04:45 +00:00
walterhiggins 4fd37054d9 getting ready for working on 1.8 2014-12-25 11:37:00 +00:00
walterhiggins fe46987d71 partial support for 1.8 for drone - (not there yet, only works for blocks with no facing data) 2014-12-25 11:00:16 +00:00
walterhiggins c62da83544 Fix typo in putSign() function 2014-12-24 15:39:34 +00:00
walterhiggins 287ad49d7b added blocks.bonemeal and named some functions in drone. 2014-12-23 15:56:38 +00:00
walterhiggins bba65fdfca Fixes issue #179 2014-12-23 14:31:20 +00:00
walterhiggins ed863e460c apply frank's changes to templates/ypgpm.md 2014-12-22 15:23:06 +00:00
walterhiggins 80522b6d4d fixes issue #159 2014-11-09 12:16:32 +00:00
walterhiggins 3ec582f653 Include docs for both bukkit and canary event helpers. 2014-11-09 11:52:10 +00:00
walterhiggins 7ce32d4557 Removed makeShapedRecipe and makeShapelessRecipe. 2014-11-09 11:48:40 +00:00
Walter Higgins 67d46db748 Update example-7-hello-events.js 2014-11-08 06:17:57 +00:00
walterhiggins 6b6c8f6dfe Adding create() function for recipes - creates but does not add (see updated listing in book chapter 16) 2014-10-25 11:22:43 +01:00
walterhiggins fde20f6fa2 Make events and items work with JRE 6, 7 and 8 2014-10-19 15:41:06 +01:00
walterhiggins c36cd97c99 Get build working on jre6,7,8 2014-10-18 18:48:57 +01: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 0866097411 Fixed bug in creating signs in canarymod and updated minigames/scoreboard to work with example code from book. 2014-10-12 18:34:40 +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 b091c33fbf fix bug in fireworks (was using wrong framework) 2014-09-29 23:53:00 +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
Walter Higgins c535f05fba Delete SnowballFight.js
Removing SnowballFight.js because it will be used as an exercise. An improved version will be posted in a separate repository coming soon.
2014-08-23 17:46:33 +01:00
Walter Higgins 13525c3d10 Delete color.js
Removing chat/color.js module because it will be used as an exercise.
2014-08-23 17:45:17 +01:00
walterhiggins e7916f8afe Rainbows are made from stained glass now. 2014-08-23 17:36:19 +01:00
walterhiggins df0491ff14 Improved - added doorways between forts and rampart. 2014-08-23 16:46:02 +01:00
walterhiggins b74b4c4f28 New drone.extend() style invocation. 2014-08-23 16:45:43 +01:00
walterhiggins cdccd1fe2e using new Drone.extend() style invocation. added chessboard floor. 2014-08-23 16:45:16 +01:00
walterhiggins e874ba3ff6 Fixed a bug in boxa() drone method which caused chessboard() to fail (since move to async) 2014-08-23 16:44:36 +01:00
walterhiggins 12ff59f2e5 Removing streamer because it's not used anywhere. 2014-08-23 16:43:45 +01:00
walterhiggins ef3a400b91 Merge branch 'master' of github.com:walterhiggins/ScriptCraft 2014-08-23 14:20:00 +01:00
walterhiggins e4abd679d2 rboxcall not used anywhere (ever?) 2014-08-23 14:19:04 +01:00
Walter Higgins 099991637e Delete skyscraper-example.js 2014-08-23 14:15:32 +01:00
Walter Higgins e485f11f6f Merge pull request #147 from trmfreitas/classroom-autorefresh-windows
Classroom autorefresh not working in windows
2014-07-26 11:50:20 +01:00
Daniel Huhn 0f467e616b replaced tabs with whitespaces 2014-06-29 16:22:37 +02:00
Daniel Huhn cc9d57d4a4 url is now propely set in the http.request module when using
post
2014-06-29 16:09:22 +02: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 8c3c7d67fe tab-completion using a callback 2014-06-14 15:46:07 +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 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