Code Monkey home page Code Monkey logo

mcstatusbot's Introduction

mcstatusbot

Discord bot for server status

⚠️ For settings, please edit config.json.

Setup

  • Step 1: Dowload and extract the zip file into the folder of your choice
  • Step 2: Go to https://nodejs.org/en/download/
  • Step 3: Dowload and install node.js
  • Step 4: Open the folder you extracted the files too earlier
  • Step 5: Click in the bar above the files like in https://imgur.com/a/ykc0BWL and make sure all text in the box is highlighted as show in the photo
  • Step 6: Type cmd and press enter
  • Step 7: Paste in the command prompt npm install
  • Step 8: Head over to the discord applicatons page (here https://discordapp.com/developers/applications/)
  • Step 9: Click “new application”. Give it a name, picture and description.
  • Step 10: Press Bot on the left hand side of the screen then press “Add bot” and click “Yes, Do It!” when the dialog pops up
  • Step 11: Copy down the bot token This is what is used to login to your bot later
  • Step 12: Open "config.json" with code editing software like Notepad++ or Visual Studio Code
  • Step 13: Where it says "YOUR BOT TOKEN HERE" replace that text with your bot token you copied earlier
  • Step 14: Where it says "YOUR SERVER IP HERE" replace that text with your server ip
  • Step 15: Where it says "YOUR SERVER PORT HERE" replace that text with your server port
  • Step 16: Save the "config.json file and close it
  • Step 17: Close File Explorer then reopen the program to the folder where you have the bot's files (You must do this step. Trust me orelse the next step will be messed up)
  • Step 18: Click in the bar above the files like in https://imgur.com/a/ykc0BWL and make sure all text in the box is highlighted as show in the photo and copy it
  • Step 19: Open run.bat with code editing software like Notepad++ or Visual Studio Code
  • Step 20: Replace the text "YOUR FOLDER ADRESS HERE" with what you just copied in step 18
  • Step 21: Save and close run.bat

Running your bot

Way 1: Run the file run.bat like you would run a .exe

Way 2: Click in the bar above the files like in https://imgur.com/a/ykc0BWL and make sure all text in the box is highlighted as show in the photo and replace it all with cmd In cmd paste in

node mcbot.js

then press the enter key.

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.