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!


  1. Head over to the Developer Portal on Discord
  2. At the top click New Application
  3. 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
  1. 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!


  1. Visit https://playercountbot.com then click Login to discord ->
  2. Click the Create
  3. Enter in the Server Information then click Next
  4. 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.
  1. Click Next
  2. Head over to the Developer Portal on Discord and click on the OAuth2 tab
  3. Click Copy under the CLIENT ID on the OAuth2 Discord page

Copying the Client ID from Discord

  1. Head back to your playercountbot setup, and paste in the CLIENT ID to the Bot Client ID input.

Pasting Discord Client ID into playercountbot

  1. Go back to Discord, then click on the Bot tab
  2. 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

  1. Once you have your token click Copy

Copying the Discord Bot Token

  1. Now head back to playercountbot, and paste the TOKEN into the Bot Token input
  2. 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!