# Editing for a World

After [starting a world](https://docs.msquared.io/creation/worlds), you can configure live config via the world page:

<figure><img src="https://1456550285-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoWTlPaoHd1McSakqMigu%2Fuploads%2Fgit-blob-8c9bdddb852761a3c8935096348cd1848cbd1a9f%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

This will display a pop up which displays all available settings editable as a form or as JSON.

<figure><img src="https://1456550285-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoWTlPaoHd1McSakqMigu%2Fuploads%2Fgit-blob-3f5bedb269dd9031be088466dbdbd5dc49f76cfb%2FLiveConfig2.png?alt=media" alt=""><figcaption></figcaption></figure>

To save, click the `Submit` button and changes will be sent out within a few seconds.

## On your Editor

Live Config is also available in the Origin Editor for development purposes. When you run with Play-In-Editor, Live Config settings will be generated for your game session, which can be navigated to from the editor pop-up on the bottom right corner of your screen.

<figure><img src="https://1456550285-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoWTlPaoHd1McSakqMigu%2Fuploads%2Fgit-blob-2f60333961e7e9556d456234a704718bde3e2b32%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

Clicking `Open` navigates you to an explorer window containing `json` files of your available live config settings.

<figure><img src="https://1456550285-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoWTlPaoHd1McSakqMigu%2Fuploads%2Fgit-blob-947854c62758ec6ce9deae89130452693e31be4a%2Fimage.png?alt=media" alt="" width="331"><figcaption></figcaption></figure>

Open these files on your text editor of choice and view/amend your settings as necessary. Once the file is saved, your setting changes should be picked up by the PIE client/server within seconds.

<figure><img src="https://1456550285-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoWTlPaoHd1McSakqMigu%2Fuploads%2Fgit-blob-062201ea683339f0b9364f35aa9a9dc8e2614bfd%2Fimage.png?alt=media" alt="" width="334"><figcaption></figcaption></figure>

Note that any changes you made will not persist between PIE sessions. A new set of config files would be generated every time a new PIE session is started. If you'd like to make changes to your setting that persists, refer to [overriding-default-live-config-settings](https://docs.msquared.io/creation/unreal-development/features-and-tutorials/live-config/overriding-default-live-config-settings "mention").\
\
It is highly recommended that you test any changes made to Live Config (i.e. either after [adding-new-live-config-settings](https://docs.msquared.io/creation/unreal-development/features-and-tutorials/live-config/adding-new-live-config-settings "mention") or [overriding-default-live-config-settings](https://docs.msquared.io/creation/unreal-development/features-and-tutorials/live-config/overriding-default-live-config-settings "mention")) on PIE before deploying your world. Any errors on your Live Config setup will result in the following failure pop-up to appear instead, and you can refer to your Editor logs to debug the issue.

<figure><img src="https://1456550285-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoWTlPaoHd1McSakqMigu%2Fuploads%2Fgit-blob-256978be01392ee97909a14b9d7f24f08f73bf38%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

## Via The Console

When playing in editor, or using non-shipping builds, you can press the `` ` `` key to open the console.

From here, the `M2.LiveConfig.GetValue [CONFIG_NAME] [VALUE_NAME]` allows you to return the current live config value for a given flag. This can be useful to e.g. verify what live config is currently being used, if experimenting with different values.

<div data-full-width="false"><figure><img src="https://1456550285-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoWTlPaoHd1McSakqMigu%2Fuploads%2Fgit-blob-ce0d6aca101e2d0e7b42191f91c22f15a08fc6a9%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure></div>

{% hint style="warning" %}
NOTE that the `jlc.[CONFIG_NAME].[VALUE_NAME]` console commands are now deprecated, and do not live-update, so may not be an accurate reflection of the game state.

NOTE: For releases v37 and earlier, the console command is `JunoGameData.GetValue`, not `M2.LiveConfig.GetValue`
{% endhint %}
