Skip to content
RPScripts

FiveM Admin Tools

Discord2Fivepy

Discord2Fivepy

  • ESX

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.

Details

Frameworks
ESX
File size
7.1 kB
Updated
Sep 27, 2026
How to install it

Installation

  1. Unzip the download into your server's resources folder.
  2. Add these lines to server.cfg, in this order:
    ensure discord2fivepy

Checked: the one resource of this download.

From a static check of the files by the RPScripts Lab. It is not a test that your server starts.

Discord2Fivepy

$6.99€6.99£5.99A$10.99R$35.99CHF 5.99¥1,110
  • CodeM Admin Menu
    • ESX
    • QBCore
    $8.00€7.99£6.99A$11.99R$40.99CHF 6.99¥1,270
  • FiveM Safezone Script
    • ESX
    • QBCore
    $5.00€4.99£3.99A$7.99R$25.99CHF 4.99¥800
  • Brutal Report System FiveM resource preview

    Brutal Report System

    Brutal Scripts

    • ESX
    • Standalone
    • QBCore
    $7.00€6.99£5.99A$10.99R$35.99CHF 5.99¥1,110
  • wx anticheat
    • ESX
    • QBCore
    $26.00€23.99£19.99A$37.99R$132.99CHF 21.99¥4,110
  • izzy Admin

    Izzy - Admin Menu

    Izzy Scripts

    • ESX
    • QBCore
    • vRP
    $30.00€26.99£22.99A$43.99R$152.99CHF 24.99¥4,750

Can't find the exact script? Generate it.

Describe a custom script. 3 free credits per day, up to 15 per calendar month; no card needed.

Try the FiveM AI Script Generator