Skip to content

IP Retriever #1813

@ReaverZx

Description

@ReaverZx

Description

Adds a way to get the user's IP address by sending a web request and extracting the result.

How to use the extension

This extension gets the user's public IP address via a web request to ipify.

⚠️ Important: Before storing any IP address in a database, it is strongly recommended to hash it. This helps protect user privacy and prevents unauthorized access to raw IP addresses. ⚠️

Instructions (how to use it)

Actions

  • Call IP_Adress::GetIP to fetch the IP.

Conditions

  • Use IP Adress is ready to check if the IP has been retrieved.
  • Use Failed to get the user's IP Adress to check if the action has failed.

Expressions

  • Use IP_Adress::Adress() to get the parsed IP as a string.
  • Use IP_Adress::Error() to get the error message if an error occurred.

Example:
When combined with a database system such as Firebase Realtime Database, this extension can be used to implement IP-based bans. This allows developers to prevent users from rejoining a multiplayer lobby after engaging in fraudulent or disruptive behavior, ensuring a safer and more secure gameplay environment.

Checklist

  • I've followed all of the best practices.
  • I confirm that this extension can be integrated to this GitHub repository, distributed and MIT licensed.
  • I am aware that the extension may be updated by anyone, and do not need my explicit consent to do so.

What tier of review do you aim for your extension?

Community (Unreviewed)

Example file

IPRetrieverExample.zip

Extension file

IPRetrieverExtension.zip

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions