Commit Graph

125 Commits

Author SHA1 Message Date
Teriuihi 2cb843b68c Finished party command, and sub commands 2021-08-08 11:36:06 +02:00
Teriuihi 0932bf8d51 Merge branch 'main' into party 2021-08-08 07:15:28 +02:00
Teriuihi 351515ab55 Make ignore work in ChatChannel 2021-08-08 07:11:00 +02:00
Teriuihi 1cdf50b188 Added party command 2021-08-08 05:13:29 +02:00
destro174 76c24828dd Add support for hovers in chat and update default config 2021-08-07 16:20:01 +02:00
Teriuihi c4f56a9d21 Merge branch 'main' into party 2021-08-05 11:49:19 +02:00
Teriuihi 32f323ff41 Merge branch 'chat_channels' 2021-08-05 11:41:37 +02:00
Teriuihi b9fae1cb35 Created configurable chat channels 2021-08-05 11:40:42 +02:00
destro174 7cc93aa9cd add support for legacy colors 2021-08-05 10:12:48 +02:00
destro174 53cecf892a Fix join and leave messages being send only to ignored players 2021-08-05 10:12:23 +02:00
destro174 1c8538547e Check if serverwrapper has global chat enabled before sending 2021-08-05 10:03:33 +02:00
Teriuihi 9d9b8f0bf2 Added configurable chat channels 2021-08-04 15:46:45 +02:00
Teriuihi 3b4d9414bd Load all chat users on startup
Load all parties on startup
2021-08-04 15:07:25 +02:00
Teriuihi 571f02b6df Load all chat users on startup
Load all parties on startup
2021-08-04 15:07:16 +02:00
Teriuihi 7c15731dcd When someone enters a new regex incorrectly don't crash the whole plugin 2021-08-04 14:47:42 +02:00
destro174 9957158758 revert completablefuture 2021-08-01 21:00:57 +02:00
destro174 2d7d39a86d Load ChatUsers async 2021-08-01 15:08:24 +02:00
destro174 097541e86f Add Spy command to toggle SocialSpy 2021-08-01 15:08:05 +02:00
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