dart_mc_ping 1.0.0 copy "dart_mc_ping: ^1.0.0" to clipboard
dart_mc_ping: ^1.0.0 copied to clipboard

outdated

A Dart implementation of the Minecraft ping protocol

dart_mc_ping #

A Dart implementation of the [Minecraft ping protocol(https://wiki.vg/Server_List_Ping)

Usage #

import 'package:dart_mc_ping/dart_mc_ping.dart';

final statusResponse = await ping('play.hivemc.com');
print('${statusResponse.ms} ms'); // 28ms

Note #

The text formatters of the server's MOTD are sometimes returned inside the text instead of using the dedicated fields of the ChatObject.

Example:

{ "text": "§3§l >> MyMOTD <<" }

instead of

{ "text": ">> MyMOTD <<", "color": "dark_aqua", "bold": true }
3
likes
0
points
28
downloads

Publisher

unverified uploader

Weekly Downloads

A Dart implementation of the Minecraft ping protocol

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

fixnum, logging, raw

More

Packages that depend on dart_mc_ping