sjdodge123 / spaceroyale.io

Multiplayer Javacsript IO game
Apache License 2.0
2 stars 0 forks source link

Create Blocked_IP table #18

Open sjdodge123 opened 7 years ago

sjdodge123 commented 7 years ago

-When receiving a new connection compare against blocked_IP table server.on('connection', function (sock) { console.log(sock.remoteAddress); // Put your logic for what to do next based on that remote address here }); -if blocked client do not allow any action server side from that IP