Thread: need a good Anti Spam on my server!

Results 1 to 3 of 3
  1. #1 need a good Anti Spam on my server! 
    Registered Member
    Join Date
    Jan 2011
    Posts
    19
    Thanks given
    0
    Thanks received
    0
    Rep Power
    2
    sup guys some noob logged on my server and spammed and i lost all 3 of my players =[ does anyone have a tut or anything for a really nice anti spam thanks. i will rep btw
     

  2. #2  
    Registered Member Akeid's Avatar
    Join Date
    May 2009
    Posts
    911
    Thanks given
    22
    Thanks received
    15
    Rep Power
    37
    haha same here slay ; But to solve your problem, you must add some check in where your chat packet is handled. leme rip u mine

    Code:
    public static final String[] CENSORED_WORDS = {"chanan","tapan","Amar","santosh","deepak"};

    Code:
    		if (c.getPA().censoredWords(playerChat.toLowerCase())) {
    
    			return;
    		}
            
            if (!Connection.isMuted(c))
    			c.setChatTextUpdateRequired(true);
    After that, just loop the contents of warning words for the c.getPA().censoredWord method

    hope this helps
     

  3. #3  
     

    Vastiko's Avatar
    Join Date
    Dec 2006
    Posts
    5,700
    Thanks given
    300
    Thanks received
    663
    Rep Power
    5000
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. [562] anti spam?
    By btkscape in forum Help
    Replies: 2
    Last Post: 08-31-2010, 09:02 AM
  2. 525 Anti Spam system !
    By Ellie in forum Snippets
    Replies: 9
    Last Post: 06-30-2010, 02:47 PM
  3. [508/525] Anti-spam/Anti Auto-typer
    By shassan in forum Tutorials
    Replies: 23
    Last Post: 09-29-2009, 11:38 PM
  4. Anti spam!
    By SuddenG in forum Requests
    Replies: 6
    Last Post: 06-13-2009, 03:53 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •