Sigmmma / HaloQuery

A library and command-line application for querying Gearbox Halo multiplayer game servers and master servers.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Halo Query

AGPL-3.0 Logo

A library and command-line application for querying Gearbox Halo multiplayer game servers and master servers.

Works with:

  • Halo: Combat Evolved
  • Halo Custom Edition
  • Halo Trial
  • Halo: Combat Evolved for Mac
  • Halo Trial for Mac
  • Halo Beta

Examples

# Outputs info for all Halo Custom Edition game servers as a JSON list.
halo-query ce

# Outputs info for the game servers hosted at these IPs and ports
halo-query 1.2.3.4:5555 6.7.8.9:1111

# Outputs the game server info as a string instead of JSON
halo-query --raw 1.2.3.4:5555

# Get the full usage
halo-query --help

Installation

git clone https://github.com/Sigmmma/HaloQuery.git
cd HaloQuery
npm install
npm build
npm link .

Now you can run the script from your shell as halo-query.

License

Copyright 2023 Mimickal
This code is licensed under the AGPL-3.0 license.
Basically, any modifications to this code must be made open source.

About

A library and command-line application for querying Gearbox Halo multiplayer game servers and master servers.

License:GNU Affero General Public License v3.0


Languages

Language:TypeScript 50.4%Language:C 35.9%Language:JavaScript 9.3%Language:C++ 3.5%Language:Python 1.0%