Hello This is The New Version of My Discord Bot. Unlike the previous Version this has All Things that you need.
What This Script Has To Offer :
Click Here
-
Instant Response
-
Multiple Channel Support
-
Fully Configurable.
-
Register Discord Command as Function (Like Native RegisterCommand).
-
Restrict Certain Commands to Admins.
-
Custom Status For The Bot (By Default it will show the Player Count)
-
ESX Compatible
-
Add/Remove Roles When Player gets a new job or Grade (ESX only)
Dependencies And Credits :
- Fivem Compatible Discord JS
- Es_Extended v1 (Optional)
Pre Installed Commands :
Summary
Check The Commands.lua File For Full Details.
[ESX] Commands :
-
[ESX] prefix + myinfo : If The Sender of this Message is online in the fivem server Bot will respond with the details of the player
-
[ESX] prefix + revive + serverid : Revives a Player using esx_ambulancejob
-
[ESX] prefix +setjob + serverid + job_name + grade(number) : Set Job for a Online Player
-
[ESX] prefix + getinventory + serverid : Get Inventory of a Player
-
[ESX] prefix + getloadout + serverid : Get LoadOut of a Player
-
[ESX] prefix + getjob + serverid : Get Job details of a Player
-
[ESX] prefix + getmoney + serverid : get Current Money in the pocket of the player
-
[ESX] prefix + getbank + serverid : Get bank Money of a Player
-
[ESX] prefix + removemoney + serverid + amount : Removes money from online player
-
[ESX] prefix + addmoney + serverid + amount : Add Money to a online player
-
[ESX] prefix + addbank + serverid + amount : add Bank Money to a online player
-
[ESX] prefix + removebank + serverid + amount : remove Bank money From Online Player
[Standalone] Commands :
-
prefix + playercount : Returns the Amount of current online players
-
prefix + kick + serverid : kick a online player
-
prefix + slay + serverid : Kill a Online player
-
prefix + spawncar + serverid + model : Spawn a Car For Online Player (Not Working if you have Onesync Infinity)
-
prefix + setarmour + serverid + amount : Set Armor for online player
-
prefix + sethealth + serverid + amount : Set Health For Online Player
-
prefix + giveweapon + serverid + model + ammo(number) : Give a Weapon To a Player
-
prefix + notific + serverid + Message : send a Message to a specific Player
-
prefix + announce + Message : Send a Message To All Players
-
prefix + getidentifiers + serverid : Get Identifiers of a Player.
Register Discord Command as Export Example :
Summary
If Your Function Returns nothing Bot Will Take it as an error.
If The Function returns true bot will not send any response assuming your command already did it.
You can return a string and Bot will Send it as a response to the Sender of the Command.
For More Examples you can look at the Commands.lua (Pre installed Commands)
Base Command:
RegisterDiscordCommand('Command Name','Command Description',ESX(True/False),function(args,channelid,discordid,roles,ESX(If enabled))
end)
Example :
RegisterDiscordCommand('test','This is For Test',false,function(args,channelid,discordid,roles)
return 'This is For Test'
end)
Video Preview :
You Can Buy This Script in Our Tebex Score.
My Other Scripts That might be Interesting for you :
- [QB/ESX] Tracking Anklet v2.0 (With Custom Ui Designs)
- Bundle of 4 ESX Custom Jobs With Unique Features.
- [ESX][PAID]Advanced Ammo System (Gun Magazines as Items) Advanced Ammo System For ESX
Note : This Script Does not have Ip Lock System or Obfuscation. You can Edit Everything!
Like Always. Dont Forget To Give a if you enjoyed This Script!