GDevelop-extensions icon indicating copy to clipboard operation
GDevelop-extensions copied to clipboard

IP Retriever

Open ReaverZx opened this issue 4 months ago • 17 comments

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

  • [x] I've followed all of the best practices.
  • [x] I confirm that this extension can be integrated to this GitHub repository, distributed and MIT licensed.
  • [x] 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

ReaverZx avatar Aug 23 '25 22:08 ReaverZx

👋 Hey @ReaverZx, thanks for your submission! We are sorry, but the filename of the extension has unrecognized characters. Since filenames with non latin characters ("ASCII") can cause issues, our system won't allow file names with other characters than latin upper- and lowercase characters or numbers. Additionally, the first character must be an uppercase character. Please update your original submission post with a new zip file containing your extension with another file name following those guidelines 🙏

github-actions[bot] avatar Aug 23 '25 22:08 github-actions[bot]

I hope this gets approved 💯 !!!

ghost avatar Aug 23 '25 22:08 ghost

👋 Hey @ReaverZx, thanks for your submission! We are sorry, but the filename of the extension has unrecognized characters. Since filenames with non latin characters ("ASCII") can cause issues, our system won't allow file names with other characters than latin upper- and lowercase characters or numbers. Additionally, the first character must be an uppercase character. Please update your original submission post with a new zip file containing your extension with another file name following those guidelines 🙏

github-actions[bot] avatar Aug 23 '25 22:08 github-actions[bot]

👋 Hey @ReaverZx, thanks for your submission! We are sorry, but the filename of the extension has unrecognized characters. Since filenames with non latin characters ("ASCII") can cause issues, our system won't allow file names with other characters than latin upper- and lowercase characters or numbers. Additionally, the first character must be an uppercase character. Please update your original submission post with a new zip file containing your extension with another file name following those guidelines 🙏

github-actions[bot] avatar Aug 23 '25 22:08 github-actions[bot]

👋 Hey @ReaverZx, thanks for your submission! We are sorry, but the filename of the extension has unrecognized characters. Since filenames with non latin characters ("ASCII") can cause issues, our system won't allow file names with other characters than latin upper- and lowercase characters or numbers. Additionally, the first character must be an uppercase character. Please update your original submission post with a new zip file containing your extension with another file name following those guidelines 🙏

github-actions[bot] avatar Aug 23 '25 22:08 github-actions[bot]

👋 Hey @ReaverZx, thanks for your submission! We are sorry, but the filename of the extension has unrecognized characters. Since filenames with non latin characters ("ASCII") can cause issues, our system won't allow file names with other characters than latin upper- and lowercase characters or numbers. Additionally, the first character must be an uppercase character. Please update your original submission post with a new zip file containing your extension with another file name following those guidelines 🙏

github-actions[bot] avatar Aug 24 '25 09:08 github-actions[bot]

👋 Hey @ReaverZx, thanks for your submission! We are sorry, but the filename of the extension has unrecognized characters. Since filenames with non latin characters ("ASCII") can cause issues, our system won't allow file names with other characters than latin upper- and lowercase characters or numbers. Additionally, the first character must be an uppercase character. Please update your original submission post with a new zip file containing your extension with another file name following those guidelines 🙏

github-actions[bot] avatar Aug 24 '25 09:08 github-actions[bot]

👋 Hey @ReaverZx, thanks for your submission! We are sorry, but the filename of the extension has unrecognized characters. Since filenames with non latin characters ("ASCII") can cause issues, our system won't allow file names with other characters than latin upper- and lowercase characters or numbers. Additionally, the first character must be an uppercase character. Please update your original submission post with a new zip file containing your extension with another file name following those guidelines 🙏

github-actions[bot] avatar Aug 24 '25 09:08 github-actions[bot]

👋 Hey @ReaverZx, thanks for your submission! We are sorry, but the filename of the extension has unrecognized characters. Since filenames with non latin characters ("ASCII") can cause issues, our system won't allow file names with other characters than latin upper- and lowercase characters or numbers. Additionally, the first character must be an uppercase character. Please update your original submission post with a new zip file containing your extension with another file name following those guidelines 🙏

