Plugin category: I don't know what category this would go in. Suggested name: PlotMeDownloader What I want: What I want is a PlotMe addon, Where users can download schematics of PlotMe plots. When preforming the command /Download, the user will get a link to his / her plot's schematic. This would be partially web-based, as their needs to be a way to upload / download the schematic files to a configured web-server. An example of a plugin like this is found on the ShotBow Network Creative Server. Ideas for configuration: - Configure weather or not users can download other plots, or just his own. - Configurable cool-down time of the /Download command, to prevent people spamming uploads. - Configurable web-server details, upload directory, etc. - Configurable plugin prefix of messages sent the the player. Ideas for commands: - /Download - Uploads the PlotMe plot to the configured web-server. Then sends the user a download link. Ideas for permissions: - PlotMeDownloader.Download - Allows a user to use the /Download command. When I'd like it by: Whenever possible
Easiest would be making a php script server-side and require a certain GET variable to make sure it is the server (a API key alike system) and then upload it to there using Java (example usage) and then either make the plugin predict the location or make the php script return it on upload. Don't think I will have time to fully make this but if someone can make the schematic system (so it only needs to be uploaded) then I can definitely make the rest.
I was thinking about this idea for a bit. If I were to do this, I'd use the WorldEdit API to save a schematic of the plot, like timtower suggested. Then, I'd upload the file to Dropbox and send the player a link to download the file. I really like this idea. Not sure whether or not I'd do it though Might play around with the concept
That's cool, I might start looking into developing this; but this is a little to advanced for me, and help would be nice
I would love to work on a plugin like this but I think it is just a little too advanced for what I am capable of. Linking into the PlotMe API. Getting the users current Plot & saving it as a Schematic to a Directory on the Host Server. Uploading the file to a Web / FTP Server. Sending the player the link to Download the .Schematic Deleting the file off of the Main (Minecraft) Host server. I could probably learn the WorldEdit API but learning the DropBox API or other ways to upload files to a Remote Server just seems like a little too much unfortunately :/ Maybe someone with allot of time could fill this
Culaccino mcexpertvideos, I am semi working on this. Trying to make an easy to use ( for me at least ) ftp tool. The only thing that needs some looking is getting the right link to share for the user. @Caluccino, if you want then I can provide a semi-easy to use FTP uploader.
yeah, is they a way for it? i would also like to use it for my private plot server (i do not mind if it has a cooldown or not)
I'll give you the code to get the plot coordinates API is subject to change in a near future. Code:java import com.worldcretornica.plotme.PlotManager;[...]String id = PlotManager.getPlotId(location);Location bottom = PlotManager.getPlotBottomLoc(location.getWorld(), id);Location top = PlotManager.getPlotTopLoc(location.getWorld(), id); This will return the lowest x,y,z (y = 1) and max x,y,z (y=255). You can easily do a schematic from that after. If no plot is found at that location, id will be empty string.