Commit graph

27 commits

Author SHA1 Message Date
Romain Beaumont
8c4406804e use const and let instead of var
see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/const and https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/let
2015-12-17 11:36:43 +01:00
DemiPixel
aeb5f888df Small fixes to commands/tp 2015-12-14 19:37:17 +01:00
DemiPixel
e49daf1fcd Fixes, make errors red 2015-12-14 19:37:17 +01:00
Romain Beaumont
47c75671c4 create an entity.attach, some more selector fixes, and add a fun /pile <entities> command (that will go in a plugin later) 2015-12-11 05:20:10 +01:00
Romain Beaumont
9366c1b9a7 make /attach use the selectors, fix UserError, check /tp has one target
see http://stackoverflow.com/a/32749533 for UserError
2015-12-11 04:14:41 +01:00
Romain Beaumont
fcce925032 fix first page of help 2015-12-11 00:59:31 +01:00
Romain Beaumont
71a85c0f48 page length to 7 like vanilla 2015-12-11 00:23:49 +01:00
DemiPixel
cd646972f7 Fix help 2015-12-10 15:06:47 -08:00
DemiPixel
9b0970b291 Fix tp, implement entity.selectorString 2015-12-10 09:06:20 -08:00
DemiPixel
f38ea36c55 Make UserError in index.js 2015-12-10 00:14:29 -08:00
DemiPixel
cbb2068454 Made /help not shit 2015-12-09 23:04:57 -08:00
DemiPixel
fe2f220f10 Big changes to player/entity.sendPosition and entity/player.teleport. Not fully working yet. 2015-12-09 23:04:57 -08:00
DemiPixel
67af4a8144 Fix tp and setblock, implement relative position function, throw errors instead of returning, catch errors and display error 2015-12-09 23:04:57 -08:00
Romain Beaumont
865327b482 use require-self for better consistency with external plugins
require("flying-squid").someLib instead of require("../someLib")
2015-12-10 01:25:33 +01:00
Romain Beaumont
a770046407 properly implement /kill using selectors 2015-12-09 01:12:04 +01:00
Romain Beaumont
5d0d9ceb11 fix @e[type=Zombie] selector 2015-12-09 01:03:32 +01:00
DemiPixel
e151d6958e Finish basic implementation of selectors 2015-12-07 15:59:56 -08:00
DemiPixel
843fa1ffa2 Starting selectors (incomplete) 2015-12-07 01:21:45 -08:00
DemiPixel
f17f54fe92 Adding op 'n stuff 2015-12-05 21:52:46 -08:00
Romain Beaumont
b5d22e57f9 improve code with webstorm suggestion + split entities.js into spawn.js and other files 2015-11-28 18:23:26 +01:00
Romain Beaumont
f2889dd674 fix /command help message 2015-11-28 02:16:23 +01:00
DemiPixel
565309846b Fix packages, add catch to commands 2015-11-23 13:54:23 -08:00
DemiPixel
cb88a5cbbb Lots and lots and lots of changes... Plugins begin again! 2015-11-21 14:30:16 -08:00
Romain Beaumont
8d7523a995 fix /help <command> 2015-11-20 00:48:36 +01:00
Romain Beaumont
f522dfac97 use Vec3 correctly + move commands in the related plugins 2015-11-16 22:22:58 +01:00
Romain Beaumont
9bcbb991bb serv, player -> player,serv because serv is often not needed 2015-11-16 21:24:19 +01:00
Romain Beaumont
39dc37f94d put together player plugins and server plugins 2015-11-16 20:23:09 +01:00
Renamed from src/lib/playerPlugins/commands.js (Browse further)