Skip to content
NP Editor Docs

Protected areas

Protected areas lock part of the world. While a protected area is on, the cells inside it are not changed by the brush, fill, delete, paste, terrain tools, generators or AI tools. Use it to keep a finished building safe while you work next to it, or to give AI Studio a firm “don’t touch this area”. Protected areas are saved in the world file (.npworld) and apply only in your own editor.

This walkthrough keeps the main keep of the example world castle safe while filling the area around it.

  1. Select the building to keep with the selection tool (Selection and region editing). In this example it is a 19×38×19 box around the main keep.

    A selection box around the castle's main keep

  2. Click Edit > Protect selection. The notification reads “Protected area added: Protected area 1”.

    Protect selection in the Edit menu

  3. A green outline appears in the viewport, a “Protected 1” item appears in the status bar, and a Protected areas tab appears in the bottom-right area. Click the tab to see the “Protected area 1” row (size 19×38×19).

    The green protected area outline, the row in the Protected areas panel and the Protected 1 status bar item

  4. Make an edit such as a fill or brush stroke that is larger than the protected area (in this example, filling a 33×1×33 area around it with gold blocks). The cells inside the protected area stay as they are, and the notification and status bar show “361 blocks excluded (protected areas)”.

    After filling the surroundings, only the inside of the protected area is unchanged and the 361 blocks excluded notification shows

  5. When you need to change something inside the protected area, click Edit > Toggle all protected areas. The notification reads “Protected areas off — protected areas can be edited too”, the status bar item changes to “Protection off”, and the Protection on switch in the panel turns off. When you are done, click the same menu item again to turn protection back on.

    Toggle all protected areas in the Edit menu

  • In Tools > Shortcuts…, change the “Toggle all protected areas” key to another key (for example Ctrl+Alt+O) to toggle protection with that key.
  • Adding a protected area is one undo step. Remove an area you made by mistake right away with Ctrl+Z (the blocks stay as they are).
  • Toggling when there are no protected areas shows the notification “No protected areas — Edit › Protect selection”.
  • To keep the whole existing world and build only in empty space, click Edit > Protect all existing chunks. Every chunk (16×16×16) that contains at least one block is protected. Chunks you build after that are not included.
WhatWhere
“Protected areas” panelEdit > Protected areas… (bottom-right area) · click the “Protected N” item in the status bar
Protect the selectionEdit > Protect selection · Protect selection in the panel
Protect all existing chunksEdit > Protect all existing chunks · Protect all current chunks in the panel
Turn everything on / offEdit > Toggle all protected areas · Protection on in the panel
Show / hide outlinesThe eye icon button (show flags) in the viewport’s left bar > Protected areas
KindHow to make itWhat it coversSize shown in the panel
BoxProtect selectionThe box you have selectedwidth×height×depth
Chunk setProtect all existing chunksEvery chunk (16×16×16) that had blocks when you ran the menu item“Chunks N”
  • New areas are named automatically, such as “Protected area 1” or “N existing chunks”. Click the name field in the panel to rename one.
  • Turning areas on or off is not added to the undo history, but the status bar shows “Modified” (there is something to save).
Field · buttonMeaning
Protection onTurns everything on or off. When off, protected areas can be edited too. Each area’s own on/off state is remembered.
Summary“M of N on” or “All off”
Protect selection · Protect all current chunksSame as the menu items above.
Check box on an area rowTurns only this area on or off (Toggle this area)
Name fieldRename. Hover to see the range and the number of cells.
Camera iconMove camera to this area
Trash iconDelete protected area (undoable) — the blocks stay as they are
Outline · status barMeaning
Dark green outlineAn area that is on
Faded outlineAn area that is off (or everything is off)
Status bar “Protected N”N areas are on
Status bar “Protection off”Everything is off — protected areas can be edited too
ActionCells inside a protected area
Place · break · brush · shapes · fill · replaceNot changed.
Delete · paste · placing prefabs · terrain tools · map generatorRun on everything except the protected cells.
Placing and moving propsProps in protected cells are not changed.
AI tools (AI Studio · external MCP)Run on everything except the protected cells. The AI cannot change cells inside a protected area or remove a protected area, not even through undo.
Your own undo and redoWork as usual.
Changes received from a live serverApplied as usual (the server is the source of truth).

If an edit skipped protected cells, the notification “N blocks excluded (protected areas)” appears once for that edit.

The editor remembers the cells you placed or changed yourself (edit tools · paste · placing prefabs). When a step of an AI Studio job tries to change those cells, the editor stops that step, selects the overlapping cells to show them, and opens the “AI work overlaps your work” dialog (this needs an AI account, so this page has no image of it).

ChoiceResult
Save as prefab, then overwriteSaves the overlapping part as the prefab “My work backup <time>”, then lets the AI overwrite it.
OverwriteReplaces it with the AI’s work. You can cancel with undo.
Keep selection, install the rest (default)Keeps your work, and places the AI’s work everywhere except those cells.
  • Turn on Use the same answer for this job so you are not asked again until this AI job ends.
  • If you close the dialog or do not answer for about 100 seconds, the default is used.
Protected areasAI overlap check
Applies toA region you chooseCells you built yourself
BlocksEvery edit, generator and AIAI jobs only
Asks you?No, always skips.Asks once.
  • When you use To moving block group or Enable physics on a block actor, and the actor has blocks that overlap a protected area or a locked cell, it is not converted, and the notice "<actor name>" has blocks in a protected zone or locked cells — not converted appears. No undo entry is made either.
  • When you Solidify back to blocks, blocks are not placed in protected areas or locked cells, and the number of cells that could not be placed is added to the notice.
  • Protected areas apply only in your own editor, and other editors connected to the same live server are not told about them.
  • To keep a region safe from other people, use a region lock from Co-building. When you connect to a live server (NPBridge 2.0.4 or later; the version bundled with the 0.11.1 installer is 2.4.0), your locks are sent to the other editors.
ShortcutAction
Ctrl+ZUndo adding or deleting a protected area
Ctrl+Alt+PToggle all protected areas (same as Edit > Toggle all protected areas)

Protect selection and Protect all existing chunks have no default keys. You can assign them in Tools > Shortcuts….