# How can I create a cvar for my mod?

**URL:** <https://forums.unrealengine.com/t/how-can-i-create-a-cvar-for-my-mod/122689>\
**Category:** ARK: Survival Evolved\
**Tags:** unreal-engine, Ark:-Survival-Evolved, Modding\
**Created:** [February 21, 2019, 4:59pm UTC](https://forums.unrealengine.com/t/how-can-i-create-a-cvar-for-my-mod/122689 "2019-02-21T16:59:29Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![czshomer](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/czshomer/32/1128536_2.png) [@czshomer](https://forums.unrealengine.com/u/czshomer)\
**Post date:** [February 21, 2019, 4:59pm UTC](https://forums.unrealengine.com/t/how-can-i-create-a-cvar-for-my-mod/122689/1 "2019-02-21T16:59:29Z")

</div>

Hi,

How can I create some cvar to an mod? For example, I’m creating a new mod for plating and I would like to leave some cvars to Admin servers customization. Something like this:

On GameUserSettings.ini

```auto

[MyMod]
CropPlotSeepMultiplier=2
CropPlotSlot=600

```

Someone can u help me?

Thanks

---

<div class="post-metadata">

**Author:** ![dreyn74](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@dreyn74](https://forums.unrealengine.com/u/dreyn74)\
**Post date:** [February 22, 2019, 4:41am UTC](https://forums.unrealengine.com/t/how-can-i-create-a-cvar-for-my-mod/122689/2 "2019-02-22T04:41:24Z")

</div>

You create a reference to the “Shooter\_GameMode” in your blueprint, and, then, from there, you can find “get Int Option from ini”.

---

<div class="post-metadata">

**Author:** ![czshomer](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/czshomer/32/1128536_2.png) [@czshomer](https://forums.unrealengine.com/u/czshomer)\
**Post date:** [February 22, 2019, 4:14pm UTC](https://forums.unrealengine.com/t/how-can-i-create-a-cvar-for-my-mod/122689/3 "2019-02-22T16:14:03Z")

</div>

Do you mean here ?

 ![Capturar.PNG.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/3X/6/2/62e5666b6faa634ae9d6a74b199dc4d5b087dada.jpeg)

---

<div class="post-metadata">

**Author:** ![dreyn74](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@dreyn74](https://forums.unrealengine.com/u/dreyn74)\
**Post date:** [February 22, 2019, 6:04pm UTC](https://forums.unrealengine.com/t/how-can-i-create-a-cvar-for-my-mod/122689/4 "2019-02-22T18:04:23Z")

</div>

You would need to do it in a graph, but you will not be able to do that in a graph for an engram entry. You would need to do it in the graph of a class that can get access to the “world context object”, such as a structure or buff.

---

<div class="post-metadata">

**Author:** ![czshomer](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/czshomer/32/1128536_2.png) [@czshomer](https://forums.unrealengine.com/u/czshomer)\
**Post date:** [February 25, 2019, 1:58pm UTC](https://forums.unrealengine.com/t/how-can-i-create-a-cvar-for-my-mod/122689/5 "2019-02-25T13:58:52Z")

</div>

I’ve tried to do something like this, but I don’t understand so much how to do. I spent some time to try but I can’t get to do this ☹

---

<div class="post-metadata">

**Author:** ![DefaultCoder](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DefaultCoder](https://forums.unrealengine.com/u/DefaultCoder)\
**Post date:** [March 6, 2019, 10:29pm UTC](https://forums.unrealengine.com/t/how-can-i-create-a-cvar-for-my-mod/122689/6 "2019-03-06T22:29:15Z")

</div>

@czshomer - Watch ZenRowes Videos on Ark Modding. [Config Options

[https://youtube.com/watch?v=\_VkmjvMNgVU](https://youtube.com/watch?v=_VkmjvMNgVU)]([https://www.youtube.com/watch?v=\_VkmjvMNgVU&t](https://www.youtube.com/watch?v=_VkmjvMNgVU&t))

---

<div class="post-metadata">

**Author:** ![SkyeEden](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/skyeeden/32/1116094_2.png) [@SkyeEden](https://forums.unrealengine.com/u/SkyeEden)\
**Post date:** [March 9, 2022, 9:39pm UTC](https://forums.unrealengine.com/t/how-can-i-create-a-cvar-for-my-mod/122689/7 "2022-03-09T21:39:12Z")

</div>