github-actions[bot] avatar Aug 24 '25 09:08 github-actions[bot]

👋 Hey @ReaverZx, thanks for your submission! We are sorry, but the filename of the extension has unrecognized characters. Since filenames with non latin characters ("ASCII") can cause issues, our system won't allow file names with other characters than latin upper- and lowercase characters or numbers. Additionally, the first character must be an uppercase character. Please update your original submission post with a new zip file containing your extension with another file name following those guidelines 🙏

github-actions[bot] avatar Aug 24 '25 09:08 github-actions[bot]

👋 Hey @ReaverZx, thanks for your submission! We are sorry, but the filename of the extension has unrecognized characters. Since filenames with non latin characters ("ASCII") can cause issues, our system won't allow file names with other characters than latin upper- and lowercase characters or numbers. Additionally, the first character must be an uppercase character. Please update your original submission post with a new zip file containing your extension with another file name following those guidelines 🙏

github-actions[bot] avatar Aug 24 '25 09:08 github-actions[bot]

👋 Hey @ReaverZx, thanks for your submission! We are sorry, but the filename of the extension has unrecognized characters. Since filenames with non latin characters ("ASCII") can cause issues, our system won't allow file names with other characters than latin upper- and lowercase characters or numbers. Additionally, the first character must be an uppercase character. Please update your original submission post with a new zip file containing your extension with another file name following those guidelines 🙏

github-actions[bot] avatar Aug 24 '25 09:08 github-actions[bot]

👋 Hey @ReaverZx, thanks for your submission! We are sorry, but the filename of the extension has unrecognized characters. Since filenames with non latin characters ("ASCII") can cause issues, our system won't allow file names with other characters than latin upper- and lowercase characters or numbers. Additionally, the first character must be an uppercase character. Please update your original submission post with a new zip file containing your extension with another file name following those guidelines 🙏

github-actions[bot] avatar Aug 24 '25 09:08 github-actions[bot]

👋 Hey @ReaverZx, thanks for your submission! We are sorry, but the filename of the extension has unrecognized characters. Since filenames with non latin characters ("ASCII") can cause issues, our system won't allow file names with other characters than latin upper- and lowercase characters or numbers. Additionally, the first character must be an uppercase character. Please update your original submission post with a new zip file containing your extension with another file name following those guidelines 🙏

github-actions[bot] avatar Aug 24 '25 09:08 github-actions[bot]

👋 Hey @ReaverZx, thanks for your submission! We are sorry, but the filename of the extension has unrecognized characters. Since filenames with non latin characters ("ASCII") can cause issues, our system won't allow file names with other characters than latin upper- and lowercase characters or numbers. Additionally, the first character must be an uppercase character. Please update your original submission post with a new zip file containing your extension with another file name following those guidelines 🙏

github-actions[bot] avatar Aug 24 '25 09:08 github-actions[bot]

👋 Hey ReaverZx, thanks for your submission! Unfortunately, all submitted extensions have to meet some minimal quality standard - the extension best practices - and our system has found that your extension does not fully comply 😔. You can find all of those rules on the GDevelop wiki.

The following issues have been found by the system concerning the respect of those best practices by your extension:

  ⟶ ❌ [Filled out names and descriptions]: Required field 'sentence' of the function 'HasFailed' is not filled out!
  ⟶ ❌ [Filled out names and descriptions]: Required field 'sentence' of the function 'IsReady' is not filled out!
  ⟶ ❌ [Extension name consistency]: Extension filename should be exactly the name of the extension (with .json extension). Please rename 'IPRetrieverExtension.json' to 'IPRetriever.json'.

Please update your original submission post with a new zip file containing your extensions updated to follow those guidelines 🙏

github-actions[bot] avatar Aug 24 '25 10:08 github-actions[bot]

It's good btw I have suggestion. You can try reading it and making the output say the country and exc

CreatorADOfficial avatar Aug 26 '25 09:08 CreatorADOfficial