• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
  • Minecraft 1.16.220 Update + Bug/Crash Fixes
    Added MCPE 1.16.220 version and fixed crashes for multiple plugins. You can view the full changelist here.
  • Forum Updates - 4/11/2021
    Various changes have been made to the forums and a few categories. You can view the full changelist here.

Anti-Spam System

Warning!
Hello , there have been no replies in this thread for more than 30 days.
Please make sure you have a valid reason before you reply to this thread or you may face moderation action.
#1
Anti-Spam System
This is a system that prevents spamming in-game, it’s not 100% functional but it still works, this system is created with MadCommands, here is its code:

Code:
cmd create antispam Prevents spam
cmd add antispam load %chat%
cmd add antispam if varset(%chat%[%p%]) = %false% then goto 4
cmd add antispam if %args%[3] = %chat%[%p%] then goto 7
cmd add antispam let %chat%[%p%] = %args%[3]
cmd add antispam save %chat%
cmd add antispam exit
cmd add antispam cancel
cmd add antispam message %p% [Anti-Spam] Don’t try to spam.
cmd add antispam exit
cmd trigger chat antispam
 
Last edited by a moderator: