import java.util.List ;

import org.bukkit.configuration.file.FileConfiguration ;

import org.bukkit.entity.Player ;

import org.bukkit.event.EventHandler ;

import org.bukkit.event.Listener ;

import org.bukkit.event.block.SignChangeEvent ;

public class SignListener

implements Listener

{

@EventHandler

public void sign ( SignChangeEvent e )

{

try

{

if ( ( this . pl . getConfig ( ) . getString ( "Signs.Allow Swearing" ) . contains ( "false" ) ) && ( ! e. getPlayer ( ) . hasPermission ( "canary.bypass" ) ) )

{

if ( e. getLine ( 0 ) . toLowerCase ( ) . contains ( ( CharSequence ) this . pl . getConfig ( ) . getStringList ( "Swear Filter" ) . get ( 0 ) ) )

{

e. setLine ( 0 , "Don't swear." ) ;

}

if ( e. getLine ( 0 ) . toLowerCase ( ) . contains ( ( CharSequence ) this . pl . getConfig ( ) . getStringList ( "Swear Filter" ) . get ( 1 ) ) )

{

e. setLine ( 0 , "Don't swear." ) ;

}

if ( e. getLine ( 0 ) . toLowerCase ( ) . contains ( ( CharSequence ) this . pl . getConfig ( ) . getStringList ( "Swear Filter" ) . get ( 2 ) ) )

{

e. setLine ( 0 , "Don't swear." ) ;

}

if ( e. getLine ( 0 ) . toLowerCase ( ) . contains ( ( CharSequence ) this . pl . getConfig ( ) . getStringList ( "Swear Filter" ) . get ( 3 ) ) )

{

e. setLine ( 0 , "Don't swear." ) ;

}

if ( e. getLine ( 0 ) . toLowerCase ( ) . contains ( ( CharSequence ) this . pl . getConfig ( ) . getStringList ( "Swear Filter" ) . get ( 4 ) ) )

{

e. setLine ( 0 , "Don't swear." ) ;

}

if ( e. getLine ( 0 ) . toLowerCase ( ) . contains ( ( CharSequence ) this . pl . getConfig ( ) . getStringList ( "Swear Filter" ) . get ( 5 ) ) )

{

e. setLine ( 0 , "Don't swear." ) ;

}

if ( e. getLine ( 0 ) . toLowerCase ( ) . contains ( ( CharSequence ) this . pl . getConfig ( ) . getStringList ( "Swear Filter" ) . get ( 6 ) ) )

{

e. setLine ( 0 , "Don't swear." ) ;

}

if ( e. getLine ( 0 ) . toLowerCase ( ) . contains ( ( CharSequence ) this . pl . getConfig ( ) . getStringList ( "Swear Filter" ) . get ( 7 ) ) )

{

e. setLine ( 0 , "Don't swear." ) ;

}

if ( e. getLine ( 0 ) . toLowerCase ( ) . contains ( ( CharSequence ) this . pl . getConfig ( ) . getStringList ( "Swear Filter" ) . get ( 8 ) ) )

{

e. setLine ( 0 , "Don't swear." ) ;

}

if ( e. getLine ( 0 ) . toLowerCase ( ) . contains ( ( CharSequence ) this . pl . getConfig ( ) . getStringList ( "Swear Filter" ) . get ( 9 ) ) )

{

e. setLine ( 0 , "Don't swear." ) ;

}

if ( e. getLine ( 0 ) . toLowerCase ( ) . contains ( ( CharSequence ) this . pl . getConfig ( ) . getStringList ( "Swear Filter" ) . get ( 10 ) ) )

{

e. setLine ( 0 , "Don't swear." ) ;

}

if ( e. getLine ( 0 ) . toLowerCase ( ) . contains ( ( CharSequence ) this . pl . getConfig ( ) . getStringList ( "Swear Filter" ) . get ( 11 ) ) )

{

e. setLine ( 0 , "Don't swear." ) ;

}

if ( e. getLine ( 0 ) . toLowerCase ( ) . contains ( ( CharSequence ) this . pl . getConfig ( ) . getStringList ( "Swear Filter" ) . get ( 12 ) ) )

{

e. setLine ( 0 , "Don't swear." ) ;

}

if ( e. getLine ( 0 ) . toLowerCase ( ) . contains ( ( CharSequence ) this . pl . getConfig ( ) . getStringList ( "Swear Filter" ) . get ( 13 ) ) )

{

e. setLine ( 0 , "Don't swear." ) ;

}

if ( e. getLine ( 0 ) . toLowerCase ( ) . contains ( ( CharSequence ) this . pl . getConfig ( ) . getStringList ( "Swear Filter" ) . get ( 14 ) ) )

{

e. setLine ( 0 , "Don't swear." ) ;

}

if ( e. getLine ( 0 ) . toLowerCase ( ) . contains ( ( CharSequence ) this . pl . getConfig ( ) . getStringList ( "Swear Filter" ) . get ( 15 ) ) )

{

e. setLine ( 0 , "Don't swear." ) ;

}

if ( e. getLine ( 0 ) . toLowerCase ( ) . contains ( ( CharSequence ) this . pl . getConfig ( ) . getStringList ( "Swear Filter" ) . get ( 16 ) ) )

{

e. setLine ( 0 , "Don't swear." ) ;

}

if ( e. getLine ( 0 ) . toLowerCase ( ) . contains ( ( CharSequence ) this . pl . getConfig ( ) . getStringList ( "Swear Filter" ) . get ( 17 ) ) )

{

e. setLine ( 0 , "Don't swear." ) ;

}

if ( e. getLine ( 0 ) . toLowerCase ( ) . contains ( ( CharSequence ) this . pl . getConfig ( ) . getStringList ( "Swear Filter" ) . get ( 18 ) ) )

{

e. setLine ( 0 , "Don't swear." ) ;

}

if ( e. getLine ( 0 ) . toLowerCase ( ) . contains ( ( CharSequence ) this . pl . getConfig ( ) . getStringList ( "Swear Filter" ) . get ( 19 ) ) )

{

e. setLine ( 0 , "Don't swear." ) ;

}

if ( e. getLine ( 0 ) . toLowerCase ( ) . contains ( ( CharSequence ) this . pl . getConfig ( ) . getStringList ( "Swear Filter" ) . get ( 20 ) ) )

{

e. setLine ( 0 , "Don't swear." ) ;

}

if ( e. getLine ( 0 ) . toLowerCase ( ) . contains ( ( CharSequence ) this . pl . getConfig ( ) . getStringList ( "Swear Filter" ) . get ( 21 ) ) )

{

e. setLine ( 0 , "Don't swear." ) ;

}

if ( e. getLine ( 0 ) . toLowerCase ( ) . contains ( ( CharSequence ) this . pl . getConfig ( ) . getStringList ( "Swear Filter" ) . get ( 22 ) ) )

{

e. setLine ( 0 , "Don't swear." ) ;

}

if ( e. getLine ( 0 ) . toLowerCase ( ) . contains ( ( CharSequence ) this . pl . getConfig ( ) . getStringList ( "Swear Filter" ) . get ( 23 ) ) )

{

e. setLine ( 0 , "Don't swear." ) ;

}

if ( e. getLine ( 0 ) . toLowerCase ( ) . contains ( ( CharSequence ) this . pl . getConfig ( ) . getStringList ( "Swear Filter" ) . get ( 24 ) ) )

{

e. setLine ( 0 , "Don't swear." ) ;

}

if ( e. getLine ( 0 ) . toLowerCase ( ) . contains ( ( CharSequence ) this . pl . getConfig ( ) . getStringList ( "Swear Filter" ) . get ( 25 ) ) )

{

e. setLine ( 0 , "Don't swear." ) ;

}

if ( e. getLine ( 0 ) . toLowerCase ( ) . contains ( ( CharSequence ) this . pl . getConfig ( ) . getStringList ( "Swear Filter" ) . get ( 26 ) ) )

{

e. setLine ( 0 , "Don't swear." ) ;

}

if ( e. getLine ( 0 ) . toLowerCase ( ) . contains ( ( CharSequence ) this . pl . getConfig ( ) . getStringList ( "Swear Filter" ) . get ( 27 ) ) )

{

e. setLine ( 0 , "Don't swear." ) ;

}

if ( e. getLine ( 0 ) . toLowerCase ( ) . contains ( ( CharSequence ) this . pl . getConfig ( ) . getStringList ( "Swear Filter" ) . get ( 28 ) ) )

{

e. setLine ( 0 , "Don't swear." ) ;

}

if ( e. getLine ( 0 ) . toLowerCase ( ) . contains ( ( CharSequence ) this . pl . getConfig ( ) . getStringList ( "Swear Filter" ) . get ( 29 ) ) )

{

e. setLine ( 0 , "Don't swear." ) ;

}

if ( e. getLine ( 0 ) . toLowerCase ( ) . contains ( ( CharSequence ) this . pl . getConfig ( ) . getStringList ( "Swear Filter" ) . get ( 30 ) ) )

{

e. setLine ( 0 , "Don't swear." ) ;

}

if ( e. getLine ( 0 ) . toLowerCase ( ) . contains ( ( CharSequence ) this . pl . getConfig ( ) . getStringList ( "Swear Filter" ) . get ( 31 ) ) )

{

e. setLine ( 0 , "Don't swear." ) ;

}

if ( e. getLine ( 0 ) . toLowerCase ( ) . contains ( ( CharSequence ) this . pl . getConfig ( ) . getStringList ( "Swear Filter" ) . get ( 32 ) ) )

{

e. setLine ( 0 , "Don't swear." ) ;

}

if ( e. getLine ( 0 ) . toLowerCase ( ) . contains ( ( CharSequence ) this . pl . getConfig ( ) . getStringList ( "Swear Filter" ) . get ( 33 ) ) )

{

e. setLine ( 0 , "Don't swear." ) ;

}

if ( e. getLine ( 0 ) . toLowerCase ( ) . contains ( ( CharSequence ) this . pl . getConfig ( ) . getStringList ( "Swear Filter" ) . get ( 34 ) ) )

{

e. setLine ( 0 , "Don't swear." ) ;

}

if ( e. getLine ( 0 ) . toLowerCase ( ) . contains ( ( CharSequence ) this . pl . getConfig ( ) . getStringList ( "Swear Filter" ) . get ( 35 ) ) )

{

e. setLine ( 0 , "Don't swear." ) ;

}

if ( e. getLine ( 0 ) . toLowerCase ( ) . contains ( ( CharSequence ) this . pl . getConfig ( ) . getStringList ( "Swear Filter" ) . get ( 36 ) ) )

{

e. setLine ( 0 , "Don't swear." ) ;

}

if ( e. getLine ( 0 ) . toLowerCase ( ) . contains ( ( CharSequence ) this . pl . getConfig ( ) . getStringList ( "Swear Filter" ) . get ( 37 ) ) )

{

e. setLine ( 0 , "Don't swear." ) ;

}

if ( e. getLine ( 0 ) . toLowerCase ( ) . contains ( ( CharSequence ) this . pl . getConfig ( ) . getStringList ( "Swear Filter" ) . get ( 38 ) ) )

{

e. setLine ( 0 , "Don't swear." ) ;

}

if ( e. getLine ( 0 ) . toLowerCase ( ) . contains ( ( CharSequence ) this . pl . getConfig ( ) . getStringList ( "Swear Filter" ) . get ( 39 ) ) )

{

e. setLine ( 0 , "Don't swear." ) ;

}

if ( e. getLine ( 0 ) . toLowerCase ( ) . contains ( ( CharSequence ) this . pl . getConfig ( ) . getStringList ( "Swear Filter" ) . get ( 40 ) ) )

{

e. setLine ( 0 , "Don't swear." ) ;

}

if ( e. getLine ( 0 ) . toLowerCase ( ) . contains ( ( CharSequence ) this . pl . getConfig ( ) . getStringList ( "Swear Filter" ) . get ( 41 ) ) )

{

e. setLine ( 0 , "Don't swear." ) ;

}

if ( e. getLine ( 0 ) . toLowerCase ( ) . contains ( ( CharSequence ) this . pl . getConfig ( ) . getStringList ( "Swear Filter" ) . get ( 42 ) ) )

{

e. setLine ( 0 , "Don't swear." ) ;

}

if ( e. getLine ( 0 ) . toLowerCase ( ) . contains ( ( CharSequence ) this . pl . getConfig ( ) . getStringList ( "Swear Filter" ) . get ( 43 ) ) )

{

e. setLine ( 0 , "Don't swear." ) ;

}

if ( e. getLine ( 0 ) . toLowerCase ( ) . contains ( ( CharSequence ) this . pl . getConfig ( ) . getStringList ( "Swear Filter" ) . get ( 44 ) ) )

{

e. setLine ( 0 , "Don't swear." ) ;

}

if ( e. getLine ( 0 ) . toLowerCase ( ) . contains ( ( CharSequence ) this . pl . getConfig ( ) . getStringList ( "Swear Filter" ) . get ( 45 ) ) )

{

e. setLine ( 0 , "Don't swear." ) ;

}

if ( e. getLine ( 0 ) . toLowerCase ( ) . contains ( ( CharSequence ) this . pl . getConfig ( ) . getStringList ( "Swear Filter" ) . get ( 46 ) ) )

{

e. setLine ( 0 , "Don't swear." ) ;

}

if ( e. getLine ( 0 ) . toLowerCase ( ) . contains ( ( CharSequence ) this . pl . getConfig ( ) . getStringList ( "Swear Filter" ) . get ( 47 ) ) )

{

e. setLine ( 0 , "Don't swear." ) ;

}

if ( e. getLine ( 0 ) . toLowerCase ( ) . contains ( ( CharSequence ) this . pl . getConfig ( ) . getStringList ( "Swear Filter" ) . get ( 48 ) ) )

{

e. setLine ( 0 , "Don't swear." ) ;

}

if ( e. getLine ( 0 ) . toLowerCase ( ) . contains ( ( CharSequence ) this . pl . getConfig ( ) . getStringList ( "Swear Filter" ) . get ( 49 ) ) )

{

e. setLine ( 0 , "Don't swear." ) ;

}

if ( e. getLine ( 0 ) . toLowerCase ( ) . contains ( ( CharSequence ) this . pl . getConfig ( ) . getStringList ( "Swear Filter" ) . get ( 50 ) ) )

{

e. setLine ( 0 , "Don't swear." ) ;

}

}

}

catch ( Exception localException )

{

}

}