Commit Graph

207 Commits

Author SHA1 Message Date
Teriuihi c1a51dc803 Fixed muting server 2021-08-01 04:51:09 +02:00
Teriuihi 321255eaa1 Don't create a new chat user if we can't find one, only create a new one if we can't find one when a player joins 2021-08-01 04:22:09 +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
Teriuihi e253894a77 Removed Bukkit stuff I missed from the general use API 2021-07-31 23:27:29 +02:00
Teriuihi 59a6edd4f6 Removed code that uses Bukkit API from the API 2021-07-31 23:16:51 +02:00
Teriuihi a61399bd71 Removed unused code 2021-07-31 22:26:42 +02:00
Teriuihi 604d06b700 Added logging for which filter is triggered 2021-07-31 20:21:50 +02:00
Teriuihi a9be164979 Made global chat async and added uuid to it everywhere 2021-07-31 03:46:50 +02:00
Teriuihi a36ac260f1 Made mute server properly register and use the right permission for it 2021-07-31 03:46:37 +02:00
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