This script shows your statistics on your Discord server, to a specific channel using a webhook. Make a Pull Request if you want anything else added!
Boredom. Just trying to get my server stats to show on my Discord.
- Sync Profiles with Steam & Discord: Users and staff can easily log in and link their profiles using Steam and/or Discord. You have full control over which linked social profiles appear on your page.
- API Integration: Display relevant social data via API calls to Steam and Discord.
- Track player performance with HLStatsX compatible tracking
- Allow users to show their stats on their profile along side their Steam and Discord informaiton
- Allow users to embed a HTML display of their stats link anywhere embedding is allowed, such as forum signatures!
- Multi-Game Ban Support: Easily manage bans and unbans across a variety of popular gaming platforms, including:
- Source Engine Games/Mods (e.g., Counter-Strike, TF2)
- GoldSrc Engine Games/Mods (e.g., Half-Life, Day of Defeat)
- Minecraft server integration for various platforms (Spigot, CraftBukkit, Forge)
- Make your own support! Your game isn't supported? Use the API to code your own plugin to interface with the website
- Advanced Ban Features: Import SourceBans, AMXBansX, and more!
- Track User Engagement: Staff can access detailed analytics about user activities on the site, such as:
- Visitor statistics
- Ban and donation data
- Audit logs for transparency
- Google Analytics and Google Tag Manager are supported, just follow the instructions!
- Only users with the correct permissions can set/see Analytics API information
- Track how users view your site
- And more…
- Support for Donations: Easily manage donation packages and payment processing.
- Stripe: Process payments with debit/credit cards via Stripe (Card Brands Supported)
- PayPal: Users can donate through PayPal with a quick login process.
- Subscription or One-Time Payments: Offer recurring packages with clear labeling for both subscriptions and one-time payments.
- Reward User Activity: Enable a toggleable gamification system to incentivize user participation.
- Level Up: Sync users’ level progression with Discord and/or game servers.
- Custom Rewards: Create personalized rewards for active users, such as badges, experience bonuses, and stickers.
-
Install bc, jq, and curl with whatever package manager you use, for example:
sudo apt update && sudo apt install curl bc jq -y -
Put the server_status.sh file somewhere.
-
Allow the file to be executed
chmod +x server_status.sh -
Make a Webhook in Discord for a server, in a channel that you have access to making Webhooks for:

-
Manually execute it by running
./server_status.shorsh server_status.sh -
(Optional) You can also crontab to make this run automatically!
- (Optional) Run
crontab -e - Add
*/5 * * * * /bin/bash /path/to/server_status.sh- You can also change the time, if you know how to use Crontab. (Assuming you have man instlalled, use
man crontabfor documentation. If not, use your package manager to installman) - You can use a Crontab calculator like Crontab Guru if you need help with times.
- You can also change the time, if you know how to use Crontab. (Assuming you have man instlalled, use
- Coming Soon: A detailed installation guide will be available in the wiki and TROUBLESHOOTING.md.
- See SECURITY.md for vulnerability reporting. All other reports of minor bugs can be reported normally.
All files on this Github are licensed as described in LICENSE.md.
