Skip to content
المشاريع

حول

Dedicated Minecraft Bedrock and Java Edition server written in TypeScript.

الألعاب والمحاكاة

كيف تُقاس هذه الأرقام

النمو المقاس للنجوم

خلال 24 ساعة
٠
خلال 7 أيام
+١
خلال 15 يومًا
٠
خلال شهر
جارٍ جمع السجل

تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.

README.md

الأصل

JSPrismarine

Join the Discord server npm Latest release License: MIT OR MPL-2.0 Contributors Code Coverage GitHub Commit Activity

A Minecraft server for Bedrock and Java players, built from Mojang's own game data to play like vanilla.

Bedrock players on Minecraft 1.26.60 through 1.26.62 and Java Edition 26.3 players join the same world with the normal game.

A village from vanilla world generation, at dusk

JSPrismarine builds its blocks, items, mobs, loot, recipes and world generation at startup from the Bedrock behavior pack and Java Edition's datapack, instead of copying them into tables by hand. Supporting a new Minecraft release starts from Mojang's new files.

What works today

Some vanilla behavior is still missing. A test suite compares the server with vanilla, and the parity tracker shows what matches and what doesn't yet.

A player fighting a zombie with a diamond sword
Combat
Buying from a villager
Villagers trade
A lever lighting a redstone lamp
Redstone
A Java Edition player beside a Bedrock player
A Java player in a Bedrock player's world
  • Worlds. The Overworld, Nether and End generate from Java's world generation data, with working portals.
  • Mobs. Mobs spawn by Bedrock's spawn rules and act on Bedrock's AI goals and Java's brains. Villages get raided.
  • Survival. Combat, effects, enchanting, crafting, furnaces, flowing water and fire.
  • Commands and packs. Vanilla commands and Java datapack functions run, and your own Bedrock packs and datapacks load on top.
  • Bedrock and Java together. Java Edition players sign in as usual, see Bedrock players in the tab list, and build, fight and change dimensions beside them. They can't yet move items in a survival inventory, which the Java plan tracks.

When something behaves differently from vanilla, open an issue with what you did and what you saw.

Play on the demo server

In Minecraft, open Servers → Add Server and enter demo.jsprismarine.dev with port 19132. On Java Edition, add the same address under Multiplayer → Add Server. The server listens for Java on port 25565. Xbox, PlayStation and Switch have no Add Server button. The joining guide explains how to join from a console.

RespawnHost provides part of the demo server's hosting. Rent a server of your own at [rspwn.click/jsprismarine](https://rspwn.click/jsprismarine) for 15% off, and you help pay for our test servers.

Run your own server

Each release ships the server as one executable for Linux (x64 and ARM64), macOS on Apple silicon and Windows x64, with no Node.js or Java to install. Download it from the latest release, put it in the folder the server should live in, and start it from there:

# Linux and macOS: mark the download as executable once
chmod +x prismarine-linux-x64
./prismarine-linux-x64
# Windows
.\prismarine-windows-x64.exe

macOS and Windows warn about the download the first time. Running JSPrismarine shows how to allow it, and covers the console and every setting.

The first start downloads Mojang's Bedrock Dedicated Server (about 98 MB) once for its vanilla behavior pack, since Mojang's license doesn't let us ship the pack inside the file. The server then writes config.json and worlds/ in the folder you started it from, and listens on UDP port 19132 for Bedrock and TCP port 25565 for Java. Friends add it under Servers → Add Server with your address. For players outside your network, forward both ports on your router. Playing on the same Windows PC as the server takes one command.

Write addons

Addons use Minecraft's own Script API, @minecraft/server, so a pack written for Bedrock Dedicated Server loads without edits. The prebuilt server is enough to write one: addon install ./my-addon links your folder, and /reload reruns its scripts.

Work on the server

You need Node.js, pnpm and, for the default world, a JDK. Running from source lists the versions.

git clone https://github.com/JSPrismarine/JSPrismarine.git
cd JSPrismarine
pnpm install
pnpm run dev

The first pnpm run dev downloads Java Edition's server jar (62 MB) and the Bedrock Dedicated Server (about 98 MB), then runs Mojang's data generator. That takes a few minutes. Later runs start from the cache and restart the server whenever you change a file. Read CONTRIBUTING.md before you send a change.

Get involved

The documentation covers running, configuring and hosting a server. Join us on Discord or open an issue.

You can use JSPrismarine under either MIT or MPL-2.0, at your option. It is not affiliated with Mojang.

استكشف مشاريع مشابهة ومرتبطة

جارٍ التحميل…