People Can Use &r

Discussion in 'Plugin Development' started by Blah1, Jan 4, 2014.

Thread Status:
Not open for further replies.
  1. Offline

    Blah1

    So everyone can use &r on my friend's server. Idk if it's essentials or what but this shouldn't be happening.

    I wrote a little code to block it but apparently people can use &&rr or &&&&rrrr and it will do the same thing...
    I tried:
    Code:java
    1. event.setMessage(ChatColor.GRAY + ChatColor.stripColor(event.getMessage));

    But that didn't do anything...
    What could it be?
     
  2. Offline

    Bart

    You could replace all '&'s with nothing.. you might also want to up the priority of your event so that it runs last.
     
  3. Offline

    Jalau

    Best thing just give us the plugin list :p
     
Thread Status:
Not open for further replies.

Share This Page