Walter Higgins
03cba5c426
fixing block comma problems and update to 3.2.1
6 years ago
Walter Higgins
207d922767
Fix issue #243 and autoindent blocks.js
6 years ago
Walter Higgins
f35fd111fb
Merge pull request #315 from TonyGravagno/master
...
Adding new blocks
6 years ago
BuildTools
7701c6783c
Merge branch 'master' into development
6 years ago
BuildTools
f60c8ef96d
fixes issue #306 - removed warning for plugins/scriptcraft folder
6 years ago
BuildTools
d7758897d3
Updating spawn and entities documentation
6 years ago
BuildTools
9b113e2c9b
fix issue #312 - updated slash docs and code
6 years ago
BuildTools
4887fab4bf
fix spawn doc links and support entities autocomplete
6 years ago
Tony Gravagno
7b6bed6fa1
generateTOC has preliminary disabled code for evaluation by Walter. Would like to know if it's worth pursuing.
...
blocks.js has many significant updates. Note "breaking fix" of a "redston" item for "redstone". Existing apps will need to correct this if they use it.
6 years ago
Walter Higgins
6b92532cde
Merge pull request #298 from ekellener/master
...
Fixed updatePlayerScore correctly update the score
6 years ago
Walter Higgins
975bb733fa
Merge pull request #297 from kabiroberai/master
...
Fixed a typo in entities.js
6 years ago
Walter Higgins
f2f28a55fe
Merge pull request #294 from ChristianRiis/patch-1
...
Update request.js
6 years ago
walterhiggins
d169f492de
Updating Young Person's Guide to use SpigotMC and fixed missing/broken events helper calls.
6 years ago
walterhiggins
9f7cdaab08
fixes issue #304
6 years ago
Erik
8c224e2565
Fixed updatePlayerScore correctly update the score
...
ObjectiveName and score were merged in a single field, causing the update not to happen.
7 years ago
kabiroberai
bb6bdbd57d
Fixed a typo in entities.js
...
Fixed a typo in entities.js in which a comment said 'reuire' instead of 'require'
7 years ago
Christian Riis
4be10dfa8f
Update request.js
...
Replaced 'request' with 'http' in the example
7 years ago
Ruud Schramp
1122c2ef23
Small error in demo code, index missing
7 years ago
walterhiggins
65157383aa
fix docs for sounds for Spigot 1.9
7 years ago
walterhiggins
8bc648ec29
Fix issue #256 and fix issue #287
7 years ago
walterhiggins
f9f60f7702
Merge branch 'requireCacheAccess' of https://github.com/MrVoltz/ScriptCraft into MrVoltz-requireCacheAccess
7 years ago
walterhiggins
6cfe460e37
Merge branch 'refreshFix' of https://github.com/MrVoltz/ScriptCraft into MrVoltz-refreshFix
7 years ago
Martin P
ef04a62c54
Allow access to module cache through require.cache and require.resolve
7 years ago
Martin P
d27747b3a0
Fix refresh(): add skipOpCheck parameter, unregister event handlers & cancel tasks (only Bukkit)
7 years ago
Martin P
a0b46b0975
Fixed: Allow loading json using require()
7 years ago
walterhiggins
badf8b5470
Undoing merge of PR #278
7 years ago
Walter Higgins
eef507fdfe
Merge pull request #278 from MrVoltz/patch-1
...
Allow loading json using require()
7 years ago
Walter Higgins
7090ac5c5b
Merge pull request #274 from aaron-powell/master
...
Fixed bukkit version of recipes.js module
7 years ago
walterhiggins
b99fe6a258
Updating young persons guide
7 years ago
walterhiggins
acff317aa8
Fix API generation
7 years ago
walterhiggins
aa42b74119
Added lightning module
7 years ago
walterhiggins
46405978f5
Updating canarymod links
7 years ago
walterhiggins
9d58e2dc9a
Updating link to canarymod admin guide - fix issue #281
7 years ago
walterhiggins
e285bb6891
added new entities and spawn modules
7 years ago
MrVoltz
7b309dba16
Allow loading json using require()
7 years ago
walterhiggins
4aa28c0af3
Make blocktype work with numbers
7 years ago
Aaron
893dbd6aaa
Fixed bukkit version of recipes.js module
...
I was having trouble adding recipes to my bukkit server using ScriptCraft. It looks like the example in js/modules/recipes.js only works on a CanaryMod server, and the original version of js/modules/bukkit/recipes.js caused type related errors and didn't seem to implement Spigot/Bukkit methods properly. With these changes I can now create a custom recipe and add it to the server with the following (note that the recipes.add() function both creates a bukkit ShapedRecipe AND adds the recipe to the server):
var items = require("items");
var recipes = require("recipes");
var events = require("events");
var bow = items.bow(1);
var tnt = items.tnt(1);
var explodeBow = items.bow(1);
var explodeBowMeta = explodeBow.getItemMeta();
explodeBowMeta.setDisplayName("Bow of Exploding");
explodeBowMeta.setLore(["Excite. Very boom."]);
explodeBow.setItemMeta(explodeBowMeta);
var explodeBowRecipe = recipes.add(
{
result: explodeBow,
ingredients: {B: bow, T: tnt},
shape: [" ", "TB ", " "]
});
7 years ago
Maarten Verwijs
5dd897aaa9
Fixes incompatibility where utils.players is []
...
Using spigot 1.8.8, utils.players() always returns empty due to usage of deprecated calls.
This fixes it on my machine, but not tested on other 'bukkit' servers.
7 years ago
Walter Higgins
e3079047a1
Merge pull request #264 from CoderDojoStirling/classroom-example-file
...
Put example js file in classroom player directory.
8 years ago
walterhiggins
bff23932a7
Fix issue #269 for both spigot and canary - make sure new stairs don't cause same issue again.
8 years ago
walterhiggins
0dbff00703
Fix issue #269
8 years ago
walterhiggins
c6d6dea3db
3.1.10 release - fixed bukkit javadoc link. Added canarymod-1.8.0 and spigot-1.8.8.jar
8 years ago
walterhiggins
bef42e3148
Fixes issue #265 (sound module broken in bukkit/spigot/glowstone)
8 years ago
Gregory Huczynski
9e7cb07a8f
Put example js file in classroom player directory.
8 years ago
walterhiggins
62ff9034a6
Fix issue #261
8 years ago
walterhiggins
5fc1b9cb05
fixes issue #254
8 years ago
Walter Higgins
db4be7950f
Merge pull request #251 from carlrobert/patch-20
...
Remove unused variables bkBukkit, bkSign
8 years ago
Walter Higgins
1ee38d809e
Merge pull request #247 from carlrobert/patch-17
...
Known times() limitation mentioned
8 years ago
Walter Higgins
6ab9581a62
Recipes module - workaround for JDK-8072596
8 years ago
Walter Higgins
fdd599ca97
fixing fireworks problem on mac os
8 years ago