@bedrock-core/server
v0.1.0
Published
The bedrock-core server meta package: one install for the cross-addon server stack
Maintainers
Readme
@bedrock-core/server

The meta package for the bedrock-core server stack. One
dependency gets you a matching, known-good set of the server packages — each release pins the exact
versions of the underlying ones, so upgrading @bedrock-core/server moves the whole stack together.
Install
yarn add @bedrock-core/server@minecraft/server is a peer dependency (>=2.8.0) — it stays yours to pin, since the version you
build against has to match the one your pack's manifest.json declares.
What you get
@bedrock-core/serverre-exports@bedrock-core/server-runtime— the framework runtime: addon registration, the cross-addon registry, features, config, guides, translations and RPC. This is what most addons import.@bedrock-core/server/syncre-exports@bedrock-core/sync— the low-level cross-addon transport (message bus, peer discovery, RPC, replicated state), for when you need to talk to it directly rather than through the runtime.
Usage
import { core } from '@bedrock-core/server';
core.register({
creator: 'ms',
creatorName: 'My Studio',
pack: 'shop',
packName: 'My Shop',
version: '1.0.0',
});
// Only if you need the transport itself:
// import { createSync } from '@bedrock-core/server/sync';Documentation
- Get started — two addons talking to each other, end to end
- server-runtime · sync
- UI integration — pairing the server
packages with the
@bedrock-coreUI packages
License
MIT
