Commit graph

446 commits

Author SHA1 Message Date
Michael Vorburger
c987058aae .gitignore with two files which are apparently generated 2015-04-22 21:31:32 +02:00
Michael Vorburger
0423141bf1 Just fixed formatting for better readability, no real changes. 2015-04-19 16:40:06 +02:00
Walter Higgins
52070cffdc Merge pull request #231 from carlrobert/patch-11
Bukkit and CanaryMod links corrected. jslint.
2015-04-16 21:25:05 +01:00
Robert Storlind
70f97bea7c constructor spelling ... 2015-04-14 20:14:18 +02:00
walterhiggins
4bc1e2f582 Deprecating plugin() function 2015-04-11 10:43:33 +01:00
Robert Storlind
baac1cbe3f Bukkit and CanaryMod links corrected. jslint.
The bukkit link was broken, btw.
2015-04-10 22:25:44 +02:00
Robert Storlind
d70099f475 No longer advertise copy & paste
Drones are for building only.
2015-04-09 08:41:55 +02:00
walterhiggins
241c19f640 Updated section on booleans. Added subheading on booleans and javabeans. 2015-04-04 11:27:00 +01:00
walterhiggins
06d80171fb Added inventory module for bukkit too 2015-03-24 19:37:44 +00:00
walterhiggins
1a4b087562 Added new 'inventory' module. 2015-03-22 14:05:19 +00:00
walterhiggins
3ba7200ab0 doesn't make sense to have a default value for numTimes in times() drone method. 2015-03-22 14:05:06 +00:00
Walter Higgins
0392eebf29 Merge pull request #210 from carlrobert/patch-6
Call updateCapabilities() after setMayFly
2015-03-22 07:35:41 +00:00
Robert Storlind
0d2093186d Broken bukkit links now mended (signs)
Still needs to add the corresponding Canary stuff
2015-03-20 17:49:30 +01:00
monowii
9c8fb70e4e Fix issue #215 2015-03-07 11:36:45 +01:00
Robert Storlind
b3d4764646 typeid changed to typeId 2015-03-05 22:15:56 +01:00
walterhiggins
85168033b9 Use ScriptCraft as name of plugin 2015-03-01 13:52:48 +00:00
walterhiggins
cdc2a2a11b Fixes issue #220 2015-03-01 13:52:23 +00:00
walterhiggins
16c3c6b01f Fix issue #220 2015-02-28 23:54:59 +00:00
walterhiggins
45c52e67d5 partial fix for issue #217 (no async task runners in CanaryMod) 2015-02-21 10:43:12 +00:00
walterhiggins
a71f74921b Fix issue #216 2015-02-21 10:19:51 +00:00
walterhiggins
5a82f0afa7 fix issue #214 2015-02-19 20:24:20 +00:00
walterhiggins
fec318c2a4 add jslint globals comment 2015-02-16 22:10:25 +00:00
walterhiggins
1f122cb2cb fix issue #213 http request broken in canarymod 2015-02-16 22:09:55 +00:00
walterhiggins
d083da049a Added blocks.slime, barrier, trapdoor_iron, prismarine, sunflower 2015-02-15 13:10:17 +00:00
carlrobert
62bd90a563 Call updateCapabilities() after setMayFly
With CanaryMod, this appears to be required for capabilities to take effect.
2015-02-14 22:22:03 +01:00
walterhiggins
78ae505504 merging Rob's changes to ypgpm' 2015-02-14 11:52:06 +00:00
walterhiggins
d9e6cea844 added this.cancel() for canceling events inside an event handling function. 2015-02-14 11:50:20 +00:00
Walter Higgins
b4e5b68392 Merge pull request #209 from carlrobert/patch-5
Flying adapted to CanaryMod
2015-02-14 11:28:36 +00:00
carlrobert
55f1f9c9b5 Flying adapted to CanaryMod
CanaryMod requires a bit more code, I'm afraid.
2015-02-14 10:41:42 +01:00
carlrobert
a16e0a6eae Now points to CanaryMod property files
As per Walter's request, new pull request for the right file :)
2015-02-14 10:27:38 +01:00
walterhiggins
6c95da14f8 Fixes slash module for canary so it works with all commands not just vanilla. 2015-01-25 19:30:12 +00:00
walterhiggins
30c4667a2b created new 'slash' module for executing commands. 2015-01-25 19:11:18 +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
b44a194fd4 made classroom a module (exposed as a plugin) 2015-01-24 19:42:52 +00:00
walterhiggins
fac11b8add add use strict to fireworks 2015-01-24 00:08:21 +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
60e3e547bd Fixes issue #200 - added an extra param 'cancel' to event handlers. when called it will cancel the event (if it's cancelable) 2015-01-18 20:27:37 +00:00
walterhiggins
de5c95114f Adding section on Permissions. 2015-01-18 15:01:51 +00:00
walterhiggins
5f205ecb2e Fixes issue #174 2015-01-18 13:51:49 +00:00
walterhiggins
223d7cf02b Fix issue #202 2015-01-17 09:44:14 +00:00
walterhiggins
2fad33b35d fixes issue #199 2015-01-17 09:31:14 +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
8d09984df7 Fix heading level for dancefloor docs 2015-01-16 21:23:22 +00:00
walterhiggins
ed8782873a Fix issue #196 2015-01-16 21:20:34 +00:00
walterhiggins
d33c9ca1e4 Fix issue #193 2015-01-11 12:27:47 +00:00
walterhiggins
d73ab1a083 event handling example tweaks: consistent form for event-handling. 2015-01-11 00:46:55 +00:00
walterhiggins
2e7dfb2453 Update docs per new way to require('drone') 2015-01-11 00:29:43 +00:00
walterhiggins
c21be34609 Re-enabling signs and arrows modules/plugins for CanaryMod 2015-01-11 00:09:56 +00:00
walterhiggins
4819a0531f deprecating Drone.copy() and Drone.paste() and updating to 3.1.0 2015-01-10 11:45:08 +00:00
walterhiggins
ea84afde09 simplified delayed execution of drone building. 2015-01-06 22:31:49 +00:00
walterhiggins
8d8ea69dda moving core drone and extensions into modules folder so 3rd-party extensions/contributions can use require('drone') instead of the existing unwieldy require('../drone').Drone 2015-01-03 20:57:30 +00:00
walterhiggins
e8b1cc274d give cottages a wood floor 2015-01-03 13:13:10 +00:00
walterhiggins
dd693af91d stairs are queued 2015-01-03 13:12:51 +00:00
walterhiggins
62821db815 Tweaks for Spigot 1.8 2015-01-03 12:32:57 +00:00
walterhiggins
dad20186d7 removed delay for ladder and lcdclock. 2015-01-03 11:08:40 +00:00
walterhiggins
c7e2eeed85 minor tweaks to fort, ladder, sign and young person's guide. 2015-01-03 09:50:37 +00:00
nixnax
da673ebdcd Change world.time to world.totalTime
Fixes the "NAN" bug in LCDClock()
2015-01-02 16:22:45 -06:00
walterhiggins
aae6710427 Fix classroom module for use with CanaryMod 2015-01-01 18:24:44 +00:00
walterhiggins
6cb61c0e95 Adding documentation for bed() method. 2015-01-01 12:53:11 +00:00
walterhiggins
a63648cb97 Added bed() and improved low-level drone methods. 2015-01-01 12:47:36 +00:00
walterhiggins
72e0b6246e Fixes issue #188 2015-01-01 10:00:55 +00:00
walterhiggins
00acc49356 Fixes issue #177 (on later versions of CanaryMod which do support world.generateTree() ) 2015-01-01 08:39:07 +00:00
walterhiggins
fbb8bb032d tweaking young person's guide - update events link. 2014-12-31 19:50:13 +00:00
walterhiggins
0625fab97f Merge branch 'master' of github.com:walterhiggins/ScriptCraft 2014-12-31 11:16:32 +00:00
walterhiggins
99e9580cd9 Removing empty lib/canary.js and removing craftbukkit references from scriptcraft.js docs 2014-12-31 11:15:28 +00:00
Walter Higgins
132d4d5c9f fix issue #185 2014-12-31 09:40:30 +00:00
Walter Higgins
922a57b7df fix problems on Mac OS 2014-12-31 09:12:57 +00:00
walterhiggins
e388cdbc8e Further testing and tweaking of Documentation. 2014-12-30 18:12:10 +00:00
walterhiggins
1a0b71f92e Automatically apply correct facing metadata if missing from certain blocks. apply this metadata as properties in 1.8. (Part of work preparing for 1.8) 2014-12-30 14:54:38 +00:00
walterhiggins
63c1a69ead Fixed hanging torches, steps, ladders in 1.8 need to test with 1.7.10 2014-12-29 22:42:00 +00:00
walterhiggins
b0e15bfa80 Reorganization of Drone from 1 monolithic module to smaller modules. 2014-12-28 15:07:08 +00:00
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
0bc45c1b49 ensure Canary.inf has latest version number. 2014-11-14 19:57:48 +00:00
Walter Higgins
704ce039fb Fixes issue #166
Need to rebuild and bump version from 3.0.0 to 3.0.1
2014-11-13 14:31:19 +00:00
walterhiggins
795043cbb0 changed for canarymod 2014-11-09 13:02:49 +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
9b10d51779 moving path. 2014-10-18 11:07:59 +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