Commit Graph

52 Commits

Author SHA1 Message Date
Teriuihi 3b2aa84164 Add player muted logging and abstract embed building
The update introduces a log entry indicating when a player has been muted due to voting. The embed creation for this process has been isolated and extracted into a separate function. This contributes to better code modularity and organization.
2024-04-13 16:52:56 +02:00
Teriuihi d6135f2456 Add mute vote results sent to Discord and staff presence check
Enhanced the vote-to-mute feature by adding a function that sends the mute vote results to a general channel on Discord. A 'staff presence' check has also been added which prevents the mute vote from being initiated if a staff member is online, instead, it prompts users to directly contact a staff member for help.
2024-04-07 18:29:46 +02:00
Teriuihi c25767e473 Add VoteToMuteHelper and enhance ActiveVoteToMute
Implemented a new module titled VoteToMuteHelper to enhance the voting system and augment the user experience. This module enhances the system by providing relevant player suggestions and setting up the mute player. Made updates to the ActiveVoteToMute module to handle potential voters and mute the player if the vote is passed. VoteToMute module is also updated to include the total eligible players. The code is made robust by adding appropriate error checks.
2024-04-07 18:07:20 +02:00
Teriuihi ed2ba74772 Add start of VoteToMute functionality in chat system
Implemented VoteToMute system enabling initiated voting for muting a player in chat. This includes creating new classes "ActiveVoteToMute", "VoteToMute", and "VoteToMuteStarter". The "VoteToMute" class handles the voting command logic, it allows players to vote on whether to mute other players. The code also adds a call to register this new command in the main VelocityChat class.
2024-04-06 19:39:36 +02:00
Teriuihi 5583abbbca Fix party info not showing if party owner is null 2023-06-20 23:44:32 +02:00
Len 6329eacd07 Fix some deprecated issues 2022-09-29 16:26:55 +02:00
Stijn d3be713c9a Added optional sender argument to /mail list <username> 2022-09-21 18:26:16 +02:00
Teriuihi b1f2370bec Added continue, fixed mail 2022-06-02 03:48:51 +02:00
Teriuihi 679602c1f7 Registered SilentJoinCommand 2022-05-30 19:19:41 +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
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 e6dfd19b84 Merge branch 4.9 2022-03-14 16:48:35 +01:00
Teriuihi 98475583a9 Gave report an error message 2022-03-05 04:52:10 +01:00
Teriuihi 7c9b12c394 Don't let someone join a party they are already in 2022-03-02 17:30:19 +01:00
destro174 5834ff2c97 Why doesn't it error? 2022-02-24 17:16:32 +01:00
destro174 e550679637 Workaround? please build 2022-02-23 16:13:53 +01:00
Teriuihi a0c626a88f Add confirmation message, change color, fix author icon url 2022-02-20 19:12:20 +01:00
Teriuihi 8d6efe0265 Don't ask for player 2022-02-20 19:03:11 +01:00
Teriuihi 56010fb9ad Added /report probably (and fixed party chat tab complete) 2022-02-20 18:19:52 +01:00
Teriuihi 8fd784bba1 Maybe added proxydiscordlink and added report command 2022-02-19 16:58:22 +01:00
Teriuihi 956d04abe0 Added party leave notif 2022-02-19 16:58:22 +01:00
Teriuihi a3d1910c7d Fixed party notifs and spy 2022-02-19 16:58:22 +01:00
destro174 448d9ac8aa Update minimessage to 4.10.0 2022-02-19 16:58:22 +01:00
Teriuihi c1b32e12cc Check if a user has permission to see tab complete suggestions 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 8a89b08420 Check if a user is already in a party before letting them make another party 2022-02-19 16:58:22 +01:00
Teriuihi 304d825622 Configure party invite messages 2022-02-19 16:58:22 +01:00
Teriuihi f2aeb2c300 Parse commands before putting them in template 2022-02-19 16:58:22 +01:00
destro174 342957ef68 Fix build! 2022-02-19 15:14:41 +01:00
Teriuihi fbbe0d6ef3 Maybe added proxydiscordlink and added report command 2022-02-15 16:37:47 +01:00
Teriuihi 647ad2b62a Added party leave notif 2022-02-15 03:20:05 +01:00
Teriuihi e6e1073958 Fixed party notifs and spy 2022-02-15 02:32:38 +01:00
destro174 e08c5a4a3b Update minimessage to 4.10.0 2022-02-05 21:16:20 +01:00
Teriuihi 79501c619a Check if a user has permission to see tab complete suggestions 2022-01-31 03:15:43 +01:00
Teriuihi 0c8a4a97d3 Added party disband command and a way to remove all users from a party 2022-01-31 03:06:52 +01:00
Teriuihi 032d0e2bef Added party chat help message 2022-01-31 02:54:23 +01:00
Teriuihi 787927672a Added messages for commands that had no output 2022-01-30 20:20:42 +01:00
Teriuihi a0a60757f6 Check if a user is already in a party before letting them make another party 2022-01-30 19:50:22 +01:00
Teriuihi 89938338b1 Configure party invite messages 2022-01-30 19:50:06 +01:00
Teriuihi f8ede610b2 Parse commands before putting them in template 2022-01-30 19:49:53 +01:00
Teriuihi 2acebc6c16 Renamed partycommand and made party chat work from galaxy to proxy 2022-01-30 19:31:29 +01:00
Teriuihi 4f4f48e847 Added all the commands and added configurable messages for everything 2022-01-30 17:50:18 +01:00
Teriuihi 5fcf9da6b9 Removed updateparty comments 2022-01-30 15:46:22 +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 26b044b2e7 merge basic mailing 2022-01-29 14:53:47 +01:00