GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - itzg/rcon-cli: A little RCON cli based on james4k's RCON library for golang

BranchesTags
Open more actions menu

Latest commit

 

History

106 Commits
106 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
cli
cli
 
 
cmd
cmd
 
 
.gitignore
.gitignore
 
 
.goreleaser.yml
.goreleaser.yml
 
 
DEVELOPMENT.md
DEVELOPMENT.md
 
 
Dockerfile.release
Dockerfile.release
 
 
Dockerfile.ubuntu
Dockerfile.ubuntu
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
docker-compose.yml
docker-compose.yml
 
 
go.mod
go.mod
 
 
go.sum
go.sum
 
 
main.go
main.go
 
 
renovate.json
renovate.json
 
 

Repository files navigation

GitHub release (latest SemVer) test

A little RCON cli based on james4k's RCON library for golang.

Installation

  1. Download the appropriate binary for your platform from the latest releases

  2. On UNIX-y platforms, set the binary to be executable - done!

If you have Go you could also simply go install github.com/itzg/rcon-cli@latest && rcon-cli -h.

Usage

rcon-cli is a CLI for attaching to an RCON enabled game server, such as Minecraft.
Without any additional arguments, the CLI will start an interactive session with
the RCON server. Send the keyword "exit" to close the session. The CLI will exit.

If arguments are passed into the CLI, then the arguments are sent
as a single command (joined by spaces), the response is displayed,
and the CLI will exit.

Usage:
  rcon-cli [flags] [RCON command ...]

Examples:

rcon-cli --host mc1 --port 25575
rcon-cli --port 25575 stop
RCON_PORT=25575 rcon-cli stop


Flags:
      --config string     config file (default is $HOME/.rcon-cli.yaml)
      --host string       RCON server's hostname (default "localhost")
      --password string   RCON server's password
      --port int          Server's RCON port (default 27015)

Configuration

You can preconfigure rcon-cli to use the arguments you want by default by modifying the file .rcon-cli.yaml in your home folder. If you want to use any other file use the argument --config /path/to/the/config.yaml.

Example of a .rcon-cli.yaml file:

host: mydomain.com
port: 12345
password: mycustompassword

That way executing rcon-cli without arguments would connect to mydomain.com:12345 with the password mycustompassword by default.

About

A little RCON cli based on james4k's RCON library for golang

Topics

rconrcon-client

Resources

Readme
Apache-2.0 license
Activity

Stars

218 stars

Watchers

6 watching

Forks

22 forks
Report repository

Releases

Sponsor this project

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.