Commit Graph

44 Commits

Author SHA1 Message Date
Teriuihi 44d6e994cc Implement chat log handler with database support
The code changes introduce the ability to log chat messages. A new ChatLogHandler class has been added that manages the queue of chat log messages, both storing them in memory and writing them to a database. New columns have been added to the database and the interactivity with the database is handled using prepared statements to improve security and performance. The chat messages are deleted from the database after a certain period, which can be configured.
2024-04-06 17:25:15 +02:00
Len 11ecf1ad16 Merge Nicknames 2022-09-27 00:02:27 +02:00
Teriuihi 341a330e3d Removed sout for adding party users 2022-09-22 23:53:09 +02:00
Teriuihi 2b77607072 Maybe fixed party 2022-02-14 01:25:51 +01:00
Teriuihi 0c8a4a97d3 Added party disband command and a way to remove all users from a party 2022-01-31 03:06:52 +01:00
destro174 57a43e9c1c finish mails? 2022-01-29 23:21:35 +01:00
destro174 26b044b2e7 merge basic mailing 2022-01-29 14:53:47 +01:00
destro174 99babd2120 Fix some issues 2022-01-28 17:04:54 +01:00
destro174 2ce84244e8 Use gradle as a build tool 2021-12-11 21:41:19 +01:00
destro174 0ace870550 Add PartyUser implement it into Party 2021-08-08 22:07:47 +02:00
destro174 c056fad7bb store chatusers in memory 2021-08-08 14:52:42 +02:00
Teriuihi 9551785f83 Added a terrible way to sync parties cus I don't have time to implement a proper solution atm 2021-08-08 13:30:57 +02:00
Teriuihi 67eccd389d Switched to Username only (no nicknames) till colors can be fixed (for party users) 2021-08-08 12:19:32 +02:00
Teriuihi 2cb843b68c Finished party command, and sub commands 2021-08-08 11:36:06 +02:00
Teriuihi 571f02b6df Load all chat users on startup
Load all parties on startup
2021-08-04 15:07:16 +02:00
Teriuihi e51c893649 Added ignore ? (ignore list) and sync ignores 2021-08-01 04:21:33 +02:00
Teriuihi dfcf8de34e Removed Bukkit stuff I missed from the general use API 2021-08-01 03:20:49 +02:00
destro174 9d8d4b3853 fixes 2021-07-30 03:16:41 +02:00
Teriuihi fee6b5c72f Fix user save query inserting unique values multiple times 2021-07-29 03:18:37 +02:00
destro174 9674503170 some tweaks 2021-07-28 20:42:09 +02:00
destro174 0891e252f9 auto commit 2021-07-27 18:46:58 +02:00
destro174 96dbdc6dd0 Fix nicknames and prefixes 2021-07-18 00:48:55 +02:00
destro174 3f7084eeb7 atleast sql works now! 2021-07-03 20:11:31 +02:00
Teriuihi 313d09906d Fixed DatabaseConnection not being loaded on startup 2021-06-30 02:02:35 +02:00
destro174 11343938bc Load ignores from database and add them into the chat event 2021-06-23 20:05:47 +02:00
destro174 5bea7c95f9 idk what i fucked up here all files are new in git? 2021-06-20 22:03:39 +02:00
len a5c23d842d progress 2021-06-13 13:53:49 +02:00
Teriuihi bfadd18020 only iterate through players that are actually in a party when saving them 2021-06-08 04:03:03 +02:00
Teriuihi cc6a9a5a46 removed forcetp from chatuser 2021-06-07 15:41:05 +02:00
len 5d8d7b5dff Add back api and server module 2021-06-02 19:55:55 +02:00
len d8a4490358 merge api into velocity 2021-05-24 10:10:02 +02:00
len 0d0c4a13e5 remove API module 2021-05-24 09:53:45 +02:00
Teriuihi c15da75114 Renamed chatState to partyChatState 2021-05-16 02:02:03 +02:00
len abf5b4d2bb Start of ChatUserManager 2021-05-15 21:16:01 +02:00
len 47fd6bf2db Add ALogger 2021-05-15 13:52:02 +02:00
len 904fc3faad Fix Compile issues 2021-05-15 12:34:19 +02:00
len ec2377a837 Server Join/leave Messages 2021-05-15 11:42:54 +02:00
len 71e77ce870 Merge remote-tracking branch 'origin/database' into main 2021-05-14 22:24:40 +02:00
Teriuihi 2475197526 Changed PartyUser to be ChatUser 2021-05-14 02:33:23 +02:00
len d087d47d5c rework internals 2021-05-13 14:11:59 +02:00
len 4aa4726a4e Add plugin 2021-05-13 14:11:29 +02:00
Teriuihi cec31f675e Removed regex queries
Added nickname query but it's using the wrong connection, needs to either get a connection to the nickname db or something else
2021-05-12 23:59:19 +02:00
Teriuihi 21a15c3817 Added queries to store regex, ignored users, parties, and party users
Added Party and party user class with all database functionality
NOTE: Regex doesn't have a way to be added or edited through the plugin atm. I don't know if that's needed since doing it through minecraft seems a bit odd, we could maybe add it to some discord bot or something in the future though
2021-05-11 19:21:48 +02:00
len ee1181d4ad Add basic DatabaseConnection to API 2021-05-10 10:35:47 +02:00