This command changes the difficulty of your game to the specified difficulty mode. See argument information for difficulty modes.
The syntax for the setdifficultymode command is as follows:
This command has the following arguments:
|Difficulty||Your desired difficulty. Options are:|
Find below working examples of the setdifficultymode command.
The above console command sets the game's difficulty to peaceful.
This command sets the difficulty to normal.
This command sets the difficulty to hard.
This console command sets the difficulty to its hardest: hard survival.