-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with players having same names #48
Comments
It may not be useful for all people but some will use it. |
It's only useful for console I think where you can't see players heads on the map... |
Eventually they can be typed in console I imagine. |
Yes but there is another problem: some players can have the same name and when you would show or search by id it's not easy to remember who has which id at least when there are many players online. |
That can be fixed by kicking a player if someone is already using that name. That could easily be a simple script. With the way Cw is designed there's a lot of limitations. |
That would be ugly for players to get kicked only because they have the same name like someone else on the server. Not really nice... So better solution: change the name of the player when joining instead of throwing out of the game. This could be done by enumeration so when playerx joins the server and there already is a playerx, the playerx joining will get a namechange to playerx2. |
Okay implemented in my fork (also with using SQLite) with /register password (gives you an ID and stores the password in the database as blob sha224 hashed and salted). Then you can login with /login ID password |
Players can have the same name then someone that already is on the server.
The text was updated successfully, but these errors were encountered: