General > Developers Corner

Working MySQL User Authentication with Global Ban support

<< < (4/5) > >>

MrPresident:
**Something fun I did with this module on my website.**

Just showcasing this.. this would be too much trouble to release as it would not work unless you had your website and groups set up exactly like mine.. which is unlikely

Also.. it's still VERY MUCH a work in progress...

**OLD LINK DEAD***




--- Quote from: gameguysz on February 25, 2011, 12:29:06 AM ---
Kinda, btw thanks for helping me i know it can get annoying


So what your saying is, ill have those same variables but at the bottom ill add something like this

GCcash: ply.gccash


and lets say in a completely different folder like im making a derma menu what would that command be to take out a certain amount? And would i also need to connect to the database again? Its stuff like this that confuses me XD

--- End quote ---

Yeah, none of this is supported by my module. You'd have to write your own to start working with new tables and stuff. Mine only handles saving and loading player groups and bans. If you want save more info to the same database tables you can, but you'd have to either modify my script to read it or make your own to run along side of mine.

gameguysz:
Well what im worried about is reading the database for groups. So if i just do that Group: ply.group thing it should work right?


like if ply:group == vip or something like that?

PS:Your site.. Awesome haha
I just started mine today XD

http://gamecrazedservers.ugs1.net/

MrPresident:
it auths them the same way that ULib does.

Using something like.. ply:GetUserGroup() == "vip" would work.


But yes..  ply:group == "vip" would work too.

gameguysz:

--- Quote from: MrPresident on February 25, 2011, 12:45:01 AM ---it auths them the same way that ULib does.

Using something like.. ply:GetUserGroup() == "vip" would work.


But yes..  ply:group == "vip" would work too.

--- End quote ---

well not literally did i mean that XD but you answered my question! :D Thank  you!!!!!!

Aaron113:
Your link to the module is a bit screwed up.  May want to fix that.

Anyway, I may use this.  Could come in handy and saves me a lot of work.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version