167 Commits

Author SHA1 Message Date
74aac62994
style: fix unmerged import 2025-02-26 22:20:51 -05:00
76fd9ea82e
refactor(http): don't return 500 on reload error 2025-02-26 22:08:15 -05:00
d633820d19
refactor: try removing gc_stop
This used to cause deadlocks, but it's been a while with many things
rewritten. Let's try enabling it again to see if any issues surface.
Performance should increase as this was called on every event (packet?).
2025-02-26 17:38:04 -05:00
9b0f8ec406
feat(client): add menu field 2025-02-26 17:37:50 -05:00
543f0af741
refactor(lua/system): return command output as strings 2025-02-25 18:19:11 -05:00
e081813ba4
fix: flip direction table values 2025-02-25 18:12:33 -05:00
2b9bf1987b
refactor: minor improvements 2025-02-25 18:07:01 -05:00
5691afaf2d
fix(lib/inventory): use client.container 2025-02-24 22:20:07 -05:00
d7f863b680
feat: add set_health event 2025-02-24 18:27:50 -05:00
247612fad0
refactor: use a RwLock for event listeners 2025-02-24 16:56:10 -05:00
36054ced03
refactor: random cleanups and efficiency improvements 2025-02-24 01:31:51 -05:00
2ea7ec9e7e
fix(events): manipulate listeners in a task to avoid deadlocks 2025-02-23 17:18:55 -05:00
168ac1bb46
feat: switch to luajit for more features 2025-02-23 15:32:34 -05:00
b1dbfa6110
feat: add file logging via LOG_FILE environment variable 2025-02-23 15:20:15 -05:00
6e75c4e586
refactor(player): pass gamemode as u8 2025-02-23 02:49:09 -05:00
85cb2702f4
refactor: allow too many lines on handle_event 2025-02-23 02:20:28 -05:00
c959e14f80
feat: add set_passengers event 2025-02-23 02:00:05 -05:00
70ed508b0a
perf: switch to luau-jit 2025-02-22 18:57:41 -05:00
164ccd3a7f
refactor: only capitalize initial for globals 2025-02-22 16:44:24 -05:00
4e64bc6ac4
feat(client): pass entity pose in find_entities 2025-02-22 15:34:10 -05:00
3a93bb9e33
feat(client): pass entity direction in find_entities 2025-02-22 15:24:36 -05:00
550aee5578
refactor(lib): pass options from goto_player 2025-02-22 14:51:48 -05:00
3236c4c32e
feat(client): add set_position method 2025-02-22 14:51:48 -05:00
aaad1fe78a
refactor: utils -> system 2025-02-22 14:03:04 -05:00
9b9ccfd2b9
chore(cargo): update dependencies 2025-02-22 12:53:00 -05:00
9b586e9b47
feat: add system command utils 2025-02-22 12:53:00 -05:00
b7a5ae03f6
refactor(lib): print client position on death 2025-02-22 00:29:13 -05:00
3fc917efae
feat: expose command sender to code from in-game 2025-02-22 00:29:13 -05:00
aadc9a919e
chore: merge branch v0.2.0 into main 2025-02-21 23:18:30 -05:00
6fa586829c
fix: exit on server disconnect
azalea currently seems to just block forever.
2025-02-21 23:15:41 -05:00
70c1a83eb2
feat(client): bring a few commands from v0.1.0 2025-02-21 23:04:52 -05:00
08b9fbbc1e
chore: add basic readme 2025-02-21 22:33:57 -05:00
a4606e68e4
feat(client): add dimension field 2025-02-21 22:20:51 -05:00
ea7a370715
refactor: impl From for Vec3 2025-02-21 22:20:51 -05:00
6f0f3938a7
feat: add last few wrapped events 2025-02-21 22:20:51 -05:00
2f9e4f50cf
refactor: convert to Player struct 2025-02-21 21:52:05 -05:00
bd6698c4b4
feat: add event listeners 2025-02-21 21:52:04 -05:00
c2da997b71
refactor: a few small efficiency improvements 2025-02-21 21:29:20 -05:00
aa27d9fd36
feat(lib): add distance function 2025-02-18 23:08:22 -05:00
324cb2d6d8
refactor(client): make more methods async 2025-02-18 23:08:22 -05:00
75d4a9c183
refactor(client): simplify usage with deref 2025-02-18 23:08:22 -05:00
93a2dda8c6
feat: accept more lua types for Vec3 and Direction 2025-02-18 23:08:22 -05:00
0303244897
refactor: remove redundant lua type wrappers 2025-02-18 23:08:21 -05:00
2cba4d797f
fix(client): split long replies into multiple chunks 2025-02-18 23:08:21 -05:00
dde489a8ed
refactor: random fixes and usage improvements 2025-02-17 22:52:33 -05:00
8f2fbf11da
feat(client): add last few fields and methods 2025-02-17 15:50:41 -05:00
21cc1a5488
feat(client): add inventory manipulation wrappers 2025-02-17 15:50:41 -05:00
2373d6500e
refactor: rename a few things 2025-02-17 12:00:46 -05:00
93348835ac
chore(lua): add basic functions 2025-02-17 01:25:34 -05:00
fc5ff582c6
fix(client): clone client in async mut functions 2025-02-17 01:04:28 -05:00