How to play without mobs attacking?

So I've played Valheim for many many hours. 2 play through. 1 vanilla and 1 with mods. Now I'd love to play as usual but with no mobs fighting me. Is there a command I can use for this? I don't want God mode because it's like creative. Would appreciate any suggestions
2:13 am, March 29, 2023
llanita 0 comments 0 likes

Wumbo replied to How to play without mobs attacking? March 28, 2023 @ 1:43:46 pm PDT

use "ghost" command
2:13 am, March 29, 2023
0 comments 0 likes

llanita replied to How to play without mobs attacking? March 28, 2023 @ 1:47:58 pm PDT

Ah thanks
Never played that mode before. I Appreciate it
2:13 am, March 29, 2023
0 comments 0 likes

umop-apisdn replied to How to play without mobs attacking? March 28, 2023 @ 5:11:56 pm PDT

For those who wish to do this, be aware that enabling the console requires a command-line parameter, and then you have to jump through a couple hoops to actually gain access to the "ghost" command. See https://valheim.fandom.com/wiki/Console_Commands
2:13 am, March 29, 2023
0 comments 0 likes