mysql inconnue 1049_GitHub - bathorus/FiveM-BanSql: Ban compatible mysql

FiveM-BanSql

An SQL ban that does not overload the database.

It precharges the database in a table when opening the server or adding / removing a ban.

Installation

Download the .Zip from this repository.

Extract it with your favorite program.

Copy the project to your ressource folder.

4.Don't forget to import the .sql file to your database.

Add "start FiveM-BanSql" in your server.cfg

Commands

ban id days reason (Allows ban a connected player)

"id" is the player's number in the list

"days" must be a number to say how many days it will be ban. (0 days mean permanent)

"reason" Ability to register why he is banished. Attention if there is no reason the player will see: "You are banned for: unknown reason"

example /ban 3 1 Troll (Will give ban player # 3 for 1 days with Troll reason)

banoffline days name ( Allows ban a offline player )

"days" must be a number to say how many days it will be ban. (0 days mean permanent)

"name" is the player's steam name

example /banoffline 3 Alex Garcio (Will ask you to entry ban:reason to continu)

2.1 ***reason (reason)

"reason" Ability to register why he is banished.

example /reason reason (Will ban player you have entry before for X days and the reason)

unban "Steam Name"

Deban the player matching the written name.

Example ban:unban Alex Garcio (Will remove from the ban list the player)

**banreload ** (reload the BanList and the BanListHistory)

Can be used if you edit directly in your database.

banhistory option (Allows you to view the ban history of a player offline or online)

"option"

(Name of a player) To display all the banns of a player

1 To display only the first ban

2 To display only the second ban

3 ect ......

4 ect ......

Example /banhistory Alex Garcio (Go to display all the list of player's bans)

Required resource

Async

Esx (Optional)

Created by

FiveM-BanSql

Un ban SQL qui ne surcharge pas la base de donnée.

Il précharge la base de données dans une table lors de l'ouverture du serveur ou à l'ajout/retrait d'un ban.

Installation

Téléchargez le .Zip

Extractez-le avec votre programme favori.

Copiez le projet dans votre dossier ressource.

N'oubliez pas d'importer le .sql a votre base de données.

Ajoutez "start FiveM-BanSql" dans votre server.cfg

Commandes

ban id jours raison ( Permet de ban un joueur connecté )

"id" correspond au chiffre du joueur dans la liste

"jours" doit être un chiffre pour dire combien de jours il va etre ban. (0 jours veux dire permanent)

"raison" Possibilité d'inscrire pourquoi il est bani. Attention si il n'y a pas de raison le joueur va voir : "Vous etes banni pour : Raison Inconnue"

exemple /ban 3 1 Troll (Va donner bannir le joueur #3 pour 1 jours avec la raison Troll)

**banoffline jours nom ( Vous permet de ban un jours hors ligne)

"jours" doit être un chiffre pour dire combien de jours il va etre ban. (0 jours veux dire permanent)

"nom" correspond au nom steam du joueur

example:addoff 3 Alex Garcio (Va vous demander de faire ban:reason pour continuer)

2.1 ***reason (reason)

"reason" Possibilité d'inscrire pourquoi il est bani.

example /reason reason (Va donner bannir le joueur que vous avez entré plus tot pour la raison entrer ici)

ban:unban "Nom Steam"

Déban le joueur correcpondant au nom écrit.

Exemple unban Alex Garcio (Va enlever de la liste de ban le joueur)

banreload ( Recharge la BanList et la BanListHistory )

Peut etre utilisé si vous modifiez directement dans votre base de données.

**banhistory option ** ( Permet d'afficher l'historique de ban d'un joueur hors ligne ou en ligne)

"option"

(Nom Steam) Pour afficher tout les bans d'un joueur

1 Pour afficher seulement le premier ban

2 Pour afficher seulement le deuxième ban

3 ect......

4 ect......

Exemple /banhistory Alex Garcio (Va afficher toute la liste des bans du joueur)

Ressource requis

Async

Esx (Optionel)

Créer par

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值