How to close a LAN world in Minecraft
Type /unpublish in chat in your singleplayer world to stop sharing it over LAN, so LAN players can no longer join.
unpublish
Stops sharing a singleplayer world over LAN, so LAN players can no longer join.
/unpublish Examples
/unpublish Closes the LAN world.
What it does
The counterpart of publish, for worlds opened to LAN. It has no use on a dedicated server.
Good to know
- Needs operator permission level 4 (owner), the level
opgrants by default.
Run it on your server
On a SLASHPLAY server, type it in the Console tab without the leading slash; in game, operators type it in chat with the slash. New to this? Start a Minecraft server first.
Your own
Minecraft server.
From $0.03 an hour, only while it runs. New accounts get 6 free tokens.