jay
356f83e39b
fix(command): 👽 fix whisper
event api change with an extra parameter
...
Whisper also now includes who it was whispered to
2021-05-03 07:14:45 +05:00
jay
5b3804893b
feat(command): ✨ fix to show web (including extra [MODE]) messages
...
There's no way to remove `bot.addChatPattern`, so only does once on load
2021-04-29 08:37:46 +05:00
jay
9f6fea2423
feat(command): 🔊 add system (non-chat) messages to console log
...
This includes anything that doesn't return a `.text`.
Such as an `extra`, `translate` or other `json` formatted message.
Ex:
- afk
- errors
- player leave and joins
2021-04-29 08:24:51 +05:00
jay
60394e38eb
refactor: ♻️ replace add
with vec3.offset
...
This avoids having to import and creat a `new vec3.v()`
2021-03-24 00:40:54 +05:00
jay
22490f7ec1
fix(command): 🐛 fix bot address regex returning undefined
...
Waits till spawn to make sure `bot.username` is definitely initialized
2021-03-23 23:10:58 +05:00
jay
72c4622091
feat(informer): ✨ various improvements and fixes
...
Feat:
- Letter aliases for subcommands.
- Most recent command when no input.
- Start player relative info stub.
Fix:
- Player username not shown.
2021-03-23 15:14:13 +05:00
jay
0757776d8b
feat(command): 🎨 make botaddress prefix and regex more flexible and configurable
2021-03-23 14:39:07 +05:00
jay
33c4233223
feat(statemachine): 🚧 first draft of new xstate based statemachine implementation
...
Replaces the old statemachine.
Done so far:
- Basic command interface
- Machine saving and loading
- Sample dummy machine
2021-03-22 14:32:08 +05:00
jay
b1a592dbbd
fix(mover): 🐛 workaround for vehicle not being removed in api on dismount
...
`bot.vehicle` isn't removed on dismount, so this done manually
2021-01-28 02:24:59 +05:00
jay
e6d29576e7
refactor(command): 🚚 move vehicle commands near other moves
...
Move the following:
- vehicle commands next to other movement related commands like `go`.
- move `ride` / `mount` command functionality into mover plugin
2021-01-26 22:49:23 +05:00
jay
cc18ac5c2e
refactor(mover): 🚚 move commands inside mover plugin itself
...
This reduces the code inside the command plugin.
Most of the logic was only relevant to moving anyway.
Command aliases like `come` and `follow` still remain in command plugin.
2021-01-17 23:59:39 +05:00
jay
7b2b936f81
feat(mover): ✨ implement moveY (vertical move up or down)
...
Doesn't appear to be working properly, bot assumes XZ is goal reached
2021-01-17 13:56:18 +05:00
jay
e74d796124
fix(command): 🐛 make follow
command work again without params
2021-01-16 13:50:35 +05:00
jay
b519913355
feat(mover): ✨ implement moving to X Z goal (without y)
2021-01-15 00:36:17 +05:00
jay
b1dab1968c
fix(command): ✏️ fix follow
command not working
2021-01-05 11:34:49 +05:00
jay
3219ec6155
feat(informer): ✨ actually add a command for info plugin
2021-01-05 11:32:33 +05:00
jay
f38ad8c819
fix(command): 🚧 fix and workaround bot look at this
...
Workaround being unable to look at what player is looking at.
Currently looks at what player is standing on.
2021-01-05 09:30:14 +05:00
jay
69d0f5830d
feat(mover): ✨ add close(er) command to follow / come closer
2021-01-05 08:11:11 +05:00
jay
ba7c53be0c
refactor(command): ♻️ make toss exit early if non-existent block
2020-12-27 00:30:46 +05:00
jay
5b4718fa5d
fix(command): 🐛 add missing return
2020-12-25 07:29:06 +05:00
jay
f2281a7cb3
feat(command): ✨ temp. move inventory chat handling to command
...
This is temporary, and only the `toss` function.
Old functionality is still intact.
New code will eventually move back as a subcommand to replace the old.
2020-12-24 19:41:52 +05:00
jay
e9f2080556
refactor(command): ♻️ refactor how mcData is loaded
...
`mcData` is now directly put on bot and loaded once.
It can be accessed from anywhere `bot` is accessible.
2020-12-24 17:51:44 +05:00
jay
086251bce6
feat: add a basic feature to rejoin on server restart
2020-12-24 13:38:16 +05:00
jay
0ae961521f
feat(command): ✨ expand follow to include rest of the !go follow
sub commands
2020-12-24 11:57:23 +05:00
jay
f8df1fa319
feat: ✨ update command plugin
2020-12-22 11:31:46 +05:00
jay
4f1e510386
feat: 🎉 init new repo
...
Dump of current working bot.
Warning: somewhat messy code! Lints haven't been run, no tests, etc.
2020-12-21 21:08:38 +05:00