Coder Social home page Coder Social logo

halo-query-clj's Introduction

Halo Server Query

Clojars Project

A Clojure library designed to query Halo Custom Edition servers.

Usage

(require '[halo-query.core :as halo])

(halo/query "216.128.147.196" 2302)
=> {:maxplayers 16,
    :game_classic false,
    :nextmode "",
    :vehicle-flags
    {:vehicle-respawn 60, :red-vehicle-set "Custom", :blue-vehicle-set "Default"},
    :password false,
    :queryid "1.1",
    :fraglimit 50,
    :numplayers 1,
    :gamemode "openplaying",
    :hostname "Halo",
    :sapp_flags "1",
    :final "Sapp",
    :gametype "Slayer",
    :player-flags
    {:friendly-fire-penalty 0,
     :auto-team-balance false,
     :invisible-players false,
     :friend-indicators true,
     :starting-equipment "Custom",
     :infinite-grenades false,
     :suicide-penalty 0,
     :respawn-growth 0,
     :respawn-time 0,
     :friendly-fire "On",
     :indicator "Motion Tracker",
     :other-players-on-radar "All",
     :maximum-health "100%",
     :lives ##Inf,
     :weapon-set "Normal",
     :odd-man-out false,
     :shields true},
    :gamevariant "Slayer",
    :hostport 2302,
    :teamplay false,
    :game-flags
    {:game-type "Slayer",
     :death-bonus false,
     :kill-penalty false,
     :kill-in-order false},
    :mapname "bloodgulch",
    :nextmap "",
    :players [{:name "New001", :score 0, :ping 32, :team 0}],
    :gamever "01.00.10.0621",
    :dedicated true,
    :sapp "10.1 RC1 CE"}

Credits / Similar Projects

License

Copyright © 2024 Adam Mertzenich

Available under the terms of the Eclipse Public License 2.0, see LICENSE.

halo-query-clj's People

Contributors

mertzenich avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.