Module @minecraft/server-admin - v1.0.0-betaBeta

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.

Manifest Details

{
"module_name": "@minecraft/server-admin",
"version": "1.0.0-beta"
}

@minecraft/common (Optional in Manifest Details)

  • Requires v1.0.0 or above
{
"module_name": "@minecraft/common",
"version": "1.0.0"
}

@minecraft/server (Required one of the following in Manifest Details)

  • Requires v1.17.0 up to, but not including, v2.0.0
{
"module_name": "@minecraft/server",
"version": "1.17.0"
}
  • Requires v2.0.0-beta up to, but not including, v3.0.0
{
"module_name": "@minecraft/server",
"version": "2.0.0-beta"
}

Install type definition for @minecraft/server-admin module using npm:

npm i @minecraft/server-admin@1.0.0-beta.1.21.70-stable

Classes

SecretString
ServerSecrets
ServerVariables

Variables

secrets
variables

Functions

transferPlayer