# Advanced Sessions Plugin

**URL:** <https://forums.unrealengine.com/t/advanced-sessions-plugin/30020>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [May 13, 2015, 7:26pm UTC](https://forums.unrealengine.com/t/advanced-sessions-plugin/30020 "2015-05-13T19:26:21Z")\
**Posts on this page:** 20\
**Page:** 62

<div class="post-metadata">

**Author:** ![mordentral](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mordentral](https://forums.unrealengine.com/u/mordentral)\
**Post date:** [April 24, 2017, 12:26pm UTC](https://forums.unrealengine.com/t/advanced-sessions-plugin/30020/1244 "2017-04-24T12:26:58Z")

</div>

[QUOTE=OverRated\_AU;698996]  
Ah thanks for the info was going to ask what the dedicated server Boolean on the Create Advanced Session is meant for seeing if your creating a session from blueprint it will be a listen server or does this create a server along side the client?

Dedicated on the blueprints just flags the session as dedicated on creation, each subsystem can handle this differently. Steam if that flag is set uses an entirely different method of server hosting on the back end (their hosting system is split between lobbies and real dedicated servers).

Its exposed because the default nodes don’t even have the option, you don’t have to make a c++ session with dedicated servers, you can still use the Sessions Plugin if you wish.

The authentication is optional, but optionally important, if there is no steam authentication then it can’t validate players connecting to dedicated servers as being actual owners of the game. Someone could download your game client with steam disabled, load up and connect to the dedicated server without actually owning it and the server wouldn’t know it.

When authentication is setup the server will check with Steam whether the connecting player has a valid copy of the game before letting them in to the server.

---

<div class="post-metadata">

**Author:** ![OverRated\_AU](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/overrated_au/32/1008648_2.png) [@OverRated\_AU](https://forums.unrealengine.com/u/OverRated_AU)\
**Post date:** [April 24, 2017, 1:12pm UTC](https://forums.unrealengine.com/t/advanced-sessions-plugin/30020/1245 "2017-04-24T13:12:40Z")

</div>

[QUOTE=;699022]  
Dedicated on the blueprints just flags the session as dedicated on creation, each subsystem can handle this differently. Steam if that flag is set uses an entirely different method of server hosting on the back end (their hosting system is split between lobbies and real dedicated servers).

Its exposed because the default nodes don’t even have the option, you don’t have to make a c++ session with dedicated servers, you can still use the Sessions Plugin if you wish.

The authentication is optional, but optionally important, if there is no steam authentication then it can’t validate players connecting to dedicated servers as being actual owners of the game. Someone could download your game client with steam disabled, load up and connect to the dedicated server without actually owning it and the server wouldn’t know it.

When authentication is setup the server will check with Steam whether the connecting player has a valid copy of the game before letting them in to the server.

So if i wanted to use authentication i need to use that pull request? another thing i wanted to ask is, if i wanted to add password locks on servers is it safe to just pass that info through the server settings and compare it on the other side for the client? cheers.

---

<div class="post-metadata">

**Author:** ![mordentral](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mordentral](https://forums.unrealengine.com/u/mordentral)\
**Post date:** [April 24, 2017, 1:16pm UTC](https://forums.unrealengine.com/t/advanced-sessions-plugin/30020/1246 "2017-04-24T13:16:45Z")

</div>

[QUOTE=OverRated\_AU;699035]  
So if i wanted to use authentication i need to use that pull request? another thing i wanted to ask is, if i wanted to add password locks on servers is it safe to just pass that info through the server settings and compare it on the other side for the client? cheers.

No, it would not be safe, you are giving the password to them then.

You would want a one way encryption if you did it like that, and even then they could filter out that password denial and continue connecting.

---

<div class="post-metadata">

**Author:** ![poke1103](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@poke1103](https://forums.unrealengine.com/u/poke1103)\
**Post date:** [April 25, 2017, 6:04pm UTC](https://forums.unrealengine.com/t/advanced-sessions-plugin/30020/1247 "2017-04-25T18:04:22Z")

</div>

[QUOTE=;699036]  
No, it would not be safe, you are giving the password to them then.

You would want a one way encryption if you did it like that, and even then they could filter out that password denial and continue connecting.

Does steam authentication also make it so that GetCurrentPlayers() returns the correct value?

---

<div class="post-metadata">

**Author:** ![mordentral](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mordentral](https://forums.unrealengine.com/u/mordentral)\
**Post date:** [April 26, 2017, 12:23pm UTC](https://forums.unrealengine.com/t/advanced-sessions-plugin/30020/1248 "2017-04-26T12:23:21Z")

</div>

[QUOTE=poke1103;699597]  
Does steam authentication also make it so that GetCurrentPlayers() returns the correct value?

No

His pull may fix that, but it has nothing to do with that.

---

<div class="post-metadata">

**Author:** ![mordentral](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mordentral](https://forums.unrealengine.com/u/mordentral)\
**Post date:** [April 26, 2017, 4:09pm UTC](https://forums.unrealengine.com/t/advanced-sessions-plugin/30020/1249 "2017-04-26T16:09:48Z")

</div>

Pushed a new commit supporting 4.16 in the plugin and uploaded the 4.16 preview binaries.

---

<div class="post-metadata">

**Author:** ![KRushin](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@KRushin](https://forums.unrealengine.com/u/KRushin)\
**Post date:** [April 26, 2017, 10:10pm UTC](https://forums.unrealengine.com/t/advanced-sessions-plugin/30020/1250 "2017-04-26T22:10:04Z")

</div>

[QUOTE=;700108]  
Pushed a new commit supporting 4.16 in the plugin and uploaded the 4.16 preview binaries.

Awesome Work :). Can help find any new issues

---

<div class="post-metadata">

**Author:** ![Greganator](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Greganator](https://forums.unrealengine.com/u/Greganator)\
**Post date:** [May 3, 2017, 2:18am UTC](https://forums.unrealengine.com/t/advanced-sessions-plugin/30020/1251 "2017-05-03T02:18:46Z")

</div>

Hi I am currently building a online game in C++ with me and my team and i have been looking around yet have not found the answer and was hopping you could help.

When creating a server how would one set up their files so that you can input and receive the server name for a server browser? as of right now all i get is the name of the my PC for the sever and not the name i set when creating the session.

---

<div class="post-metadata">

**Author:** ![Greganator](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Greganator](https://forums.unrealengine.com/u/Greganator)\
**Post date:** [May 3, 2017, 11:30pm UTC](https://forums.unrealengine.com/t/advanced-sessions-plugin/30020/1252 "2017-05-03T23:30:46Z")

</div>

[QUOTE=Greganator;703299]  
Hi I am currently building a online game in C++ with me and my team and i have been looking around yet have not found the answer and was hopping you could help.

When creating a server how would one set up their files so that you can input and receive the server name for a server browser? as of right now all i get is the name of the my PC for the sever and not the name i set when creating the session.

Got it working 😃

---

<div class="post-metadata">

**Author:** ![dMsLT](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@dMsLT](https://forums.unrealengine.com/u/dMsLT)\
**Post date:** [May 12, 2017, 9:28am UTC](https://forums.unrealengine.com/t/advanced-sessions-plugin/30020/1253 "2017-05-12T09:28:55Z")

</div>

Quick question: how can I set up “networked voice” be spatial like any other sound? So that if a person talks from the other side of the room I would hear him less than the one standing next to me.

Thanks!

---

<div class="post-metadata">

**Author:** ![mordentral](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mordentral](https://forums.unrealengine.com/u/mordentral)\
**Post date:** [May 12, 2017, 12:27pm UTC](https://forums.unrealengine.com/t/advanced-sessions-plugin/30020/1254 "2017-05-12T12:27:19Z")

</div>

[QUOTE=dMsLT;708019]  
Quick question: how can I set up “networked voice” be spatial like any other sound? So that if a person talks from the other side of the room I would hear him less than the one standing next to me.

Thanks!

With direct engine modification currently. There is no outside access to the voice data available without re-writing parts of the voice engine and most of the steam plugin.

---

<div class="post-metadata">

**Author:** ![Tetsuwan](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Tetsuwan](https://forums.unrealengine.com/u/Tetsuwan)\
**Post date:** [May 14, 2017, 11:13pm UTC](https://forums.unrealengine.com/t/advanced-sessions-plugin/30020/1255 "2017-05-14T23:13:02Z")

</div>

Hey, Quick question:

Is it possible to handle when **user** disconnected(kicked\leave\server disconnected) session, and open another **Map** (not default) for this user ?

Thanks

UPD: Currently i trying to use **APlayerController::EndPlay**

---

<div class="post-metadata">

**Author:** ![Fire\_O](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Fire\_O](https://forums.unrealengine.com/u/Fire_O)\
**Post date:** [May 15, 2017, 8:30pm UTC](https://forums.unrealengine.com/t/advanced-sessions-plugin/30020/1256 "2017-05-15T20:30:21Z")

</div>

Hi, is it possible to search and auto join to random session? //nvm I found tutorial

I have another question, how to host game session and listen for clients without opening level? I mean I want to be on the “lobby level” and after click “host game” I want to stay where I am without opening this level again. How to call “listen” function without using “open level” node?

---

<div class="post-metadata">

**Author:** ![Apache\_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Apache\_1](https://forums.unrealengine.com/u/Apache_1)\
**Post date:** [May 20, 2017, 1:57am UTC](https://forums.unrealengine.com/t/advanced-sessions-plugin/30020/1257 "2017-05-20T01:57:01Z")

</div>

How could i install this plugin on a mac?

---

<div class="post-metadata">

**Author:** ![mordentral](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mordentral](https://forums.unrealengine.com/u/mordentral)\
**Post date:** [May 23, 2017, 4:39pm UTC](https://forums.unrealengine.com/t/advanced-sessions-plugin/30020/1258 "2017-05-23T16:39:52Z")

</div>

[QUOTE=I\_Like\_Memes.exe;711448]  
How could i install this plugin on a mac?

You’d have to manually build the source, I don’t have a mac to compile on.

---

<div class="post-metadata">

**Author:** ![mordentral](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mordentral](https://forums.unrealengine.com/u/mordentral)\
**Post date:** [May 23, 2017, 4:40pm UTC](https://forums.unrealengine.com/t/advanced-sessions-plugin/30020/1259 "2017-05-23T16:40:44Z")

</div>

Updated download for 4.15 to 4.15.3 and fixed some of the OnPlayerJoinStatechanged event variables being input instead of output.

4.16 version will be updated shortly when all 10 engine builds finish.

---

<div class="post-metadata">

**Author:** ![AP\_Studios](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AP\_Studios](https://forums.unrealengine.com/u/AP_Studios)\
**Post date:** [May 23, 2017, 4:45pm UTC](https://forums.unrealengine.com/t/advanced-sessions-plugin/30020/1260 "2017-05-23T16:45:44Z")

</div>

[QUOTE=dMsLT;708019]  
Quick question: how can I set up “networked voice” be spatial like any other sound? So that if a person talks from the other side of the room I would hear him less than the one standing next to me.

Thanks!

this would be amazing if it was exposed

---

<div class="post-metadata">

**Author:** ![MrEichi](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MrEichi](https://forums.unrealengine.com/u/MrEichi)\
**Post date:** [May 24, 2017, 7:41pm UTC](https://forums.unrealengine.com/t/advanced-sessions-plugin/30020/1261 "2017-05-24T19:41:02Z")

</div>

Is it me or does the download link for 4.16 point to VRExpansionPlugin?

Keep up the good work!

---

<div class="post-metadata">

**Author:** ![Brian\_Aldridge](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Brian\_Aldridge](https://forums.unrealengine.com/u/Brian_Aldridge)\
**Post date:** [May 24, 2017, 8:20pm UTC](https://forums.unrealengine.com/t/advanced-sessions-plugin/30020/1262 "2017-05-24T20:20:52Z")

</div>

Yes. It seems the link for the 4.16 version is incorrect.

---

<div class="post-metadata">

**Author:** ![Ian\_Proulx](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ian\_Proulx](https://forums.unrealengine.com/u/Ian_Proulx)\
**Post date:** [May 24, 2017, 8:48pm UTC](https://forums.unrealengine.com/t/advanced-sessions-plugin/30020/1263 "2017-05-24T20:48:10Z")

</div>

Love the plugin but am having trouble getting it to build for 4.16. I think you may have included the wrong link for 4.16. It goes to a VR plugin.

[Previous page](https://forums.unrealengine.com/t/advanced-sessions-plugin/30020.md?page=61)

[Next page](https://forums.unrealengine.com/t/advanced-sessions-plugin/30020.md?page=63)
