package net.minecraftforge.event;

import net.minecraft.src.EntityPlayerMP;

@Cancelable
public class ServerChatEvent extends Event {
        public final String message, username;
        public final EntityPlayerMP player;
        public String line;
        public ServerChatEvent(EntityPlayerMP player, String message, String line)
        {
            super();
            this.message = message;
            this.player = player;
            this.username = player.username;
            this.line = "<" + username + "> " + message;
        }
}
@@ -127,20 +127,16 @@
 Event %7B%0A
-    
     publ
@@ -170,28 +170,24 @@
 ername;%0A    
-  
-  
 public final
@@ -206,28 +206,24 @@
 rMP player;%0A
-    
     public S
@@ -234,20 +234,16 @@
 g line;%0A
-    
     publ
@@ -321,25 +321,18 @@
     
-    %7B%0A   
+%7B%0A
         
  sup
@@ -327,17 +327,16 @@
         
- 
 super();
@@ -336,20 +336,16 @@
 uper();%0A
-    
         
@@ -372,28 +372,24 @@
 ge;%0A        
- 
-   
 this.player 
@@ -402,28 +402,24 @@
 er;%0A        
-  
-  
 this.usernam
@@ -439,20 +439,16 @@
 ername;%0A
-    
         
@@ -496,15 +496,12 @@
 ge;%0A
-    
     %7D%0A%7D
+%0A

Add event to cancel or change chat messages sent from server