Multi-server worlds

Discussion in 'Archived: Plugin Requests' started by ajwboss, Feb 27, 2012.

  1. Offline

    ajwboss

    This mod will have the ability to have 1 world for multiple servers. When you start the server it loads the world from a specified location online (Google sites, webs, Etc...). Then when you exit, it saves it to the site again.
     
  2. Offline

    Atomic Fusion

    How would one go about saving to a "location online"? Dumping the files onto an online storage location? That's not really the purview of a plugin. If you're using Linux, I would look into FUSE. If you're using Windows, I would look into Linux.
    Aside from that, assuming that you mean multiple servers running off of the same world at the same time (otherwise it wouldn't be multi-server, it would be shared), how would one deal with conflicts? Would the players on each server be replicated on the other servers as NPCs? What would even the advantages of this be?
     
  3. Offline

    Ice_Sword

    Yes, please do elaborate and answer Atomic's questions. I'm curious. :D
     
  4. Offline

    lorenzo_p

    I know what you're getting at. I've seen people on forums start a city on a fresh world, then upload it. other people download the world and add to it and reupload it, and the cycle continues. this could be interesting, but might need some kind of moderation.
     
  5. Offline

    Woolcity

    Somehow send block change signals back and forth between signals... the problem would be that any changes made by worldedit would not show up on the other server.
     
  6. Offline

    Father Of Time

    It depends on how it was done, You could make it so that any server that loads this map is registered with the online server system(map source), and then every time a server connects to this online source and downloads the content it will register with the system, and unregistered upon the servers termination.

    Then you could make it so any packet that is sent from the client to your server is then forwarded to the online source, and that online source could take that packet information and forward it to every server that is connected, and allow the server plugin aspect to handle the packets on a per server basis.

    Theoretically this is all very possible, but the insane labor involved, the fact that it would more than likely require a central server system, a client modification and a server plug-in leads me to believe that not only would no one use this but no one would be willing to pick up the project; after all, who wants to spend months making something no one will use...

    Fun concept, I've thought about networking multiple servers into one; but the number of individuals who would have a use for such a thing is far too small for the labor it would take to create.
     
  7. Offline

    Ice_Sword

    Now, we haven't heard from the original poster yet, we're speculating. And, all of the suggestions so far just lead me to ask the question, "Why not just run a world on a server? Why do various servers have to connect the same map?"
     
  8. Offline

    Atomic Fusion

    Father Of Time Is this any different than just hosting a bunch of proxies that all point towards the same server? At least that's what packet forwarding makes me think of. If so, it's relatively simple:
    Code:
    socat TCP-LISTEN:25565,fork EXEC:"socat TCP\:remote-server.com\:25565 STDIO"
     
  9. Offline

    ajwboss

    I meant not at the same time, it would be more of a convienience mod. For large projects that a lot of people would work on but could quickly and easily be accessed from multiple servers, but no 24/7 server exists.
     
  10. Offline

    Atomic Fusion

    Oh, so just sharing the "world" directory? It would likely be rather large and slow for a Bukkit plugin to do this. I wouls suggest something such as SSHFS (which uses FUSE).
     
  11. Offline

    lorenzo_p

    you can't run multiple servers on the same world files at the same time. I don't think that's what they want. I picture it as a plugin that, when the server and plugin loads up, it checks online someplace to see if there's a lock on the world. if so, don't load the world. if no lock, then download the world from an ftp server and load it up. when the server shuts back down, upload the world back to the ftp server and release the lock on it so the next server can load it up. add some kind of scheduler in there to load/unload the plugin, and you're set.
     
  12. Offline

    ajwboss

    That sums up my idea.
     

Share This Page