This console command sets the specified game preference to the specified value.
The syntax for the setgamepref command is as follows:
setgamepref [game preference] [value]
This command has the following arguments:
Game Preference | The name of the game preference to you wish to set the value of. |
Value | The value you wish to set the game preference to. |
Search our database of 70 7 Days to Die commands...
Yes PleaseFind 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.