[Under construction] Auth plugin
#5
Yes, for moment I have my crypt function Smile

PHP Code:
function AuthPluginCrypt(Password) return Password end

Found my first bug but I dont now how to solve it

PHP Code:
self:AddCommand("/changepass", " - [Old Password] [New Password] - Change pass", "auth.changepass") -- Commande pour changer de mot de pass (commun) self:AddCommand("/test", "", "auth.test") -- Commande pour tester self:AddCommand("/register", " - [Password] - Login with the password", "auth.register") -- Commande pour s'enregistrer (commun) self:BindCommand( "/changepass", "auth.changepass", HandleChangePassCommand ) -- Associe la commande /changepass a la fonction HandleChangePassCommand self:BindCommand( "/test", "auth.test", HandleTestCommand ) -- Associe la commande /test a la fonction HandleTestCommand self:BindCommand( "/register", "auth.register", HandleRegisterCommand ) -- Associe la commande /register a la fonction HandleRegisterCommand

Product this with /help 3


Auth
/changepass - [Old Password] [New Password] - Change pass
Auth
/test
/register - [Password] - Login with the password

An idea to fhix that?
Reply
Thanks given by:


Messages In This Thread
[Under construction] Auth plugin - by Zehir - 06-01-2011, 07:21 AM
RE: Auth plugin - by FakeTruth - 06-01-2011, 08:53 AM
RE: Auth plugin - by Zehir - 06-02-2011, 04:38 AM
RE: Auth plugin - by FakeTruth - 06-02-2011, 06:51 AM
RE: Auth plugin - by Zehir - 06-02-2011, 06:59 AM
RE: [Under construction] Auth plugin - by Zehir - 06-02-2011, 09:01 AM
RE: [Under construction] Auth plugin - by Zehir - 06-02-2011, 09:42 PM
RE: [Under construction] Auth plugin - by Zehir - 06-04-2011, 02:11 AM
RE: [Under construction] Auth plugin - by Zehir - 06-12-2011, 02:07 AM
RE: [Under construction] Auth plugin - by Tim - 08-16-2011, 06:57 PM



Users browsing this thread: 1 Guest(s)