/clearchat Plugin tutorial

Discussion in 'Plugin Development' started by chris8787878787, Jul 2, 2014.

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

    myminecrafter01

    I understand that, I didn't expect this thread to help anyone new to making plugins. I posted the code example so hopefully the op can learn from it.
     
  2. Offline

    RawCode

    unrealdesign
    Nobody read sticky threads on first page, just use search over "ambiguous" and you will see zillion threads about thing explained in sticky thread.

    personally i opened threads in this branch only few times, i always was dissappointed by stuff i seen...
     
  3. Offline

    mythbusterma

    myminecrafter01

    Or, even better, since Bukkit.broadcastMessage(""); is an expensive call when done 100 times in a row,

    Bukkit.broadcastMessage("\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n");
     
  4. mythbusterma Although it would technically be better to use the guaranteed platform independent System.getProperty("line.separator") :p
     
    mythbusterma likes this.
Thread Status:
Not open for further replies.

Share This Page