source_server 2.0.4-beta copy "source_server: ^2.0.4-beta" to clipboard
source_server: ^2.0.4-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('127.0.0.1'), 27022);
  await server.connect();
  print(await server.getPlayers()); // You might want to add a timeout here.
  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