"Plugin/SystemSendMessageEvent"?

Discussion in 'Plugin Development' started by Flyverse, Sep 18, 2013.

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

    Flyverse

    Hi!

    Is there an event like PlayerChatEvent, but for the system? So that I can catch messages send by plugins?

    Kindly regards
     
  2. Offline

    chasechocolate

    You can add a filter to the logger, if that's what you're asking.
     
    Flyverse likes this.
  3. Offline

    The_Doctor_123

    I've been wondering this myself, but I have been too lazy to search it up. :p
     
    Flyverse likes this.
  4. Offline

    Flyverse

    chasechocolate
    Sounds good! Could you maybe explain, what exactly the logger and his filters are doing =S? (I want to modify some messages send to players by plugins)
     
  5. Offline

    evilmidget38

    Flyverse There's no event for modifying the messages sent to players by plugins.
     
    lukegb likes this.
  6. Offline

    chasechocolate

    Flyverse oh, I misunderstood what you were asking. Thought you meant console messages.
     
  7. Offline

    Flyverse

    Is there a way that something like this:
    Code:java
    1.  
    2. SomeoneSendsMessageEvent e = //initializing etc
    3. Bukkit.getPluginManager().callEvent(e);
    4.  

    could be added in the CommandSender sendMessage method in future updates?
     
  8. Offline

    Janmm14

    Flyverse likes this.
  9. Offline

    Flyverse

    Thanks! I wonder why ProtocolLib isn't part of bukkit yet.. Its awesome =O!
     
Thread Status:
Not open for further replies.

Share This Page