Coder Social home page Coder Social logo

boii_chat's Introduction

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

boii_chat's People

Contributors

caseirl avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.