@rustwirebot/rustplus.js 2.5.0 → 2.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/package.json +5 -5
- package/rustplus.proto +1 -1
package/README.md
CHANGED
|
@@ -283,7 +283,7 @@ npx @rustwirebot/rustplus.js --config-file=/path/to/config.json <command>
|
|
|
283
283
|
If you want to run the latest changes to the CLI tool, you can run it like so:
|
|
284
284
|
|
|
285
285
|
```
|
|
286
|
-
git clone https://github.com/
|
|
286
|
+
git clone https://github.com/rik8181/rustwirebot-rustplus.js
|
|
287
287
|
cd rustplus.js
|
|
288
288
|
npm install
|
|
289
289
|
node cli/index.js <command>
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rustwirebot/rustplus.js",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.1",
|
|
4
4
|
"description": "NodeJS library for controlling Smart Switches and interacting with the Rust+ Companion API. Maintained fork of @liamcottle/rustplus.js, republished by BotForge Studios / RustWire.",
|
|
5
5
|
"main": "rustplus.js",
|
|
6
6
|
"bin": {
|
|
7
|
-
"rustplus": "
|
|
7
|
+
"rustplus": "cli/index.js"
|
|
8
8
|
},
|
|
9
9
|
"repository": {
|
|
10
10
|
"type": "git",
|
|
11
|
-
"url": "git+https://github.com/
|
|
11
|
+
"url": "git+https://github.com/rik8181/rustwirebot-rustplus.js.git"
|
|
12
12
|
},
|
|
13
13
|
"keywords": [
|
|
14
14
|
"rust",
|
|
@@ -29,9 +29,9 @@
|
|
|
29
29
|
],
|
|
30
30
|
"license": "MIT",
|
|
31
31
|
"bugs": {
|
|
32
|
-
"url": "https://github.com/
|
|
32
|
+
"url": "https://github.com/rik8181/rustwirebot-rustplus.js/issues"
|
|
33
33
|
},
|
|
34
|
-
"homepage": "https://github.com/
|
|
34
|
+
"homepage": "https://github.com/rik8181/rustwirebot-rustplus.js#readme",
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"axios": "^1.2.2",
|
|
37
37
|
"chrome-launcher": "^0.15.0",
|
package/rustplus.proto
CHANGED
|
@@ -229,7 +229,7 @@ message AppInfo {
|
|
|
229
229
|
required uint32 wipeTime = 6;
|
|
230
230
|
required uint32 players = 7;
|
|
231
231
|
required uint32 maxPlayers = 8;
|
|
232
|
-
|
|
232
|
+
optional uint32 queuedPlayers = 9; // FIX: some real Rust servers omit this field entirely; was `required`, which crashed decoding with a ProtocolError instead of just defaulting to 0.
|
|
233
233
|
optional uint32 seed = 10;
|
|
234
234
|
optional uint32 salt = 11;
|
|
235
235
|
optional string logoImage = 12;
|