UserRegister System v1.0
-This plugin simulate "Forum mod" in game.
-When a new player comes on server he/she must register first with amx_register.
-Player is warned with HUD and chat messages ; to register/login.
-When a registerd player enter on server he/she must login with amx_login.
-Players can change their passwords in game with amx_changepassword, once per map.
-You can choose of 3 mods of register : 1[Name] 2[Ip] 3[SteamID].
-Plugin use file to store acconts with "Name/Ip/Steamid" "password",and register date(
date when player was register).
-Player can register once with that name/ip/steamid.
-Useful for normal server to manage players / no name steal, and for private servers.
-Plugin have
ML system.
-Password len management.
-If player introduce (
Default) incorrect passwords he is kicked.
-Name changing is not allowed.
amx_register <mod: 1(name) 2(Ip) 3(Steamid)> <password> - register a player in db.
amx_login <password> - login with you'r saved password.
amx_changepassword <old password> <new password> - Change sotred password with new one.(Only once per map).
Code:
#define PASSWORD_MIN_LEN 6 - Minim len of password
#define MAX_LOGIN_ATTEMPTS 3 - Maxim login attempts with wrong password
#define STORE_REGISTER_DATE - Comment this line if you don't want to store "register date"
v1.0 - First releasestupok69
http://forums.alliedmods.net/showthread.php?t=59598 - ML translations