Git Product home page Git Product logo

cyklon's Introduction

Minecraft Server Stats Discord Bot

Any contributions or suggestions are welcomed :>

View TODO.md to check out what stupid things are bonkin my head atm >.<
Keep your server community informed! This Discord bot automatically displays live statistics about your Minecraft server in a user-friendly embed format. It updates every 30 seconds, ensuring everyone has the latest information at their fingertips.

Features:

  1. Live Server Stats: Stay updated on key metrics like the number of players online, their names, version and server status.


2. Todo-list: Users can add and manage tasks with an interactive to-do list using the /task_add command and completion buttons.


4. Other trivial commands like /thank, /erase, /setactivity(to change bot activity through commad), etc.
5. Prerequisites: Ensure you have Node.js and npm (or yarn) installed on your system (download from https://nodejs.org/en

Set Up the Bot:

  1. Clone this repository.
  2. Install dependencies with npm install (or yarn install).
  3. Configure the Bot:

Rename config.example.json to config.json in the project directory and replace the following keys with your actual information:

{
    "token": "YOUR_BOT_TOKEN",
    "clientId": "YOUR_BOT_CLIENT_ID",
    "guildId": "YOUR_DISCORD_SERVER_ID",
    "serverIp": "YOUR_MINECRAFT_SERVER_IP",
    "port": "PORT",
    "allowedUsers": ["USER1_ID", "USER2_ID", "USER3_ID"]
}
  • You can obtain your bot token and client ID from the Discord Developer Portal: https://discord.com/developers/docs/intro.
  • Your guild ID is your Discord server's unique identifier (find it in server settings).

Run the Bot:

  • use node deploy-commands.js to register commands.
  • Use nodemon run index.js to start the bot with automatic restarting on code changes.

Using the Bot:

Once the bot is running in your server, users can simply type the /status command to view the live server statistics embed.

cyklon's People

Contributors

heyfang avatar notyuzuru avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

fangify notyuzuru

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.