"> "> ">
To make proper use of the Server IP section, please change play.yourserver.net
to your server IP at the top of the layout.html
file (inside the <head> tag). Note that you can also add your Discord invitation link here.
<!-- config -->
<script>
const server_ip = "play.hypixel.net";
const discord_invite_link = "#";
</script>
<!-- config -->
This will then automatically change the ip and player count of your server. Below is a snippet of the code.
<button class="gdp-serverip" onclick="copyIp()">
<p>JOIN <span data-playercounter-ip="play.yourserver.net">0</span> ONLINE PLAYERS</p>
<a href="#" id="serverIP" data-clipboard="play.yourserver.net">PLAY.YOURSERVER.NET</a>
<div class="gdp-tooltip" id="serverIPTooltip">IP COPIED</div>
</button>