Skip to content

Commands

/ipr creates and manages portals in game. It needs operator permission (level 2), the same as /gamemode or /tp: in singleplayer, open the world with cheats enabled. A player must run it, since it works from your position.

/ipr make <width> <height> <dimension> <x y z> [twoWay] [twoSided]

Creates a portal two blocks in front of you, standing upright and facing you, with its bottom edge at the height of your feet. It leads to <dimension> at <x y z>.

Argument Meaning
width, height Size of the portal in blocks, from 0.25 to 64. Fractions are allowed.
dimension Where it leads: minecraft:overworld, minecraft:the_nether, minecraft:the_end or any dimension added by a mod or datapack.
x y z Where you arrive: the bottom centre of the exit. The exit’s bottom edge sits at y. ~ means your own coordinate, unchanged.
twoWay true (default): also creates the portal at the destination that leads back.
twoSided true (default): every surface can be entered from both sides.

The chat confirms with Portal group <id> created.

The portal is placed on the block grid: two blocks from the block you stand on, in the direction you face (north, south, east or west), centred on that block.

A 3 × 4 portal to the same coordinates in the Nether, two-way and two-sided:

/ipr make 3 4 minecraft:the_nether ~ ~ ~

~ copies your coordinates exactly: there is no 1:8 conversion as with Nether portals. Divide by 8 yourself for the usual Nether mapping, for example /ipr make 3 4 minecraft:the_nether 12 70 -40 when you stand near x = 96, z = −320.

A small one-way window into the End that you can only enter from the front:

/ipr make 2 3 minecraft:the_end 0 80 0 false false
/ipr info

Describes the portal surface nearest to you, within 16 blocks: its id, the group it belongs to and its role in it, where it is and where it leads, its scale, its flags (as a hexadecimal number) and the kind of outline (rect, rect_union or polygon).

A group has one surface per role: PRIMARY (the one you created), BACKFACE (the same surface seen from behind, for two-sided portals), REVERSE (the way back, for two-way portals) and REVERSE_BACKFACE. See Glossary.

/ipr remove

Removes the whole group of the portal nearest to you, within 16 blocks: both sides, and the way back at the destination. The chat says how many surfaces were removed.

Portals are entities of type ipreforged:portal. Prefer /ipr remove to /kill: it removes all surfaces of a group together and tells other mods that the group is gone.

/nightlib info ipreforged

A command of NightLib, which the mod requires. Any player can run it. It shows the mod’s support link and, for each of the mod’s tasks, the number of samples, the average and longest time, the total, and when it last ran. An Errors: line counts the problems the mod caught and names the last one.

Section What it measures
views Drawing the views through portals.
client_levels Keeping the dimensions seen through portals on the client: creating, updating and closing them.
chunk_streaming Sending players the chunks of the dimensions they see through portals, every server tick.
teleports Finding the entities that cross a portal and moving them, every server tick.
gates Turning a lit obsidian frame into a portal and building its partner frame.
remote_calls Running remote calls between the server and the clients.

The command runs on the server. In singleplayer it shows both sides; on a dedicated server, views and client_levels, which are measured in each player’s game, are not listed. Add its output to reports about lag.