client/methods/stopServer.js
/**
 * @param {String} ServerID ID of the server to stop
 */
@param {String} ServerID ID of the server to stop
@param { String } ServerID ID of the server to stop
function stopServer(ServerID) {
    const Req = new req(process.env.CLIENT_NODEACTYL_HOST, process.env.CLIENT_NODEACTYL_KEY);
    let data = { "signal": "stop" };
    return Req.postRequest("StopServer", data, ServerID);
}
function stopServer ( ServerID ) { const Req = new req ( process . env . CLIENT_NODEACTYL_HOST , process . env . CLIENT_NODEACTYL_KEY ) ; let data = { "signal" : "stop" } ; return Req . postRequest ( "StopServer" , data , ServerID ) ; }
@param {String} ServerID ID of the server to stop
@param { String } ServerID ID of the server to stop