Ozmozian
|
  |
| Joined: 26 Mar 2016 |
| Total Posts: 358 |
|
|
| 01 Jun 2016 10:09 PM |
I am making a IP ban system, but I used this guy's script, and all it does is print "ServerReplicator"
while true do wait(1) g = game.NetworkServer:GetChildren() for i = 1,#g do print(g[i].Name) -- g[i].Name is the ip... this is good for banning people by ip. end end
#code print("I am cool") |
|
|
| Report Abuse |
|
|
2eggnog
|
  |
| Joined: 08 Nov 2008 |
| Total Posts: 1351 |
|
|
| 01 Jun 2016 10:11 PM |
You can't. It used to be possible several years ago, but Roblox patched it.
|
|
|
| Report Abuse |
|
|
Kodran
|
  |
| Joined: 15 Aug 2013 |
| Total Posts: 5330 |
|
|
| 01 Jun 2016 10:11 PM |
http://wiki.roblox.com/index.php?title=API:Class/NetworkReplicator/MachineAddress
"This member cannot be used in scripts, but is usable in the command bar."
I feel like giving out everyone's IP would be a bad idea by roblox. |
|
|
| Report Abuse |
|
|
Ozmozian
|
  |
| Joined: 26 Mar 2016 |
| Total Posts: 358 |
|
|
| 01 Jun 2016 10:12 PM |
Is it possible to IP ban someone though?
#code print("I am cool") |
|
|
| Report Abuse |
|
|
2eggnog
|
  |
| Joined: 08 Nov 2008 |
| Total Posts: 1351 |
|
| |
|
Refactor
|
  |
| Joined: 20 Apr 2014 |
| Total Posts: 487 |
|
|
| 01 Jun 2016 10:15 PM |
> Is it possible to IP ban someone though? no |
|
|
| Report Abuse |
|
|
TGazza
|
  |
| Joined: 16 Jan 2008 |
| Total Posts: 242 |
|
|
| 01 Jun 2016 10:52 PM |
yeah its not possible through IP but there is a simular property found on each player called UserId
EG: g = game.Players:GetChildren() for Index,Player in pairs(g) do print(Index, Player.Name,Player.UserId) end
Perhaps you could use that as a work around. According to the wiki: http://wiki.roblox.com/index.php?title=API:Class/Player/UserId The userId property is unique to each character.
That would mean you could ban characters but not if the offending player had another account on the same computer and uses that one Which would mean you would have to ban that other character too
hope this helps :) |
|
|
| Report Abuse |
|
|