Login System

trying to find a way to create a login system or use steams login api,

i want to use this for my game so i can have users login retrieve their stats ect.

if anyone knows how best to do this please let me know
thanks.

Since this is game specific i recommend asking this on Unreal Engine Forums.

If you use steam network subsytem, when open the game it will check your steamid, if you don’t own the game it will close the game right away. So if you want login with password or stuff you need make a database for that.

Hey there,

first of all: We have no tutorial or something like that exactly for UE4.

Why? Because this is nothing UE4 related. You are posting this into the BP section, so i guess you are not able to use C++? There are plugins to send JSONs to a php script. I guess they could be used for the beginning, but without C++ knowledge you won’t be able to extend the system.

A login system is mostly a Database. Let’s say you have a MySQL Database with a unique ID for every useraccount.
So you would also need a database with all the data about the player (it must all be stored away from the players, so that they can’t change it). If you let a player login, you need to create tokens, so that you can always say “yes, you are the one who logged in”. This is a very big thing in terms of security.

It can be done in a few seconds, but every good programmer will break it in half the time.

If you have the knowledge to create these things and make the secure enough, then you would still need a way to load the attributes into the game. This is a lot work and i would say this is not possible with BP only and the JSON plugin.

If this is your first project, i recommened you from stepping back from creating your own login system for now.

You can use Steam for the beginning. This will at least give you unique accounts. Maybe you can merge this with an external database for the stats.

I can’t give you much help here, since i stopped creating such a system since it would take me too much time.

Maybe you can have a look into the forums and ask for help there. This is more kind of a discussion and the HUB is not suited for this.

thank you all for the answers, i will relocate to the correct forum. thanks again