Skip to content

Jeroenimo02/Discord-Webhook-IP-Logger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 

Repository files navigation

Discord-Webhook-IP-Logger

This is a IP logger I made that sends the IP of the visitor of a website to Discord as an embed message.

Note 10-07-2023: I am currently working on a V2 version of the IP logger. To follow the updates Join the Discord!

Preview:

Example picture

Features

  • Grabs the IP of all page visitors (except for bots/crawlers).
  • Gets some basic information about the visitor's IP and browser.
  • Checks if the IP is a VPN (Not always 100% correct).
  • Gets the Geo Location of the visitor and also gives a Google Maps link.

The Setup

Step 1: Go into the settings of your Discord server, where you want the embeds to come trough.
Step 2: Click the 'Webhooks' tab and create a webhook for the channel of choice.
Step 3: After the webhook is created, copy the webhook link.
Step 4: Set the webhook url in Discord.php to the one you just copied.
Step 5: Copy the code of the index.php and paste is somewhere in your code.
The code will automatically run when the page loads.

Enjoy!

Help

If you need help with something you can always ask it in the Discord.
Join the Discord: https://discord.gg/JXRTSTyXrt

ko-fi