0.0.9
A cross-runtime compatible TF2/Minecraft RCON client in TypeScript
Attributes
Includes Deno configuration
Repository
Current version released
4 months ago
Dependencies
Deno Source RCON Protocol
Complete implementation of the Source RCON Protocol.
Install
Checkout the jsr page for more details.
Examples
A simple example that connects to a server and executes the status command and logs to console
using rcon = new Rcon({ host: "game.example.com", port: 27015 });
const didAuthenticate = await rcon.authenticate("myrconpassword");
console.log(didAuthenticate ? "Authenticated to the server" : "Could not authenticate");
const result = await rcon.execute("status");
console.log(result);For more examples, see the documentation on jsr or see the cli.ts file.
Contributing
If thereās a feature or bug, please raise a github issue first alongside your PR (if youāre kind enough to make a PR.)
Acknowledgements
- EnriqCGās rcon-srcds
- ribizliās deno_rcon
Both of these repositories Iāve contributed to in the past and am super thankful for their work.
License
Distributed under the MIT License. See LICENSE for more information.