We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b506301 commit 7c46882Copy full SHA for 7c46882
README.md
@@ -2,7 +2,7 @@
2
[According to Valve's RCON specification](https://developer.valvesoftware.com/wiki/Source_RCON_Protocol)
3
4
## Install
5
-This version of rcon-srcds is an ES6 module and requires Node 14+.
+This version of rcon-srcds is an ES Module and requires Node 14+.
6
7
```console
8
npm install rcon-srcds --save
src/rcon.ts
@@ -20,7 +20,7 @@ export class RCON {
20
this.host = options.host || '127.0.0.1'
21
this.port = options.port || 27015
22
this.maxPacketSize = options.maxPacketSize || 4096
23
- this.encoding = options.encoding || 'ascii'
+ this.encoding = options.encoding || 'utf8'
24
this.timeout = options.timeout || 1000
25
26
this.authenticated = false
0 commit comments