Commit Graph

442 Commits

Author SHA1 Message Date
Vankka
ba3871ed77
Create game commands later 2024-06-29 15:44:16 +03:00
Vankka
3336cf0f85
Add/remove linked accounts from cache when they are created/removed manually 2024-06-29 15:44:04 +03:00
Vankka
916be86fbf
Fix compile 2024-06-29 15:14:35 +03:00
Vankka
f285669990
Kick/(un)freeze player when they lose/gain additional requirements 2024-06-29 15:09:34 +03:00
Vankka
a81e8305a0
Load storage before linked account provider 2024-06-29 14:06:28 +03:00
Vankka
d70eddeec5
Get field type from its value 2024-06-29 14:06:17 +03:00
Vankka
eb12d69efd
[ci skip] Add todo comment in MainConfig 2024-06-29 03:04:40 +03:00
Vankka
5ee6a9365a
Required linking: negation to additional requirements, state changes to trigger rechecks. Module manager logic changes 2024-06-29 02:52:45 +03:00
Vankka
6c88174e64
Add presence updater 2024-06-26 23:48:14 +03:00
Vankka
bc12809351
Ban sync 2024-06-24 23:45:25 +03:00
Vankka
1e9e1c53e2
Don't keep unlinked account cached forever 2024-06-24 23:43:55 +03:00
Vankka
a4d499153d
CheckReturnValue in Scheduler 2024-06-24 23:04:20 +03:00
Vankka
92d79d369a
Fix linked account SQL 2024-06-24 23:03:54 +03:00
Vankka
f125100b1b
Only log updates to file 2024-06-24 02:47:34 +03:00
Vankka
0e07eb26be
Diamond 2024-06-24 02:35:49 +03:00
Vankka
a796d4504a
Synchronize ModuleManager reload 2024-06-24 02:29:45 +03:00
Vankka
654bfb5907
Improvements & fixes to AbstractSyncModule 2024-06-24 02:28:30 +03:00
Vankka
72758ff888
Merge master 2024-06-24 00:00:18 +03:00
Vankka
57cc5668d3
Add option to lock threads instead of just archiving 2024-06-23 23:56:33 +03:00
Vankka
ce3c1b3467
2024 2024-06-23 16:29:04 +03:00
Vankka
c348e51145
Fix VoiceChannel not being mapped in DiscordAPIImpl#getMessageChannel 2024-06-22 21:51:57 +03:00
Vankka
7ec2fe877c
Catch more exceptions in getting configs for DebugReports 2024-06-22 11:56:24 +03:00
Vankka
7fc39b1d53
Reuse encoder for debugs 2024-06-22 11:12:33 +03:00
Vankka
6ebca2321d
Invite module improvements, don't log 429 as warn 2024-06-21 19:02:08 +03:00
Vankka
087e5eada6
Cleanup imports 2024-06-21 17:55:25 +03:00
Vankka
8f90fea16e
Scheduler convenience methods, scheduler stuff cleanup 2024-06-21 17:55:01 +03:00
Vankka
3ee90712e9
Add options to join & leave to ignore the messages if the player leaves/joins within the specified amount of milliseconds 2024-06-21 17:00:48 +03:00
Vankka
5983148d1a
Improve error logging in mirroring 2024-06-21 15:54:09 +03:00
Vankka
501d638744
Improve game chat handling flow, add DiscordPermissionUtil 2024-06-21 15:29:12 +03:00
Vankka
f8898be428
Fix transltable component rendering in plain text 2024-06-21 15:02:15 +03:00
Vankka
73bd92fc86
Add permission checks to destination lookup 2024-06-21 13:50:41 +03:00
Vankka
6e7552b347
Rewrite thread lookup logic 2024-06-21 13:35:32 +03:00
Vankka
d876fd563d
Fix test environment variable issues 2024-06-21 00:02:43 +03:00
Vankka
c4ab582d62
A couple fixes 2024-06-20 23:51:38 +03:00
Vankka
f0427d4890
Add support for sending to forums 2024-06-20 23:03:58 +03:00
Vankka
f5b8829de1
Fix loading into isolated classloaders 2024-06-20 22:08:54 +03:00
Vankka
76374f49dd
Fix deprecation in ComponentFactory 2024-06-16 14:41:53 +03:00
Vankka
26c6a909da
Start downloading dependencies on construct, relocate and load on enable 2024-06-16 14:40:45 +03:00
Vankka
8078f427a4
Automatically determine required intents for Modules, document privileged intents on config options 2024-06-15 17:49:55 +03:00
Vankka
97ea72f0c7
Add null annotations & null handling to ComponentUtil 2024-06-07 17:16:01 +03:00
Vankka
bd1f50c502
Don't run dependency download on a separate thread on bukkit 2024-06-07 17:07:15 +03:00
Vankka
ccdcfe31bd
Progress on abstracting sync modules 2024-05-01 21:58:02 +03:00
Vankka
eec194491e
AbstractSyncModule 2024-04-13 23:38:02 +03:00
Vankka
0a61eac1ee
Initial for ban sync 2024-04-06 17:00:13 +03:00
Vankka
50445503ed
Implement getting vanilla bans for bukkit. Make nickname, ban and mute apis use CompletableFuture 2024-03-30 21:18:28 +02:00
Vankka
2d05620462
Interfaces for nickname, punishment sync. Change chat integration handling. EssentialsX integration. 2024-03-30 14:41:12 +02:00
Vankka
d4c54a21d1
Add unlink command, some fixes & cleanup to other linking commands 2024-03-29 20:10:28 +02:00
Vankka
46ac4be92b
Add silent quit & join permissions, make link(ed) other permissions admin 2024-03-02 17:46:30 +02:00
Vankka
d22d55902d
Simplify first join config 2024-03-02 17:32:46 +02:00
Vankka
0f573d50e4
Simplify addContext usages 2024-03-02 17:14:42 +02:00
Vankka
fdb02920a2
Some improvements/fixes 2024-03-02 16:53:01 +02:00
Vankka
1940d78159
Update dependencies 2024-02-17 23:36:12 +02:00
Vankka
d739754839
Log the invalid json in MinecraftComponentImpl 2024-02-10 21:38:05 +02:00
Vankka
5279e09c33
Fix comment constants, add error message, improve requirements comment 2024-01-01 16:45:00 +02:00
Vankka
4877235ace
1st party api improvements, gets rid of some asJDA usages 2024-01-01 00:46:21 +02:00
Vankka
ab90d1ddfc
Move ServerPlayerProvider to provider package 2023-12-31 23:34:33 +02:00
Vankka
cd12530675
Some config improvements 2023-12-31 17:57:22 +02:00
Vankka
3b7701ee1a
Fix placeholder prefixes in impls, fix color relookup for user_color 2023-12-31 17:36:49 +02:00
Vankka
5652a7d544
Add PlaceholderPrefix 2023-12-31 16:51:50 +02:00
Vankka
f0c5c7f1af
Fix mirroring sending to the same thread multiple times when misconfigured as channel id and thread 2023-12-26 18:48:11 +02:00
Vankka
6d4adebfd3
Merge branch 'linking-commands' 2023-12-26 18:41:11 +02:00
Vankka
069f4fb218
Add link create and linked commands 2023-12-26 18:40:55 +02:00
Vankka
65179a5ab9
Tweak comment for channel-ids 2023-12-23 01:15:18 +02:00
Vankka
17e888a289
A few warning fixes 2023-12-23 00:32:25 +02:00
Vankka
7297cad96c
Don't allow forwarding the same channel to the same Discord channel more than once 2023-12-23 00:30:33 +02:00
Vankka
9bfc5c8be1
Fix h2 table create command, fix indentation 2023-12-20 21:08:35 +02:00
Vankka
b5b9a0dd73
Move Permission out of util 2023-12-19 00:37:53 +02:00
Vankka
192ce5e152
Single threaded dependency downloading, don't run enable if dependency downloading fails 2023-12-19 00:36:53 +02:00
Vankka
e31510ba5c
Some translation stuff 2023-12-18 19:48:09 +02:00
Vankka
cf7ee4a914
Changes to placeholder stringification, fix PlaceholderAPI integration input/output formats, fix timed updater enable time 2023-12-15 22:47:07 +02:00
Vankka
1dd1e4d834
Initial for linking commands 2023-12-13 20:30:15 +02:00
Vankka
ef145916e9
Fix another test 2023-12-07 23:15:40 +02:00
Vankka
e46406683c
Fix test 2023-12-07 23:13:02 +02:00
Vankka
11d1a7c5ab
MinecraftAuth linking instructions 2023-12-07 23:09:56 +02:00
Vankka
91f9f36e63
Clarify config comments for threads and command execution filters, rename filters to execution conditions 2023-11-28 21:28:30 +02:00
Vankka
1d5a5381a0
Refactor some mention rendering code to not be Discord -> Minecraft specific 2023-11-22 01:15:06 +02:00
Vankka
24e0529b69
Remove sout 2023-11-21 21:43:35 +02:00
Vankka
19c387ea61
Use DiscordSRV default locale for translation lookup 2023-11-17 00:04:28 +02:00
Vankka
90a88d5cfa
Change messages config debug reporting for multi lang 2023-11-16 00:27:52 +02:00
Vankka
273f3d9a19
Add spigot listener for advancements 2023-11-13 00:58:17 +02:00
Vankka
91fa61542d
Add logging of group synchronization and executing console commands, improve how log writing is scheduled 2023-11-09 23:52:29 +02:00
Vankka
739148ffd0
Fix console channel logging errors constantly when not configured 2023-11-07 21:45:05 +02:00
Vankka
731d8251ff
Escape markdown in console 2023-10-31 20:18:05 +02:00
Vankka
6eb4dcb80e
Add connection config to DebugReport 2023-10-29 23:34:47 +02:00
Vankka
c9a811c758
Add configs to DebugReport 2023-10-29 23:18:35 +02:00
Vankka
4bab23bc35
Add check for attachments in blocking empty messages 2023-10-29 22:53:47 +02:00
Vankka
ad769cb251
Add channel type checking to MinecraftToDiscordChatMessageTest 2023-10-29 22:43:17 +02:00
Vankka
39036e2b21
Add options for how to handle emojis from Discord, add event for rendering custom emoji to Minecraft components to API 2023-10-27 20:12:24 +03:00
Vankka
ac84845d67
Add splitting by newline to console message as well 2023-10-27 20:04:40 +03:00
Vankka
639507e9db
Remove unnecessary setSuppressEmbeds 2023-10-24 18:25:47 +03:00
Vankka
65d1241dd9
Map deletes as well 2023-10-23 23:43:35 +03:00
Vankka
671c006af3
Update JDA back to upstream 2023-10-23 23:29:11 +03:00
Vankka
7a69a805a3
Ignore empty messages in message forwarding 2023-10-15 23:58:20 +03:00
Vankka
3b02c662da
Add expectation for amount of messages received in MinecraftToDiscordChatMessageTest 2023-10-15 23:44:42 +03:00
Vankka
e0ec1aa31c
Fix MinecraftToDiscordChatMessageTest clearing TestHelper too early 2023-10-15 23:24:54 +03:00
Vankka
28dbbb8466
Don't isolate MariaDB driver, update DynamicProxy usage 2023-10-15 23:23:32 +03:00
Vankka
affa127906
Block non-alphanumeric characters, underscores and dashes from sql table prefix 2023-10-15 23:13:17 +03:00
Vankka
baf7e5027b
Add link to placeholders in main config header 2023-10-07 21:31:59 +03:00
Vankka
e0bee7e2d8
Add waiting for console processing to be done in shutdown, check to not queue stuff when console handler is shutdown 2023-10-06 22:42:31 +03:00
Vankka
82fffd6059
Add some javadocs to console classes, add date Discord timestamp support to global date formatting context 2023-10-06 22:22:49 +03:00