[RELEASE] New FiveM Report System - Improve Your Server Moderation! 🚨

Nuevo sistema de reportes para FiveM - ¡Mejora la moderación de tu servidor! :rotating_light:

Español (clic para expandir)

¡Hola a todos! :smiley:

Estoy emocionado de compartir con ustedes mi primera script para FiveM: un sistema de reportes. Esta script ayudará a los administradores y moderadores de servidores a llevar un mejor control y seguimiento de los reportes realizados por los jugadores.

Características principales

  1. Interfaz creada con ox_lib
  2. Registro de reportes en una base de datos.
  3. Notificaciones en tiempo real para moderadores y administradores.
  4. Gestion facil de los reportes

Imágenes :camera_flash:

image
image
image

Archivo de configuracion:

Config = {}

Config.Locale = GetConvar('esx:locale', 'es')

Config.menuPosition = "bottom-right"
Config.typeofreports = {
    { value="bug", label="bug"},
    { value="antirol", label="antirol"},
}
-- if this is true when new report is create all admin with reports enabled recibed a notify with the new report
Config.notifyAdmins = true

--need cron script
Config.CleanSQLeveryDay = true --false if you don't have cron script

Config.reportOptions = {
    teleport = true,
    discord = true,
}

Requisitos de la script

La script es fácil de instalar y configurar, y es compatible con las últimas versiones de FiveM. Puedes descargarla desde el siguiente enlace: GitHub - troner14/reportSystem

Si tienes alguna pregunta o encuentras algún problema, no dudes en dejar un comentario en este tema o abrir una incidencia en GitHub.

¡Espero que esta script sea de utilidad para mejorar la moderación de sus servidores! :rocket:

English (click to expand)

Hello everyone! :smiley:

I’m excited to share with you my first FiveM script: an improved report system. This script will help server administrators and moderators to better manage and track reports made by players.

Main features

  1. Interface created with ox_lib
  2. Report logging in a database.
  3. Real-time notifications for moderators and administrators.
  4. Easy report management.

Images :camera_flash:

report Command
all reports
report menu|403x388
Report Admin message

Config File:

Config = {}

Config.Locale = GetConvar('esx:locale', 'es')

Config.menuPosition = "bottom-right"
Config.typeofreports = {
    { value="bug", label="bug"},
    { value="antirol", label="antirol"},
}
-- if this is true when new report is create all admin with reports enabled recibed a notify with the new report
Config.notifyAdmins = true

--need cron script
Config.CleanSQLeveryDay = true --false if you don't have cron script

Config.reportOptions = {
    teleport = true,
    discord = true,
}

Script requirements

The script is easy to install and configure, and it’s compatible with the latest FiveM versions. You can download it from the following link:

Download

If you have any questions or encounter any issues, please feel free to leave a comment in this topic or open an issue on GitHub.

I hope this script will be useful in improving moderation on your servers! :rocket:

9 Likes

Muy buen trabajo bro, felicidades❤

hey man!, nice work :heart: , can you make it for qbcore?

yes, give me a week

1 Like

B1naErr0r the report system now suport QB-core latest version and
ESX legacy and 1.2 version.
download by github with the url that is in main post

1 Like

looks beautiful man! keep the good work up

error in sql help
[ script:oxmysql] SCRIPT ERROR in promise (unhandled rejection): Error: reportSystem was unable to execute a query!
[ script:oxmysql] Unknown column ‘fecha’ in ‘where clause’
[ script:oxmysql] SELECT * FROM reportsystem WHERE fecha >= DATE_SUB(NOW(), INTERVAL 5 HOUR)

sorry, use this sql file,

CREATE TABLE IF NOT EXISTS `reportsystem` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `licence` varchar(100) DEFAULT NULL,
  `name` varchar(50) DEFAULT NULL,
  `descripcion` longtext DEFAULT NULL,
  `tipo` varchar(50) DEFAULT NULL,
  `fecha` DATETIME NOT NULL DEFAULT current_timestamp(),
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4;

now update in github