BroadcastEvent

Discussion in 'Plugin Development' started by sionzee, Feb 2, 2013.

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

    sionzee

    Hello guys, I have question on Bukkit events. Exist event which checking BroadcastMessage ?
    I wan't check if BroadCast Message contains word, replace it with.... that...
     
  2. Offline

    chasechocolate

    What do you mean by broadcast? /say, /broadcast? You could listen for PlayerCommandPreProcessEvent.
     
  3. Offline

    stickeric

    I think he means when someone broadcast something, And it contains a word in his list, It will be replaced as example /broadcast sh!t it will replace with **** (I guess)
     
  4. Offline

    sionzee

    Broadcaster is not player, it is Plugin.
    I wan't create Czech location on SurvivalGames plugin.
    replaceAll("has won", "...");
    Problem is in:
    AsyncPlayerChatEvent only checking player.
     
  5. Offline

    microgeek

    Well, I wonder why? AsyncPlayerChatEvent
     
  6. Offline

    sionzee

    It's simile.
     
Thread Status:
Not open for further replies.

Share This Page