From documentation: import net.coreprotect.CoreProtect; import net.coreprotect.CoreProtectAPI; Plugin plugin = getServer().getPluginManager().getPlugin("CoreProtect"); why complains about Plugin?
You need to import org.bukkit.plugin.Plugin. Examples assume you've taken care of the basics already. ...and honestly, not to be a dick, but if this threw you through a loop you are likely going to be in for a world of hurt trying to use the API.
a little The bottom line is that i need to connect to the global minecraft server and, using the api plugin, get information about the change, let's say in the chest on some coordinate EDIT by Moderator: merged posts, please use the edit button instead of double posting.