is it possible to make a login system for multiplayer

hello all,

is it possible to make a login system for multiplayer?
i cann’t find topics about this, but i think it is possible, but how?

i hope you can help my with this, greets

jaapi,

If you are using Unity’s own server solution then I think you have to code that in. If you are using a 3rd party server like ElectroServer, then the ability to login is already provided. However, in most 3rd party servers there still isn’t any database hooked up. So you’d use the server-side event handlers to capture login attempts and then validate it against a database.

Hope that helps.

oke, but how do i make a script that the username and password send to the server and that the sarver it save on the hdd(harddrive)

there are lots of ways but seeing you want to ‘save on the hdd(harddrive)’ you might want to read about the client/server model in general if you are aiming towards multiplayer.