nexsys4 1.3.8 → 1.4.0
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 +22 -22
- package/dist/nexSys4.nxs +1 -1
- package/dist/nexsys4.min.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -13,31 +13,31 @@ npm install nexsys4
|
|
|
13
13
|
The package ships prebuilt distributables only:
|
|
14
14
|
|
|
15
15
|
- **`dist/nexSys4.nxs`** — a Nexus package file. Import it into the Nexus client to run nexSys4 in-game.
|
|
16
|
-
- **`dist/nexsys4.min.js`** — the prebuilt runtime bundle. Importing it exposes
|
|
17
|
-
`globalThis.nexSys.bootstrapNexus`; the runtime does not start until that
|
|
18
|
-
function is called.
|
|
16
|
+
- **`dist/nexsys4.min.js`** — the prebuilt runtime bundle. Importing it exposes
|
|
17
|
+
`globalThis.nexSys.bootstrapNexus`; the runtime does not start until that
|
|
18
|
+
function is called.
|
|
19
19
|
|
|
20
20
|
## Usage
|
|
21
21
|
|
|
22
|
-
Import the bundle, enable the nexSys4 package groups, and explicitly bootstrap
|
|
23
|
-
the runtime:
|
|
24
|
-
|
|
25
|
-
```js
|
|
26
|
-
import("https://unpkg.com/nexsys4/dist/nexsys4.min.js").then(() => {
|
|
27
|
-
nexusclient
|
|
28
|
-
.packages()
|
|
29
|
-
.get("nexSys4")
|
|
30
|
-
.items.filter((item) => item.type === "group")
|
|
31
|
-
.forEach((group) => {
|
|
32
|
-
group.enabled = true;
|
|
33
|
-
});
|
|
34
|
-
|
|
35
|
-
nexSys.bootstrapNexus();
|
|
36
|
-
});
|
|
37
|
-
```
|
|
38
|
-
|
|
39
|
-
After `bootstrapNexus()` runs, the global `nexSys` module namespace is replaced
|
|
40
|
-
by the live runtime object.
|
|
22
|
+
Import the bundle, enable the nexSys4 package groups, and explicitly bootstrap
|
|
23
|
+
the runtime:
|
|
24
|
+
|
|
25
|
+
```js
|
|
26
|
+
import("https://unpkg.com/nexsys4/dist/nexsys4.min.js").then(() => {
|
|
27
|
+
nexusclient
|
|
28
|
+
.packages()
|
|
29
|
+
.get("nexSys4")
|
|
30
|
+
.items.filter((item) => item.type === "group")
|
|
31
|
+
.forEach((group) => {
|
|
32
|
+
group.enabled = true;
|
|
33
|
+
});
|
|
34
|
+
|
|
35
|
+
nexSys.bootstrapNexus();
|
|
36
|
+
});
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
After `bootstrapNexus()` runs, the global `nexSys` module namespace is replaced
|
|
40
|
+
by the live runtime object.
|
|
41
41
|
|
|
42
42
|
```js
|
|
43
43
|
// Open the configuration UI (priorities, settings, precache, colors)
|
package/dist/nexSys4.nxs
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"type": "function",
|
|
8
8
|
"name": "__meta",
|
|
9
9
|
"enabled": true,
|
|
10
|
-
"code": "{\n\t\"description\": \"nexSys4 system\",\n \"version\": \"1.
|
|
10
|
+
"code": "{\n\t\"description\": \"nexSys4 system\",\n \"version\": \"1.4.0\",\n \"website\": \"https://github.com/NexusUnleashed/nexsys4\",\n \"dependencies\": [\n \"eventStream3\",\n \"nexAction3\"\n ]\n}"
|
|
11
11
|
},
|
|
12
12
|
{
|
|
13
13
|
"type": "function",
|