Sending a server notice

Discussion in 'Plugin Development' started by CompuIves, Jan 17, 2011.

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

    CompuIves

    How do I send a server notice to everyone in the world with a plugin? I searched for the method, but I didn't find anything.

    Already thanks for the support!
    CompuIves
     
  2. Offline

    Raphfrk

    getServer().broadcastMessage(message);

    However, if you aren't in your JavaPlugin class, you need to use

    <reference to your JavaPlugin>.getServer().broadcastMessage(message);
     
  3. Offline

    CompuIves

    Thank you soo much! It worked without any problem!!
     
Thread Status:
Not open for further replies.

Share This Page