Standalone Northstar RCON client.

Overview

Northstar RCON Client

MIT licensed Build status Lint status

This is a small, cross-platform implementation of an RCON client for the Northstar mod, as it's implemented in the RCON PR.

There are two things in this repo:

  • northstar-rcon-client, a Rust library that provides an async RCON client with Tokio. Crates.io Docs.rs
  • northstar-rcon-cli, a portable command-line RCON client implemented with the library.

Usage

USAGE:
    northstar-rcon-cli.exe [OPTIONS] <ADDRESS>

ARGS:
    <ADDRESS>    Address of the Northstar server, e.g. `127.0.0.1:37015`

OPTIONS:
    -h, --help                     Print help information
    -n, --name <NAME>              Name to display for the server in the prompt
    -p, --pass-file <PASS_FILE>    Authenticate automatically with a password in a file
        --script-mode              Force non-interactive script mode, even in interactive terminals
    -V, --version                  Print version information

Make sure you have RCON running on a dedicated server, as per the instructions in the PR.

Connect by passing the address to the server to the CLI executable. The port is optional, and will default to 37015.

You will be prompted for a password. Enter the one set in the rcon_password ConVar on the server.

Once connected, any command will be sent and run on the server. There are also several builtin commands, which are interpreted by the client:

BUILTINS:
    !help                   View this help listing
    !enable console         Enable server console logging
    !quit                   Quit this session
    !set <VAR> <VAL>        Set a ConVar on the server
    <COMMAND> [ARGS...]     Run a command on the server

Logs sent from the server will be printed on the client. This is disabled by default on the server, but can be enabled by setting the sv_rcon_sendlogs ConVar to 1 or running the !enable console builtin.

Building

  1. Use rustup to install a Rust toolchain, if you don't have one already.
  2. Run cargo build --release in this repo.
  3. After it's built, command-line client will be at target/release/northstar-rcon-cli.

License

Provided under the MIT license. See the LICENSE file for details.

You might also like...
Streaming STOMP client for Rust

tokio-stomp An async STOMP client (and maybe eventually, server) for Rust, using the Tokio stack. It aims to be fast and fully-featured with a simple

Official Skytable client driver for Rust

Skytable client Introduction This library is the official client for the free and open-source NoSQL database Skytable. First, go ahead and install Sky

Official Rust client for Central Dogma

centraldogma-rs Official Rust Client for Central Dogma. Full documentation is available at https://docs.rs/centraldogma Getting started Installing Add

A minecraft-like multi version client implemented in Rust.
A minecraft-like multi version client implemented in Rust.

Leafish Multi-version Minecraft-compatible client written in Rust, forked from Stevenarella. Chat Chat takes place on Matrix and Discord. The channels

Skytable rust client support library for the bb8 connection pool

bb8-skytable Skytable rust client support library for the bb8 connection pool. Heavily based on bb8-redis Basic usage example use bb8_skytable::{

a TRUE krunker client with focus on usability and performance
a TRUE krunker client with focus on usability and performance

purpose this client aims to be an ACTUAL client, that can fundementally interface with krunker like the normal browser equivilent compiling we reccome

Rust client for apache iotdb.

Apache IoTDB Apache IoTDB (Database for Internet of Things) is an IoT native database with high performance for data management and analysis, deployab

A firebase HTTP v1 client implementation in Rust using google-authz

firebase-client A firebase HTTP v1 client implementation in Rust using the google_authz library. Example There are two ways to send notifications, one

Rust client for KairosDB

Rust Client for KairosDB   Description A simple rust language client for the time series database KairosDB. Documentation Full documentation for rust-

Releases(v0.2.1)
Owner
Tom Barham
Energy-deficient software engineer. He/him.
Tom Barham
SubZero - a standalone web server that turns your database directly into a REST/GraphQL api

What is this? This is a demo repository for the new subzero codebase implemented in Rust. subZero is a standalone web server that turns your database

subZero 82 Jan 1, 2023
Affine-client is a client for AFFINE based on Tauri

Affine Client affine-client is a client for AFFINE based on Tauri Supported Platforms Windows Linux MacOS Download https://github.com/m1911star/affine

Horus 216 Dec 25, 2022
Cassandra DB native client written in Rust language. Find 1.x versions on https://github.com/AlexPikalov/cdrs/tree/v.1.x Looking for an async version? - Check WIP https://github.com/AlexPikalov/cdrs-async

CDRS CDRS is looking for maintainers CDRS is Apache Cassandra driver written in pure Rust. ?? Looking for an async version? async-std https://github.c

Alex Pikalov 338 Jan 1, 2023
CouchDB client-side library for the Rust programming language

Chill Chill is a client-side CouchDB library for the Rust programming language, available on crates.io. It targets Rust Stable. Chill's three chief de

null 35 Jun 26, 2022
A Rust client for the ElasticSearch REST API

rs-es Introduction An ElasticSearch client for Rust via the REST API. Targetting ElasticSearch 2.0 and higher. Other clients For later versions of Ela

Ben Ashford 218 Dec 27, 2022
An Elasticsearch REST API client for Rust

elastic elastic is an efficient, modular API client for Elasticsearch written in Rust. The API is targeting the Elastic Stack 7.x. elastic provides st

null 249 Oct 18, 2022
An etcd client library for Rust.

etcd An etcd client library for Rust. etcd on crates.io Documentation for the latest crates.io release Running the tests Install Docker and Docker Com

Jimmy Cuadra 138 Dec 27, 2022
A easy-use client to influxdb

InfluxDBClient-rs A easy-use client to influxdb Overview This is an InfluxDB driver for Rust. Status This project has been able to run properly, PR is

漂流 75 Jul 22, 2022
Mysql client library implemented in rust.

mysql This crate offers: MySql database driver in pure rust; connection pool. Features: macOS, Windows and Linux support; TLS support via nativetls cr

Anatoly I 548 Dec 31, 2022
Telegram bot API client for Rust

Frankenstein Telegram bot API client for Rust. It's a complete wrapper for Telegram bot API and it's up to date with version 5.2 of the API. Frankenst

Ayrat Badykov 136 Jan 1, 2023