Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nomeyho/dart_mc_ping
A Dart implementation of the Minecraft ping protocol
https://github.com/nomeyho/dart_mc_ping
dart flutter minecraft package ping protocol
Last synced: about 1 month ago
JSON representation
A Dart implementation of the Minecraft ping protocol
- Host: GitHub
- URL: https://github.com/nomeyho/dart_mc_ping
- Owner: Nomeyho
- License: apache-2.0
- Created: 2020-04-09T13:56:15.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-05-01T17:02:58.000Z (almost 5 years ago)
- Last Synced: 2024-11-16T01:00:40.034Z (3 months ago)
- Topics: dart, flutter, minecraft, package, ping, protocol
- Language: Dart
- Homepage: https://pub.dev/packages/dart_mc_ping
- Size: 58.6 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Dart Minecraft ping
A Dart implementation of the [Minecraft ping protocol](https://wiki.vg/Server_List_Ping)[https://pub.dev/packages/dart_mc_ping](https://pub.dev/packages/dart_mc_ping)
## Usage
```
import 'package:dart_mc_ping/dart_mc_ping.dart';final statusResponse = await ping('play.hivemc.com');
print('${statusResponse.ms} ms'); // 28ms
print(statusResponse.description.toColoredString()); // MOTD with ANSI colors and format
```