I am still unfamiliar with the new Eventhandler that bukkit uses, I need help updating this part, and if possible I would appreciate having it...
Wow, I didn't see this, thanks
Server pm = (Server) getServer().getPluginManager(); pm.registerEvent(Event.Type.PLAYER_COMMAND_PREPROCESS, new chathandler(),...
Separate names with a comma.