rbx file type

Can I save a custom control as an rbx file and use it as a plugin?

No, Xojo can’t build plugins for itself (unfortunately.)

You can create and edit rbx files using the VirtualVolume class, however the actual plugins contained in an rbx file must be built using a different language and compiler (C++ and Code Warrior, I think.)