Commit Graph

207 Commits

Author SHA1 Message Date
Teriuihi bb71d5787e Added bypass permission for filter (chat.bypass-filter.<filter-name>) 2021-07-30 05:31:37 +02:00
destro174 9d8d4b3853 fixes 2021-07-30 03:16:41 +02:00
Teriuihi ead360ee1c Chance stored party users to a HashMap for easier access 2021-07-29 03:21:29 +02:00
Teriuihi fee6b5c72f Fix user save query inserting unique values multiple times 2021-07-29 03:18:37 +02:00
Teriuihi 7603bc0db6 Send proper messages when blocking a message 2021-07-29 03:18:18 +02:00
Teriuihi fc76d07b4c Return if matcher.find() OR matcher.matches() is true since one seems to work when it's the only thing in the text, and the other only works when there is other text around it?? 2021-07-28 22:51:45 +02:00
Teriuihi a2aa2d8b94 Hardcoded 3 character limit for repeated characters (should be configurable) 2021-07-28 22:50:58 +02:00
Teriuihi 70b5f980f0 Make Regex case insensitive 2021-07-28 21:26:21 +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 a9550c82fe Usage galaxy 1.17 2021-06-27 19:58:34 +02:00
destro174 1e3095d396 Don't forget about reply 2021-06-23 21:44:04 +02:00
destro174 bbfbfbb6f7 add chat formating and placeholders 2021-06-23 20:18:22 +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 3266cc05a3 add notes to chatuser object 2021-06-07 10:51:00 +02:00
len 8d723cc0c6 Update chatuser object 2021-06-07 10:38:38 +02:00
len 198e80aa7a Push progress 2021-06-06 21:32:13 +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
len 4b79d6909f Refactor 2021-05-22 20:34:32 +02:00
len 8fc9e0c447 Refactor RegexObject to ChatFilter and ChatFilterType 2021-05-20 18:47:22 +02:00
len 4124315bd7 move regexmanager to api 2021-05-20 18:45:26 +02:00
len 4a8f98da9f Add a way to convert colorcodes into minimessage format 2021-05-16 17:03:26 +02:00
Teriuihi c15da75114 Renamed chatState to partyChatState 2021-05-16 02:02:03 +02:00
len 4d25f4e8cb Add base for Mailing 2021-05-16 00:28:47 +02:00
len d9e00094dd Rework getStaffPrefix 2021-05-15 21:39:51 +02:00
len 8c09726e64 Switch to CopyOnWriteArrayList 2021-05-15 21:17:24 +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 f5066d4a9e remove chatplayer instnaces 2021-05-15 13:31:53 +02:00
len c1db6c1e39 Finalize join and leave messages 2021-05-15 13:26:31 +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 be9d8f4ab3 fix merge issue 2021-05-15 09:27:25 +02:00
Teriuihi b8ff682748 Get prefixes, display name, and gc toggle when initializing a new user object 2021-05-15 03:02:52 +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 a76ca7f850 Attempt to load regexes from config 2021-05-14 00:06:21 +02:00
len a7c21c6aa9 RegexConfig 2021-05-13 23:05:26 +02:00
len 35fda21ed1 Plugin Message channal and global chat check 2021-05-13 20:27:20 +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
len 001d64b521 Move ChatPlayer to api 2021-05-13 11:49:47 +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 e7f399010f Pom changes 2021-05-10 10:57:26 +02:00
len 2f798a9e1c move Config to API 2021-05-10 10:45:43 +02:00
len ee1181d4ad Add basic DatabaseConnection to API 2021-05-10 10:35:47 +02:00
len 0d15c40cb7 Start working on the API before adding the server implementation 2021-05-10 10:01:35 +02:00