Skip to content

Commit

Permalink
Increase attem msg ratelimit
Browse files Browse the repository at this point in the history
  • Loading branch information
BalaM314 committed Aug 19, 2023
1 parent bbcfb77 commit fb1015f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/mindustry/client/utils/ProcessorPatcher.kt
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ object ProcessorPatcher {
if(player == null) return false
if(!Server.current.whisper.canRun()) return false
if(!whisperRatelimit.allow(player.id,
5000, 1, //Max 1 message per player per 5 seconds
15000, 1, //Max 1 message per player per 15 seconds
5000, 5 //Max 5 messages per 5 seconds over all players
)) return false
Server.current.whisper(player, whisperText)
Expand Down

0 comments on commit fb1015f

Please sign in to comment.