Saving players ip (Custom ban system)
#6

Your entire idea is correct and I’ll further guide you.

I think you should a timer when the player connects to load their stats right? Since you’re using Y_ini data should be stored into files, you should then create a separate file by the name Bans and store players name, ip, ban date etc. when they connect and data is being loaded you should check if they were any records in the ban file to match the current connecting player. Functions like Strcmp would be great in checking IPs.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)