Commit Graph
28 Commits
Author SHA1 Message Date
auto e7d508d8d1 Moved Util to Utility 2021-07-30 23:22:38 +02:00
auto 85dd526617 Only send social spy if the target isn't you and the sender isn't you
Check if player is muted before letting them send a global chat message
2021-07-30 21:55:19 +02:00
auto e2aa9e892d Should fix all normal names being lowercase 2021-07-30 21:09:31 +02:00
auto e0f7b159e8 Send Player along with replaceText 2021-07-30 05:33:49 +02:00
auto befece04d9 Send Player along with replaceText 2021-07-30 05:33:35 +02:00
auto 01be60ed23 Inverse on/off for gc toggle cus for some reason it's inversed and this is a lazy fix 2021-07-30 05:33:05 +02:00
auto 6a947fac9c Actually flip the permission 2021-07-30 05:32:02 +02:00
auto bb71d5787e Added bypass permission for filter (chat.bypass-filter.<filter-name>) 2021-07-30 05:31:37 +02:00
auto c07399f0ba Don't show chat messages from ignored user to user who ignored them 2021-07-29 22:30:50 +02:00
auto ead360ee1c Chance stored party users to a HashMap for easier access 2021-07-29 03:21:29 +02:00
auto fee6b5c72f Fix user save query inserting unique values multiple times 2021-07-29 03:18:37 +02:00
auto 7603bc0db6 Send proper messages when blocking a message 2021-07-29 03:18:18 +02:00
auto 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
auto a2aa2d8b94 Hardcoded 3 character limit for repeated characters (should be configurable) 2021-07-28 22:50:58 +02:00
auto 3d5a48dabc Added HARDCODED messages WHICH SHOULD BE IN CONFIG to alert the user their message was blocked and alert staff a message was blocked and what that message was. 2021-07-28 21:57:00 +02:00
auto 9134890538 Don't send chat message if it was blocked 2021-07-28 21:42:58 +02:00
auto 70b5f980f0 Make Regex case insensitive 2021-07-28 21:26:21 +02:00
auto 313d09906d Fixed DatabaseConnection not being loaded on startup 2021-06-30 02:02:35 +02:00
auto bfadd18020 only iterate through players that are actually in a party when saving them 2021-06-08 04:03:03 +02:00
auto cc6a9a5a46 removed forcetp from chatuser 2021-06-07 15:41:05 +02:00
auto 2096d85b53 made togglegc command 2021-05-16 02:06:42 +02:00
auto 599de2647f made togglegc command 2021-05-16 02:05:46 +02:00
auto c15da75114 Renamed chatState to partyChatState 2021-05-16 02:02:03 +02:00
auto b8ff682748 Get prefixes, display name, and gc toggle when initializing a new user object 2021-05-15 03:02:52 +02:00
auto 2475197526 Changed PartyUser to be ChatUser 2021-05-14 02:33:23 +02:00
auto 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
auto 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
auto 19b4c8aaa0 Started working on a chat filter, doesn't load from config yet, has example data 2021-05-02 21:42:35 +02:00