Adding the mod to existing worlds

Updated a year ago

Upgrading your world with Jewelcrafting

It's always best to start a new world, if you decide to add Jewelcrafting. But you can add it to an existing world as well, if you run a few commands in your console.

Enabling the ingame console

You will need the ingame console to run these commands. To enable it, right-click Valheim in Steam, then select properties. At the bottom, you will see the launch options for Valheim. Add -console to the text field here.

Now you can press F5 while in the game to open the ingame console and run commands.

Adding the gemstone formations

The console command jewelcrafting generate will generate the gemstone formations for existing worlds. This also works on servers, if you are an admin of the server and connected to it. If it doesn't work on your server for some reason (e.g. mod conflicts), I recommend to download your world save from the server and start it up in singleplayer. Then run the command there, wait for it to finish and save the world. Then upload the world save file with the generated gemstone formations back to your server.

Keep in mind that generating the gemstone formations might take a long time, depending on your world size. While the gemstone formations are being generated, your server will also most likely lag a lot, so it's best to run this while few people are playing.

Adding the Gacha location

If you want to use the world boss feature of Jewelcrafting, you will need the Mystical Gemstone location to spend your celestial coins. In singleplayer, you can use the vanilla commands devcommands to enable the devcommands, followed by location JC_Gacha_Location SAVE to spawn in the location right in front of your player. Be aware that this doesn't check for collisions, so make sure that there is some space in front of you. For multiplayer servers, you can either download the world save file and start it in singleplayer again or use the Upgrade World mod and run Locations_Add JC_Gacha_Location.