mcping

Crystal library for pinging or querying Minecraft servers

mcping

Crystal implementation of Minecraft server pinging and querying.

Installation

Add this to your application's shard.yml:

dependencies:
  mcping:
    github: Syfaro/mcping

Usage

require "mcping"

pinger = MCPing::Ping.new "c.nerd.nu"
ping = pinger.ping

querier = MCPing::Query.new "play.phanaticmc.com"
query = querier.query

Development

TODO: Write development instructions here

Contributing

  1. Fork it ( https://github.com/Syfaro/mcping/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

  • Syfaro - creator, maintainer
Repository

mcping

Owner
Statistic
  • 2
  • 0
  • 0
  • 1
  • 1
  • about 7 years ago
  • September 28, 2017
License

MIT License

Links
Synced at

Thu, 07 Nov 2024 09:43:14 GMT

Languages