Am I allowed to assign players IPv4-style addresses in-game?

I’m making a game where players create their own websites and are each assigned a unique IPv4 address for their website. One of the issues is that players might attempt to visit sites irl that are affiliated with the IPv4s they see in-game. I can include a warning in-game, but my concern is that I’ll be breaking Roblox’s ToS just by showing IP addresses that may actually exist.

A few clarifications:

  • I already know how to generate the addresses, I just want to know if I’m allowed to.
  • I’m not gonna assign addresses that are in any of the reserved or private address ranges (e.g. 192.168.x.x, 172.16.x.x, 10.x.x.x, 127.x.x.x, 224.x.x.x, 240.x.x.x, etc.). I want the IPv4s to be taken from the public address space so they look realistic and are plentiful (yes, I’m aware IPv6 exists). I also want to avoid pulling from those ranges since I may need to use them for their intended purposes later on.

Probably not a great idea. Maybe you should let them pick a domain name and pretend you’re using DNS? CatWeb or whatever it’s called seems to do that, so I think that’s the best solution. A lot of people associate IP addresses with something that’s dangerous to share, so they might get scared seeing an IP and think it’s theirs. The average Roblox user isn’t smart enough to know what an IP address is!

Well yeah It’s definitely possible to do it. However I believe that this is in a bit of a gray area since Roblox might flag it as “Personal Information”. What you could do is make a “DNS” system that does not need for you to show the IPv4. So, instead of having to type an entire IP address, you could simply type along the lines of www.XXX.rblx. However, If IP address is a requirement then you would have to comb through Roblox’s ToS.

I was considering a DNS system where users can choose their own domain name which would be tied to their website’s IPv4 address. This essentially makes the IP address serve as an identifier while allowing the domain name to be changed so the player isn’t forever stuck with it.

game:GetService(“HttpService”):GenerateGuid(false) or something idk I’m on my phone. Gives you a guid you can use—better than IPv4 because there’s more possible values

I find that less problematic than

Comparing 128.116.115.3 to roblox.com, I think there’s a big difference in “is this a thing i can type in my browser’s omnibox”

I think if you have a clear disclaimer, it will be fine. Like a full-screen one and one in the description. You could say that they are randomly generated.

Now, if you wanted to be really safe, you would just have numbers that exceed the range of 255.

I could just manually approve the domain names that people request and/or force all of the top level domains to be something like .roblox or .rblx (or something that isn’t recognized by ICANN). I think you might be getting somewhere with the IP address though, I could add 256 to all of the octets in an IP address (e.g. 372.290.421.364), though it would be confusing and look fake so I’d prefer not to.

This gives me an idea. There could be a setting that lets you disable the adding of 256 to the octets. The default setting could be to add 256. Users could have the option to display real IPs behind a setting.

If I’m giving players the option to disable the adding of 256 to the octets then I’m allowing them to see potentially real IPv4 addresses, which circles back to the main problem I originally addressed.

Yes, but it is also not the default option. It won’t directly mislead users off the platform unless they deliberately enable it.

If this is the case, you could have an integer setting that adds or subtracts values from the IP addresses. The default setting could be 256. The user would then be responsible for going to off-site websites because they are responsible for changing the value.

Here’s the issue, let’s assume that you aren’t supposed to let players see IPv4 addresses in-game. If you give players the option to manually adjust how much of the IP address is censored to the point where they can end up seeing an actual IPv4 address then you would get in trouble.

Now let’s assume that you are allowed to show players an IPv4 address, then you wouldn’t need the setting in the first place.

Well, according to the rules, if you’re not intending to direct users off-platform you should be okay, but imagine some random YouTuber joins and says “oh guys i set my ip as this and people can see i set my ip address to [insert adult website] this isnt ok”

So, yeah. To be on the safe side, you can use addresses after 256. Maybe a few whitelists (like addresses beginning with 169, 192, and 10) for simulating the intranet.