Code:java public void onEnable() { PluginDescriptionFile pdfFile = getDescription(); PluginManager pm = getServer().getPluginManager(); getCommand("xButton").setExecutor(new Commands(this)); pm.registerEvent(Event.Type PLAYER_INTERACT, this.playerListener, Event.Priority.Normal, this); It give's me an error on Event.Type and an Error on Event.Priority any Help?
You forgot the "." after Event.Type So just use this and put your executor stuff back in: Code:java public void onEnable() { PluginManager pm = getServer().getPluginManager(); pm.registerEvent(Event.Type.PLAYER_INTERACT, playerListener, Event.Priority.Normal, this); log.info("Plugin Enabled");}