Small Fabric Mod that adds the 'allowCheats' parameter to the '/publish' vanilla command.
/publish [allowCheats] [<port>]
You can find downloads for 'Publish allowCheats' on the official CurseForge page.
This mod is merged into linguardium's Open2Lan.