Recently, I've been seeing a lot of scripts here where the passwords are unencrypted, or where scripters and server owners would rather be able to see their players' passwords.
This is dangerous, and for many reasons.
Don't register an account on servers you don't know well (Thanks, NC). If the admins do happen to be abusive or bad scripters, you could end up being hacked or impersonated.
- Commands to view passwords can be exploited.
If something like /c getpassword is scripted improperly, this could lead to users being able to see anyone's passwords, regardless of whether or not they're an admin. If an admin system isn't scripted properly, they can use /c getpassword. If someone has physical access to an admin's computer, they can use /c getpassword.
In any of these scenarios, you open yourself up to a situation where people who aren't admins, or even
malicious admins, can see anyone's and everyone's passwords -- including
yours. A lot of VC:MP players use the same password on servers they play on, which opens your players up to being hacked because of your script.
- It reduces the credibility of you and your scripts
If players find out that admins are able to see their passwords, or that their passwords are stored plaintext, they might want their accounts deleted from the server, or have their passwords changed (which will lead us to my next point). It also lowers your credibility, because the more technologically literate users will know that they could be hacked because of the scripts you used.
- A command to change passwords would be a better replacement.
Have you ever seen a forum where when you want to reset your password, they RESET your password instead of emailing it to you? Try it out on this forum; it never tells you the password you used, it just lets you change it after some confirmation.
Likewise, on a VC:MP server, it's much more practical (and
secure) to use a command to change passwords instead of viewing them, because, like in point one, being able to view people's passwords could lead to people hacking your server or other users, and would also lead to (point #2) your reputation as a scripted being reduced.