Commit Graph

197 Commits

Author SHA1 Message Date
Teriuihi 49a6fc6f87 Don't send join/leave message to ignored players 2021-07-30 23:53:37 +02:00
Teriuihi 899e363677 Optimized globalchat by checking only the ppl who have perms 2021-07-30 23:26:56 +02:00
Teriuihi fb594e6825 Made sure ppl who ignore ppl don't see their globalchat messages 2021-07-30 23:23:37 +02:00
Teriuihi 5a362ca67d Added a way to mute all chat 2021-07-30 23:23:16 +02:00
Teriuihi e7d508d8d1 Moved Util to Utility 2021-07-30 23:22:38 +02:00
Teriuihi 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
Teriuihi e2aa9e892d Should fix all normal names being lowercase 2021-07-30 21:09:31 +02:00
Teriuihi e0f7b159e8 Send Player along with replaceText 2021-07-30 05:33:49 +02:00
Teriuihi befece04d9 Send Player along with replaceText 2021-07-30 05:33:35 +02:00
Teriuihi 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
Teriuihi 6a947fac9c Actually flip the permission 2021-07-30 05:32:02 +02:00
Teriuihi bb71d5787e Added bypass permission for filter (chat.bypass-filter.<filter-name>) 2021-07-30 05:31:37 +02:00
destro174 e77cbdcd5c Merge branch 'main' of https://github.com/Altitude-Devs/Chat 2021-07-30 03:16:53 +02:00
destro174 9d8d4b3853 fixes 2021-07-30 03:16:41 +02:00
Teriuihi c07399f0ba Don't show chat messages from ignored user to user who ignored them 2021-07-29 22:30:50 +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 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
Teriuihi 9134890538 Don't send chat message if it was blocked 2021-07-28 21:42: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 ec9b474f72 Add bypass perm for gc 2021-07-27 20:06:36 +02:00
destro174 0891e252f9 auto commit 2021-07-27 18:46:58 +02:00
destro174 04ac327365 Split toggleglobalchat into another command 2021-07-18 00:56:33 +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 3a60dada35 git somehow ignored these files 2021-06-24 23:08:13 +02:00
destro174 b5b9f92cfb register the commands 2021-06-23 21:48:46 +02:00
destro174 1e3095d396 Don't forget about reply 2021-06-23 21:44:04 +02:00
destro174 b50e773536 Change project java version to 11 2021-06-23 21:33:16 +02:00
destro174 b65d0ae6ee slight improvement to ignores in playerchat 2021-06-23 21:31:06 +02:00
destro174 32c07a4b14 Rework private messaging 2021-06-23 21:16:48 +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 b814a5b01b Don't end the color after user parsed input, fixes <3 and more 2021-05-25 16:54:19 +02:00
len 2adf114b65 fix config headers 2021-05-25 14:49:15 +02:00
len 595bff765a Move global admin chat to ChatHandler 2021-05-24 15:14:11 +02:00