stop method
- @override
override
Implementation
@override
Future<VanillaServer> stop() async {
if(!this.running) throw("Server is not running!");
executeCommand("stop");
await process.exitCode;
this._running = false;
this.process = null;
return this;
}