Authentification plugin
#5
(02-26-2011, 12:17 AM)Jockie Wrote: Well, I can, but it's not possible to disallow a player that connects.. yet.. (I hope)
Yes it is Smile
Use the E_PLUGIN_LOGIN hook and the OnLogin( cPacket_Login ) function. Return true to kick the player.

(02-26-2011, 12:17 AM)Jockie Wrote: Player:BanPlayer/Player:KickPlayer should be installed. :p
Yes it should, lol. Better make this my top priority then.

(02-26-2011, 12:17 AM)Jockie Wrote: EDIT: Btw.. If you want it non-MySQL, it would be usefull to install a word compiler, like MD5, else you could see everyone's pass.
LUA doesn't normally have MD5 installed.
But you should also need then a XML parser... For saving on a save way. :/
I already have a md5 hasher for MCServer, just not exposed to Lua yet. I don't see why you'd need an XML parser though, you could use the ini files.
Reply
Thanks given by:


Messages In This Thread
Authentification plugin - by Mastermind - 02-25-2011, 04:53 AM
RE: Authentification plugin - by Jockie - 02-25-2011, 06:05 AM
RE: Authentification plugin - by Mastermind - 02-25-2011, 06:51 AM
RE: Authentification plugin - by Jockie - 02-26-2011, 12:17 AM
RE: Authentification plugin - by FakeTruth - 02-26-2011, 09:59 AM
RE: Authentification plugin - by Tim - 03-01-2011, 11:54 PM
RE: Authentification plugin - by Jockie - 02-26-2011, 09:27 PM
RE: Authentification plugin - by Tybor - 02-27-2011, 03:46 AM
RE: Authentification plugin - by FakeTruth - 02-27-2011, 06:37 AM
RE: Authentification plugin - by FakeTruth - 03-02-2011, 05:48 AM
RE: Authentification plugin - by Boo - 05-24-2011, 07:20 PM
RE: Authentification plugin - by FakeTruth - 05-25-2011, 12:25 AM
RE: Authentification plugin - by Boo - 05-25-2011, 08:39 AM
RE: Authentification plugin - by FakeTruth - 05-25-2011, 08:17 PM
RE: Authentification plugin - by Boo - 05-25-2011, 09:55 PM
RE: Authentification plugin - by FakeTruth - 05-26-2011, 03:48 AM
RE: Authentification plugin - by Boo - 05-26-2011, 02:34 PM
RE: Authentification plugin - by Zehir - 06-01-2011, 06:14 AM



Users browsing this thread: 6 Guest(s)