Blumlaut / EasyAdmin

Admin Menu for FiveM and RedM
https://easyadmin.readthedocs.io/
GNU Affero General Public License v3.0
172 stars 156 forks source link

Implement Admin Cooldowns #796

Closed coleminer0112 closed 11 months ago

coleminer0112 commented 1 year ago

Adds the following Integer Convars: ea_adminCooldown:kick ea_adminCooldown:ban ea_adminCooldown:unban ea_adminCooldown:teleport ea_adminCooldown:spectate ea_adminCooldown:freeze ea_adminCooldown:screenshot ea_adminCooldown:warn ea_adminCooldown:mute ea_adminCooldown:slap

These convars default to 0, meaning no change in current behavior. If set to an integer other than 0, they will restrict an Admin from repeating that action for the number of seconds provided in the integer. This is very useful for servers that need to give perms to many staff members, to prevent abuse.

Blumlaut commented 1 year ago

not stale, I'm just too lazy to review.

Blumlaut commented 11 months ago

forgot merging this lol i'm such a silly goober