Commit Graph

63 Commits

Author SHA1 Message Date
Teriuihi 769859a617 Fix bypass permission logic for ignored players in chat
Updated the filtering logic to correctly handle the "chat.ignorebypass" permission, ensuring players with bypass permission are not excluded due to ignore settings. Adjusted related conditionals in ChatHandler and ChatListener, and refactored patterns without altering functionality.
2025-03-22 02:44:42 +01:00
Teriuihi 5212954946 Refactor config reload and server name handling.
Replaced inconsistent `ReloadConfig` usage with `reloadConfig` across the codebase for better naming consistency. Introduced `ServerName` utility to standardize server name retrieval and improve maintainability. Added logging enhancements for better debugging of muted users and blocked messages.
2025-03-21 22:55:57 +01:00
Teriuihi 9e437079e4 Remove Galaxy dependency
Switched back to paper since we don't use any features from Galaxy that aren't already in paper
2025-03-21 20:34:45 +01:00
Teriuihi 5e34e6e7fa Don't ignore users with bypass permission
Refactored chat logic to respect 'chat.ignorebypass' permission for both senders and receivers. This only applies to cases where a user is sending text to another user, checks for login/out messages were not fixed
2025-01-02 00:30:55 +01:00
Len 3aa0b09133 Fix ChatFilter.java not applying to message. 2022-10-08 11:05:56 +02:00
Len 5db22461cf Fix [i] duplicating in GC 2022-10-08 10:36:06 +02:00
Len 8baa254d5e Revert "Fix replacement filers not working."
This reverts commit df4ff7f6b3.
2022-10-03 11:29:06 +02:00
Len df4ff7f6b3 Fix replacement filers not working. 2022-10-01 13:32:04 +02:00
Len 2764446e41 Switch to new formatting permissions. 2022-09-30 16:48:08 +02:00
Teriuihi 40a6e6bcc9 Fixed colors not working in chat 2022-05-30 22:10:54 +02:00
Len c836452d19 Update minimessage references 2022-05-27 00:31:36 +02:00
destro174 29dd5d2d55 Commit reply/continue rework 2022-04-21 15:45:50 +02:00
destro174 e6dfd19b84 Merge branch 4.9 2022-03-14 16:48:35 +01:00
Teriuihi 23e7c57333 Use exceptions for filters, highlight words that were filtered 2022-02-27 18:29:41 +01:00
destro174 448d9ac8aa Update minimessage to 4.10.0 2022-02-19 16:58:22 +01:00
destro174 575c788d10 fix url in global admin chat 2022-02-19 16:58:22 +01:00
destro174 342957ef68 Fix build! 2022-02-19 15:14:41 +01:00
destro174 e08c5a4a3b Update minimessage to 4.10.0 2022-02-05 21:16:20 +01:00
destro174 f00f6e7658 fix url in global admin chat 2022-02-05 10:17:49 +01:00
Teriuihi 2acebc6c16 Renamed partycommand and made party chat work from galaxy to proxy 2022-01-30 19:31:29 +01:00
Teriuihi daf6ab21a5 started migrating party to proxy 2022-01-30 02:12:09 +01:00
destro174 831bac1be9 Update minimessage and add helper methods 2022-01-27 21:05:50 +01:00
destro174 eb31a141d0 sync mutes from proxy to server 2022-01-05 15:25:17 +01:00
destro174 0199a67e77 unify usafe of util methods 2021-08-25 22:11:29 +02:00
destro174 2f8a8fc8ff clean some open TODO tasks 2021-08-25 12:41:47 +02:00
destro174 250aeb5d16 Fix ignore in private message 2021-08-23 11:56:31 +02:00
destro174 3fd7bbfece dirty fix for /spy not working 2021-08-22 10:47:39 +02:00
destro174 aebb1b83a5 Allow urls to be clickable in chat 2021-08-17 22:54:24 +02:00
destro174 0ace870550 Add PartyUser implement it into Party 2021-08-08 22:07:47 +02:00
Teriuihi c701621e42 Added party spy 2021-08-08 18:27:30 +02:00
Teriuihi 2cb843b68c Finished party command, and sub commands 2021-08-08 11:36:06 +02:00
Teriuihi 351515ab55 Make ignore work in ChatChannel 2021-08-08 07:11:00 +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
Teriuihi 9d9b8f0bf2 Added configurable chat channels 2021-08-04 15:46:45 +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 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 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 e0f7b159e8 Send Player along with replaceText 2021-07-30 05:33:49 +02:00
destro174 9d8d4b3853 fixes 2021-07-30 03:16:41 +02:00
Teriuihi 7603bc0db6 Send proper messages when blocking a message 2021-07-29 03:18:18 +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 96dbdc6dd0 Fix nicknames and prefixes 2021-07-18 00:48:55 +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