Linux scripts

Discussion in 'Bukkit Help' started by jvjv88, Jan 16, 2015.

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

    jvjv88

    Let's say that a hypothetical server network of 5 servers and 1 lobby exists. One of these servers crashes, this one server is hosted on a different private box than the lobby server. The lobby server is also hosted on a private box. Is there any way to make a command that will run a .sh script, which then connects to the other server box and boots up the server? (I know scripts just not how to run programs and files from a bukkit plugin)
     
  2. Offline

    timtower Administrator Administrator Moderator

  3. Offline

    jvjv88

    @timtower Bungeecord but that isn't the nature of my post. I'm not asking for information about bungeecord, but rather the nature of executing a script. Let's pretend that the lobby is actually the 6th server and the 1 shut down server is connected via a different ip. Can the 6th server execute a script to turn on the shut down server?

    @timtower I am trying to incorporate this into a plugin.

    EDIT by Timtower: merged posts
     
  4. Offline

    timtower Administrator Administrator Moderator

    @jvjv88 Probably can. Standalone application that will monitor all servers is a better option though.
     
  5. Offline

    jvjv88

    @timtower I don't suppose you know how to make a plugin run a script or other program?
     
Thread Status:
Not open for further replies.

Share This Page