Make a server disconnect

Discussion in 'BungeeCord Plugin Development' started by MrFishCakes, Apr 30, 2017.

  1. Hello,
    I want to make a command within BungeeCord where it does something like this:
    /offline factions --> Factions server disconnects / goes offline.
    I have looked into the BungeeCord#getInstance()#getServers()#get(server) but haven't found a way to make it go offline from there.

    How can I do this?