jonahseguin / Reflex

A fast, accurate, and easy to use customizable AntiCheat for Spigot Minecraft servers
http://shawckz.com/project/reflex
8 stars 0 forks source link

Alerts: prevent spamming #28

Closed jonahseguin closed 7 years ago

jonahseguin commented 7 years ago

Prevent spamming of alerts by creating an Alert Queue system.

Alerts should only be sent out every 1-10 seconds (configurable?) ---> max 1 alert per second

Accumulated similar alerts should be sent grouped: If a player gets more than one alert of the same check within X time, it will be grouped into one alert.

Ex. [!] Shawckz failed Fly [5VL] (5x) Meaning, Shawckz has failed fly 5 times within the past X seconds.

You can click the alert and a GUI will pop up with the following options:

  1. View VL
  2. View individual violations that were bundled into this alert (--> separate GUI)
  3. Open player lookup menu
jonahseguin commented 7 years ago

The Alert structure is complete in the v2 branch, however the GUI with the is not complete.

The gui should have the following options when clicking an alert (command: /reflex alert ):

jonahseguin commented 7 years ago

Note -- THIS IS FOR "GROUPED" ALERTS