package me.pinkslime.SlimeSwear;

import org.spongepowered.api.entity.Player;
import org.spongepowered.api.event.Subscribe;
import org.spongepowered.api.event.player.PlayerChatEvent;
import org.spongepowered.api.plugin.Plugin;
import org.spongepowered.api.util.command.CommandSource;

@Plugin(id="SlimeSwear", name="SlimeSwear", version="1.0.0-SNAPSHOT")
public class Main {
	
	@Subscribe
	public void chatEvent(PlayerChatEvent e) {
		
		String msg = e.getMessage();
		Player player = e.getPlayer();
		CommandSource src = e.getSource();
		
		msg = msg.replaceAll("(?i)arsehole|asshole", "Elephant and Castle");
		msg = msg.replaceAll("(?i)arse|ass", "Bottle and Glass");
		msg = msg.replaceAll("(?i)balls", "Niagra Falls");
		msg = msg.replaceAll("(?i)bitch", "Miss Fitch");
		msg = msg.replaceAll("(?i)bum", "Kingdom Come");
		msg = msg.replaceAll("(?i)cock", "Brighton Rock");
		msg = msg.replaceAll("(?i)crap", "Von Trappe");
		msg = msg.replaceAll("(?i)cum", "Bubble Gum");
		msg = msg.replaceAll("(?i)cunt", "Berkeley Hunt");
		msg = msg.replaceAll("(?i)dump", "Donald Trump");
		msg = msg.replaceAll("(?i)fanny", "Jack and Danny");
		msg = msg.replaceAll("(?i)fart", "Raspberry Tart");
		msg = msg.replaceAll("(?i)Fucker", "Feather Plucker");
		msg = msg.replaceAll("(?i)fuck", "Friar Tuck");
		msg = msg.replaceAll("(?i)horn", "Popcorn");
		msg = msg.replaceAll("(?i)pissed", "Oliver Twist");
		msg = msg.replaceAll("(?i)piss", "Hit and Miss");
		msg = msg.replaceAll("(?i)prick", "Hampton Wick");
		msg = msg.replaceAll("(?i)pube", "Rubik's Cube");
		msg = msg.replaceAll("(?i)shitter", "Gary Glitter");
		msg = msg.replaceAll("(?i)shite", "Turkish Delight");
		msg = msg.replaceAll("(?i)shits", "Two Bob Bits");
		msg = msg.replaceAll("(?i)shit", "Brad Pitt");
		msg = msg.replaceAll("(?i)spunk", "Harry Monk");
		msg = msg.replaceAll("(?i)tits", "Brace and Bits");
		msg = msg.replaceAll("(?i)titty", "Bristol City");
		msg = msg.replaceAll("(?i)Turd", "Douglas Hurd");
		msg = msg.replaceAll("(?i)wanker", "Merchant Banker");
		msg = msg.replaceAll("(?i)wank", "Sherman Tank");
				
		e.setMessage(msg);
	}
	
}

@@ -223,65 +223,8 @@
 gin;
-%0Aimport org.spongepowered.api.util.command.CommandSource;
 %0A%0A@P
@@ -442,40 +442,82 @@
 ;%0A%09%09
-CommandSource src = e.getSource(
+%0A%09%09player.sendMessage(%22%5BSlimeSwear%5D Please watch your language in future.%22
 );%0A%09
@@ -1005,24 +1005,78 @@
 ley Hunt%22);%0A
+%09%09msg = msg.replaceAll(%22(?i)dick%22, %22Rock and Stick%22);%0A
 %09%09msg = msg.
@@ -1252,17 +1252,17 @@
 ll(%22(?i)
-F
+f
 ucker%22, 
@@ -1335,55 +1335,8 @@
 %22);%0A
-%09%09msg = msg.replaceAll(%22(?i)horn%22, %22Popcorn%22);%0A
 %09%09ms
@@ -1941,17 +1941,17 @@
 ll(%22(?i)
-T
+t
 urd%22, %22D
@@ -2081,16 +2081,19 @@
 %0A%09%09%09%09%0A%09%09
+// 
 e.setMes
@@ -2102,16 +2102,41 @@
 ge(msg);
+  Awaiting this method...
 %0A%09%7D%0A%09%0A%7D%0A

Clean up and formatting