rust-server-cli-rcon

0.1.0 • Public • Published

rust-server-cli-rcon

CLI RCON client for Rust Server in Linux

Installation

# Clone this repository
git clone https://github.com/kirbo/rust-server-cli-rcon.git

# Change directory
cd rust-server-cli-rcon

# Install dependencies
apt-get install node npm

# Copy sample config file
cp sample.config.js config.js

# Edit the file you just copied with your favorite editor, e.g.
nano config.js

# Start the client
nodejs index.js

Usage

The first 3 rows contains some information of this client and the Rust server you connected to.

Last line is the input you can type the RCON commands to. The input has autocomplete for some predefined commands, simply tap Tabulator to access the autocomplete menu, or type a part of the command you want to use, such as ser and press TAB and it will be autocompleted to a word server and if you press TAB again, you will get a list of all the predefined commands starting by server, i.e.:

  • serverinfo
  • server.writecfg
  • server.hostname
  • server.clienttimeout "time"
  • server.maxplayers "amount"
  • server.pvp true/false
  • server.steamgroup "steamgroup ID"

You can navigate the autocomplete menu via Left and Right arrows and select the currently hilighted one by pressing Enter, or cancel the autocomplete by pressing ESC.

You can scroll the backlog via Page Up and Page Down keys. Currently default maximum backlog length is set to 10000 rows.

Exiting the client

Simply press CTRL + C and you will be asked "Are you sure you want to quit",

  • press Y or Enter if you want to close the client, or
  • press N or ESC if you don't want to close the client.

Closing the client wont close the Rust Server you connected to.

ToDo

  • Lost of things

Readme

Keywords

none

Package Sidebar

Install

npm i rust-server-cli-rcon

Weekly Downloads

0

Version

0.1.0

License

ISC

Last publish

Collaborators

  • kirbo