Commit graph

271 commits

Author SHA1 Message Date
Atif Aziz
de122d8377 Typo/Bug fix in Anatomy doc sample code
The sample code refers to `e.message` when `evt.message` was intended. This causes a run-time exception because `e` is undefined.
2014-07-13 13:09:41 +02:00
walterhiggins
bded5e8bd5 docs for tab-completion of jsp command using function 2014-06-14 15:47:13 +01:00
walterhiggins
e0acaed700 add doc comment for command tab completion using a function 2014-06-14 15:45:44 +01:00
walterhiggins
ede823d62c fixed bug in persistence module 2014-06-06 18:17:30 +01:00
walterhiggins
20519d88db fix tab completion for /jsp command 2014-05-29 22:10:16 +01:00
walterhiggins
fa64f07c38 doc changes - change ref of js-plugins to scriptcraft/plugins 2014-05-26 21:03:47 +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
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
walterhiggins
9d2df863b6 spacing 2014-04-25 20:51:15 +01: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
Marco Aurelio Gerosa
dcef5a0b9c Update YoungPersonsGuideToProgrammingMinecraft.md 2014-04-06 21:32:34 -07:00
walterhiggins
aa58d490fe release notes for simplified event handling 2014-03-15 18:33:03 +00:00
walterhiggins
c3db7a4314 Updated to reflect events rework. 2014-03-15 18:12:34 +00:00
walterhiggins
f82d88cb3f Event handling rework. Simplified event handling and unregistering. 2014-03-15 18:06:23 +00:00
walterhiggins
0a506f80ed Adding Drone.MAX_VOLUME and Drone.MAX_SIDE properties 2014-03-13 19:23:32 +00:00
walterhiggins
7977dc0fb5 fix issue #124 2014-03-11 20:06:29 +00:00
walterhiggins
360b7df75b Fix issue #115 2014-03-11 19:57:40 +00:00
walterhiggins
fae2b6aac7 Improved Drone background-processing. 2014-03-08 21:01:25 +00:00
walterhiggins
d97936ed10 updated release notes for 2.0.5 release 2014-02-19 22:20:06 +00:00
walterhiggins
96b1a54896 Making bukkit objects easier to identify by name (bk prefix) 2014-02-19 22:17:19 +00:00
walterhiggins
d976563adf Drone.garden() is now non-destructive - won't destroy existing blocks. 2014-02-19 00:15:44 +00:00
walterhiggins
5bec21d381 Fix bug in reload - data dir was not present. fix #119 2014-02-16 18:29:15 +00:00
walterhiggins
2e4516bf69 Added 'utils.unwatchFile()' function to fix #117 2014-02-11 21:10:56 +00:00
walterhiggins
3c7d3a2bb4 Added section on configuration (server.properties) to young persons guide 2014-02-11 20:58:45 +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
39b459ab7f further syntax-highlighting and ignore netbeans folder. 2014-02-04 21:49:12 +00:00
walterhiggins
f1925efd87 added syntax-highlighting to code samples 2014-02-04 21:36:00 +00:00
walterhiggins
fe62f61883 fix code in sc-mqtt module 2014-02-04 21:04:12 +00:00
walterhiggins
349c2f17cf added docs for chat/color plugn 2014-02-04 20:53:59 +00:00
walterhiggins
29eb6c1975 added craftbukkit link to guide 2014-02-04 08:38: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
a098963f90 Workaround for stupid array index notation access bug in Nashorn. 2014-01-22 23:57:27 +00:00
walterhiggins
9a2b39b108 updated release notes for mqtt 2014-01-17 23:33:23 +00:00
walterhiggins
a13f3badd9 Adding sc-mqtt module for comms with Arduino 2014-01-17 23:05:36 +00:00
walterhiggins
963df1898c configuration docs for issue #102 2014-01-14 23:01:20 +00:00
walterhiggins
3a6cb1057d Further changes to achieve compat with Nashorn java 8 2014-01-13 23:01:17 +00:00
walterhiggins
7cb679cfd1 Fix issue #112 (Support for Nashorn in Java8) 2014-01-13 21:06:17 +00:00
walterhiggins
7f1e5e637e updated young persons template and refactored minigame scoreboard. 2014-01-12 12:06:30 +00:00
walterhiggins
839f3d10f2 Merge branch 'master' of https://github.com/walterhiggins/ScriptCraft 2014-01-12 11:27:13 +00:00
walterhiggins
aefc98f172 Fix issue #111, reorg of lib/ and (undoc'd) persistence 2014-01-12 11:26:26 +00:00
K. M. Lawson
c2886555e3 reversed step 4-5 in install
Reference to CraftBukkit command window seemed a bit out of place if the server is not running. Thanks for great work here!
2014-01-11 12:32:16 -05:00
walterhiggins
c77e78c2e5 switch paragraph order in java api doc 2014-01-06 20:59:59 +00:00
walterhiggins
cc4a3e3a14 Added java apis in js doc. Fixed toc links. save uses pretty json. 2014-01-06 20:54:53 +00:00
walterhiggins
06f9007369 self is available for autocompletion 2014-01-05 17:20:54 +00:00
walterhiggins
8c3dc92c2a Added documentation for the Signs module and changed Signs examples so that a valid sign must be provided to the function returned by signs.menu(). 2014-01-05 15:20:29 +00:00
walterhiggins
73fdf04bc2 Target java 1.6 and fix exception on Mac OS due to alias plugin 2014-01-05 12:23:09 +00:00
walterhiggins
c591ec06a6 fix issue #107 2014-01-04 22:06:23 +00:00
walterhiggins
cc3c87da23 fix links 2014-01-04 20:23:17 +00:00
walterhiggins
5239709fcf problems with links in toc 2014-01-04 20:17:49 +00:00
walterhiggins
2ee9dd6515 Added Table of Contents to API Reference - Issue #104 2014-01-04 18:39:49 +00:00
walterhiggins
6a73144c93 generate table of contents for Young Persons guide 2014-01-04 16:57:43 +00:00
walterhiggins
8ff7020c76 fix bug: signs not being saved 2014-01-03 09:18:43 +00:00
walterhiggins
4803f3027a Added 'use strict' to lib modules. Added legacy directory check 2014-01-02 18:46:46 +00:00
walterhiggins
c774b5631f Moved scriptcraft dir from {craftbukkit-root}/scriptcraft to {craftbukkt-root}/plugins/scriptcraft in line with other plugins 2014-01-01 21:02:11 +00:00
walterhiggins
220d246b42 added subsection on keeping score for all players 2014-01-01 20:30:20 +00:00
walterhiggins
f872424137 fixed typos in young persons guide 2014-01-01 15:37:01 +00:00
walterhiggins
e550ab7db2 Added section on event-driven programming and lookup tables to young persons' guide 2014-01-01 15:30:12 +00:00
walterhiggins
cdc8ad7d9b Tweaks to documentation (examples and all files in same directory sorted alphabetically except where precedence regexp present) 2013-12-31 21:09:50 +00:00
walterhiggins
6d9f2b4337 Updated example plugin docs to be included in the API reference. 2013-12-31 20:33:00 +00:00
walterhiggins
bb9433a6d3 Improved documentation of the utils module and fixed bug in signs module due to changes to serialization/deserialization of locations. 2013-12-31 20:12:57 +00:00
walterhiggins
686285dcfb Added 2 new example plugins and changed drone so that public extensions (box, sphere, etc) pass 'self' as first param to Drone constructor (part of eventual phase-out of 'self' variable). 2013-12-31 18:21:40 +00:00
walterhiggins
0ec7dfc8ad Updated README and added Anatomy doc 2013-12-31 09:48:38 +00:00
walterhiggins
ab2b26dace removed coffeescript target from build.xml 2013-12-30 21:52:58 +00:00
walterhiggins
f88d1f0428 'Buddha' Release : The annihilation of 'self' variable.
use of 'self' should be limited only to in-game or console commands. It should not be used in the context of a module.
2013-12-30 21:33:12 +00:00
walterhiggins
fc440654b8 Fixed issue with stack trace in console when empty commands entered. Added more example modules 2013-12-30 01:07:41 +00:00
walterhiggins
4b85500257 release note for issue #103 2013-12-29 13:06:43 +00:00
walterhiggins
5d00be9df4 Fix issue #103 on Mac 2013-12-29 12:58:20 +00:00
walterhiggins
1c05da1862 Documentation tweaks. Changed heading levels for the arrows and commando
modules.
2013-12-28 23:02:50 +00:00
walterhiggins
7679a1208f Added documentation for the 'homes' module ( issue #105) 2013-12-28 22:49:13 +00:00
walterhiggins
a0ad7a8ec6 Updated docs for 'console' module and changed error message for failed require() to be more informative. 2013-12-28 12:12:45 +00:00
walterhiggins
76164254ba Cleaning up markdown documentation. 2013-12-28 08:44:40 +00:00
walterhiggins
1562a3bf0f Updated release notes to reflect recent changes 2013-12-27 22:59:18 +00:00
walterhiggins
e0f8f0dc0f Updated alias command to create aliases without 'jsp' prefix and added 'console' global variable 2013-12-27 22:52:16 +00:00
walterhiggins
d4fe3f9b1b updated link to API-Reference.md 2013-12-26 15:51:31 +00:00
walterhiggins
509705487a made 'events' global 2013-12-26 15:38:24 +00:00
walterhiggins
c15b0c9ece added commando module 2013-12-25 22:35:00 +00:00
walterhiggins
c6d123f36a src/main/javascript/plugins/commando
Fixing issue #83
2013-12-25 22:32:57 +00:00
walterhiggins
b92e9e4a07 made blocks a module rather than a plugin 2013-12-25 13:39:04 +00:00
walterhiggins
c6b600ae9f fill-region 2013-12-24 23:09:25 +00:00
walterhiggins
82c9b9c125 release notes for 'modules' release 2013-12-24 23:07:20 +00:00
walterhiggins
82f1928628 updating docs for module release 2013-12-24 22:47:57 +00:00
walterhiggins
eb098ff176 reorg 2013-12-24 00:15:17 +00:00
walterhiggins
4ffc5f6850 updated require docs 2013-12-21 09:10:59 +00:00
walterhiggins
f35a729ceb Adding support for 'require()' and node.js-style modules (not node modules per se - just support for the same module semantics) 2013-12-21 08:58:40 +00:00
Walter Higgins
db88a51cbf Update YoungPersonsGuideToProgrammingMinecraft.md 2013-12-19 11:21:55 +00:00
Walter Higgins
508d6f0622 Update readme.md 2013-12-19 10:43:13 +00:00
Walter Higgins
06a88a1073 Update readme.md 2013-12-19 10:37:28 +00:00
Walter Higgins
d889b301b3 Create readme.md 2013-12-19 10:12:38 +00:00
walterhiggins
90c1171627 now named API-Reference.md 2013-12-17 23:54:06 +00:00
walterhiggins
a760cec44c spelling error in docs 2013-12-17 23:52:53 +00:00
walterhiggins
249d3dda31 improved require function 2013-12-17 23:49:00 +00:00
walterhiggins
4fb370bfea changed api doc to API-Reference and tweaked Young Person's guide to use blocks variable 2013-12-17 21:42:25 +00:00
walterhiggins
4f390374ef updated first steps 2013-11-03 18:37:18 +00:00
Walter Higgins
e6c1801a9b Update YoungPersonsGuideToProgrammingMinecraft.md 2013-10-25 08:18:38 +01:00
Walter Higgins
872d062716 Fixed scriptcraft download link. 2013-10-25 08:16:56 +01:00
Walter Higgins
cfb21f8273 Update YoungPersonsGuideToProgrammingMinecraft.md 2013-10-25 08:15:59 +01:00
Aaron Mueller
126773fc4c Merge remote-tracking branch 'wh/master' 2013-10-15 22:09:33 +02:00
walterhiggins
6f725423c0 reordered comments 2013-10-13 21:08:31 +01:00
walterhiggins
396a8e6107 Added setTimeout(), clearTimeout(), setInterval() and clearInterval() functions so javascript programmers familiar with these functions can use them in Minecraft 2013-10-09 18:42:39 +01:00
Ruben Müller
6d39b953a6 Update YoungPersonsGuideToProgrammingMinecraft-de.md 2013-08-17 18:56:57 +02:00
Ruben Müller
4944db4dc5 Update YoungPersonsGuideToProgrammingMinecraft-de.md 2013-08-17 14:41:55 +02:00
Ruben Müller
aa7ff1a0e2 Update YoungPersonsGuideToProgrammingMinecraft-de.md 2013-08-17 14:40:11 +02:00
Ruben Müller
5432ff4f83 More german translations and some optimization in the heading stacking 2013-08-11 20:35:24 +02:00
Ruben Müller
de9da70e01 Optimized the TOC and translated some paragraphs 2013-08-11 20:35:23 +02:00
Aaron Mueller
3f6b9573c9 Some more translation ... 2013-08-11 20:35:23 +02:00
Aaron Mueller
8cf80e429d Translate the functions chapter and fix some view issues 2013-08-11 20:35:23 +02:00
Aaron Mueller
dc93b57769 Some quick n' dirty markdown "viewer" 2013-08-11 20:35:23 +02:00
Aaron Mueller
71a7cc53b0 Translate the variables part 2013-08-11 20:35:23 +02:00
Aaron Mueller
b176ef703a Installation 2013-08-11 20:35:23 +02:00
Aaron Mueller
3850e8be3d Start with the introduction 2013-08-11 20:35:23 +02:00
Ruben Müller
1e80235a01 Working on the german translation for YoungPersonsGuideToProgrammingMinecraft-de.md 2013-08-11 20:35:23 +02:00
Ruben Müller
db265cc425 Copied 'YoungPersonsGuideToProgrammingMinecraft.md' to 'YoungPersonsGuideToProgrammingMinecraft-de.md' – German translation can begin 2013-08-11 20:35:23 +02:00
walterhiggins
5a415d9838 fix issue #90 2013-08-08 08:02:27 +01:00
walterhiggins
c7b2786a8a fix typo in comments and improved examples for the foreach function 2013-08-03 13:50:06 +01:00
walterhiggins
df56b53593 Added 'utils.at' function for scheduled callbacks 2013-08-03 13:14:09 +01:00
walterhiggins
b08b112107 fix for issue #86 2013-07-28 10:54:08 +01:00
Shane Riley
d25a91e37b Add blocks added with 1.6, DRY up color variation setting 2013-07-22 10:03:44 -04:00
walterhiggins
9ee6e229f0 fix typo in md 2013-06-24 20:23:11 +01:00
walterhiggins
2e283dcd39 documentation for fireworks module 2013-06-23 22:04:46 +01:00
walterhiggins
54ec523f6f fixed api.md 2013-06-07 19:58:45 +01:00
walterhiggins
335b8b1bdc updated docs/comments 2013-06-07 19:50:12 +01:00
walterhiggins
a8ad3e0444 fixed api docs 2013-06-07 08:35:22 +01:00
walterhiggins
9605e32801 new classroom module 2013-06-07 00:01:46 +01:00
walterhiggins
6a649647b1 typo - Drone.times() 2013-05-27 22:06:02 +01:00
walterhiggins
13afac33a4 fixed tree functions and added times function 2013-05-27 21:39:43 +01:00
walterhiggins
81e2e2f76b tweaked next steps section 2013-05-05 13:02:29 +01:00
walterhiggins
6d7b666b57 added section on making decisions 2013-05-04 17:31:13 +01:00
walterhiggins
9455a31889 added reader exercise comment 2013-04-14 15:20:02 +01:00
walterhiggins
51374ac1db Use sensible default metadata when placing stairs (if none provided) 2013-04-14 14:55:23 +01:00
walterhiggins
0357b8fadc new section on skyscrapers 2013-04-13 13:22:38 +01:00
Dirk Krause
b36baa744e fixed small typo in the arc example. 2013-04-04 17:34:01 +03:00
walterhiggins
0fa8196fba first commit of http.request module 2013-03-31 14:54:38 +01:00
walterhiggins
b091abcea3 added sound exercise 2013-03-23 15:56:15 +00:00
walterhiggins
1b40158699 image link fixed 2013-03-23 14:18:54 +00:00
walterhiggins
fe82a52d2c first draft of guide 2013-03-23 14:14:53 +00:00
walterhiggins
0a4e7cfc44 New images for Young Persons Guide to Programming Minecraft 2013-03-23 14:14:12 +00:00
walterhiggins
7200af2bc3 further changes for issue #72 2013-03-23 12:54:15 +00:00
walterhiggins
777fb9ce5b Add support for java.util.Collection to utils.foreach() 2013-03-17 11:57:48 +00:00
walterhiggins
89b2dca496 fixed typo - forg -> org 2013-03-09 22:13:36 +00:00
walterhiggins
66abbfc142 fix for issue #69 2013-03-09 16:50:12 +00:00