How your code is protected
Players get a compiled build of your plugin, never its source.
Your source
Your source is stored encrypted and is never sent to a player.
Your source is deleted 30 days after you upload it, or when its build is published if that is later. A new build needs a new upload, so keep your own copy.
What players receive
Players receive compiled bytecode, not source. Comments, local variable names and line numbers do not survive compilation.
Every file under assets/ that your source names ships with the build, so it reaches the player too.
Delivery
Only accounts entitled to the plugin receive its build.
A package in a local plugins folder runs as source.
What follows for you
- Keep secrets off the client. An API key, a password or a licence check in your package ships to every player who has the plugin.