Walter Higgins
f2f28a55fe
Merge pull request #294 from ChristianRiis/patch-1
...
Update request.js
7 years ago
walterhiggins
bc2ab2993a
fix heading level
7 years ago
walterhiggins
be649e36ce
Merge branch 'master' of https://github.com/walterhiggins/ScriptCraft
7 years ago
walterhiggins
d169f492de
Updating Young Person's Guide to use SpigotMC and fixed missing/broken events helper calls.
7 years ago
Walter Higgins
9b0ade78ef
Update license.txt
7 years ago
walterhiggins
350230b622
change order of events-related documentation
7 years ago
walterhiggins
9f7cdaab08
fixes issue #304
7 years ago
walterhiggins
b330f06ea4
adding link to canarymod version of howling-blocks
7 years ago
walterhiggins
b1237b88b2
added howling-blocks.js example to README.md
7 years ago
Walter Higgins
849cac769b
Update README.md
7 years ago
walterhiggins
26933f0940
adding spigot-1.10.2.jar as target
7 years ago
walterhiggins
246014fe09
Updating README.md to use SpigotMC instead of CanaryMod
7 years ago
walterhiggins
81f1666943
Built with Spigot 1.10.2
7 years ago
Christian Riis
4be10dfa8f
Update request.js
...
Replaced 'request' with 'http' in the example
7 years ago
Walter Higgins
5a936bab20
Merge pull request #293 from KidsProgramming/BUG_example_commandtestjs
...
Small error in demo code, index missing
7 years ago
Walter Higgins
a3ae45a13e
Merge pull request #292 from alex-teren/patch-1
...
Add missed dots
7 years ago
Ruud Schramp
1122c2ef23
Small error in demo code, index missing
7 years ago
Alexander
2905d262ce
Add missed dots
7 years ago
walterhiggins
65157383aa
fix docs for sounds for Spigot 1.9
7 years ago
walterhiggins
e5eae2108a
fix issues #256 and #287
7 years ago
walterhiggins
8bc648ec29
Fix issue #256 and fix issue #287
7 years ago
walterhiggins
c036e38f37
Merge branch 'MrVoltz-requireCacheAccess'
8 years ago
walterhiggins
f9f60f7702
Merge branch 'requireCacheAccess' of https://github.com/MrVoltz/ScriptCraft into MrVoltz-requireCacheAccess
8 years ago
walterhiggins
f2a7d82b18
updated API docs based on comments in #284
8 years ago
walterhiggins
459820e2c7
Merge branch 'MrVoltz-refreshFix'
8 years ago
walterhiggins
6cfe460e37
Merge branch 'refreshFix' of https://github.com/MrVoltz/ScriptCraft into MrVoltz-refreshFix
8 years ago
walterhiggins
eca25f7628
Merging pull request #283 Merge branch 'MrVoltz-MrVoltz-requireJson'
8 years ago
Martin P
ef04a62c54
Allow access to module cache through require.cache and require.resolve
8 years ago
Martin P
d27747b3a0
Fix refresh(): add skipOpCheck parameter, unregister event handlers & cancel tasks (only Bukkit)
8 years ago
Martin P
a0b46b0975
Fixed: Allow loading json using require()
8 years ago
walterhiggins
badf8b5470
Undoing merge of PR #278
8 years ago
Walter Higgins
eef507fdfe
Merge pull request #278 from MrVoltz/patch-1
...
Allow loading json using require()
8 years ago
Walter Higgins
7090ac5c5b
Merge pull request #274 from aaron-powell/master
...
Fixed bukkit version of recipes.js module
8 years ago
walterhiggins
b99fe6a258
Updating young persons guide
8 years ago
Walter Higgins
444eaccaab
Merge pull request #280 from tiagofassoni/patch-1
...
Added world-type=FLAT in young person's guide
8 years ago
walterhiggins
acff317aa8
Fix API generation
8 years ago
walterhiggins
8b0caf7295
updating release notes and version
8 years ago
walterhiggins
aa42b74119
Added lightning module
8 years ago
walterhiggins
46405978f5
Updating canarymod links
8 years ago
walterhiggins
9d58e2dc9a
Updating link to canarymod admin guide - fix issue #281
8 years ago
Tiago Fassoni
eca7ba1a3b
Added world-type=FLAT in young person's guide
...
In trying to get the generated world to be flat, the level-type=FLAT didn't work, but world-type=FLAT worked.
8 years ago
walterhiggins
e285bb6891
added new entities and spawn modules
8 years ago
MrVoltz
7b309dba16
Allow loading json using require()
8 years ago
walterhiggins
4aa28c0af3
Make blocktype work with numbers
8 years ago
Walter Higgins
e8895d77c0
Merge pull request #273 from mverwijs/fix-spigot-utils-players
...
Fixes incompatibility where utils.players always returns [ ]
8 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 ", " "]
});
8 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.
8 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