/unpublish Command in Minecraft Java Edition

How to Use the Unpublish Command

Java EditionServer AdminPermission: Level 4Added in 26.2

The /unpublish command is an administrative tool in Minecraft Java Edition. It was added in version 26.2 and remains available in version 26.3.

Players use this command when managing their game, though it is restricted to those with the highest permission level of 4 (Server owner). It has a simple syntax with no extra parameters required.

Syntax (Java 26.3, 1 form)

  1. /unpublish

The forms you will use most

/unpublish
Runs the unpublish command without any additional arguments.

Examples

Version history

Measured from the game files of every Java release from 1.13 to 26.3.

  1. 26.2 Command added.

Tips

Common mistakes

Java vs Bedrock

Minecraft Bedrock Edition does not have a command named /unpublish, as it is exclusive to Java Edition.

FAQ

When was the /unpublish command added to Minecraft?

The /unpublish command was added to Minecraft Java Edition in version 26.2.

What permission level is needed for /unpublish?

You need permission level 4 (Server owner) to execute the /unpublish command.

Can I use /unpublish in Minecraft Bedrock Edition?

No, Bedrock Edition does not have a command with this name.

Related commands

/ban/ban-ip/banlist/datapack/deop/fetchprofile/kick/list/op/pardon/pardon-ip/publish/reload/save-all/save-off/save-on