# Console variables in UE4

**URL:** <https://forums.unrealengine.com/t/console-variables-in-ue4/20542>\
**Category:** C++\
**Tags:** unreal-engine\
**Created:** [February 7, 2015, 1:14pm UTC](https://forums.unrealengine.com/t/console-variables-in-ue4/20542 "2015-02-07T13:14:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Young\_Wolf](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Young\_Wolf](https://forums.unrealengine.com/u/Young_Wolf)\
**Post date:** [February 7, 2015, 1:14pm UTC](https://forums.unrealengine.com/t/console-variables-in-ue4/20542/1 "2015-02-07T13:14:10Z")

</div>

Hello everyone,

I was just wondering if it’s possible to make console variables in Unreal Engine 4?

Like if you are the admin of the server, you open up the console, login with rcon password, and type variables to modify the world?

For example changing the time, teleporting the player, and stuff like that?

Like: tp [player1] to [player2] a.k.a /tp OzoneBG to OzoneBG2

I believe I have to check the console, and if the input starts with / then threat it like a command and call a function from C++? Or there is something else?

---

<div class="post-metadata">

**Author:** ![Jambax](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jambax/32/904177_2.png) [@Jambax](https://forums.unrealengine.com/u/Jambax)\
**Post date:** [February 7, 2015, 11:59pm UTC](https://forums.unrealengine.com/t/console-variables-in-ue4/20542/2 "2015-02-07T23:59:44Z")

</div>

Definitely possible, this might help you 🙂

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — ue4community.wiki! You will be able to find content from the official...

---

<div class="post-metadata">

**Author:** ![Young\_Wolf](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Young\_Wolf](https://forums.unrealengine.com/u/Young_Wolf)\
**Post date:** [February 8, 2015, 10:41am UTC](https://forums.unrealengine.com/t/console-variables-in-ue4/20542/3 "2015-02-08T10:41:09Z")

</div>

Thanks for the link. Basicly I need to create a .h file interface with the commands I want and then implement them in the blueprint? Easy as that? 😃
