Commit graph

173 commits

Author SHA1 Message Date
4da1a9f834
load each addon only once but for real 2022-04-19 03:36:30 +02:00
6d64973c54
join_game_event holds args inside itself 2022-04-19 03:36:20 +02:00
db01f5d5b7
install notifiers first 2022-04-19 03:22:53 +02:00
148c809628
don't initialize notifier multiple times 2022-04-19 03:14:34 +02:00
6813181800
pass args kwargs in notifier 2022-04-19 02:36:21 +02:00
49fe4f185f
all the opposite 2022-04-19 02:26:40 +02:00
631ff0bc2c
fixed imports 2022-04-19 02:17:35 +02:00
3b9880ad6b
circular import 2022-04-19 02:14:46 +02:00
7b7c46e184
notifier is an addon and is taken from installed addons 2022-04-19 01:56:20 +02:00
7b5958dde3
various improvements
add print-token flag, put logs in log folder, load previous session after
aiocraft client setup, don't sleep if stopping
2022-04-19 01:17:37 +02:00
ab2170e669
fancier missing required parameter 2022-04-19 00:43:39 +02:00
9d7badba5d
handle auth exception 2022-04-19 00:23:56 +02:00
280d97afc8
didn't work but I found get_origin! 2022-04-19 00:19:13 +02:00
e18c725a6b
improved config parsing
now should try to respect type hint arguments (such as list[int]) and
work with typing stuff (List, Set)
2022-04-19 00:10:43 +02:00
28f84ca095
default to only configured addons 2022-04-18 21:45:02 +02:00
aebe8c1965
also in main 2022-04-18 20:46:26 +02:00
ab9d45c244
various fixes 2022-04-18 20:44:20 +02:00
814e489142
pass --mojang ... 2022-04-18 20:43:57 +02:00
a29cd737e8
fix: prepare dispatcher properly 2022-04-18 20:25:52 +02:00
d53272e411
some typing magic for retro compatibility 2022-04-18 20:06:54 +02:00
016e4170df
allow to use legacy token in config 2022-04-18 20:06:42 +02:00
af4cf7db90
reworked initialization
tldr now treepuncher handles initializing everything
2022-04-18 19:35:49 +02:00
c9f65f56aa
fixes for logger attribute 2022-04-18 19:35:11 +02:00
Francesco Tolomei
e2459f7982
WIP: authentication rework 2022-04-07 00:05:14 +02:00
f04cf02b4e
added scaffold 2022-04-06 21:31:59 +02:00
fafb19a7a2
added some events? 2022-04-06 21:30:54 +02:00
a5169f40cc
added traits 2022-04-06 21:30:15 +02:00
88bfadd8cd
brought features out of aiocraft, added game managers 2022-03-08 01:38:14 +01:00
b41f2f6074
small improvement 2022-02-20 14:32:52 +01:00
790f5cbb1f added .editorconfig 2022-02-20 13:27:52 +01:00
39dcfc4245 packaged new-style 2022-02-20 13:12:50 +01:00
d12b4b4f88
Various fixes, implemented credentials storage and addons with config vars 2022-02-16 04:07:11 +01:00
d5934da832
improvements, tweaks to addons system 2022-02-16 02:46:47 +01:00
78b97a42a6
ocd 2022-02-15 17:08:41 +01:00
4b1b508be9
restructured treepuncher, reworked addons system
Moved most of Treepuncher logic into 'game/*' files, making it more
modular. Changed a little bit events (but will need much more work).
Added SQLite storage and ini config file, for persistance. Moved the
launcher inside __main__, making it a launchable python module.

There still is some confusion between Addons and game logic components.
2022-02-15 16:53:53 +01:00
e20141f437 made it log rather than critical 2022-01-23 15:41:07 +01:00
8a8837bfd8 specify if a notification is critical 2022-01-23 13:39:59 +01:00
7bfb53dcc3 strip reports 2022-01-19 03:20:33 +01:00
657aa767c5 propagate unwrapped func for stacked decorators 2022-01-19 02:27:05 +01:00
83beb50a42 fix 2022-01-19 02:17:22 +01:00
7c02a3577f added action in join/leave events 2022-01-19 02:10:08 +01:00
964a885552 track in-game time 2022-01-19 01:41:27 +01:00
6ed4c8e7e1 added Notifier impl 2022-01-19 01:22:07 +01:00
65b66eaf14 added Item hints, added Notifier impl 2022-01-19 01:21:59 +01:00
9ad46c796d actually .clear() 2021-12-27 12:38:30 +01:00
7b8a4eae5a flush tablist on connect 2021-12-27 12:37:24 +01:00
0d1fed30f5 track join time 2021-12-27 02:50:58 +01:00
9c65e6d7ea allow to whisper easily 2021-12-17 11:48:37 +01:00
1df81a9219 make distinction to/from in whispers 2021-12-16 16:32:07 +01:00
4968acf5ba it's a uuid 2021-12-14 04:27:35 +01:00