Git Product home page Git Product logo

mcserverstatusbot's Introduction

MCServerStatusBot

Discord bot for checking Minecraft server status, written in C++

Some information

This bot uses the https://www.mcapi.us service in order to get the information. Due to this being a service run by a single person and it being rate-limited, this bot only sends requests and data updates every 120 seconds. This value is configurable in the include.hpp file by changing the API_UPDATE_TIME_S macro. Before use it is necessary to set the bot token. This is done in the botresponses.cpp file at line 4. (the very top of the file, the token is provided as a parameter to the dpp::cluster constructor).

First-party hosting

I do host this bot however I do not guarantee 24/7 coverage. If you want to use the first-party service on your Discord server, click this link: https://discord.com/api/oauth2/authorize?client_id=1162171089879842916&permissions=27483160706112&scope=bot

Libraries and the IDE support

This project uses DPP/D++, ASIO (non-Boost) and Nlohmann's JSON library. ASIO and JSON libraries are included however DPP must be set up separately. The project files are created by the CodeLite IDE 17 and therefore this will work with it out of the box.

Licensing

This bot is licensed under the CC-BY 4.0 license. The full text of the license may be found here: https://creativecommons.org/licenses/by/4.0/legalcode.en

mcserverstatusbot's People

Contributors

megapolisplayer avatar

Watchers

 avatar  avatar

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.