Coder Social home page Coder Social logo

sdcore / truckersmp-stats-bot Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 130 KB

TruckersMP Server Stats is a Discord bot that allows users to get information about TruckersMP Servers using the TruckersMP API.

JavaScript 98.53% Shell 1.47%
video-game truckersmp discord discord-bot discord-js

truckersmp-stats-bot's Introduction

CI/CD to Vultr Discord

WHILE THIS BOT IS OPEN SOURCE, THERE CURRENTLY WILL BE NO SUPPORT FOR SELF-HOSTING THE BOT.

TruckersMP Server Stats Discord Bot

This discord bot allows users to view stats about TruckersMP Servers, such as current player count, amount of people in queue, and other similar information. The information is provided by the TruckersMP API.

It's currently in a big stage of a rewrite, but it's slowly getting there.

How to Use

The bot is fairly simple to use, and more detailed usage can be found by running !!help in any channel the bot is in.

That being said, here are a few commands:

!!help

  • Shows basic info about the bot

!!servers

  • Shows the current server info available to the bot

!!stats [game] [server]

  • Shows stats about the selected server

Current Features

  • Show current available server list (static, has to be updated manually; plans for dynamic server fetching in the books)
  • Show information about each server such as players online, max players, players in queue, whether or not collisions or cars are enabled, and more

Planned Features

  • Dynamic server list loading
  • Better caching of server information
  • Historic stats about server player counts, uptime, etc.
  • Player stats (ie. basic information, ban history, current in-game location/cargo/destination, etc.)

Support Server

If you'd like to join the discord support server, head on over to https://discord.gg/f3Pa8vJ.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.