Skip to content

SelectandStart/vps-stats-checker

VPS/Dedicated Stats Checker

Table of Contents

Overview

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!

Why?

Boredom. Just trying to get my server stats to show on my Discord.

Screenshots

image

Features

Show CPU Usage

  • 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.

Show Disk Usage

  • 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!

Show Hardware

  • 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!

Show Network Usage

  • 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…

Show RAM Usage

  • 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.

Show Time and Date

  • 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.

Installation

Debian or other Linux Distros

  1. Install bc, jq, and curl with whatever package manager you use, for example: sudo apt update && sudo apt install curl bc jq -y

  2. Put the server_status.sh file somewhere.

  3. Allow the file to be executed chmod +x server_status.sh

  4. Make a Webhook in Discord for a server, in a channel that you have access to making Webhooks for: image

  5. Manually execute it by running ./server_status.sh or sh server_status.sh

  6. (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 crontab for documentation. If not, use your package manager to install man)
    • You can use a Crontab calculator like Crontab Guru if you need help with times.

Troubleshooting

  • Coming Soon: A detailed installation guide will be available in the wiki and TROUBLESHOOTING.md.

Bug Reports

  • See SECURITY.md for vulnerability reporting. All other reports of minor bugs can be reported normally.

License

All files on this Github are licensed as described in LICENSE.md.

About

Display multiple stats on your Discord server, automatically!

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages