File path on a different server

Discussion in 'Plugin Development' started by HammyHavoc, Jul 11, 2012.

Thread Status:
Not open for further replies.
  1. Offline

    HammyHavoc

    Howdy,

    I'm currently trying configure my configuration.txt for Dynmap to do something a little unusual; I don't want to serve these high resolution map renders from the Minecraft server itself, I would like to use another server, my question is this;

    How would I go about doing this? I'm unsure how I would send those files to another server from the configuration file, there seems to be the ability to change IPs and ports, but actually hosting the map files elsewhere is a little unusual.

    I'm assuming this would apply to other plugins as Minecraft uses a fairly standardised system across all of the plugins via Java.

    The tiles directory part of the configuration is this:
    tilespath: web/tiles

    My best guess it to edit this part of the configuration to utilise an FTP connection to this other server, but I'm unsure how to go about doing this. Would it be a case of changing 'web/tiles' to something like 'ftp://myname:[email protected]'? Would this work?

    This would be incredibly useful if this was possible.

    Yours,
    HammyHavoc
     
  2. Why do you ask this question in a forum where devs talk about programming issues instead of using dynamps comments/ticket system/whatever?
     
  3. Offline

    HammyHavoc

    Because I figured that this would be a topic applicable to all plugins and something I would want to integrate into a plugin someone else on my team is developing considering that Minecraft uses .jar for the plugins then surely this must be a shared trait across all?

    That along with the chances of any Dynmap user having done this are very slim and my comment on there got no responses so I figured it was time to broaden the audience to someone who may have actually done this in other plugins.
     
  4. Yea, surely every plugin creates high resolution maps and has a build-in webserver. Surely both task are basic bukkit tasks and surely the bukkit API has functions for it, that's why every plugin has a web configuration, cause bukkit gives the web-server... Hell, I have to delete BukkitHTTPD now, it's useless...
    Uh, yea, we use jars in a java environment... Wait, my IDE is a jar, too, it's Eclipse, so ask the guys from eclipse how to configure dynmap, they MUST know it! Or even better, ask Oracle, they are the developers of Java, so they create a ton of jar files. If they can't answer your question, who else can?
    You're on windows, aren't you? Then I have a question: How do I have to configure my antivirus tool? Or should I ask this in a windows developer forum? Cause they create exe files and my antivir program is a exe, too.

    You question has nothing to do with plugin developing, it's a direct question about dynmaps configuration.
     
    ferrybig, Drew1080 and gjossep like this.
  5. I have de signed last time a class to transmit/upload files to fpt, mayby you can use that
     
  6. Offline

    HammyHavoc

    Where can I find this class, my friend?
     
  7. its not 100% done (testing and that kind of stuff) so its not releaded yet, but in theory, it works
     
  8. Offline

    HammyHavoc

    That's really great, keep me in the loop about that, it sounds exactly like what I'm looking for.
     
Thread Status:
Not open for further replies.

Share This Page