i dont get it and for future clearance call it Plugin Index since plugin dir can be confusing either: the plugin folder OR the places where plugin are
Basically, it doesn't need to scan the Plugin Index as it can just have a pmpm.json file that stores the important info about plugins.
well not scan to be exact but search the index for specified plugin ex user /download TestPlugin therefore your plugin should interface with the plugin index in this case it is Poggit web API and search if it exist and download it if it does right?
Upload a folder to get turned into a phar? Then you have to pass the files by archiving them. And then why not directly archive the files into a phar locally? Poggit is not pmt.mcpe.me, and it will not support raw zip file -> phar conversion.
Its uploading a plugin. A dev just does Code: ./pmpm upload <dir> and then <dir> is made into a phar which is uploaded to Poggit. Right? Easy plugin upload.
well but poggit isnt a place where everyone can dump their plugin you have to register/login first + plugin details you cant just upload a plugin with no information and why not just use web browser?
True. I guess in the far future PMPM could act similarly to https://npmjs.org but for now uploading should not be a feature.
yes as far as i know ofcourse it will be a feature if not it would be empty and serve to porpouse it just not praticle to upload via console
@HitmanA you should show some real progress or concept. It doesn't look like you did anything yet, but you already created a thread. And your concept doesn't work out right now.
I have. I have already made the CLI which is used when the server is offline, I have made the plugin which is used when the server is online, and I have made the installer for both. I have tested them on my server (they still need to be tested by others) and they work perfectly. Once the Poggit API is active I can integrate PMPM with Poggit.
Poggit imports all code from GitHub. You can't submit code to Poggit directly. If you want to upload code from command line, isn't there already an existent holy command called git?