[Release] erp_adminmenu | Modern admin menu

Group 46

Info

erp_adminmenu is 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.

As this is like my second React resource, the syntax isn’t great. Feel free to leave feedback for me!

:sparkles: You can find the download here: Releases · FlawwsX/erp_adminmenu · GitHub

Features

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

  • Actually working ban checks
  • Wonderful Material UI design
  • Utilises React Redux, React Router & Typescript :ping_pong:
  • 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.

Showcase Images

Ban Message

Main Menu

image

Player Management

image

Player List

Player Info

Built in Notifications

image

Offline Banning

Unban Player

Weather Options

Change Plate

image

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 Releases · FlawwsX/erp_adminmenu · GitHub
  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

Support

We offer support through GitHub issues or you can comment on the FiveM forum post.
I tired to make the installation guide as simple as possible, if you have any questions, please ask!

Development

You can make pull requests if you want to add something, or make an issue if you want something.

Known Issues

  • Searching for a player is case sensitive, I need to make it not be case sensitive, easy enough to fix.
  • Fix laggy player list when there’s over 50 players. Can be fixed using virtualisation.
  • Player list is not ordered by player ID, easily fixable.
  • Filtering players should be able to be filtered by ID.
32 Likes

Looks good, i will test this resource on my server. :slightly_smiling_face:

3 Likes

let me know how it goes this does look cool

awsome release :free:

2 Likes

If you manage to incorporate the options of vehicle spawn and modification would be the best

2 Likes

Any dev tools with this?

1 Like

need some instalation help pls!

Not right now. Is there anything specific you would want?

can we use as onesync legacy users ??

I believe so. Give it a go!

1 Like

Nice one release

1 Like

Looks awesome!

1 Like

Thanks for this, but instructions are not clear at all when you have to run stuff from the cmd.

What are you stuck on?

1 Like

Nice release! However it takes me 40 mins to upload x)

40 mins to upload what?

Add a step for windows users to install yarn if not installed already.

npm install yarn

2 Likes

Looks pretty neat. Good job!

I am getting this error when trying to use “yarn build” when running it
Imgur

Resolved by just doing “yarn”