Raised This Month: $51 Target: $400
 12% 

UserRegister System


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Server Management       
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 - 7438 views - 8.3 KB)
File Type: txt userregister_system.txt (6.3 KB, 4409 views)

Last edited by Alka; 08-22-2007 at 10:39.
Alka is offline
Emp`
AMX Mod X Plugin Approver
Join Date: Aug 2005
Location: Decapod 10
Old 08-17-2007 , 03:16   Re: UserRegister System
Reply With Quote #2

will give you 10 minutes to edit before trashed.
Emp` is offline
Send a message via AIM to Emp` Send a message via MSN to Emp` Send a message via Yahoo to Emp` Send a message via Skype™ to Emp`
X-Script
BANNED
Join Date: Jul 2007
Location: (#504434)
Old 08-17-2007 , 04:16   Re: UserRegister System
Reply With Quote #3

Sexy.
+karma.
X-Script is offline
vvg125
AMX Mod X Beta Tester
Join Date: Dec 2006
Location: Queens (Douglaston), New
Old 08-17-2007 , 05:14   Re: UserRegister System
Reply With Quote #4

Awesome plugin. I'm just throwing this in as a quick fix for some grammar and spelling errors in the English section of the lang file..


Code:
[en]
ERROR_DB = [URS]Error:Couldn't find %s! Database error ; Creating a new db.
LOGIN_ADV_HUD = [URS]You have 10 seconds to log in!
LOGIN_ADV_CHAT = [URS]You have 10 seconds to log in with your saved password!  Type amx_login <password>
REGISTER_ADV_HUD = [URS]You have 15 seconds to register!
REGISTER_ADV_CHAT = [URS]You have 15 seconds to register on the server!  Type amx_register <mod> <password>
ACCOUNT_EXISTS = [URS]Sorry but an account with those details exists already! Please try again with other name / password!
PASSWORD_LEN = [URS]Sorry but the password must have at least %d characters!
REGISTER_OK = [URS]Thank you for registering! Password: ^"%s^"
ALREADY_LOGEDIN = [URS]You already logged in!
PASSWORD_INVALID = [URS]Sorry but your password is invalid! Please try again. [%d/%d attempts]
LOGIN_OK = [URS]Thank you for logging in! Password accepted
PASSWORD_WAIT_TIME = [URS]Sorry but you have changed your password once!  Wait until next map.
PASSWORD_NOMATCH = [URS]Sorry but your old password does not match with your saved password!
PASSWORD_LEN#2 = [URS]Sorry but the new password must have at least %d characters!
PASSWORD_NEW = [URS]Your new password is: ^"%s^"!
NO_NAME_CHANGE = [URS]Sorry but name change is not allowed!
__________________
vvg125 is offline
Send a message via AIM to vvg125 Send a message via MSN to vvg125 Send a message via Yahoo to vvg125
loren28
Senior Member
Join Date: Nov 2006
Old 08-17-2007 , 06:03   Re: UserRegister System
Reply With Quote #5

Nice Alka.but if a player forget the password?please put a remember option for player that forghet passord.
loren28 is offline
Alka
AMX Mod X Plugin Approver
Join Date: Dec 2006
Location: malloc(null)
Old 08-17-2007 , 06:05   Re: UserRegister System
Reply With Quote #6

@vvg - LuLz! Thx. =] (was tired last night! :S)
@loren - If i add that option any player could enter with that name and type (e.g /forgotpass) and show him the password!
*Just contact an admin.

Last edited by Alka; 08-17-2007 at 06:14.
Alka is offline
Stewieg
Member
Join Date: Dec 2006
Location: Liepaja
Old 08-25-2007 , 03:44   Re: UserRegister System
Reply With Quote #7

Very useful plugin. But i'm wondering, can i config it so, that it won't be obligitary to register name? Cab you make it, that players can choose to register name, or don't register name?
Stewieg is offline
Send a message via Skype™ to Stewieg
Alka
AMX Mod X Plugin Approver
Join Date: Dec 2006
Location: malloc(null)
Old 08-25-2007 , 06:29   Re: UserRegister System
Reply With Quote #8

Players can choose from register by : Name / IP / Steam ID...so if you register by IP the name won't be registerd!
__________________
Still...lovin' . Connor noob! Hello
Alka is offline
Simon10362
Junior Member
Join Date: Aug 2007
Location: Estonia
Old 08-26-2007 , 13:53   Re: UserRegister System
Reply With Quote #9

SUPERHOT
Ive always been looking for this, tough I never have suggested it...
I think its a very useful plugin
+KARMA
__________________
WHO AM I??
Simon10362 is offline
Send a message via MSN to Simon10362
Battousai-sama
Veteran Member
Join Date: Jul 2007
Old 08-26-2007 , 14:21   Re: UserRegister System
Reply With Quote #10

Superb!!!!!!
but can u make it register IP and ID only?
so then u can add /forgotpass.
cuz people might wana change name all the time.
__________________
Battousai-sama is offline
Send a message via MSN to Battousai-sama
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 03:22.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode