Skip to content

10% off shop orders, applied at checkoutBlack Friday: 30% off until Dec 1Server templatesServer templates

RPScripts

FiveM Admin Tools

Discord2Fivepy

Discord2Fivepy

Melktert
Frameworks:
  • ESX

Checked by the RPScripts Lab

  • Static check: 1 resource read
What was checked
Check compatibility with your server

Details

Frameworks
ESX
Version
1.0.0
File size
7.1 kB
Creator
Melktert
Licence and support terms
  • Licence: for your own server or project. No resale or sharing.
  • Updates: when a newer file is available, it appears in your account downloads.
  • Support: download access and product-specific setup questions.
Licence and support terms

Description

Discord2FivePY is a Python Discord bot that runs ESX admin commands on your FiveM server. Staff with the right Discord role type commands in one channel, and the bot sends them to the server over RCON and reports back in Discord.

Commands

  • =status – server status
  • =revive – revive a player
  • =giveaccountmoney – give account money
  • =giveitem – give an item
  • =giveweapon – give a weapon
  • =refresh – refresh resources
  • =start, =stop, =restart – start, stop or restart a resource
  • =setjob – set a player's job
  • =kick – kick a player
  • =announce – send an announcement

Configuration

  • All embeds the bot sends are customizable: server name, website, logo and colours
  • Webhook that reports error messages and confirmations
  • Command channel, allowed Discord role and command prefix
  • Revive event (esx_ambulancejob:revive by default)

Requirements

  • Python 3.9.2 with discord.py, numpy and requests (pyrcon is included)
  • FXServer with an RCON password set
  • ESX 1.1 or older

Installation

  • Install Python 3.9.2 to PATH and the Python packages listed in the README with pip install.
  • Copy fivem/discord2fivepy into your resources and add ensure discord2fivepy to your server.cfg.
  • Fill in config.lua (FiveM) and python/config.json (bot token, channel, role, RCON host, password and port).
  • Start the bot with run.bat.

Server setup

Step-by-step guide: how to install a FiveM script

Checked: the only resource of this download.

In your downloads
  • Jobs Creator official screenshot 1
    • ESX
    • QBCore, Qbox
    Not for your framework

    Jobs Creator 8.16.8

    Jaksam

    $60.00$42.00
  • CodeM Admin Menu
    • ESX
    • QBCore
    Not for your framework

    CodeM Admin Menu

    CodeM

    $8.00$5.60
  • Doors Creator FiveM resource preview
    • ESX
    • Standalone, QBCore, Qbox

    Doors Creator

    Jaksam

    $50.00$35.00
  • FiveM Safezone Script
    • ESX
    • QBCore
    Not for your framework

    Safezone Script

    $5.00$3.50
  • Admin Jail Script FiveM resource preview
    • ESX
    • QBCore, Qbox
    Not for your framework

    Admin Jail Script

    AdminPlus

    $15.00$10.50
  • Brutal Report System FiveM resource preview
    • ESX
    • Standalone, QBCore

    Brutal Report System

    Brutal Scripts

    $7.00$4.90
  • In Game Map Editor V2 - Ak4y Scripts
    • ESX
    • QBCore, Qbox
    Not for your framework

    In Game Map Editor V2 - Ak4y Scripts

    Ak4y

    $40.00$28.00
  • rcore Advanced Reports FiveM resource preview
    • ESX
    • QBCore, Qbox
    Not for your framework

    rcore Advanced Reports

    rcore

    $20.00$14.00