Reminding that zip files inside plugins folder will not be loaded. Extracting the plugin as a folder, is a step closer, however that will not load as well, you need DevTools.
No shoot that it doesn't load. Online compilers covert zip files to .phar in a different way that DevTools does. 1. Get DevTools 2. Run /makeplugin [plugin name] 3. Go to plugin_data directory -> DevTools 4. Find your plugin that was converted into .phar 5. Download and reupload to plugins directory Or, Do what @Primus did
Then how come it's not working this time? Just try other ways. Jesus No one will help you unless you try the ways that others provide. If you would like to stick with your solution, go ahead. I won't stop you.
Just fyi, it's not compiling, it just takes all the files and compresses them into one file, similar to a zip file