creating custom addons wihtout being deleted upon plugin "core" being updated

Can you outline the correct steps to having a custom addon appear within protected content and still appear after the plugin is updated?