Giter VIP home page Giter VIP logo

erp_adminmenu's Introduction

Admin Menu ๐ŸŽ‰

A standalone admin menu designed in React, using MUI, for use in FiveM.

I figured I'd release this to the public for people who may want it, doesn't have any dependencies except for Onesync.

Features

This menu comes with a fair amount of features, and we are always looking to expand it out, hence the public git.

  • Wonderful Material UI design
  • Player list showing both online and disconnected players
  • Search for players in the player list
  • Ban, kick, spectate, teleportation and modification checks are included
  • Forbidden client events check (check for conflicting events)
  • Banned client command list (check for conflicting commands)
  • NoClip similar to vMenu, just without the extra stuff, could probably expand this later.
  • A force ban option which allows you to ban offline players
  • Each ban has a ban ID which you can unban using the "Pardon Player" option
  • Vehicle spawning, using server-side natives.
  • Change weather options.
  • Waypoint and coordinate teleportation, using vector values.
  • Utility action such as vehicle repair, plate change, clear area, entity deletion and much more
  • Weapon drop disabling & no vehicle rewards.

SQL

You can use oxmysql or MySQL async.
Either works here!

Onesync

To use this, you must have Onesync Infinity enabled.
It will not work as designed otherwise!

Setup

The setup procedure is pretty simple, simply ensure you have a working FiveM server.

  1. Head to https://github.com/FlawwsX/erp_adminmenu/releases
  2. Download the latest release ZIP file, e.g. release-1.0.0.zip
  3. Open the ZIP, extract the erp_adminmenu folder to your resources folder.
  4. Run the SQL file included, should be called adminmenu.sql
  5. Make sure you have set discordWebhook "REPLACEMEWITHWEBHOOK" in the server.cfg
  6. Move the permissions.cfg file to the same directory as your server.cfg
  7. Add exec permissions.cfg to your server.cfg
  8. Fill in the permissions.cfg file.
  9. Start the resource using ensure erp_adminmenu
  10. Enjoy!

Keybinds

Upon installation, the default keybind to open the menu is F10 & PAGEDOWN to enable NoClip. Each user can customize these keybinds by heading to settings > key bindings > fivem.

Things to note

  • The anti cheat functions aren't really "anti cheat" stuff, it's just there, you're more than welcome to remove it.
  • Spectating uses distance culling, probably not the most popular method of spectating, but it works.
  • Healing/reviving will run a command /revive ID. You should set this up with something like esx_ambulance or so.
  • For screenshot to work, I suggest using screenshot-basic or https://github.com/jaimeadf/discord-screenshot
  • Make sure you setup the permissions and follow the instructions!

Support

We offer support through GitHub issues or you can comment on the FiveM forum post.

erp_adminmenu's People

Contributors

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

Watchers

 avatar  avatar  avatar  avatar

erp_adminmenu's Issues

Menu not displaying

The menu does not display when i press the hotkey.
Noclip key works, but not the menu.
Maybe I'm missing a dependency in regards to the menu display? like a UI or something.
I don't see any errors in the console

Screenshots not working

If I try to make a screenshot it tells me its requested but nothing happens no screenshot gets sended into my discord...

yarn build error

so the error i get is your package.js file dosent have an license valid so i cant build the html files (๐Ÿ‘

Discord webhook

Hi, I have set the discord webhook, but it is not sending logs to discord. Do you have any suggestions to rectify this. Much appreciated

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.