MovingBlocks / Terasology

Terasology - open source voxel world
http://terasology.org
Apache License 2.0
3.68k stars 1.34k forks source link

UI to create new multiplayer identity #4145

Open keturn opened 4 years ago

keturn commented 4 years ago

Use Case

As a developer, I want to join a multiplayer server as a new user, as if I were joining it for the first time. Even though I had previously logged in to it with this client.

I tried changing my "Player Name" in the player settings. That changed the way my name displays, but still connects me to my previous character.

Discussion

This can be done by removing the security.clientIdentities list from config.cfg. It looks as if there may be a way to be more selective about it and change your identity with a specific server without resetting your identity for all servers.

It's possible that there are non-debugging reasons why a player would want to do this, but I think the UI for that deserves a lot of careful consideration. It's important to make sure that a player doesn't lose access to their existing identity unless they really want to. That's why I recommend hiding this behind some sort of "advanced" or "debug mode" interface.

kevinmody commented 2 years ago

hey guys I like to be part of this pull request. How can I help? It sounds very interesting what you are working on

Cervator commented 2 years ago

This particular issue is pretty good, just need to make sure you can both run a game server and a client at the same time, then see how if you log back on repeatedly with the client you should get the same player :-)

The NUI tutorial then should help with the UI pieces and you can try digging around in the settings menu to see how it affects the config state that eventually gets saved into config.cfg

npetronio1 commented 2 years ago

Hey there, I would like to work on this issue. Can this please be assigned to me? Thank you!

jdrueckert commented 2 years ago

Hi @npetronio1 You don't need to be assigned to this issue to start working on it 😉 Just fork this repo, create some first changes, open a draft PR and mention this issue in it, then it will be automatically linked to it. Also, the earlier we see changes, the earlier we can give you feedback on whether you're heading the right direction 🤓

Please also note, that if you don't have a lot of programming experience yet, this list of good first issues is likely an easier start. If you have general questions unrelated to a specific issue or PR change, I'd further recommend joining our Discord Server to get more timely responses.