Coder Social home page Coder Social logo

jalallinux / fivem-discord-bot Goto Github PK

View Code? Open in Web Editor NEW
12.0 0.0 3.0 22 KB

Simple Discord Webhook for FiveM linux server

Home Page: https://JalalLinuX.ir

Lua 100.00%
fivem lua script fivem-script fivem-roleplay roleplay gtav discord webhook fivem-discord fivem-webhook

fivem-discord-bot's Introduction

FiveM-Discord-Bot

Simple Discord Webhook for FiveM linux server. (The development of this script continues)

Features

Server :
	Start			Send message to discord special channel when server start

Players :
	Connect			Send message to discord when user connected
	Disconnect		Send message to discord when user connected
	Chat			Send message to discord when user send a chat message in game
	Death			Send message to discord when user died

Download & Installation

Using Git

cd resources
git clone https://github.com/jalallinux/FiveM-Discord-Bot [jalallinux]/jl_discord
  • Add to your server.cfg file start jl_discord

Manually


Bot Config

In resources folder, edit /[jalallinux]/jl_discord/config.lua with your settings :

Config = {}

Config.SteamKey = '- - - - - Your Steam Key Here - - - - -'

Config.SystemAvatar = 'https://jalallinux.ir/favicon.png'

Config.UserAvatar = 'https://i.imgur.com/KIcqSYs.png'

Config.SystemName = 'JL Discord'

Config.WebhooksUrl = {
    System      = '- - - - - Discord Channel Webhook URL Here - - - - -',
    Kill        = '- - - - - Discord Channel Webhook URL Here - - - - -',
    Chat        = '- - - - - Discord Channel Webhook URL Here - - - - -',
}

Screenshots

Connect player . Disconnect playe . Chat Log . Kill Log

fivem-discord-bot's People

Contributors

jalallinux avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

fivem-discord-bot's Issues

Kill logs

that script is awesome but why is the time 1 hour back?

reason

Hello, its cool script, but could you add "Reason" in discnnect message? :)

Like Timed out, Exiting, Crash etc

Date and time could be there too :)

Killer

I don`t see who killed a person?

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.