Solved Replacing words in chat..

Discussion in 'Plugin Development' started by zakkinu2, Sep 23, 2013.

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

    zakkinu2

    Ok so i have a command "/banword [word]" Whenever a player uses it it gets the args[0] and it adds it a list in my config. How do i make it so whenever a player says something it will check if any of the words are in the config list and if they are it will replace them with "$#@!%" .
     
  2. Offline

    The_Doctor_123

    myString.replace("dang", "%%^*");
     
  3. Offline

    zakkinu2

Thread Status:
Not open for further replies.

Share This Page