McQueryEx v0.3.0 McQueryEx View Source
McQueryEx provides an interface for using Minecrafts server query.
Link to this section Summary
Functions
Pulls the basic stats from the MC server.
Pulls the full stats from the MC server.
Create a McQueryEx struct, with the default options.
Create a McQueryEx struct, with the specified options.
Link to this section Types
The McQueryEx struct, returned from new/0 and new/1
Link to this section Functions
Pulls the basic stats from the MC server.
Returns McQueryEx.BasicStat.t()
Examples
iex> query = McQueryEx.new(host: {192, 168, 0, 150}, port: 25565)
iex> basic_stats = McQueryEx.get_basic_stat(query)
%McQueryEx.BasicStat{}
Pulls the full stats from the MC server.
Returns McQueryEx.FullStat.t()
Examples
iex> query = McQueryEx.new(host: {192, 168, 0, 150}, port: 25565)
iex> full_stats = McQueryEx.get_full_stat(query)
%McQueryEx.FullStat{}
Create a McQueryEx struct, with the default options.
Returns McQueryEx.t()
Examples
iex> query = McQueryEx.new()
%McQueryEx{}
Create a McQueryEx struct, with the specified options.
Returns McQueryEx.t()
Examples
iex> query = McQueryEx.new(host: {192, 168, 0, 150}, timeout: 100)
%McQueryEx{}