Warzone / mars

All-in-one plugin for PGM servers
GNU Affero General Public License v3.0
9 stars 3 forks source link

Automatically detect punishment evasion #11

Open TBG1000 opened 2 years ago

TBG1000 commented 2 years ago

Issue:

Alternate accounts or new users have to be manually checked out by staff to figure out if they may be evading an active punishment. For this reason, an evading user may go unnoticed for a considerable amount of time unpunished.

Background / pre-existing solutions:

Back on TGM, a solution in WarzoneMC/tgm#668 was developed but never merged due to API overload concerns. The proposed changes checked the alternate accounts of a user when joining and notified staff members through the chat about potential punishment evasion.

Desired solutions:

Similar to what was described above, the current punishment system should be able to check the alternate accounts of a user (if any) when they join, then shortly afterwards notify staff members about potential evasion should any of the alts have an active punishment.

Additionally, and if performance allows for it, staff members could also be notified about potential evasion when they join the server. Mars would look through the alts of all connected players and check if any of them may be evading. This functionality could also instead be encapsulated under a command (i.e /punevasion) so that multiple staff members joining do not send multiple requests to the API, causing issues.

Affected areas / files: