An open API service indexing awesome lists of open source software.

https://github.com/physgun-com/hytale-sourcequery

A simple Hytale plugin to add A2S/SourceQuery support!
https://github.com/physgun-com/hytale-sourcequery

hytale hytale-mod hytale-plugin

Last synced: 5 months ago
JSON representation

A simple Hytale plugin to add A2S/SourceQuery support!

Awesome Lists containing this project

README

          

# hytale-sourcequery

A2S query protocol plugin for Hytale servers. Lets game server browsers query your server for info, player list, and rules.

## Building

```bash
mvn clean package
```

The jar will be in `target/`.

## Installation

Drop the jar into your Hytale server's `plugins/` folder.

## Configuration

Set the `QUERY_PORT` environment variable to change the UDP port. If not set, it defaults to your game port + 1.

```bash
QUERY_PORT=27015
```

## What it exposes

- **A2S_INFO** - Server name, map, player count, max players, game version
- **A2S_PLAYER** - List of connected players
- **A2S_RULES** - Server rules (version, protocol, world info, plugin count, etc.)

## Testing

You can test with any Source query tool:

```bash
npx gamedig --type protocol-valve 127.0.0.1:27016
```