burnoutprojects / boii_chat

FiveM Chat Template with Some Spice

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CHAT_THUMB

BOII Development - Chat

Overview

This is just a straight forward chat theme with a simple, sleek design. Chat system includes 11 pre defined chat commands from global chat, to private messages. Also includes a simple logging system to save and log all messages to json files periodically. Relatively easy to create additional chat, just copy paste what currently exists and change a little around. Resource is entirely open-source, feel free to edit to your hearts content.

Enjoy.

Features

  • Multiple pre-defined chat types: Various types of rp related chats have been setup for use out of the box.
  • Message logs: Simple logging system to save and log all messages to json files periodically.
  • Discord logs: Simple discord webhook logging system.
  • Adaptable and Open Source: Easily adaptable for adding new chat types or modifying existing ones.
  • Multi-Framework Support: Compatible with various game server frameworks through use of boii_utils.

Chat Types

  • Global: Regular chat sent to all players.
  • Local: Local chat for players within scope.
  • Staff: Staff messages sent to all players.
  • Staff Only: Private staff only chat.
  • Advert: Advertisement messages.
  • Police: Police messages to all (optional to require on duty before sending).
  • EMS: Same as police except ems.
  • Warning: Warning messages can either be sent to all or can be directly pm'd to a specific player.
  • PM: Private messages player -> player.
  • Group: Uses boii_utils group system and group chat allows you to talk to only players within that group.
  • Trade: Trade chat messages sent to all players.

Dependencies

  • chat
  • boii_utils

Prerequisites

  • Downloading boii_utils:
  1. Download the utility library from one of our platforms:
  1. Edit client/config.lua & server/config.lua:
  • Set your framework choice under config.framework.

Any other changes to the configs you wish to make can also be made.

  1. Add boii_utils into server resources:
  • Drag and drop boii_utils into your server resources.
  • Add ensure boii_utils into your server.cfg ensuring it is placed before any resource using it as a dependency.

Script installation

  1. Customisation:
  • Customise server/config.lua to suite your requirements.
  • Customise server/language/en.lua to suite your requirements, or create a new language file and start your translation from the fxmanifest.lua.
  • Customise the :root section at the TOP of html/css/styles.css to modify the colours used. To modify any more you have to experiment with the CSS (you can live preview this by opening the provided html file within a browser).
  1. Installation:
  • Drag and drop boii_chat into your server resources.
  • IMPORTANT Add ensure boii_chat into your server.cfg ensuring it is placed after boii_utils.
  • If you have any problems with framework related actions then ensure boii_chat is also placed below your core folder (this should not be required anymore due to recent utils updates however if have issues its worth doing).

Documentation

...

PREVIEW

...

Support

https://discord.gg/boiidevelopment

About

FiveM Chat Template with Some Spice

License:GNU General Public License v3.0


Languages

Language:Lua 76.7%Language:CSS 14.9%Language:HTML 8.3%