Does BukkitDev have, or would it be anyhow possible (propably too much work though) to get an API, that could be used, as example, to automatically upload files?
Any API or code to let developers like me, to add a download counter to my website... So it's in time with BukkitDev's downloads.
This is kind of old already, but I have not had time to really look into this. I decided to try to move my downloads to bukkitdev, but I am unsure how to use the API with bukkitdev. For instance, is the wow.curseforge.com url right for bukkitdev or is it only for WoW? Is the game version ID the same as bukkit /craftbukkit build number, or something else? Does anybody have a working example I could take a look at?
After a little poking http://dev.bukkit.org/game-versions.json http://dev.bukkit.org/server-mods/project-name-here/upload-file.json Try it out.
Thanks. Atleast the versions json seems to work, I am have not got that far to try the uploading itself. I wonder if anybody else would have any interest for a script/program that automatically uploads released builds from jenkins with the correct information?
I've created a Maven plugin to do just that today. It is available at https://github.com/grandwazir/BukkitDevUploader, let me know how you get on with it.