Articles on: Physgun Services

How to setup your playercount discord bot

🧮 How to setup your playercountbot for your discord server!



Physgun provides a completely free, real-time discord player count bot for your discord. It supports over 30+ games such as Rust, Minecraft, Garry's Mod and really any other game that supports A2S Querying! If you are unfamiliar with playercountbot check it out here: https://playercountbot.com - it's completely free!

🤖 Creating your discord bot


You will need to create a discord bot using the Developer Portal, and we're here to help you through that process!

Head over to the Developer Portal on Discord
At the top click New Application
Give your bot a Name, and Select a team, Personal is fine - then click Create
This name will be visible publicly on the bot
You can setup a profile picture later in the settings
Nice! Now continue on down the guide to complete the setup.

🔗 Creating your bot on playercountbot.com & linking it to your discord application


This part is extremely easy and simple, this is also where you can configure your scrolling status messages and templates!

Visit https://playercountbot.com then click Login to discord ->
Click the Create
Enter in the Server Information then click Next
Fill out the Query Setup
For Minecraft: Your Query IP & Port are likely the same as your current IP & Port you entered earlier. If you are using TCPShield/Other protection use the connect hostname instead. (e.g. play.mymcserver.com)
For Rust: To show joining players you must use the Rust RCON method.
Click Next
Head over to the Developer Portal on Discord and click on the OAuth2 tab
Click Copy under the CLIENT ID on the OAuth2 Discord page
Copying the Client ID from Discord
Head back to your playercountbot setup, and paste in the CLIENT ID to the Bot Client ID input.
Pasting Discord Client ID into playercountbot
Go back to Discord, then click on the Bot tab
Under TOKEN click Reset Token - this is necessary to get your token, NEVER share this token with anyone.
This step is always required when creating a new bot, we know, it's convoluted, blame discord.
Resetting the Discord Token to obtain a new one
Once you have your token click Copy
Copying the Discord Bot Token
Now head back to playercountbot, and paste the TOKEN into the Bot Token input
Finally, click Create then you're done!

To invite the bot to your server, simply click the Invite button at the top right in playercountbot!

TIP: If you want to give your discord bot a profile picture, head to the Bot tab in the Developer Portal and you can change the icon & banner freely.

Updated on: 08/05/2025

Was this article helpful?

Share your feedback

Cancel

Thank you!