Compatibility
Minecraft: Java Edition
1.21.x
1.20.x
Platforms
Links
Creators
Details
Licensed CC0-1.0
Published 3 weeks ago
Updated 3 weeks ago
Login Cooldown
A plugin that prevents players from joining and leaving excessively, with a configurable limit on the number of times allowed within a set time frame.
Rationale
Originally created to address players spamming chat with repeated leave and join messages, especially as a spam tactic after being muted or a way to circumvent chat spam.
Usage
/logincooldown reload
Reloads the configuration file (requires permission: logincooldown.admin)
logincooldown.notify
Players with this permission will receive the configurable notification message when someone is blocked from joining.
Default config
# Amount of joins allowed in the set time-frame
joins-per: 3
# In seconds
time-frame: 450
# Uses MiniMessage
blocked-msg: "<#ff3b3b><b>(•_•)?</b>\n\n<#ffcfb7><i>Please wait <#ffe2a3>[mins] mins</#ffe2a3> before rejoining again.</i>"
mod-msg: "<#ff6a6a><b>AntiSpam</b> <grey>» <#ffabab>[username] <#eee0e0>was blocked for joining & leaving too much."

