Commands/unpublish
Minecraft Wiki article. Categories: Java_Edition, Java_Edition_upcoming, Commands
This article is reproduced from Commands/unpublish on the Minecraft Wiki. Mirrored from revision 3724483. It is licensed CC BY-NC-SA 3.0 by the Minecraft Wiki contributors — not under the Codex’s CC BY-SA 4.0, and it may not be used commercially. Edits belong upstream, not here.
/unpublish{
"title": "<code>/unpublish</code>",
"rows": [
{
"field": "4",
"label": "(link to Permission level article, displayed as Permission level<br>required)"
},
{
"field": "No dedicated server<br>",
"label": "(link to Commands#Restrictions article, displayed as Restrictions)"
}
],
"invimages": [],
"images": []
}
Unpublishes an integrated server.
Syntax
unpublish
Result
| Command | Trigger | Java Edition |
|---|---|---|
| Any | The world is not already published. | Failed |
| Otherwise | Successful |
Output
| Command | Edition | Situation | Success Count | /execute store success ... | /execute store result ... |
|---|---|---|---|---|---|
| Any | Java Edition | On fail | N/A | 1[1] | 0 |
| On success | N/A | 1 | 1 |
History
| Java Edition | |||||||
|---|---|---|---|---|---|---|---|
| 26.2 | snap8 | Added /unpublish. | |||||
| Upcoming Java Edition | |||||||
| 26.3 | snap1 | Commands like /unpublish should now properly signal errors. | |||||
References
- ↑ MC-308405 – /unpublish succeeds when the game is not published despite the failure message
Navigation
Sources
- Commands/unpublish — Minecraft Wiki, CC BY-NC-SA 3.0, revision 3724483.