MC Toolkit

MC Toolkit / Commands / Server Admin Command Builder / Publish Command Generator

Publish Command Generator

Build a /publish command to open your singleplayer world to LAN, with cheats, joiner game mode, and a custom port — args are positional and cascade.

4 argument paths · Minecraft 26.2 · from Mojang's own command tree

  • /publish
  • /publish <allowCommands>
  • /publish <allowCommands> <gamemode>
  • /publish <allowCommands> <gamemode> <port>

Run these from an operator’s chat, a command block, or the server console.

Looking for more Minecraft tools?

A suite of client-side generators, viewers and converters — all free, all in your browser.