Commit Graph

89 Commits

Author SHA1 Message Date
Teriuihi 44d6e994cc Implement chat log handler with database support
The code changes introduce the ability to log chat messages. A new ChatLogHandler class has been added that manages the queue of chat log messages, both storing them in memory and writing them to a database. New columns have been added to the database and the interactivity with the database is handled using prepared statements to improve security and performance. The chat messages are deleted from the database after a certain period, which can be configured.
2024-04-06 17:25:15 +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
Len ffa90b5c94 add MENTIONPLAYERTAG to Config.java 2023-07-15 17:45:03 +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
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 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 4d01ccb065 Update Config.java 2022-09-27 00:02:27 +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
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 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
Teriuihi 98475583a9 Gave report an error message 2022-03-05 04:52:10 +01:00
Teriuihi 09507999aa Added player does not exist message when sending a message to a player that's not online 2022-03-02 17:36:15 +01:00
Teriuihi 7c9b12c394 Don't let someone join a party they are already in 2022-03-02 17:30:19 +01:00
Teriuihi a0c626a88f Add confirmation message, change color, fix author icon url 2022-02-20 19:12:20 +01:00
Teriuihi 56010fb9ad Added /report probably (and fixed party chat tab complete) 2022-02-20 18:19:52 +01:00
Teriuihi 956d04abe0 Added party leave notif 2022-02-19 16:58:22 +01:00
Teriuihi e0ed414a38 Added confirmation message to mail sent 2022-02-19 16:58:22 +01:00
Teriuihi a3d1910c7d Fixed party notifs and spy 2022-02-19 16:58:22 +01:00
Teriuihi 497cd99979 Grammar in config message 2022-02-19 16:58:22 +01:00
Teriuihi 630cd6c133 Tweaked mails, added notifs, added config options 2022-02-19 16:58:22 +01:00
Teriuihi ce0cad2586 Added missing config messages 2022-02-19 16:58:22 +01:00
Teriuihi 4571d191fd Added party disband command and a way to remove all users from a party 2022-02-19 16:58:22 +01:00
Teriuihi dcd8456612 Added party chat help message 2022-02-19 16:58:22 +01:00
Teriuihi 83d1ae933d Added messages for commands that had no output 2022-02-19 16:58:22 +01:00
Teriuihi e5e174d363 Added logout notif 2022-02-19 16:58:22 +01:00
Teriuihi 8f6b8675b5 Notify players if their party member joins 2022-02-19 16:58:22 +01:00
Teriuihi 4c1da52c9b Edited templates for spy/party format 2022-02-19 16:58:22 +01:00
Teriuihi 3cb858ba3d Added more config messages 2022-02-19 16:58:22 +01:00
Teriuihi 4f4f48e847 Added all the commands and added configurable messages for everything 2022-01-30 17:50:18 +01:00
Teriuihi daf6ab21a5 started migrating party to proxy 2022-01-30 02:12:09 +01:00
destro174 57a43e9c1c finish mails? 2022-01-29 23:21:35 +01:00
destro174 615458adab Update permissions to mention the plugin they're from 2022-01-27 21:09:23 +01:00
destro174 41ac24fd74 apply last commit to all configs 2022-01-05 14:48:03 +01:00
destro174 af23e0df29 don't add defaults if not asked 2022-01-05 14:09:36 +01:00
destro174 5b68a0cbb7 Bring back block style config 2021-12-11 20:20:36 +01:00
Stijn 42b19c5197 Updated velocity and configurate version 2021-11-29 15:37:19 +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