Theme editor

ModRelease.com Ban Screen 1.0.0 Installation 1. Place the `ban` folder inside `resources/` 2. A...

  • Thread starter Thread starter manyakoldum
  • Start date Start date
M

manyakoldum

Visitor
Thread owner
    Thread Owner : manyakoldum
  • #1
Ban Screen 1.0.0

Installation


1. Place the `ban` folder inside `resources/`
2. Add to your `server.cfg`: ensure ban
3. Open `config.lua` and set `Config.DbPath` to the full path of your `playersDB.json`
4. go to txadmin and /settings#bans and disable ban checking



Configuration


All settings are in `config.lua`.


| Option | Default | Description |
|---|---|---|
| `Config.DbPath` | *(your path)* | Full path to txAdmin's `playersDB.json` |
| `Config.CardPath` | `'ban_card.json'` | Path to the Adaptive Card template |
| `Config.DateFormat` | `'%d.%m.%Y %H:%M'` | Date format for ban/expiry dates |
| `Config.PermanentLabel` | `'Permanent'` | Label in date fields for permanent bans |
| `Config.PermanentRemainingLabel` | `'PERMANENT'` | Label in the time remaining field |
| `Config.ExpiredLabel` | `'Expired'` | Label when a temporary ban has expired |
| `Config.StatusPermanent` | `'permanent'` | `{{statusType}}` value for permanent bans |
| `Config.StatusTemporary` | `'temporary'` | `{{statusType}}` value for temporary bans |
| `Config.FallbackKickMessage` | `'You are banned...'` | Kick text used when the card fails to load |
| `Config.DeferralMessage` | `'Checking ban status...'` | Message shown during the ban check |
| `Config.LogoUrl` | Discord CDN URL | Logo shown at the top of the ban card |
| `Config.DiscordUrl` | `'https://primeleaks.cc'` | URL opened by the Discord button |



Ban Card Template Variables


Available in `ban_card.json`:


| Variable | Description |
|---|---|
| `{{reason}}` | Ban reason |
| `{{id}}` | Ban ID |
| `{{author}}` | Admin who issued the ban |
| `{{date}}` | Date the ban was created |
| `{{expiration}}` | Expiry date or "Permanent" |
| `{{playerName}}` | Connecting player's name |
| `{{statusText}}` | `PERMANENT` or `TEMPORARY` (uppercase) |
| `{{statusType}}` | `permanent` or `temporary` (lowercase) |
| `{{timeRemaining}}` | Time left (e.g. `2d 4h 30m`) or `PERMANENT` |
| `{{logoUrl}}` | Value of `Config.LogoUrl` |
| `{{discordUrl}}` | Value o

#fivemscript #fivemscripts #qbcorescript #esxscript #fivemstandalone

Shared by Modrelease Bot

Post Image




👉 Visit ModRelease to view & reply

Tags: bans, fivemscript, fivemscripts, qbcorescript, esxscript, fivemstandalone, fivem scripts, free fivem scripts, fivem mods, fivem mlo, fivem cars, fivem resources, fivem server files, fivem maps, fivem clothes, download fivem mods, fivem development, fivem discord, modrelease scripts, gta v roleplay mods, fivem framework, free download fivem
 
Thread 'Toxic  QBCore -OX inv&target'
Toxic QBCore -OX inv&target - Ready-to-Play Roleplay Base All scripts are open source - no...
Thread 'LB PHONE 🎉 ALL BUGS FIXED - ESX & QBCORE TESTED ✅'
Instagram, TikTok, Tinder, banking apps, and all other applications have been fixed, and the...
Thread 'Toxic  Latest EN QBCore'
The Toxic V3.1 QBCore RP Server Base is a fully open-source, ready-to-play FiveM RP framework...
Thread 'V4 ESX PvP Server Files for FiveM–PvP Gamemode with Arenas and GunGame'
The V4 ESX PvP Server Files offer a complete, combat-focused game mode package for FiveM...
Thread 'FiveM 430+ Car Pack | Unbranded Vehicles for RP Servers'
FiveM Unbranded Vehicle Pack (430 Cars) – Complete Car Collection for RP Servers The FiveM...
Thread 'New QBCore OX Basic Pack'
🚀 What is the New QBCore OX Basic Pack? The New QBCore OX Basic Pack is a pre-configured FiveM...
Thread 'New V3.2 EN QBCore Best FiveM RP Base Newest'
Toxic V3.2 EN QBCore RP Base – FiveM Server Files Download the newest Toxic V3.2 EN QBCore RP...
Thread 'Toxic V3 QBCore'
Toxic V3 QBCore ・Open source・No licensed scripts・ Framework: QBCore QB Version Latest...
Thread 'QBCore Basic RP Base'
QBCore Basic RP Base QBCore Version : '1.3.0' Latest *** Hidden text: You do not have...
Thread 'QBCore V2 FiveM RP base'
The Toxic QBCore V2 RP Server is a fully open-source, ready-to-use FiveM RP server base, built...
Thread 'New Ox QBCore Full Server file'
All scripts are open source - no licensed scripts Framework: QBCore - Newest QBCore Version...
Thread 'LB Tablet Edited Version for QBCore'
LB Tablet Edited Version for QBCore All bugs have been fixed. *** Hidden text: You do not...
Thread 'Paleto Sheriff MLO - FiveM'
Paleto Sheriff MLO - FiveM *** Hidden text: You do not have sufficient rights to view the...
Thread 'Molo Alcatraz Mlo - Tested ✔️'
Molo Alcatraz Mlo - Tested ✔️ Open Sources ✔️ *** Hidden text: You do not have sufficient...
Thread 'Toxic ESX legacy | Server Files'
Toxic ESX legacy | Server File ✔ Latest ESX Legacy Framework ✔ Fully Open-Source – No...
Thread 'Toxic V3 PVP Server File'
Download the Toxic V3 PVP Server File with the old ESX framework. Includes a fully configured...
Thread 'QBCore Latest Server files'
QBCore Latest Server files - Fivem rp base - Download fivem server files Open source・No...
Thread 'Kingmaps Free MLO Pack'
Enhance your FiveM server with the Kingmaps MLO Pack! 🚀 The package includes: 🏪 kingmaps_247...
Thread 'Energy Fast customs Mlo ( clothes + vehicles )'
Energy Fast Customs MLO – FiveM maps for clothes shops and vehicle garages. *** Hidden text...
Back
Top Bottom