How to Change Character on a Don't Starve Together Server
In this article
This guide shows you how to change your character on a Don't Starve Together (DST) server, whether it's a public server you're joining or your own dedicated server. You'll learn the in-game method, the console command for admins, and how to edit server files to change characters for yourself or others.
What You'll Need
- Don't Starve Together installed and launched (Steam or WeGame).
- For the console command method: admin privileges on the server (or a server that allows console commands).
- For the file editing method: access to the server's files (for dedicated servers) or the ability to edit save files (for your own world).
- A basic understanding of how to open and edit text files (like Notepad).
Step-by-Step
Method 1: In-Game (For Players on Public Servers)
- Open the pause menu. While in the game, press
Esc(or the equivalent menu key on your platform). - Look for the "Character" or "Select Character" button. In the pause menu, there should be an option labeled "Character" or "Select Character." Click it. (On some servers, this may be under "More" or a similar submenu.)
- Choose your new character. A character selection screen will appear, similar to the one at world creation. Pick the character you want to switch to.
- Confirm your choice. Click "Apply" or "Confirm." Your character will change immediately. Your inventory, health, and sanity are preserved, but your hunger may be adjusted to the new character's starting stats.
Method 2: Console Command (For Admins)
- Enable the console. If you are the server admin, you can open the console by pressing
~(tilde) or`(backtick) on your keyboard. If the console doesn't open, you may need to enable it in the game's settings (under "Controls" or "Gameplay"). - Type the command. In the console, type the following command, replacing
PlayerNamewith the player's in-game name (or your own if you're changing your own character) andCharacterNamewith the desired character's internal name (e.g.,wilson,willow,wolfgang,wendy,wx78,wickerbottom,woodie,wes,maxwell,wigfrid,webber,winona,warly,wortox,wormwood,wurt,walter,wanda): c_despawn(PlayerName)– This removes the player from the game temporarily.c_spawn(PlayerName, CharacterName)– This respawns the player with the new character.- For example, to change a player named "Alex" to Wendy, you would type:
c_despawn("Alex")thenc_spawn("Alex", "wendy") - Press Enter after each command. The player will be kicked and rejoin with the new character. If you are changing your own character, you will be kicked and automatically rejoin.
Method 3: Editing Server Files (For Dedicated Servers)
- Stop the server. Before editing files, it's essential to stop the server to avoid corruption.
- Locate the save file. For dedicated servers, the save files are typically in the
DoNotStarveTogetherfolder in your server's directory. Look for a folder named after your world (e.g.,Cluster_1). Inside, you'll find asavefolder. - Open the player file. In the
savefolder, you'll see a file namedplayerdataor files likeplayerdata_1,playerdata_2, etc. These are binary files, but you can edit them with a text editor like Notepad++ that supports hex editing. However, a simpler method is to use the in-game console (Method 2) or a mod. - Alternative: Use a mod. There are mods on the Steam Workshop that allow character switching without file editing. Search for "character swap" or "change character" in the Workshop. Install the mod on both the server and client, and follow the mod's instructions.
Common Mistakes
- Using the wrong character name. The console command requires the internal name (e.g.,
wendy, not "Wendy"). Check the list in Step 2 of Method 2. - Not having admin rights. On public servers, you can't use console commands unless you're the admin. The in-game method is the only way for regular players.
- Editing files while the server is running. This can corrupt your save. Always stop the server first.
- Forgetting to save after editing files. If you use a hex editor, make sure to save the changes before restarting the server.
Tips
- Check server settings. Some servers have character switching disabled. Look for a setting like
character_switch_enabledin the server'ssettings.inifile. If it's set tofalse, you'll need to change it totrueto allow in-game switching. - Use the in-game method for simplicity. For most players, the in-game method is the easiest and safest. It doesn't require any file editing or admin rights.
- Back up your save files. Before editing any files, make a backup copy of the
savefolder. This way, if something goes wrong, you can restore it. - Communicate with your server admin. If you're on a public server and want to change characters, ask the admin to do it for you using the console command.
Troubleshooting
- The in-game menu doesn't show a character option. This could be because the server has disabled character switching. Check with the admin or look at the server settings.
- The console command doesn't work. Make sure you're typing the command exactly as shown, including quotes around names with spaces. Also, ensure you have admin privileges (if you're the host, you do). If the console doesn't open, check your keybindings in the game settings.
- The player doesn't rejoin after the console command. Sometimes the despawn/spawn commands can cause issues. Try using
c_despawn(PlayerName)and thenc_spawn(PlayerName, CharacterName)again. If that fails, restart the server. - Character changes but stats are weird. When switching characters, your health and sanity are preserved, but hunger is set to the new character's starting value. This is normal. If you're using a mod, the mod may have its own behavior.
- File editing doesn't work. Editing binary save files is risky and error-prone. If you're not experienced, use the console command or a mod instead.
Frequently Asked Questions
Can I change character on any server?
It depends on the server settings. Many public servers allow it via the in-game menu, but some disable it. If the option isn't there, you'll need to ask the admin to use the console command.
Will I lose my items or progress when changing character?
No, your inventory, health, and sanity are preserved. Your hunger will be set to the new character's starting value. Your world progress (like map exploration and structures) is unaffected.
Can I change character on a dedicated server without being admin?
No, you need admin privileges to use the console command. On a dedicated server, only the admin can execute commands. You can ask the admin to change your character for you.
Why can't I open the console?
The console is disabled by default on many servers. You can enable it in the game's settings under "Controls" or "Gameplay." If you're on a public server, the admin may have disabled it entirely.
Is there a mod that allows character switching?
Yes, there are several mods on the Steam Workshop that add a character-switching feature. Search for "character swap" or "change character" and install one that's compatible with your server version. Make sure both the server and all players have the mod installed.
Can I change character in single-player mode?
Yes, you can use the same in-game menu or console command in single-player. The console command works the same way, and you can also edit your save file (though it's not recommended).