Best way to distribute updates and plugins across network?

Discussion in 'Server & Community Management' started by ano95, May 24, 2016.

  1. Hello,

    what is the best way to distribute updates and plugins across whole spigot server network (multiple vps)?
    I was thinking about this when we uploaded ViaVersions to all our servers.
    It can be done with plugin that will download data from one server and download it, or is there a better solution?
     
  2. you could upload your resources to a web server
    Code (Text):
    http://www.server.com/files/WorldEdit.jar
    make a little bash script that fetches them all.
     
  3. I was thinking of that too, I also thought of php script that fetches md5's and list of plugins from database
     
  4. Beyond what I was thinking but yea. If you're worried about security, use IPTables to restrict access to it. Only allow your servers to communicate with it. anyway, confirming hashes is always a good thing to do.
     
  5. I personally have a system that downloads the jar every 10 minutes from Amazon AWS and have it compare the MD5's. If it's different, the jar is replaced and the server restarts.
     
  6. MiniDigger

    Supporter

    symlinks
    jk
    I have a system like phonyfakeorreal, but without useing an external server. I have a folder on each of my nodes with all worlds, plugin and configs and thier md5 and compare them to the ones on the server.