Commit Graph

207 Commits

Author SHA1 Message Date
destro174 eb31a141d0 sync mutes from proxy to server 2022-01-05 15:25:17 +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 2ce84244e8 Use gradle as a build tool 2021-12-11 21:41:19 +01:00
destro174 5b68a0cbb7 Bring back block style config 2021-12-11 20:20:36 +01:00
destro174 b183c369d2 Use gradle to build the plugin 2021-12-11 18:59:45 +01:00
destro174 9d131821b8 mistakes were made 2021-12-11 00:42:20 +01:00
Stijn 42b19c5197 Updated velocity and configurate version 2021-11-29 15:37:19 +01:00
destro174 890433ccea also update to 1.18 in api 2021-11-26 19:57:24 +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 728cac3281 Add blockednotification format in config 2021-08-25 12:12:29 +02:00
destro174 0124b6952c Add support for primary prefixes 2021-08-23 12:12:30 +02:00
destro174 3fd7bbfece dirty fix for /spy not working 2021-08-22 10:47:39 +02:00
destro174 1d5dd7c764 Don't use replacematcher for parsing text on signs 2021-08-20 23:03:58 +02:00
destro174 a35ad9ebeb Allow prefix data to be loaded from PrefixConfig 2021-08-19 00:59:37 +02:00
destro174 090ae5c438 register reload command and disable party loading 2021-08-18 14:27:19 +02:00
destro174 b0ae7e66d1 Add basic support for hover objects in prefixes 2021-08-18 00:15:45 +02:00
destro174 aebb1b83a5 Allow urls to be clickable in chat 2021-08-17 22:54:24 +02:00
destro174 47fb205001 Add a reload command 2021-08-14 19:55:32 +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
destro174 e7072a409e Merge branch 'main' of https://github.com/Altitude-Devs/Chat 2021-08-08 14:53:18 +02:00
destro174 c056fad7bb store chatusers in memory 2021-08-08 14:52:42 +02:00
Teriuihi 31d2eb44d4 Added login and logout notifiers 2021-08-08 14:48:42 +02:00
Teriuihi 9551785f83 Added a terrible way to sync parties cus I don't have time to implement a proper solution atm 2021-08-08 13:30:57 +02:00
Teriuihi 67eccd389d Switched to Username only (no nicknames) till colors can be fixed (for party users) 2021-08-08 12:19:32 +02:00
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
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 b9fae1cb35 Created configurable chat channels 2021-08-05 11:40:42 +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 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 604d06b700 Added logging for which filter is triggered 2021-07-31 20:21: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 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 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 9d8d4b3853 fixes 2021-07-30 03:16:41 +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 70b5f980f0 Make Regex case insensitive 2021-07-28 21:26:21 +02:00
destro174 9674503170 some tweaks 2021-07-28 20:42:09 +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 3f7084eeb7 atleast sql works now! 2021-07-03 20:11:31 +02:00
Teriuihi 313d09906d Fixed DatabaseConnection not being loaded on startup 2021-06-30 02:02:35 +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
destro174 bbfbfbb6f7 add chat formating and placeholders 2021-06-23 20:18:22 +02:00
destro174 11343938bc Load ignores from database and add them into the chat event 2021-06-23 20:05:47 +02:00
destro174 5bea7c95f9 idk what i fucked up here all files are new in git? 2021-06-20 22:03:39 +02:00
len a5c23d842d progress 2021-06-13 13:53:49 +02:00
Teriuihi bfadd18020 only iterate through players that are actually in a party when saving them 2021-06-08 04:03:03 +02:00
Teriuihi cc6a9a5a46 removed forcetp from chatuser 2021-06-07 15:41:05 +02:00
len 3266cc05a3 add notes to chatuser object 2021-06-07 10:51:00 +02:00
len 8d723cc0c6 Update chatuser object 2021-06-07 10:38:38 +02:00
len 198e80aa7a Push progress 2021-06-06 21:32:13 +02:00
len 5d8d7b5dff Add back api and server module 2021-06-02 19:55:55 +02:00
len d8a4490358 merge api into velocity 2021-05-24 10:10:02 +02:00
len 0d0c4a13e5 remove API module 2021-05-24 09:53:45 +02:00
len 4b79d6909f Refactor 2021-05-22 20:34:32 +02:00
len 8fc9e0c447 Refactor RegexObject to ChatFilter and ChatFilterType 2021-05-20 18:47:22 +02:00
len 4124315bd7 move regexmanager to api 2021-05-20 18:45:26 +02:00
len 4a8f98da9f Add a way to convert colorcodes into minimessage format 2021-05-16 17:03:26 +02:00
Teriuihi c15da75114 Renamed chatState to partyChatState 2021-05-16 02:02:03 +02:00
len 4d25f4e8cb Add base for Mailing 2021-05-16 00:28:47 +02:00
len d9e00094dd Rework getStaffPrefix 2021-05-15 21:39:51 +02:00
len 8c09726e64 Switch to CopyOnWriteArrayList 2021-05-15 21:17:24 +02:00
len abf5b4d2bb Start of ChatUserManager 2021-05-15 21:16:01 +02:00
len 47fd6bf2db Add ALogger 2021-05-15 13:52:02 +02:00
len f5066d4a9e remove chatplayer instnaces 2021-05-15 13:31:53 +02:00
len c1db6c1e39 Finalize join and leave messages 2021-05-15 13:26:31 +02:00
len 904fc3faad Fix Compile issues 2021-05-15 12:34:19 +02:00
len ec2377a837 Server Join/leave Messages 2021-05-15 11:42:54 +02:00
len be9d8f4ab3 fix merge issue 2021-05-15 09:27:25 +02:00
Teriuihi b8ff682748 Get prefixes, display name, and gc toggle when initializing a new user object 2021-05-15 03:02:52 +02:00
len 71e77ce870 Merge remote-tracking branch 'origin/database' into main 2021-05-14 22:24:40 +02:00
Teriuihi 2475197526 Changed PartyUser to be ChatUser 2021-05-14 02:33:23 +02:00
len a76ca7f850 Attempt to load regexes from config 2021-05-14 00:06:21 +02:00
len a7c21c6aa9 RegexConfig 2021-05-13 23:05:26 +02:00
len 35fda21ed1 Plugin Message channal and global chat check 2021-05-13 20:27:20 +02:00
len d087d47d5c rework internals 2021-05-13 14:11:59 +02:00
len 4aa4726a4e Add plugin 2021-05-13 14:11:29 +02:00
len 001d64b521 Move ChatPlayer to api 2021-05-13 11:49:47 +02:00
Teriuihi cec31f675e Removed regex queries
Added nickname query but it's using the wrong connection, needs to either get a connection to the nickname db or something else
2021-05-12 23:59:19 +02:00
Teriuihi 21a15c3817 Added queries to store regex, ignored users, parties, and party users
Added Party and party user class with all database functionality
NOTE: Regex doesn't have a way to be added or edited through the plugin atm. I don't know if that's needed since doing it through minecraft seems a bit odd, we could maybe add it to some discord bot or something in the future though
2021-05-11 19:21:48 +02:00
len e7f399010f Pom changes 2021-05-10 10:57:26 +02:00
len 2f798a9e1c move Config to API 2021-05-10 10:45:43 +02:00
len ee1181d4ad Add basic DatabaseConnection to API 2021-05-10 10:35:47 +02:00
len 0d15c40cb7 Start working on the API before adding the server implementation 2021-05-10 10:01:35 +02:00