Skip to content

An RCON client for Source RCON Protocol (e.g. for CS:GO server)

Notifications You must be signed in to change notification settings

ribizli/deno_rcon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

deno_rcon

An RCON client for Source RCON Protocol (e.g. for CS:GO server) (https://developer.valvesoftware.com/wiki/Source_RCON_Protocol)

cli usage

export RCON_HOST=localhost RCON_PASSWORD=mypw RCON_PORT=27015
deno run --allow-net --allow-env --unstable https://deno.land/x/deno_rcon/mod.ts

usage in code

import { Rcon } from 'https://deno.land/x/deno_rcon/mod.ts';

const rcon = new Rcon('localhost', 27015, 'mypw');

const response = await rcon.sendCmd(command);

console.log(response);

About

An RCON client for Source RCON Protocol (e.g. for CS:GO server)

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •