source_server 2.0.3-beta copy "source_server: ^2.0.3-beta" to clipboard
source_server: ^2.0.3-beta copied to clipboard

outdated

A dart implementation of Source's Query Protocol and RCON from the developer.valvesoftware.com wiki.

example/example.dart

import 'dart:io';

import 'package:source_server/source_server.dart';

Future<void> main() async {
  var server = SourceServer(InternetAddress('195.201.203.150'), 27022);
  await server.connect();
  print((await server.getPlayers()));
  server.close();
}
6
likes
0
pub points
12%
popularity

Publisher

verified publisherhexah.net

A dart implementation of Source's Query Protocol and RCON from the developer.valvesoftware.com wiki.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

logging, pedantic

More

Packages that depend on source_server