Commit Graph

210 Commits

Author SHA1 Message Date
Vankka
bc60b842c3
Storage 2022-02-19 22:44:29 +02:00
Vankka
3ff0c80e9a
Introduce a lock to debug log writing 2022-02-01 12:47:24 +02:00
Vankka
0a128e37e9
Add support for webhooks in threads, add username format option for mirroring 2022-02-01 12:39:59 +02:00
Vankka
ba1a8c196f
Beginning of profiles & linked accounts 2022-02-01 11:33:50 +02:00
Vankka
88ef85c65e
Move mock path determining to the dataDirectory method 2022-01-29 15:33:00 +02:00
Vankka
ebe072858e
Log into a temporary folder during tests 2022-01-29 13:40:58 +02:00
Vankka
61ac1ec1ec
Give CommandSenders full support for Audience, add connected/disconnected events 2022-01-29 13:34:39 +02:00
Vankka
d1d05e7081
Debug reports 2022-01-25 19:14:16 +02:00
Vankka
6f638ffb33
Add OnlineMode & PluginManager 2022-01-25 18:25:21 +02:00
Vankka
9cfaae7464
Make the EventBus faster by avoiding Map#entrySet 2022-01-25 16:24:17 +02:00
Vankka
9662d9515f
Fix writing to the wrong log file 2022-01-24 19:00:50 +02:00
Vankka
67e25a765a
Write DiscordSRV log messages to a file for debugging 2022-01-24 18:55:36 +02:00
Vankka
9f7a453132
Change event bus register message to not include "API" 2022-01-23 16:35:01 +02:00
Vankka
1097a8f2f8
Convert things to CompletableFutureUtil 2022-01-23 16:23:24 +02:00
Vankka
634c123937
Group synchronization 2022-01-23 16:11:35 +02:00
Vankka
f5acc00f8a
Make Module#enable call Module#reload by default 2022-01-20 20:19:51 +02:00
Vankka
0bbcc58d32
Make reloading channel updaters faster 2022-01-20 00:53:02 +02:00
Vankka
a89ab7441e
Fix more generics, change the way modules are registered 2022-01-20 00:04:07 +02:00
Vankka
0f5d36b407
Split out the PermissionDataProvider into smaller parts, fix some generic use in ModuleManager, make module priorities more flexible 2022-01-19 21:40:44 +02:00
Vankka
8fdd5e73e3
Vault & LuckPerms permission integrations 2022-01-18 22:15:43 +02:00
Vankka
1068150f77
Add logging 'proxy', centralize insufficient permission handling, improved toString, equals and hashCode implementations of 1st party Discord api entities 2022-01-15 14:45:50 +02:00
Vankka
595146cc5b
Add a time frame that the channel updater will wait before giving up if not connected, 2022-01-13 20:35:54 +02:00
Vankka
ad6b7ee583
Add some missing nullability annotations 2022-01-13 19:34:53 +02:00
Vankka
318245c315
Update copyright year 2022-01-13 19:05:36 +02:00
Vankka
6c2c0c5134
Package reorganizing, and other minor changes 2022-01-13 19:03:23 +02:00
Vankka
694a6191cd
Add channel updating for name & topic 2022-01-13 19:02:41 +02:00
Vankka
7457fd90d0
Various improvements to 1st party Discord API 2022-01-13 19:02:25 +02:00
Vankka
0c9732fe11
Add message mirroring 2022-01-13 19:00:24 +02:00
Vankka
0c7783675d
Rename scheduler methods to better match what they return, add a method to return an Executor that logs exceptions 2022-01-13 18:56:48 +02:00
Vankka
9fe73aa571
Add threads 2022-01-13 18:53:43 +02:00
Vankka
0e73f80d40
Join, leave, server switch messages. Fixed dependency logging, added config option ordering annotation, fixed some issues with translation/configuration 2021-12-24 01:21:14 +02:00
Vankka
9ffce74061
Change common listeners to a module system, update to JDA5, fix typos, simplify 1st party api, improved the way mentions are translated between Minecraft and Discord 2021-12-20 01:03:38 +02:00
Vankka
6d620dfc38
Add black/whitelisting to ignored roles/users 2021-10-28 22:16:46 +03:00
Vankka
082116c02a
Route slf4j from our dependencies directly to our logging handler 2021-10-25 02:04:46 +03:00
Vankka
e7d93a4176
Add default value for user not having any roles 2021-10-23 02:20:15 +03:00
Vankka
f35d8d67ee
Placeholder service improvements, or placeholders. Buildscript fixes/improvements related to testing/dependencydownload 2021-10-21 02:16:06 +03:00
Vankka
b2a970d8c6
Add some unit tests, fix/improve a few things 2021-10-19 23:58:47 +03:00
Vankka
86da2f7a16
Buildscript improvements 2021-10-19 23:17:30 +03:00
Vankka
a00b6b9b60
Regex filters 2021-10-19 21:01:23 +03:00
Vankka
a1b11c973c
Avatar urls, ignoring users/roles/bots/webhooks, changed config option naming scheme 2021-10-19 01:33:20 +03:00
Vankka
8accdbbdcd
More work on Discord -> Minecraft messages 2021-10-18 02:35:53 +03:00
Vankka
419391ddbb
Added Color for headless jres, switched a bunch of Nullables to optionals in the api, added more placeholders for Discord -> Minecraft messages 2021-10-17 01:01:59 +03:00
Vankka
0494c4a7bb
Reorganize JDAConnectionManager, add more log message handling. Implement Timeout helper class 2021-10-16 00:52:23 +03:00
Vankka
1dcb513e9a
Math.max instead of .min 2021-09-20 23:05:01 +03:00
Vankka
ebfefde8d8
Don't process messages sent by our own bot or webhook for Minecraft processing 2021-09-14 22:19:05 +03:00
Vankka
3b1fd58043
Add escaping content for sending to Discord, adventure updated 2021-09-13 22:59:56 +03:00
Vankka
4f6ee80a53
Convert Discord ids to longs 2021-09-07 21:57:55 +03:00
Vankka
627b538456
Initial Discord -> Minecraft message functionality 2021-09-01 00:01:50 +03:00
Vankka
a8cce7cf8d
Improve docs, change game chat events a bit, add in large errors for certain things going wrong with the Discord connection 2021-08-26 20:07:16 +03:00
Vankka
ff8385dfda
More progress on placeholders & Minecraft -> Discord chat 2021-08-14 21:16:32 +03:00
Vankka
3fb79cc50c
Changed from switching between File & Path to just using Path, revamped InitialDependencyLoader 2021-08-07 18:42:54 +03:00
Vankka
7d14a92158
Placeholder service, misc bug fixes & improvements 2021-08-04 22:58:50 +03:00
Vankka
2c3031dc75
Beginning of serializing Discord messages in the config 2021-07-31 03:11:19 +03:00
Vankka
208d124fea
Nullability issue with IPlayer & IOfflinePlayer 2021-07-31 01:25:20 +03:00
Vankka
c76e0c2c3b
More work on first part api & added a bunch of nullability annotations 2021-07-31 01:21:23 +03:00
Vankka
1707074410
More progress on the first party api parts 2021-07-30 02:53:17 +03:00
Vankka
b149acb36f
Fixes & improvements 2021-07-29 16:15:21 +03:00
Vankka
2f5a429fb5
Remove unnecessary synchronization from another spot 2021-07-29 12:46:04 +03:00
Vankka
3f126f99c8
Remove unnecessary synchronization & tweak some things related to startup/shutdown 2021-07-29 12:45:40 +03:00
Vankka
9d26da6b4a
Initial commit 2021-07-29 04:14:29 +03:00