f5481ace65
feat: Added PlayerJoin/PlayerLeave events
...
Co-authored-by: f-tlm <f-tlm@users.noreply.github.com>
2022-08-13 14:13:17 +02:00
8f3f8fd69b
fix: cheap way to get the auth url
2022-07-14 13:50:57 +02:00
5465837478
fix: correctly reset window state
2022-07-06 12:42:44 +02:00
bcf293a8ad
style: moved settings into globals
2022-07-06 12:42:29 +02:00
2ad89a61d2
chore: show which callback threw an exc
2022-07-03 19:10:36 +02:00
425a7c7f71
fix: setBlock was messing up the world...
2022-07-03 17:24:31 +02:00
f04d873d21
fix: I actually read wiki.vg
2022-07-03 17:13:25 +02:00
acdb60cd2f
fix: maybe I'm supposed to close containers when I receive windowId < 0 ?
2022-07-03 17:09:05 +02:00
c2ea55c699
fix: oversize container slots because minecraft is dumb
2022-07-03 16:54:40 +02:00
aa6f2b03bb
fix: add 36 slots for inventory
2022-07-03 02:02:45 +02:00
f6ee4b0d79
fix: slots + 1
2022-07-03 01:57:36 +02:00
312f132c50
fix: stop notifier
2022-07-03 01:19:00 +02:00
5abfb63bd3
feat: log module cleanup in debug
2022-07-03 01:15:50 +02:00
0540011bb6
fix: jank way to store block entities
2022-07-03 00:33:08 +02:00
d8c62e57d2
fix: use window_id 0 for "no container"
2022-07-03 00:27:29 +02:00
363eeea3aa
fix: initialize attributes
2022-07-03 00:16:00 +02:00
011531b1a4
fix: damn auto imports
2022-07-03 00:12:36 +02:00
48590d56bd
feat: process world (default off)
2022-07-03 00:06:15 +02:00
a563984e48
feat: parse Optional types in config object
2022-07-03 00:02:39 +02:00
61811f542b
feat: track container windows
2022-07-03 00:02:00 +02:00
d54fb380e9
fix: set total_xp in constructor
2022-06-18 16:13:26 +02:00
664cb64613
change MRO
2022-05-23 03:01:26 +02:00
4527b866bf
also show str(exception)
2022-05-23 02:41:01 +02:00
76c84006ad
put session files under data folder
2022-05-23 02:36:44 +02:00
847bde3d79
resolve srv default true
2022-05-23 02:27:33 +02:00
6364f52d0b
Don't str(None)
2022-05-23 02:22:19 +02:00
d2a13360a8
Don't mix falsy value with no value
2022-05-23 02:14:17 +02:00
4c6d906d3a
accept and pass args and kwargs in trait constructors
2022-05-23 02:01:28 +02:00
79886a2c64
small fixes
2022-05-23 01:45:04 +02:00
5f2beac41b
Moved config into scaffold, tweaks to init options
...
Changes for SRV resolution, get online_mode and legacy also from config
2022-05-23 01:11:06 +02:00
3067032f1b
use bare SectionProxy, remove UDP
...
bare SectionProxy won't throw KeyError when there's no [Treepuncher]
section in config and we're trying to access fields in it: we want
default value to be returned so it can fallback accordingly
2022-05-10 01:30:39 +02:00
f95f594967
added use_udp option
2022-05-09 23:53:50 +02:00
fdfe71b481
log a ton start/stop sequence
...
This is temporary: sometimes it gets stuck into stop() (I think?) so I'm
adding some debug prints everywhere so every instance can be used to
spot this issue
2022-05-06 10:35:24 +02:00
bbe668bcec
track HP changes
2022-05-05 10:30:57 +02:00
3548603578
track player abilities
2022-05-05 00:26:45 +02:00
b8477c3d22
use explicit deserialize
2022-05-05 00:19:40 +02:00
2885c3c270
changes for player type, install return instance, fixes
2022-05-04 23:35:46 +02:00
98d3967dfe
more limited jank fix
2022-04-29 00:45:46 +02:00
c2a9726ec6
install providers first
2022-04-28 13:46:14 +02:00
c29a03aeda
jank fix for 'Treepuncher' type hint
2022-04-28 13:44:17 +02:00
757be795c3
fix: lookup types with globalns
2022-04-28 13:18:18 +02:00
8b9848cdfb
useless commit spree: forgot I removed this
2022-04-28 13:00:52 +02:00
1ecb1c44e8
ops need to be typing strings
2022-04-28 12:59:52 +02:00
8503a36df4
ops xor was wrong
2022-04-28 12:57:40 +02:00
7c4c523562
print timestamp on stdout too
2022-04-28 12:54:23 +02:00
cfd5dd079a
added notifier/provider structure, moved addon out
...
now treepuncher has 1 notifier, which holds many providers for various
services. Each provider is an Addon, but not the Notifier itself.
Moved Addon and Notifier out of Treepuncher, and added type hints without
dependancy cycle with TYPE_CHECKING control
2022-04-28 01:57:19 +02:00
1307869d9c
Allow to enable logging of ignored packets
2022-04-27 13:30:19 +02:00
aeea271547
Merge branch 'microsoft' of github.com:alemidev/treepuncher into microsoft
2022-04-26 23:24:13 +02:00
61cfd72d1f
Assure notifier is initialized first
2022-04-26 23:23:46 +02:00
a3aacd6291
catch addon exc with bare traceback
2022-04-26 23:23:33 +02:00