View Single Post
Plugin Info:     Modification:          Category:         
Alka
AMX Mod X Plugin Approver
Join Date: Dec 2006
Location: malloc(null)
Old 08-17-2007 , 03:03   UserRegister System
Reply With Quote #1

UserRegister System v1.0
  • Description
-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.
  • Commands
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).
  • Notes
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"
  • Changelog
v1.0 - First release
  • Credits
stupok69
http://forums.alliedmods.net/showthread.php?t=59598 - ML translations
Attached Files
File Type: sma Get Plugin or Get Source (userregister_system.sma - 7480 views - 8.3 KB)
File Type: txt userregister_system.txt (6.3 KB, 4444 views)

Last edited by Alka; 08-22-2007 at 10:39.
Alka is offline