Code Monkey home page Code Monkey logo

hp-reports's Introduction

image

What is it?

This resource was created so server staff can conveniently keep their server secure while maintaining a positive experience on the server.

When the command is executed, the player will be prompted a report menu allowing them to enter an ID & Reason. Upon submitting, the script will send a webhook to the discord displaying a screenshot along with an embed containing the reported players details.

You can also enable or disable the screenshot system in the config file.

Configuration

The following can be found in the sv_config.lua file.

    Config = {
    -- Requires [screenshot-basic] - Defaults to false, set to true if you wish to enable.
    Screenshot = false,
    -- To prevent exploitation I made the webhook server-sided.
    DiscordWebhook = '', -- Do not forget to add a webhook.
   }

hp-reports.view - Ace Permission. Required to view reports.

Dependency

https://forum.cfx.re/t/free-ox-library-ui-and-lua-modules/4853434 -- This resource is required in order for this script to work.

screenshot-basic & discord-screenshot

https://github.com/jaimeadf/discord-screenshot/releases/tag/1.3.7 -- Only required if you use the screenshot system

Download

https://github.com/HappyPunch/hp-reports

Preview

https://www.youtube.com/watch?v=oQ0xCRQycZ4

Developer

https://github.com/BreezyTheDev

Errors or Suggestions?

Please message me on discord if you come across any errors when using this resource or if you would like to make a suggestion. Discord: Breezy#0001

hp-reports's People

Contributors

breezythedev avatar

Stargazers

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