7 Days to Die Setgamepref Command

This console command sets the specified game preference to the specified value.

Setgamepref Syntax

The syntax for the setgamepref command is as follows:

setgamepref [game preference] [value]

This command has the following arguments:

Game PreferenceThe name of the game preference to you wish to set the value of.
ValueThe value you wish to set the game preference to.

Looking for other commands?

Search our database of 70 7 Days to Die commands...

Show Me!

Setgamepref Examples

Find below working examples of the setgamepref command.

setgamepref ServerPort 26910

This command sets the ServerPort game preference to 26910 (default is 26900).

setgamepref ShowFriendPlayerOnMap False

The above console command would set ShowFriendPlayerOnMap game preference to false.