Coder Social home page Coder Social logo

fivem-server-status-bot's Introduction

FiveM | Server Status Bot

[PL] Instalacja

Wymagania: NodeJS

Linux

  1. Stwórz folder i wypakuj pliki bota.
  2. Uzupełnij token bota w pliku config.json.
  3. Zainstaluj wymagane pakiety.
npm install
  1. Uruchom bota.
node index.js  
  1. Wyślij wiadomość "{prefix}send-message" na kanale którym chcesz mieć wysyłaną wiadomość przez bot'a, po czym wyłącz bota.
  2. Uzupełnij "fivem_info_url" (3 linia) i "fivem_players_url" (4 linia) w pliku config.json.
http://ip:port/info.json - fivem_info_url
http://ip:port/info.json - fivem_players_url 
  1. Ustaw "channel_status_id" (Kanał na którym mają być wysyłane wiadomości) oraz "message_status_id" (Id wiadomości którą wysłał bot).
  2. Uruchom bota.
node index.js    

[ENG]

Installation

Requirements: NodeJS

Linux

  1. Create a folder and extract the bot files.
  2. Complete the bot token in the file config.json.
  3. Install the required packages.
npm install
  1. Run bot
node index.js
  1. Send command "{prefix}send-message" and stop the bot.
  2. Replace the "fivem_info_url" (3 line) and "fivem_players_url" (4 line) in the file config.json.
http://ip:port/info.json - fivem_info_url
http://ip:port/info.json - fivem_players_url 
  1. Set channel id (where is the status message) and copy message id and paste in config.
  2. Run the bot.
node index.js

fivem-server-status-bot's People

Contributors

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