open.mp forum
[Library] [MySQL R41-4] IP Logger (dialogs) - Printable Version

+ open.mp forum (https://forum.open.mp)
-- Forum: SA-MP (https://forum.open.mp/forumdisplay.php?fid=3)
--- Forum: Releases (https://forum.open.mp/forumdisplay.php?fid=13)
---- Forum: Libraries (https://forum.open.mp/forumdisplay.php?fid=31)
---- Thread: [Library] [MySQL R41-4] IP Logger (dialogs) (/showthread.php?tid=443)



[MySQL R41-4] IP Logger (dialogs) - Toretto - 2019-04-23

samp-ip-logger



[Image: sampctl-samp--ip--logger-2f2f2f.svg?style=for-the-badge]



What this library?does is basic:?every time someone connects to the server, when he disconnects, even if he doesn?t register, it saves: The username, the IP, the date and exact time he connected, and disconnected. So four fields. How can this be useful? Well, an example is: You can detect multi-accounts. (manually ofc, I can release an automated one if requested.)



Installation



Simply install to your project:



Code:
sampctl package install itsToretto/samp-ip-logger



Include in your code and begin using the library:



PHP Code:
#include <iplogger> 



Testing



To test, simply run the package:



Code:
sampctl package run



Note:?there is a command in test.pwn that you will need to display dialogs, include it or copy it to your gamemode/the library itself.



Screenshots



[Image: jXYVl7z.png]



[Image: PqdXJwM.png]?

[Image: SvUqOyl.png]?

[Image: IYxj9fZ.png]





Dependencies





RE: [MySQL R41-4] IP Logger (dialogs) - Gravityfalls - 2019-04-23

AmAzInG.