Coder Social home page Coder Social logo

jd_logs's Introduction

JD_logs

Licence Licence Discord Status

This is a server log script for FiveM, which is used to log certain actions that are being made in the server.

Requirements

  • A Discord Server
  • FiveM FXServer

V1.1.0

  • Reworked Export function. (Now with identifier support)

V1.0.4

  • Added Nearest Postal For This Postal Map
  • Added check if the identifier is available ( Prevents some errors :slight_smile: )
  • Fixed some small bugs

V1.0.3

  • Added Discord Identifier
  • Added Steam Profile URL
  • Fixed Death Reason
    • Player commited suicide
    • Player was murdered
    • Player Died (Other reasons like getting run over or random explosions)

V1.0.2

  • Added more Customizations
    • Bot's Username
    • Bot's Avatar
    • Embed Community Name
    • Embed Community Logo
    • Color settings for default Events
  • Added Player ID to default Events
  • Added Option to enable/disable Player ID
  • Added option to enable/disable Steam ID

V1.0.1

  • Added option to disable Shooting Logs

V1.0.0

  • All log channel
  • Log to seperate channels
  • Log from server or client side
  • Easy changeble Avatar and Username

Download & Installation

  1. Download the files
  2. Put the JD_logs folder in the server resource directory
  3. Add this to your server.cfg
ensure JD_logs

Adding more logs

  • Add the following code to your existing resource where you execude the code
exports.JD_logs:discord('MESSAGE_YOU_WANT_TO_POST_IN_THE_EMBED', PLAYER_ID, PLAYER_2_ID, 'DECIMAL_COLOR_CODE', 'WEBHOOK_CHANNEL'))
  • Create a discord channel with webhook and add this to the webhooks.
local webhooks = {
	all = "<DISCORD_WEBHOOK>",
	chat = "<DISCORD_WEBHOOK>",
	joins = "<DISCORD_WEBHOOK>",
	leaving = "<DISCORD_WEBHOOK>",
	deaths = "<DISCORD_WEBHOOK>",
	shooting = "<DISCORD_WEBHOOK>",
	resources = "<DISCORD_WEBHOOK>",
	<WEBHOOK_CHANNEL> = "<DISCORD_WEBHOOK>", <------
}

Images

JD_logs_Image

jd_logs's People

Contributors

jokedevil 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.