mojira.dev
MC-209329

/publish cannot be used without cheats enabled

The bug

In singleplayer without cheats enabled it is not possible to use the /publish command.
The pause menu does allow you to open the world to LAN, therefore /publish should be available to the player as well considering they share the same function.

Linked issues

Attachments

Comments 8

I have reworded your report a little bit because this is not limited to hardcore worlds. I hope you are fine with these changes.

Additionally as workaround you can use the "Open to LAN" button on the pause menu, though this does not allow you to specify a port.

I use publish to make the port 25565 so my friends can use my direct DNS to access it.
That way they don't need to re-enter a new IP:Port every time we want to play.

How is this a feature request.
Publish is supposed to work in hardcore, this is an issue...

Can confirm in 1.16.5.

Can confirm in 1.18.

Can confirm in 1.18.1.

Can confirm in 1.18.2 and 1.19 Pre-release 4.

Can confirm in 1.19.

Virgil Fabre

(Unassigned)

Confirmed

Platform

Low

Commands

20w51a, 1.16.5, 21w06a, 1.17.1, 1.18, ..., 1.19 Pre-release 4, 1.19, 1.19.3, 23w05a, 1.21.4

Retrieved