Commit Graph

215 Commits

Author SHA1 Message Date
Teriuihi 0877d05296 Merge remote-tracking branch 'origin/main' 2024-07-19 22:03:03 +02:00
Len 13e4966a12 Revert "Update to 1.21?"
This reverts commit 3ea078237d.
2024-07-19 21:09:26 +02:00
Teriuihi 340975e99e Change default config file path
The path to the configuration file that was initially set to the user's home directory has been modified. It has been shifted to "/mnt/configs/ChatPlugin".
2024-07-19 20:46:39 +02:00
Len 3ea078237d Update to 1.21? 2024-07-06 11:00:58 +02:00
Teriuihi 4e92285261 Add throwable to warn and error methods in ALogger
This update introduces modifications to the 'ALogger.java' file to handle possible exceptions more efficiently. It extends the warn and error functions to include a Throwable parameter, making error logs more informative for easier debugging.
2024-04-06 15:35:08 +02:00
Teriuihi a377bdfe48 Implement player death message limits
The code now includes player death message limits, with a configured maximum number of messages per defined period. This was added in the PlayerListener class and configuration options were placed in Config.java. This change will restrict spamming of death messages.
2024-04-06 13:11:05 +02:00
Teriuihi 4af85d0e79 Add option to disable chat filters in private channels
A constructor parameter and corresponding field 'disableInPrivate' have been added to the ChatFilter class. This handles disabling specific chat filters in private channels. The necessary checks have been implemented in RegexManager. The configuration for each filter is also updated in RegexConfig to incorporate this new functionality.
2024-03-31 13:37:05 +02:00
Teriuihi bd8fa02f1e Add 'punish' filter and automatic banning functionality
Extended the RegexManager filterText method to include a 'punish' case that triggers an automatic ban for users who violate the filter. This commit also updates the PluginMessageListener to handle 'punish' commands, thus completing the execution of an auto-ban function.
2024-03-02 19:18:13 +01:00
Teriuihi f1deebf49e Merge remote-tracking branch 'origin/main' 2023-08-11 22:30:34 +02:00
Teriuihi 3e29fc7d17 Added minimum hex value for nick colors 2023-08-11 22:30:23 +02:00
Len ffa90b5c94 add MENTIONPLAYERTAG to Config.java 2023-07-15 17:45:03 +02:00
Len 9d7f944c88 Fix Tagging players and triggering a replacematcher not resetting chatcolor 2023-07-15 17:42:12 +02:00
Teriuihi 8a463696ed Made chatusermanager use synchronized functions 2023-07-07 23:16:32 +02:00
Teriuihi f3c7a312c0 Added first join messages 2023-06-20 00:35:46 +02:00
Teriuihi d8f064e7ca Fix spy needing mute-server permission 2023-06-20 00:09:48 +02:00
Teriuihi 7ef9b4a64a Make .replace require a TextReplacementConfig 2022-10-09 19:32:51 +02:00
Teriuihi 6beb398e10 Added a way to replace text with components and patterns with strings/components 2022-10-09 00:36:07 +02:00
Len 3aa0b09133 Fix ChatFilter.java not applying to message. 2022-10-08 11:05:56 +02:00
Len 3bdaa798c3 Continue the loop do not break it. 2022-10-03 19:39:41 +02:00
Len 7fcfb2321f Update config style 2022-10-03 19:29:25 +02:00
Len 3d14cca551 Update minimessage tags to be lowercase 2022-10-03 11:29:06 +02:00
Len d1df551f35 Update minimessage tags to be lowercase 2022-10-03 10:30:27 +02:00
Teriuihi d7bd3aa222 Switched to using minimessage (mostly) 2022-10-02 04:52:33 +02:00
Len a4e4982dc3 Update nicknames to use Chat's plugin message channels. 2022-10-01 20:42:35 +02:00
Len 271500bae3 Add permission for newline 2022-09-29 16:51:03 +02:00
Len 6329eacd07 Fix some deprecated issues 2022-09-29 16:26:55 +02:00
Len a405862fe1 Update Config.java references for Nicknames 2022-09-27 00:45:23 +02:00
Len 11ecf1ad16 Merge Nicknames 2022-09-27 00:02:27 +02:00
Len 1ea2c03fcd Add nicknameString getting in ChatUser.java 2022-09-27 00:02:27 +02:00
Len 4d01ccb065 Update Config.java 2022-09-27 00:02:27 +02:00
Len a15b13e8ac Add Nick.java 2022-09-27 00:02:27 +02:00
Len 00f4e00011 Add Pair.java 2022-09-27 00:02:27 +02:00
Len 3888298827 Add Emote to FilterType.java
Add EmoteList command.
2022-09-27 00:02:27 +02:00
Len ee2a2c2225 Use 1.19.2 API 2022-09-26 19:08:51 +02:00
Teriuihi 341a330e3d Removed sout for adding party users 2022-09-22 23:53:09 +02:00
Teriuihi 35ad214901 Fixed regex injection 2022-06-02 05:09:43 +02:00
Teriuihi 7ab95e437a Fixed bypass spam limits by spamming more than one character 2022-05-30 19:58:00 +02:00
Teriuihi 4068ad8ea6 Fixed message for toggling chat channel
Fixed stack overflow for untoggling chat channels
2022-05-30 19:43:31 +02:00
Teriuihi 82eecc3142 Colored toggle word, improved default party online/offline marker 2022-05-30 19:27:47 +02:00
Len 8c3d03383d build using velocity 3.1.2-SNAPSHOT 2022-05-30 18:47:29 +02:00
Stijn fe64fb3785 Added the string that was filtered to the logs 2022-05-27 17:52:34 +02:00
Len c836452d19 Update minimessage references 2022-05-27 00:31:36 +02:00
Teriuihi 0997c2bab6 Disable toggles on join 2022-05-24 04:20:21 +02:00
Teriuihi 41897f4b16 Added toggle to party as well and made it so it can be added to other channels if needed 2022-05-24 04:17:55 +02:00
Teriuihi c645201ef3 Removed variable, moved call inline 2022-05-24 02:50:18 +02:00
Teriuihi fdd9d81400 Fix party users not being removed correctly (they left the party but still had their party id set) 2022-05-24 02:49:36 +02:00
Teriuihi 3e313cb00b Fixed being able to bypass replacement filters by having multiple of the same match in one string 2022-05-24 02:41:11 +02:00
Teriuihi dac0f7936e Use util to parse message 2022-05-24 02:06:28 +02:00
Stijn 408d38fb78 Added silent join 2022-05-23 22:32:43 +02:00
Stijn faa0435131 Require reports to be at least 3 words long 2022-05-23 22:06:17 +02:00