NPBridge is the server plugin that lets NP Editor talk to a running Minecraft server (Paper). The editor’s Server connection (live), map install and the scene runtime (NP Scene), and “Advanced” deployment all go through this plugin. The NP Editor 0.10.2 installer includes NPBridge 2.0.8. This page is the install and security guide for the person who runs the server. Everything here happens in the server console and in files, so there are no images.
New in 0.10.2: logic that contains the new Logic graph flow nodes is uploaded only to servers running NPBridge 2.0.8 or later. Details are in New nodes and 2.0.8.
| What | Details |
|---|
| Server | Paper 1.21 or later (built against 1.21.11), Java 21 |
| Other plugins | None needed. The single NPBridge jar contains map install and the scene runtime (NP Scene). |
| File | %LOCALAPPDATA%\Programs\NP Editor\server\NPBridge.jar on the PC where the editor is installed |
| Permissions | You need to be able to put files in the server’s plugins/ folder and run commands from the server console or as op. |
| Network | The PCs that run the editor must reach the NPBridge port (default 25590, TCP). |
- On the PC where the editor is installed, type
%LOCALAPPDATA%\Programs\NP Editor\server in the File Explorer address bar to find NPBridge.jar.
- Stop the Minecraft server.
- Copy
NPBridge.jar to the server’s plugins/ folder.
- Start the server. When the server log shows the line
[NPBridge] listening on 0.0.0.0:25590 (any address - keep the token secret), NPBridge is open. On first start, plugins/NPBridge/config.yml and a token are created, and the log shows generated a new token - /npbridge token to see it.
- Type
/npbridge status in the server console or in game (as op). The version and address appear, as in “[NPBridge] 2.0.8 · 0.0.0.0:25590 · …”.
- Set up the firewall and
allow_ips first, as described in Restricting access.
- In game, as op, type
/npbridge token. The token appears as “[NPBridge] token: npb_…”. Hand this token directly to the people who will use the editor.
- On the editor side, connect as described in Server connection (live). The address is
http://<server address>:25590, and the token is the value from step 7.
| Current version | What to do |
|---|
| NPBridge 2.0.0 – 2.0.7 | Stop the server, remove the old NPBridge jar from plugins/, add the new NPBridge.jar and start the server. Settings, token, port and scenes stay as they are, and nothing in the config file needs changing. To swap it while the server is running, put the new jar in plugins/update/ and restart. |
| NPBridge 1.x · separately installed NP Scene | Stop the server, remove both the old NPBridge-1.x.jar and NPScene-*.jar, add the new jar and start the server. On first start, plugins/NPScene/ is copied to plugins/NPBridge/scene/ (the original is kept) and the old settings move to the scene: section of config.yml. |
- After the swap, check with
/npbridge status that the version is 2.0.8.
- If an old
NPScene-*.jar is still present, NPBridge does not turn on its scene features, so that the same scene does not run twice, and writes a large warning (SEVERE) to the server log.
- A server upgraded from 1.x keeps the old value
port: 25580 in config.yml (an existing config file is not overwritten). 25580 · 25581 are the ports the Noplatea resource pack server uses, so change it by hand if they clash.
The 0.10.2 Logic graph adds five flow-control nodes (Gate gate · Return stop · Do Once do_once · Flip Flop flip_flop · Switch switch) and the math functions inverse_lerp · wrap · snap. These nodes run on the server from NPBridge 2.0.8.
- Servers on 2.0.7 or earlier skip actions they don’t know and run the next actions as usual. Actions such as rewards guarded by a Gate would be unlocked.
- So the 0.10.2 editor neither uploads through the live link nor deploys as a scene any logic that contains these nodes to servers older than 2.0.8 (or servers that don’t report their version), and tells you why. Other live features (blocks, entities, saving) keep working.
- Exporting to a file is not blocked; you only get a warning. The exported rules record the minimum server version (
min_bridge) and a list of “stop if unknown” actions (stop_unknown). 2.0.8 skips any rule that requires a newer version than itself, and stops at that point when it doesn’t know an action in stop_unknown.
- Several servers on one machine: give each server its own NPBridge port too (for example
25590 for production · 25591 for testing). After changing the port, type /npbridge reload, and change the port in the editor’s connection address as well.
- Using it without opening a port: set
bind in config.yml to 127.0.0.1, and open a tunnel on the editor PC with ssh -L 25590:127.0.0.1:25590 <account>@<server>. The editor address is http://127.0.0.1:25590. This suits connections whose IP changes often.
- Checking server load while connected: type
/npbridge sessions to see the live connection list (client · PC name · IP · last request · range received) and the tick average · maximum time. While no editor is editing, NPBridge uses almost no server tick time.
- If every editor is on 0.9.20 or later, change to
security.require_signed: true so the token never travels in plain text (Request signing).
NPBridge opens one HTTP port, separate from the Minecraft port.
| What | Default | Setting |
|---|
| NPBridge HTTP (where the editor connects) | 25590 | port · bind in config.yml |
| Minecraft server | 25565 etc. | server.properties — unrelated to NPBridge. You can also install it on a Paper server behind a proxy (Velocity etc.). |
| Editor Test server (this PC)… | Game 25570 · NPBridge 25592 | A test server the editor starts on this PC only. |
- If the port cannot be opened, the plugin stays enabled but does not open HTTP, and writes “NPBridge HTTP 를 열지 못했어요 — …” (“Couldn’t open NPBridge HTTP — …”) and how to fix it to the server log.
The token is the secret key the editor uses to connect to NPBridge. Anyone who knows the token can change the server world’s blocks, container contents, sign text and scenes.
| Command | Action |
|---|
/npbridge token | Show the current token |
/npbridge token regen | Create a new token. Every editor that was connected must update its token too. |
- On first start, the token is created as a random value (32 bytes) starting with
npb_. Do not edit token in config.yml by hand.
- Typing
/npbridge token in the console also writes it to the server log file. View it in game as op when you can.
- Do not share the token in chat, screenshots or public channels. If it may have leaked (if a plain HTTP port was ever open to the internet), change it with
/npbridge token regen.
- The editor stores the connection settings only when you click Save, in the user folder on the editor PC with Windows data protection (only that user on that PC can read them).
NPBridge HTTP is plain text. Editors 0.9.20 and later do not send the token; they add a signature (HMAC-SHA256) to every request instead.
| Setting | Default | Meaning |
|---|
security.require_signed | false | false = check a signature when there is one, and also accept the old way (token as is) when there is none. true = accept signed requests only. |
security.max_skew_seconds | 60 | Allowed clock difference for signatures (seconds). If the editor PC’s clock is off, the server tells it the time and the editor corrects it and resends. |
- If an old editor (0.9.19 or earlier) connects to a server with
require_signed: true, the editor shows “This server accepts only signed requests (security.require_signed) — update NP Editor to a newer version”.
- If you also turn on Signed requests only on the editor side, the editor does not connect to an old NPBridge (2.0.2 or earlier) that doesn’t know signatures, instead of sending the token in plain text.
- Signing stops eavesdropping and replay, but it does not encrypt the content. For a server open to the internet, also use the access restrictions below.
Make the NPBridge port reachable only from the PCs that run the editor. Do not open the port to the whole internet.
| Method | What to do |
|---|
Firewall + allow_ips | In the firewall, open that port only for the editor PC’s IP (for example on Ubuntu sudo ufw allow from <editor PC IP> to any port 25590 proto tcp). Put the same IP in allow_ips in config.yml too, then type /npbridge reload. |
| SSH tunnel | No port is opened (Tips and tricks). |
| HTTPS reverse proxy | If it must be public, put an HTTPS reverse proxy in front. The editor address is the proxy address. |
| Protection | Default | Setting |
|---|
| Allowed addresses | Empty means everyone | allow_ips (for example ['127.0.0.1', '<editor PC IP>']) |
| Token brute-force lockout | 10 failures from one address within 600 seconds block it for 900 seconds | security.lockout.max_failures · window_seconds · lock_seconds |
| Requests per address | 20 per second | requests_per_second |
| Live connections | 16 at once · 60 requests per second per connection | v2.max_sessions · v2.requests_per_second |
- If every request appears to come from one address because the server is behind a reverse proxy, someone else’s failures can lock everyone out. In that case, block at the proxy and set
security.lockout.max_failures: 0 (off).
| Item | Default behavior | Setting |
|---|
| Command blocks · structure blocks · jigsaws | The editor cannot place them. | security.blocks.forbidden |
| Command text of existing command blocks | The editor cannot change it. | security.blocks.allow_command_block_edits: false |
| Server commands (“Advanced” allowed commands) | Only those in commands.allow. Commands such as op · stop · ban · whitelist · lp · gamerule are refused even if listed. | commands.allow · security.commands.deny |
| Console command action in scene rules | Off | scene.runtime.allow-console-commands |
| Plugin jar deployment | Off (code runs on the server) | deploy.plugin |
| World · resource pack · scene deployment | On | deploy.world · deploy.pack · deploy.scene |
| Key | Default | Meaning |
|---|
token | Created on first start | The secret key the editor uses. Do not edit it by hand. |
bind | 0.0.0.0 | Address to listen on. 127.0.0.1 if you only use an SSH tunnel |
port | 25590 | NPBridge HTTP port |
allow_ips | [] (everyone) | Addresses allowed to connect |
max_body_mb | 256 | Maximum request body (MB) — match it to your world deployment size |
security.require_signed | false | Accept signed requests only |
requests_per_second | 20 | Requests per second per address |
v2.max_sessions | 16 | Number of editors that can connect at once |
v2.session_ttl_seconds | 120 | Time (seconds) without requests before a live connection disappears |
v2.tick_budget_ms | 2.0 | Time (ms) the live link uses per server tick |
v2.chunk_budget_ms | 3.0 | Time (ms) used per tick while an editor receives chunks |
v2.presence.ingame | false | true = also show a name tag at each editor’s camera position in the game |
| After changing | Applied by |
|---|
Top-level keys · security.* · deploy.* | /npbridge reload |
v2.* | Takes effect after a server restart. |
scene: section | /npscene reload |
| Command | Action |
|---|
/npbridge · /npbridge status | Version · address · number of live connections · deployment on · scene features on |
/npbridge token · /npbridge token regen | Show the token · create a new one |
/npbridge reload | Re-read the settings and reopen HTTP. Tells you in red text if the port cannot be opened. |
/npbridge sessions | Live connection list and tick times |
/npscene help (/nps · /씬) | List of map install and scene commands |
| Permission | Default | Meaning |
|---|
npbridge.admin | op | /npbridge commands (including viewing the token) |
npscene.admin | op | All scene admin commands |
npscene.pack | everyone | Re-download the map resource pack |
| Symptom | Cause | What to do |
|---|
| Editor: “Nothing is listening on this port — …” | NPBridge is off · the port did not open · the port in the address differs | Match the port in the server log line listening on …:<port> with the port in the editor address. |
| Editor: “No response — …” · “Response timed out — …” | A firewall or router blocks it, allow_ips | Open that port for the editor PC’s IP in the firewall. Check that the editor PC’s address is in allow_ips. |
| Server log: “NPBridge HTTP 를 열지 못했어요 — 포트 … 를 이미 다른 프로그램이 쓰고 있어요 …” (“Couldn’t open NPBridge HTTP — port … is already used by another program …”) | Another NPBridge or the resource pack server (25580 · 25581) on the same machine | Change port to a free value, then /npbridge reload. Change the editor address too. |
| Editor: “There is no NPBridge at this address — …” | A program other than NPBridge answers on that port | Match port with the port in the editor address. |
| Editor: “The server blocked this PC …” | The editor PC’s address is not in allow_ips | Add it to allow_ips, then /npbridge reload. If the IP changes often, use an SSH tunnel. |
| Editor: “Wrong token — …” | Wrong token · an old token after token regen | Check it again with /npbridge token and enter it in the editor. |
| Editor: “Too many wrong tokens, so this PC’s address is blocked for a while …” | Brute-force lockout | Check the token, and reconnect after the lockout time (default 900 seconds). |
| Editor: “This PC’s clock differs a lot from the server clock — …” | The editor PC or server clock is more than 60 seconds off | Sync both clocks with internet time. |
| Editor: “The server’s live connection slots are full …” | 16 connections at once (v2.max_sessions) | Check with /npbridge sessions. Unclosed connections disappear after 120 seconds. |
| Scene features off · large warning (SEVERE) in the log | An old NPScene-*.jar is still present | Stop the server, remove the old NPScene jar and start the server again. |
| Editor: “The server’s NPBridge 2.0.7 does not know the new nodes (…), so the logic was not uploaded — …” | You use the new 0.10.2 flow nodes and the server is older than 2.0.8 | Replace it with the NPBridge.jar (2.0.8) from the installer and reconnect (New nodes and 2.0.8). |
Not an official Minecraft product. Not approved by or associated with Mojang or Microsoft.