Is there any event that is called when Player.sendMessage() is used?

Discussion in 'Plugin Development' started by Ensign Trojan, Aug 1, 2013.

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

    Ensign Trojan

    As in topic, i want my plugin to use other plugin in that way:

    this other plugin sends message to players for example "Map will start in: 10" and i want to
    catch this, cancel this, and make timer on scoreboard, i know how to do rest, but i don't have a clue how to get when player will get message from server. Can you help me? Thanks!
     
  2. Offline

    Pawnguy7

    I am guessing something to do with packets.
     
  3. Offline

    Ensign Trojan

    Btw. Is there a way to make fake player with score (for example called "time:) on scoreboard to be on top all the time? i mean when some other score will be greater this will stay still on top?
     
  4. Offline

    evilguy4000

    Ensign Trojan
    well thats coded in that plugin , if you are going to cancel that statement the timer will also be canceled, one thing you can do is open that plugin and change the code, but you are doing probabely something illegal there. The other thing you can do is gather some courage and some time and write the plugin yourself ;)
     
  5. Offline

    Ensign Trojan

    Well, not really, the thing i want to do is: on SG server make timer to deatchmatch
     
  6. Offline

    Taketheword

    Sounds like you're going to have to modify their plugin. I doubt that checking packets its worth the effort.
     
Thread Status:
Not open for further replies.

Share This Page