Teriuihi
157edbd6b6
Merge branch 'main' into april_fools
2024-03-31 13:37:42 +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
ad91cda0c0
Add method to remove string at start
...
A new method `removeStringAtStart` has been added to the `ModifiableString` class. It replaces the starting string in a given text. Also, a condition has been modified in the `ChatListener` class to invoke this new method when the input string starts with the `APRIL_FOOLS_RESET` string. Additional unit tests were created to validate these changes.
2024-03-24 17:12:55 +01:00
Teriuihi
9270423928
Add reverse chat feature for April Fools' and corresponding tests
...
This commit includes a new feature that reverses the text speech of chat users on April 1st as an April Fools' prank. It also includes a reset option, configurable via a new parameter in the configuration file. Furthermore, it provides tests for the reverse string functionality, ensuring that it works correctly, even with complex strings that include tags.
2024-03-24 16:58:09 +01: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
Stijn
1946cd4ab7
Added online indicators for party info
2022-05-23 21:55: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