i have pasted it in here because i got errors in bukkit