Skip to content

jalallinux/FiveM-Discord-Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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