I’d like to introduce you to a new Vietcong server plugin called VcLogin. It’s an addon for VcGuard (requires at least version 10.3, mainly tested on 12.1 beta) that adds a user account system to Vietcong servers. Players register with the command /register <password> and then log in using /login <password>. Until they log in, they can’t play, which helps protect their nicknames from being stolen by requiring each player to secure their nick with a personal password.
The plugin also supports /autologin - if a player connects with the same IP address and nickname, they’ll be logged in automatically without needing to enter their password. If autologin is enabled, the player’s details like IP and nickname are updated automatically after logging in, keeping everything current.
Every time a password is changed, the recovery code is reset for extra security. The recovery code lets players reset their password, but they only get 3 attempts to enter it correctly - after that, they get kicked from the server. The same goes for login attempts with the password, with a configurable limit to prevent brute force attacks.
VcLogin can temporarily block new registrations if problematic players appear on the server, making admin management easier. It also includes a chat cooldown to prevent spam - players can only send one message per set time interval.
Even though the Vietcong community is small, I decided to create this tool - maybe someone will find it useful, maybe not, but if it’s gonna be used, it should work well.
If you run into any issues or have questions, please let me know here in the thread or via private message so we can sort it out as quickly as possible.
EDIT:
Allright, v2.2 released
- Guestmode added, now only registered players must login, if is guestmode enabled, so we no need to force players to registrations and only admins can use that to protect their nicknames
- Added admin commands to the vcguard console, so you can use them without being in the game