@minecraft/server-admin 1.0.0-beta.1.26.0-preview.24 → 1.0.0-beta.1.26.0-preview.26
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 +8 -8
- package/index.d.ts +3 -3
- package/package.json +19 -19
package/README.md
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
# `@minecraft/server-admin`
|
|
2
|
-
|
|
3
|
-
Contains types related to administering a Bedrock Dedicated Server. These types allow for the configuration of variables and secrets in JSON files in the Bedrock Dedicated Server folder. These types cannot be used on Minecraft clients or within Minecraft Realms.
|
|
4
|
-
|
|
5
|
-
## **NOTE: This version of this module is still in pre-release. It may change or it may be removed in future releases.**
|
|
6
|
-
|
|
7
|
-
See full documentation for this module here:
|
|
8
|
-
|
|
1
|
+
# `@minecraft/server-admin`
|
|
2
|
+
|
|
3
|
+
Contains types related to administering a Bedrock Dedicated Server. These types allow for the configuration of variables and secrets in JSON files in the Bedrock Dedicated Server folder. These types cannot be used on Minecraft clients or within Minecraft Realms.
|
|
4
|
+
|
|
5
|
+
## **NOTE: This version of this module is still in pre-release. It may change or it may be removed in future releases.**
|
|
6
|
+
|
|
7
|
+
See full documentation for this module here:
|
|
8
|
+
|
|
9
9
|
https://learn.microsoft.com/en-us/minecraft/creator/scriptapi/minecraft/server-admin/minecraft-server-admin
|
package/index.d.ts
CHANGED
|
@@ -172,7 +172,7 @@ export class ServerSecrets {
|
|
|
172
172
|
* HttpHeader, this Secret is resolved at the time of execution
|
|
173
173
|
* but is not made available to the script environment.
|
|
174
174
|
*
|
|
175
|
-
* This function can't be called in
|
|
175
|
+
* This function can't be called in restricted-execution mode.
|
|
176
176
|
*
|
|
177
177
|
* This function can be called in early-execution mode.
|
|
178
178
|
*
|
|
@@ -223,7 +223,7 @@ export class ServerVariables {
|
|
|
223
223
|
* Returns the value of variable that has been configured in a
|
|
224
224
|
* dedicated server configuration JSON file.
|
|
225
225
|
*
|
|
226
|
-
* This function can't be called in
|
|
226
|
+
* This function can't be called in restricted-execution mode.
|
|
227
227
|
*
|
|
228
228
|
* This function can be called in early-execution mode.
|
|
229
229
|
*
|
|
@@ -284,7 +284,7 @@ export class DisconnectedError extends Error {
|
|
|
284
284
|
* @remarks
|
|
285
285
|
* Transfer player to another server.
|
|
286
286
|
*
|
|
287
|
-
* This function can't be called in
|
|
287
|
+
* This function can't be called in restricted-execution mode.
|
|
288
288
|
*
|
|
289
289
|
* @param player
|
|
290
290
|
* Player to transfer.
|
package/package.json
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@minecraft/server-admin",
|
|
3
|
-
"version": "1.0.0-beta.1.26.0-preview.
|
|
4
|
-
"description": "",
|
|
5
|
-
"contributors": [
|
|
6
|
-
{
|
|
7
|
-
"name": "Jake Shirley",
|
|
8
|
-
"email": "jake@xbox.com"
|
|
9
|
-
},
|
|
10
|
-
{
|
|
11
|
-
"name": "Mike Ammerlaan",
|
|
12
|
-
"email": "mikeam@microsoft.com"
|
|
13
|
-
}
|
|
14
|
-
],
|
|
15
|
-
"peerDependencies": {
|
|
16
|
-
"@minecraft/common": "^1.0.0",
|
|
17
|
-
"@minecraft/server": "^1.17.0 || ^2.0.0"
|
|
18
|
-
},
|
|
19
|
-
"license": "MIT"
|
|
1
|
+
{
|
|
2
|
+
"name": "@minecraft/server-admin",
|
|
3
|
+
"version": "1.0.0-beta.1.26.0-preview.26",
|
|
4
|
+
"description": "",
|
|
5
|
+
"contributors": [
|
|
6
|
+
{
|
|
7
|
+
"name": "Jake Shirley",
|
|
8
|
+
"email": "jake@xbox.com"
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"name": "Mike Ammerlaan",
|
|
12
|
+
"email": "mikeam@microsoft.com"
|
|
13
|
+
}
|
|
14
|
+
],
|
|
15
|
+
"peerDependencies": {
|
|
16
|
+
"@minecraft/common": "^1.0.0",
|
|
17
|
+
"@minecraft/server": "^1.17.0 || ^2.0.0"
|
|
18
|
+
},
|
|
19
|
+
"license": "MIT"
|
|
20
20
|
}
|