Sueta

Chat Slowmode

1.1.1

Slow down your chat to prevent annoying spammers!

·Plugin

Chat Slowmode
By FishbirdDD

Get support on my Discord! https://discord.gg/e2Hdh97

Features:

  • Chat is slowed down for players
  • Give players a permission to bypass the cooldown
  • Configure cooldown in config.yml
  • Configure message in config.yml

Screen Shot 2020-01-26 at 10.57.37 AM.png

Config:

Config.yml
[  /B  ]  
 # ChatSlowMode by FishbirdDD  

 # COMMANDS:  
 # /chatslowmode reload- Reloads the config file so you don't have to restart the server  
 # /chatslowmode cleanmemory - Clears unnecessary memory from the plugin  
 # /chatslowmode debug - COMING SOON  

 # PERMISSIONS:  
 # chatslowmode.bypass - Allows players to bypass slowmode, OPs have this already  
 # chatslowmode.admin - Use command /chatslowmode  

 # Amount of time (in ticks, 20 ticks = 1 second) between chat messages   
cooldown   :  60 

 # Message sent when a player can not chat due to the cooldown   
message   :   "&cPlease wait 3 seconds between chat messages"  

 # Do you want the plugin to restart the cooldown when a message fails  
 # to send due to the cooldown.  
 # Example: the cooldown is set to 60 ticks (default) and a player is spamming  
 # true: none of the player's messages are sent to the server  
 # false: one message is sent every 3 seconds   
restartcooldown   :  false 

 #  
 # You most likely will not need to change any of these settings!  
 #  

 # Memory clean settings WILL NOT change when using /chatslowmode reload   
memoryclean   : 
    # Decide whether or not the memory is automatically cleaned after a certain amount  
   # of time   
  enabled   :  true 
   # Choose the interval at which the memory is cleaned  
   # This number is in ticks, 20 ticks = 1 second   
  interval   :  6000 

 # The debug feature can be enabled with '/chatslowmode debug' in-game. You can use  
 # '/chatslowmode debug player' to get alerts in your chat. Note that restarting the  
 # server will disable player debug but not console debug.  

 # As of version 1.1.0, debug mode does not work. In a later version it will work. Please  
 # keep up to date with my Spigot page so you can download new versions of this  
 # plugin when they come out.  
 
debug   :  false 
 [  B  ]


Permissions:

chatslowmode.bypass - Bypass slow mode
chatslowmode.admin - Use the /chatslowmode command

Commands:
/chatslowmode reload - Reload the config file

/chatslowmode cleanmemory - Clean the plugin's memory

Similar projects

Plugin →