@minecraft/server-admin Module

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.

Caution

This module is still in pre-release. It may change or it may be removed in future releases.

Changelog

Manifest Details

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

Available Versions

  • 1.0.0-beta

Classes

Objects

secrets

static read-only secrets: ServerSecrets;

A globally available object that returns a list of dedicated-server configured secrets.

Type: ServerSecrets

variables

static read-only variables: ServerVariables;

A globally available object that returns a list of dedicated-server configured variables.

Type: ServerVariables