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
Vankka
097edb4d9e
Add replying to api, use reply in console handler
2023-10-06 22:08:51 +03:00
Vankka
4a04bd7dcd
Use ComponentFlattener on DiscordSerializer
2023-10-06 00:17:30 +03:00
Vankka
c927c3cbe5
Ansi 1.1.0-SNAPSHOT
2023-10-06 00:12:13 +03:00
Vankka
849a446d2a
Console command execution, fix to non editing appender
2023-09-17 23:24:46 +03:00
Vankka
8e8e2b3dbf
Add ANSI reset after a console message
2023-09-16 16:09:52 +03:00
Vankka
9e7f043c4e
More improvements to console appending
2023-09-16 16:02:47 +03:00
Vankka
a2f0896260
Parse ANSI escape codes for console
2023-09-16 14:58:41 +03:00
Vankka
02488472e5
Merge main
2023-09-13 21:12:39 +03:00
Vankka
81c109c2d2
Implement legacy code parsing and rendering into ansi + markdown for console
2023-09-13 21:07:42 +03:00
Vankka
cfcb1bdc26
Add constants annotation for defining stuff that shouldn't be translated
2023-09-10 02:18:59 +03:00
Vankka
09968ba8c2
Add enum serializer and remove wacky loading of enum options
2023-09-10 01:01:36 +03:00
Vankka
7193100047
Fix a bug in appending, add ansi and color 'handling'
2023-09-07 21:27:21 +03:00
Vankka
df1cf6274b
Add filtering options for console appending
2023-09-07 18:19:31 +03:00
Vankka
75c76743f8
Attempt to add double quotes to PatternSerializer
2023-09-07 17:42:04 +03:00
Vankka
d111fce37b
Add filtering for which control characters can be sent to Minecraft, add removal of line break spam to default config
2023-09-07 17:41:50 +03:00
Vankka
367a51f04d
Updated reload method in ConsoleModule
2023-09-04 22:49:14 +03:00
Vankka
65f9f3922f
Merge branch 'main' into console
2023-09-04 22:48:48 +03:00
Vankka
6c5064b081
Improve Module reload methods
2023-09-04 22:48:37 +03:00
Vankka
bb5a4dcc24
A working console appender
2023-09-04 22:37:51 +03:00
Vankka
7148944537
Begin work on console appending
2023-08-28 00:36:45 +03:00
Vankka
80017829e5
Fix unit tests
2023-08-26 16:37:04 +03:00
Vankka
a94d8e1003
Add linking instructions methods
2023-08-26 16:35:04 +03:00
Vankka
59764117d3
Merge messages-config
2023-08-26 15:55:51 +03:00
Vankka
f8c323e7de
Use two letter language codes with country codes for dialects
2023-08-26 15:47:58 +03:00
Vankka
1c24055108
Some more progress
2023-08-25 22:24:59 +03:00
Vankka
346b732eeb
Register ExtensionContext.Store.ClosableResource
2023-07-24 22:13:00 +03:00
Vankka
ffb674465a
Fix test not working without environment variables, add environment variables to CI
2023-07-24 22:09:02 +03:00
Vankka
224b24cb26
Remove unnecessary field in EventBusImpl
2023-07-24 22:05:58 +03:00
Vankka
84160b906f
Add unit test for a message going from the receive event to a message sent to Discord + some other tests to check that enable works correctly
2023-07-24 22:04:41 +03:00
Vankka
3c3977200f
Add legacy section parsing for prefix/suffix
2023-07-24 19:56:05 +03:00
Vankka
cb5392fb81
Remove debug code
2023-07-21 17:59:41 +03:00
Vankka
9eb4160bc6
Don't log MessageExceptions as error for prefix/suffix
2023-07-21 17:10:36 +03:00
Vankka
3040b1472c
Don't force discord serialization for join, leave, death and server switch messages
2023-07-21 17:07:16 +03:00
Vankka
5da32a3c45
Improve error logging for prefix/suffix, add logging placeholder errors to trace
2023-07-21 17:03:01 +03:00
Vankka
b7aff53b1d
Create DynamicThreadPoolExecutor, allowing a cached thread pool while maintaining a maximum amount of threads in the pool and queuing tasks
2023-07-20 23:57:38 +03:00
Vankka
061ab08e2d
Fix ThreadPoolExecutor queue, DependencyLoader unnecessary executor inside executor
2023-07-20 22:52:42 +03:00
Vankka
4dc56a6aa4
Fix :i18n module and get rid of MockDiscordSRV requirement
2023-07-19 18:36:40 +03:00
Vankka
0e9a2e6e1c
Linking module, add linked/unlinked events
2023-07-19 00:13:00 +03:00
Vankka
6bd06d670d
Use a LinkStore inside MinecraftAuthenticationLinker
2023-07-18 23:57:53 +03:00
Vankka
e2143f0cc1
Initial commit for messages config
2023-07-18 23:51:20 +03:00
Vankka
5d87915eaa
Tweak ThreadPoolExecutor max pool size again
2023-07-16 12:05:15 +03:00
Vankka
9bb2502cdb
Fix logger usage in EventBusImpl
2023-07-12 21:27:29 +03:00
Vankka
2146fe29aa
manager.managers -> manager.abstraction
2023-07-12 21:03:30 +03:00
Vankka
20683e3c7a
Reorganize config packages, rename a bunch of ConfigurateConfigManager members
2023-07-12 21:02:32 +03:00
Vankka
9897f7029d
Relocate kotlin, update OkHTTP, exclude dependencies in bulk
2023-07-11 19:50:19 +03:00
Vankka
d4f41c589d
Tweak thread pools thread counts, separate required linking thread pool
2023-07-11 18:22:41 +03:00
Vankka
2f83770591
Add delayMillis for support with Discord moderation bots
2023-07-10 18:27:45 +03:00
Vankka
014a022fbd
Fix another derp in deleteMessageById
2023-07-10 18:26:48 +03:00
Vankka
7cd796ab2b
Fix deleteMessageById webhookMessage check being inverse
2023-07-10 17:37:10 +03:00
Vankka
c1fbeb8d8f
Depend on mariadb resource generation task
2023-07-09 23:07:39 +03:00
Vankka
cecd80bea0
Add MariaDB driver support
2023-07-09 21:03:48 +03:00
Vankka
512741bd92
Add running commands and sending command output for execute command
2023-07-09 13:16:18 +03:00
Vankka
1207990461
Add check for which commands are allowed to be run, config options for execute command
2023-07-09 01:11:41 +03:00
Vankka
417289cccb
Sort execute command suggestions
2023-07-07 18:36:09 +03:00
Vankka
f6f16ddbec
Remove unused suffix from message_reply placeholder
2023-07-07 17:18:35 +03:00
Vankka
383a7ad97a
Progress on running commands from Discord
2023-07-01 19:04:52 +03:00
Vankka
bb24dc7b32
Merge branch 'main' into execute-command
2023-07-01 17:32:15 +03:00
Vankka
97dbd3501e
Fix default advancement message being bad on non-Paper. Changed the default award format to say "advancement" instead of "achievement"
2023-07-01 17:29:59 +03:00
Vankka
2f57b0d2bf
Make placeholders of avatar url consistent
2023-06-30 18:21:23 +03:00
Vankka
bfd4edb6ed
Fix embeds being forced due to defaulting
2023-06-30 18:14:19 +03:00
Vankka
a36d9dbbb0
Remove unnecessary semicolon
2023-06-30 18:01:12 +03:00
Vankka
3a524c62a3
Fix error in ChannelConfigHelper#getByThreadChannel
2023-06-30 17:59:32 +03:00
Vankka
d25e12e0fa
Use USER_DOWNLOAD_URL constant in log message
2023-06-25 21:27:20 +03:00
Vankka
ea404ec7ab
Fix PlaceholderServiceImpl#updateContent not quoting replacement
2023-06-25 21:14:13 +03:00
Vankka
7aa6191a27
Move linked_accounts table name to constant, fixes mysql
2023-06-25 21:13:01 +03:00
Vankka
2eaaa17581
Fix mirroring not working with messages that only contain an attachment, fix mirrored attachments having no content
2023-06-25 13:31:27 +03:00
Vankka
57d5d70d13
Clarify minecraftauth requirements
2023-06-24 23:01:08 +03:00
Vankka
b7d586101d
Fix default avatar url
2023-06-24 21:42:33 +03:00
Vankka
379f0fc9f0
Update to EnhancedLegacyText v2, change to square brackets format
2023-06-24 21:40:55 +03:00
Dinty1
8e79c7abf3
Fix up avatar URL stuff + disable auto invite creation by default ( #2 )
...
* Start fixing up avatarurl stuff
* Fix some stuff
* Don't automatically create invite by default
* Add suggestion
Co-authored-by: Henri Schubin <vankka.main@gmail.com>
* Format + remove todos
Co-authored-by: Henri Schubin <vankka.main@gmail.com>
---------
Co-authored-by: Henri Schubin <vankka.main@gmail.com>
2023-06-24 00:33:38 +03:00
Vankka
2f2b852b0d
Add discriminators back for users who still have them
2023-06-22 20:03:03 +03:00
Vankka
e45e7c921c
Add context to reserialization for reply message content in Discord->Minecraft handler
2023-06-22 19:55:55 +03:00
Vankka
0624f9ae09
Don't block enable because of ready event
2023-06-22 19:48:09 +03:00
Vankka
cc5f8c2d26
Fix commands, don't run enable/reload async anymore
2023-06-22 19:46:20 +03:00
Vankka
daee555fed
Fix advancement spam check
2023-06-19 18:52:41 +03:00
Vankka
6d744ccec4
Don't change to FAILED_TO_LOAD_CONFIG or FAILED_TO_START status on reload
2023-06-19 18:35:23 +03:00
Vankka
4e4b21ae7c
Fix order some stuff is loaded, update Commodore
2023-06-19 00:50:09 +03:00
Vankka
56af07e1e8
Fix clicking on debug url in-game
2023-06-18 23:59:46 +03:00
Vankka
9def895a04
Fix MockDiscordSRV
2023-06-18 23:47:18 +03:00
Vankka
6de141ea1d
Fix GUILD_MEMBERS intent not getting auto enabled
2023-06-18 23:44:00 +03:00
Vankka
1586fcb927
Don't use dependencies that would be downloaded in loggers
2023-06-18 23:36:15 +03:00
Vankka
11914b5d0e
Add debug config options
2023-06-18 23:27:15 +03:00
Vankka
37476fd8f9
Fix group sync not finding members that are not cached, enable chunking by default. Add GroupSyncResult for being able to interact with role
2023-06-18 22:36:59 +03:00
Vankka
67c609aa4f
Update comments to reply & attachment format
2023-06-18 22:36:13 +03:00
Vankka
13ea5382f9
Do a few suggestions
2023-06-18 19:47:17 +03:00
Vankka
aa8b0a9660
Add showing replies in Discord -> Minecraft
2023-06-18 16:20:47 +03:00
Vankka
9c7b065d62
Fix mirroring, add reply handling for messages from game message forwarding
2023-06-18 16:00:49 +03:00
Vankka
9fd3903550
Merge jda-webhooks
2023-06-18 14:15:57 +03:00
Vankka
8de37ce767
Username fixes
2023-06-18 14:14:04 +03:00
Vankka
3d6c7f72de
Fix webhook support
2023-06-18 14:00:02 +03:00
Vankka
de0bf591f9
Moving around channel configs
2023-06-17 16:24:04 +03:00
Vankka
06b1dff50a
Move around configs, make IChannelConfig better / consolidate channel+thread lookup
2023-06-17 16:21:16 +03:00
Dinty1
95272cfa80
Misc changes ( #1 )
...
* Explain how to get token, create documentation config
* Reword some stuff
* Put this on a new line
* Rearrange
2023-06-17 15:07:05 +03:00
Vankka
1ca4e69d9a
Add main config header, explanation for channels
2023-06-11 14:49:14 +03:00
Vankka
b69f1de11e
Clarify what "award" means and change "Webhook" -> "Bot" in webhookFormat
2023-06-11 14:34:07 +03:00
Vankka
cd9d8047c0
Updates to configs
2023-06-10 16:36:54 +03:00
Vankka
c32a2ad8bd
Execute command initial
2023-06-09 00:36:39 +03:00
Vankka
d6a21b6fca
Prepare for webhooks directly through JDA
2023-06-09 00:35:44 +03:00
Vankka
05949fe6b0
Missed a placeholder parameter improvement
2023-06-04 00:42:56 +03:00
Vankka
aecf67c924
Ansi serialization, fixes to Minecraft->Discord
2023-06-03 23:05:57 +03:00
Vankka
ce055debde
Improve how parameters are passed to placeholders
2023-06-03 16:55:37 +03:00
Vankka
03c26a6ca2
Add hover for resyncs with nothing done in-game
2023-05-31 00:01:14 +03:00
Vankka
5d63417fbb
Fix how attachment placeholder gets the delimiter
2023-05-30 23:49:14 +03:00
Vankka
c7466202b9
Fix attachments not getting placeholders replaced
2023-05-30 23:46:22 +03:00
Vankka
4613e821e2
Convert resync to a combined command
2023-05-30 23:42:53 +03:00
Vankka
3e3438f0d2
Allow loading extra languages on Bukkit
2023-05-30 19:22:34 +03:00
Vankka
05f4bb47e9
Add ReloadFlag for Discord commands
2023-05-29 00:44:32 +03:00
Vankka
df5a253b48
Add combined Minecraft & Discord commands
2023-05-29 00:42:55 +03:00
Vankka
4700adaaf9
Make ServerScheduler helper methods static
2023-05-27 20:22:32 +03:00
Vankka
c93ddb5285
Fix AdventureCommandExecutorProxy deprecations
2023-05-27 20:12:07 +03:00
Vankka
e4b80ebb15
Get rid of OrDefault. Move advancement spam detection to AwardMessageModule
2023-05-25 23:30:12 +03:00
Vankka
289ea8491f
Use configurate yaml branch, remove hocon config stuff
2023-05-20 21:05:10 +03:00
Vankka
7314fdb72b
Config improvements
2023-05-20 20:25:52 +03:00
Vankka
bded7cc26d
Fix version command output
2023-05-19 23:18:03 +03:00
Vankka
1f5c48ec2b
Make the user download url blank for now
2023-05-19 20:34:11 +03:00
Vankka
f2f5e739c4
Check token validity earlier & better
2023-05-19 20:30:58 +03:00
Vankka
fbefcd9079
Rename updater channel
2023-05-19 20:23:15 +03:00
Vankka
e5783e7b05
Add startup warning about this being a testing version, update UpdateChecker coordinates, change plugin.yml name to avoid issues with other plugins
2023-05-19 20:17:00 +03:00
Vankka
2d4252ed6f
Add jump urls to channel mentions & rendering messages, handle translatable components when serializing to plain
2023-05-19 19:59:03 +03:00
Vankka
9d2ec71b39
Remove ICommandSender#sendMessage overloads that are no-longer required
2023-05-19 18:33:33 +03:00
Vankka
ec6b15aad2
Moved ApiInstanceHolder to be a DiscordSRVApi subclass, renamed a few things
2023-05-18 00:58:42 +03:00
Vankka
ca40da0c00
Fix exception logging on java.util.logging. Fix getting manifest
2023-05-06 20:43:02 +03:00
Vankka
6b9606ddd7
Advancement/achievement fixes, event changes, updated gradle
2023-04-30 19:28:11 +03:00
Vankka
045e863dde
Move unrelocate to another module again
2023-04-30 15:19:31 +03:00
Vankka
ec02e5f88a
Progress on require linking, add folia support, achievements/advancements
2023-04-23 16:53:58 +03:00
Vankka
42ec392bcb
Linking improvements, required linking initial
2023-03-18 14:23:31 +02:00
Vankka
6ff5ddb6a7
Add Bukkit chat plugin integrations, make better use of DynamicProxy, consolidate some of the :common subprojects
2023-02-20 21:55:45 +02:00
Vankka
eb5a8dc9a8
Move DiscordConnectionDetails
2023-02-18 13:31:36 +02:00
Vankka
3b4ec92141
Improved some config comments, added minecraftauth.me to connections config
2023-01-30 20:57:24 +02:00
Vankka
88a267bc0a
Automatically disable escaping markdown when inside a code string or block
2023-01-23 00:24:31 +02:00
Vankka
6fd03af3a8
2023, cleanup unused imports, slight change to JDAConnectionManager intent message check
2023-01-22 22:24:51 +02:00
Vankka
7a9c21c56d
Specifying intents, cache flags and member caching policies in modules
2023-01-22 22:20:36 +02:00
Vankka
7d9609306e
Member mention lookup, config option for @ everyone/here, some fixes
2022-12-30 20:11:10 +02:00