# Discord Logs

### ⭐ Intro

This will log all of the following actions into a discord log channel of your choosing via a webhook or a discord bot.

***

### 📦 Requirements

* FiveM (OneSync)
* Discord Bot (optional)
* txAdmin (optional)

***

### 🧩 Features

* FiveM Features -> Discord Logging:
  1. Chat
  2. Join
  3. Leave
  4. Shooting (ability to not log certain weapons)
  5. Death
  6. NameChange (ability to exclude certain Licenses or Discord IDs)
  7. txAdmin
* Name Change logs also feature in the in game chat for staff members (ace permission configured)
* Different ways to log (discord bot or webhook)
* Choose what shows in each type of log (configurable separately)

***

### 🔧 Installation

1. Create a folder in your resources folder named `[NLRPScripts]`
2. Drag & drop the `Logs` resource folder into the `[NLRPScripts]` folder
3. Add to `server.cfg`:

   ```cfg
   ensure [NLRPScripts]
   ```
