A WorldEdit-style plugin for the Pumpkin Minecraft server, written in Rust. Supports region selection, block operations, clipboard, undo, and schematic load/save in both Sponge (.schem) and Litematica (.litematic) formats.
- Region selection — Set two corners with
pos1andpos2 - Block operations — Set, replace, walls, clear, hollow
- Clipboard — Copy and paste with relative positioning
- Undo — Restore the last block-modifying operation
- Schematics — Load and save structures from
.schem(Sponge v2/v3) and.litematic(Litematica) files - Per-player state (selection, clipboard, undo)
- Selection limit of 100,000 blocks to avoid server lag
All commands use the /we or /worldedit prefix.
| Command | Description |
|---|---|
/we pos1 |
Set position 1 at your feet |
/we pos2 |
Set position 2 at your feet |
/we size |
Show selection dimensions |
| Command | Description |
|---|---|
/we set <block> |
Fill selection with a block |
/we replace <from> <to> |
Replace one block type with another |
/we walls <block> |
Build walls on X/Z edges of selection |
/we clear |
Set all blocks in selection to air |
/we hollow |
Remove interior, keep walls |
| Command | Description |
|---|---|
/we copy |
Copy selection to clipboard |
/we paste |
Paste clipboard at your position |
/we undo |
Undo the last operation |
| Command | Description |
|---|---|
/we schem load <name> |
Load a schematic into clipboard (.schem or .litematic) |
/we schem save <name> |
Save clipboard as a .schem file |
/we schem list |
List saved schematics |
/we schem delete <name> |
Delete a schematic file |
Schematic files are stored in plugins/pumpkin-worldedit/schematics/. For load/delete you can use the name with or without extension (e.g. castle or castle.litematic).
- Sponge Schematic (
.schem) — Versions 2 and 3 (gzipped NBT, varint block data). Compatible with WorldEdit and many other tools. - Litematica (
.litematic) — Gzipped NBT with regions, packed long-array block states, and optional metadata (position/size fallbacks for compatibility).
- Pumpkin server (built from source)
- Rust toolchain to build the plugin
- Permission
pumpkin-worldedit:command.we(default: OP level 2)
From the pumpkin-worldedit directory (or with path dependencies correct from the Pumpkin repo root):
cargo build --releaseOutput:
- Windows:
target/release/pumpkin_worldedit.dll - Linux:
target/release/libpumpkin_worldedit.so - macOS:
target/release/libpumpkin_worldedit.dylib
- Copy the built plugin into the Pumpkin server
plugins/folder. - Start or restart the server. The plugin will create
plugins/pumpkin-worldedit/schematics/on first load.
Basic region and paste:
/we pos1
/we pos2
/we set stone
/we copy
/we paste
/we undo
Load and paste a schematic:
/we schem load castle
/we paste
Save a selection as schematic:
/we pos1
/we pos2
/we copy
/we schem save my_build
pumpkin-worldedit/
├── src/
│ ├── lib.rs # Plugin entry, on_load, command registration
│ ├── state.rs # Per-player state, selection helpers
│ ├── schematic.rs # .schem / .litematic load & save
│ └── commands/
│ ├── mod.rs # Command tree builder
│ ├── selection.rs # pos1, pos2, size
│ ├── region.rs # set, replace, walls, clear, hollow
│ ├── clipboard.rs # copy, paste
│ ├── history.rs # undo
│ └── schematic.rs # schem load/save/list/delete
├── Cargo.toml
└── README.md
MIT