Check if plugin is enabled before execute commands.