Module @minecraft/server-admin - v1.0.0-betaBeta Dependencies @minecraft/common (Optional in Manifest Details)
{ "module_name" : "@minecraft/common" , "version" : "1.0.0" }
Copy
@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" }
Copy
Requires v2.0.0 up to, but not including, v3.0.0
{ "module_name" : "@minecraft/server" , "version" : "2.0.0" }
Copy
Installation Install type definition for @minecraft/server-admin module using npm:
npm i @minecraft/server-admin@1.0.0-beta.1.26.20-preview.20
Copy
Classes AdminBeforeEvents AllowList AllowListFileReloadError AllowListModificationError AsyncPlayerJoinBeforeEvent AsyncPlayerJoinBeforeEventSignal CannotKickPlayerError DedicatedServerUtils DisconnectedError LevelStorage LevelStorageQuerySnapshotFile LevelStorageSaveStateChangeError SecretString ServerSecrets ServerVariables Interfaces TransferPlayerIpPortOptions TransferPlayerNetherNetOptions Variables beforeEvents dedicatedServer secrets variables Functions kickPlayer transferPlayer
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