Minecraft wiki entry for Setting_up_a_LAN_world, associated text: It is also possible to start a LAN world by the command line with /publish. It is not possible to change game options with this command.