GithubHelp home page GithubHelp logo

tomgrobbe / vmenu Goto Github PK

View Code? Open in Web Editor NEW
319.0 33.0 374.0 21.49 MB

vMenu is a custom server sided trainer/menu, built using a custom version of NativeUI. It has full permissions support, so the server owner can decide who's allowed to do what.

Home Page: https://docs.vespura.com/vmenu

License: Other

C# 99.43% Batchfile 0.09% HTML 0.48%
vmenu fivem resource trainer menu

vmenu's Introduction

Latest Builds

Latest AppVeyor build
Latest Build
Build status

vMenu

vMenu is server sided menu for FiveM servers, including full* permission support.

*(Some features do not have permissions support as they are either harmless or it'd just be silly to deny them. However, they will be disabled if you deny access to the submenu that they are a part of (eg: unlimited stamina in Player Options will be disabled if you deny vMenu.PlayerOptions.Menu.))


Download & Installation & Permissions

Download

Click here to go to the releases page and download it.


Installation

Please follow the instructions over at the vMenu docs

Zap Hosting

If you're using Zap Hosting, you may find that moving the permissions.cfg file to the same folder as your server.cfg file may not work correctly (it could get reset every time you restart your server).

If this is the case, leave your permissions.cfg file here: /resources/vMenu/config/permissions.cfg and add the following to the very top of your server.cfg file: exec resources/vMenu/config/permissions.cfg (instead of exec permissions.cfg).

You can also use ZAP Hosting's one-click installer for vMenu. Get a ZAP-Hosting server with a 10% lifetime discount HERE and make sure to use Vespura-a-3715 at checkout.


Support

If you like my work, please consider supporting me on Patreon. I've put a lot of my time and hard work into these and other projects.


Trouble shooting & support

Take a look at the docs first of all. I will ignore you if your question is answered on the docs or the forum topic.


Permissions

Click here for permissions information.

Configuration

Click here for configuration options information.


MenuAPI

Starting from vMenu v2.1.0, vMenu will be using MenuAPI (MAPI), a custom menu API designed specifically for vMenu by me.

vMenu v2.0.0 and earlier was using a modified version of NativeUI, originally by Guad, but converted to FiveM by the CitizenFX Collectives and myself (updated/refactored).


License

For an updated license, check the license.md file. That file will always overrule anything mentioned in the readme.md

Tom Grobbe - https://www.vespura.com/

Copyright © 2017-2023

You can use and edit this code to your liking as long as you don't ever claim it to be your own code and always provide proper credit. You're not allowed to sell vMenu or any code you take from it. If you want to release your own version of vMenu, you have to link the original GitHub repo, or release it via a Forked repo.

vmenu's People

Contributors

attributeerror avatar blattersturm avatar cm8263 avatar devblocky avatar doxylamin avatar dreaming-codes avatar drift91 avatar explooosion-code avatar freedy69 avatar hary309 avatar imckl avatar lze3 avatar michaelcoding25 avatar nickreagan avatar pnwparksfan avatar quadrupleturbo avatar realsarge avatar rickyb505 avatar toastinyou avatar tomgrobbe avatar trevorbarns avatar xdgoldentigerofficial 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  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  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  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

vmenu's Issues

Unable to load connect - cannot load vMenu resource

Just installed it on a fresh install of FiveM and when trying to load into the game with vMenu enabled i get the following. Host is a 16.04 Ubuntu Box.

I have attached screenshots as my putty was acting up and wouldn't let me copy the information, if you need anymore information, i am happy to help.

image

image
image
image

Mono error when loading the plugin

I installed the plug as described in the md file.
added the exec in the top. Added the permissions in the same folder as the server config.
Plug is started but with some obscure message.
Any suggestions?

OS is Win10

127.0.0.1:30120> restart vMenu
Stopping resource vMenu
Loaded vMenuServer.net, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null into ScriptDomain_363362801
Instantiated instance of script GHMatti.Http.RequestInternal.
Instantiated instance of script GHMatti.Http.Request.
Failed to instantiate instance of script vMenuServer.EventManager: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeLoadException: Could not resolve type with token 0100002d
at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (System.Reflection.MonoCMethod,object,object[],System.Exception&)
at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) [0x00002] in <0123fd5b1a1040fe9d70a7e0d4b28acb>:0
--- End of inner exception stack trace ---
at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) [0x00014] in <0123fd5b1a1040fe9d70a7e0d4b28acb>:0
at System.RuntimeType.CreateInstanceMono (System.Boolean nonPublic) [0x000a8] in <0123fd5b1a1040fe9d70a7e0d4b28acb>:0
at System.RuntimeType.CreateInstanceSlow (System.Boolean publicOnly, System.Boolean skipCheckThis, System.Boolean fillCache, System.Threading.StackCrawlMark& stackMark) [0x00009] in <0123fd5b1a1040fe9d70a7e0d4b28acb>:0
at System.RuntimeType.CreateInstanceDefaultCtor (System.Boolean publicOnly, System.Boolean skipCheckThis, System.Boolean fillCache, System.Threading.StackCrawlMark& stackMark) [0x00027] in <0123fd5b1a1040fe9d70a7e0d4b28acb>:0
at System.Activator.CreateInstance (System.Type type, System.Boolean nonPublic) [0x00020] in <0123fd5b1a1040fe9d70a7e0d4b28acb>:0
at System.Activator.CreateInstance (System.Type type) [0x00000] in <0123fd5b1a1040fe9d70a7e0d4b28acb>:0
at CitizenFX.Core.InternalManager.CreateAssemblyInternal (System.Byte[] assemblyData, System.Byte[] symbolData) [0x00053] in :0
Failed to instantiate instance of script vMenuServer.UpdateChecker: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeLoadException: Could not resolve type with token 0100002d
at System.Runtime.CompilerServices.AsyncVoidMethodBuilder.Start[TStateMachine] (TStateMachine& stateMachine) [0x0002c] in <0123fd5b1a1040fe9d70a7e0d4b28acb>:0
at vMenuServer.UpdateChecker.CheckUpdates () [0x00026] in :0
at vMenuServer.UpdateChecker..ctor () [0x00008] in :0
at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (System.Reflection.MonoCMethod,object,object[],System.Exception&)
at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) [0x00002] in <0123fd5b1a1040fe9d70a7e0d4b28acb>:0
--- End of inner exception stack trace ---
at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) [0x00014] in <0123fd5b1a1040fe9d70a7e0d4b28acb>:0
at System.RuntimeType.CreateInstanceMono (System.Boolean nonPublic) [0x000a8] in <0123fd5b1a1040fe9d70a7e0d4b28acb>:0
at System.RuntimeType.CreateInstanceSlow (System.Boolean publicOnly, System.Boolean skipCheckThis, System.Boolean fillCache, System.Threading.StackCrawlMark& stackMark) [0x00009] in <0123fd5b1a1040fe9d70a7e0d4b28acb>:0
at System.RuntimeType.CreateInstanceDefaultCtor (System.Boolean publicOnly, System.Boolean skipCheckThis, System.Boolean fillCache, System.Threading.StackCrawlMark& stackMark) [0x00027] in <0123fd5b1a1040fe9d70a7e0d4b28acb>:0
at System.Activator.CreateInstance (System.Type type, System.Boolean nonPublic) [0x00020] in <0123fd5b1a1040fe9d70a7e0d4b28acb>:0
at System.Activator.CreateInstance (System.Type type) [0x00000] in <0123fd5b1a1040fe9d70a7e0d4b28acb>:0
at CitizenFX.Core.InternalManager.CreateAssemblyInternal (System.Byte[] assemblyData, System.Byte[] symbolData) [0x00053] in :0
Started resource vMenu

couldn't load vMenu

I've done exactly what it says in the installation on the wiki,
heres my server.cfg

`exec permissions.cfg

other info

start mapmanager
start chat
start spawnmanager
start sessionmanager
start fivem
start hardcap
start rconlog
start scoreboard
start playernames
start hwaycar
start weapons
start playermodels
start vMenu
start lux_vehcontrol
start basic`

Menu moves position randomly

Hey Tom, just want to say firstly that you did an awesome job with this. We love it.

Anyway there seems to be an issue with the menu moving position. For example, it could be on the top left corner when i log in and then next time i log in it could be on the top right hand corner. Me and my friends were testing it yesterday and all noticed this behavior.

Problem about permission system

Hello, I have a problem with permission settings. When I create a group named "group.superadmin" and add my ID signed under it. Despite the acceptance of all permits, only two Misc and About vMenu options appear on the menu. There are no errors in the server logs.
I will add that I wrote the permission myself and tried to use those from the generator.

Vehicle Saving Issues

  • Vehicle extras/components aren't saved yet.
  • Vehicle liveries aren't saved yet.
  • Vehicle toggles (turbo, xenon headlights, custom wheels, tire smoke) are not saved yet
  • Vehicle window tint (?)

Addon Vehicles menu not working

My friend and I have added on vehicles that spawn in and can be spawned by name but, the addon menu is locked and it says "There are no addon vehicles on this server" We have tried to fix and we can not find a fix for it.

Weapon permissions

Im sorry if its stated somewhere, I've spent over a hour trying to figure this out and am left with no choice. 1 being weapon restrictions. I want certain guns available. The ones I dont want do not show up. But for the ones that I do want, it says Its locked when I try to equip it in the menu..

Resource time warning

Hey bud, I'm getting major fps issues when I'm playing on DOJ. At the bottom right it says: vmenu resource time warning -30fps. Would u have a solution for it? :/ I'm sick of playing with 40fps :(

Weird Ped related vehicle spawning bug

It seems that whenever a player spawns a vehicle, presumably with spawn inside vehicle checked, the player goes inside the vehicle but his ped stays out of it. It makes the vehicle look like it is being driven by a ghost.

menu dosent open for me :/

so i did the vMenu as the folder etc but nothing happends when i hold select or press M

hmm its weird. is there any extra stuff i need todo ?

Vehicles Handlings

For some reason when the vMenu is running then all the vehicles loses speed/torque, i found out that u can restore the vehicle stats only if u upgrade them again then if someone else sit on the vehicle it lose the stats again.

Can't Spawn Saved Vehicles if Vehicles Spawner menu is Disabled

I'm not sure whether this is intentional or not, but in the instance of my server it's frustrating.
To be able to spawn Saved Vehicles I MUST enable the "Vehicle Spawner" tab, which I do not want.

See, my server is setup so that players have to go to physical places on the map to obtain, edit, fix and clean their vehicles. But I also want them to be able to save their customized vehicles and use them again in future sessions.

I will probably look into fixing it myself, but I thought I'd mention it as a thing just in case you didn't know.

Other than that I am really grateful for vMenu, it's really great and easy to use!

Time Rapidly Changing

While using the addon the time rapidly changes between noon and the server time. This may be a conflict with the time synchronization addon we use on our server, just thought I should report this issue. It only occurs while vMenu is running.

Some multiplayer model components not saving

When saving a multiplayer model that was edited using the simple trainer or skin control script it appears that not all modifications to the model are saved. Some things like skin color, hair color, tattoos, etc, aren't brought back when loading your saved model.

Additionally, a suggestion for a future update would be to add full support for Multiplayer Model configuration.

Edit: If you feel like getting really in-depth with it; if you have ever used the EUP menu, there is a really cool and extensive customization tool that takes advantage of some of the features of the NativeUI.

Simple Trainer:

vMenu:

Voice Chat Proximity

Hi, I might be blind but I don't see where I can either:
Set Default Voice Chat Proximity
Restrict Voice Chat Proximity
Set permissions for different voice chat proximities.

Maybe I am blind? I'm not seeing it as an 'issue' here on the github either. Is this something that isn't yet implemented?

[Feature Suggestions] A list of feature suggestions

vMenu Suggestions

Here you can request features for future vMenu versions. Please note that I'll only add features if I feel like they fit vMenu. If I don't add your feature, then you can add this yourself by forking the resource. However, I will not provide support if you decide to edit vMenu.

Please read the list below before requesting a feature to make sure it has not been requested before.

Current WIP features:

  • none, too busy with random things atm.

Planned or requested features:

This does not imply that i'll definitely make them, they might be planned but not at the top of the todo-list, or they may be suggested but won't be added, just listed here because people keep asking the same questions

  • Add ban message config option.

  • Make multiple options for engine always on (vehicle type specific)

  • Saving last used timecycle modifier list index.

  • Add some object attachment menu. (probably won't happen, decent pr's welcome.)

  • Add option in-game to disable controller support for the menu (user preference). (by @blockba5her)

  • Make some hooks available to users so they can achieve certain things when menu opens, etc. (by @schwim0341)

  • Add some events like when weather change is started and when it ends.

  • Requesting the ability to spawn Bodyguards. With the option to choose which character model the bodyguard uses. Such as input name or just select from a list of bodyguards. no one seems to have made a server side bodyguard spawning menu for FiveM so i would really like this. (by @ReicitoE)

    Probably won't be added but it's still suggested.

Completed requests

(not all added features are listed here, this only contains some requests because i can't possibly list all of them, and i usually forget who originally suggested something since i get a shit ton of duplicate suggestions all the time)

  • ✔ added v1.0.2 Ability to change the keybinding for keyboard/mouse.

  • ✔ added v1.0.2 Ability to disable weather/time sync completely to let other resources handle it.

  • ✔ added v1.0.4 a "noclip" option.

  • ✔ added v1.0.8 Configurable list of Addon vehicles & peds to spawn.

  • ✔ added in v1.1.0 Improve weapons menu (weapon categories etc...)

  • ✔ Added in v1.1.1 Add camera (angle/rotation locking) options.

  • ✔ Added in v1.1.1 (will be added soon) Improve weapon permissions support.

  • ✔ Added in v1.3.0 Improve weather customization options, and possibly also add more time customization options.

  • ✔ Added in v1.3.0

    • refactor settings/addons being sent to the client (instead of all separate, do it in 1 single json string with only 1 event to speed things up).
    • move config options from __resource.lua to a new proper config system.
    • better configuration file with more config options
  • ✔ Added in v1.3.0 additional indicator somewhere on the screen that shows up whenever you are talking through voice chat

  • ✔ Added in v1.3.0 configurable list of pre-defined teleport locations

  • ✔ Added in v1.3.0 configurable list of pre-defined blips on the map

  • ✔ Added in v1.5.0 More driving styles for 'Drive to Waypoint' and 'Drive Around Randomly'

  • ✔ Added some time around here:

    adding in a way to go into the bans list in game click onto one of the bans and an option to change that bans duration or make it perm could be useful if u don't want to let a admin perm people but they temp ban a hacker that u need to full banned (by @skrubzilla)

  • ✔ Added somewhere around here: MP character customization (freemode peds, like GTA:O)

  • ✔ Added in v2.0.0 (I believe it was added in 2.0.0, might be earlier or later actually, not sure). Restore weapons on re-spawn

  • ✔ Added in v2.2.0 Add the possibility to change the color of car headlights, this option would be extremely useful, thank you! :) Requested by @Takumi-Kanashii

  • ✔ Added in v2.2.0 (or some version around there can't remember) Weapon kits/load-outs saving and spawning options.

  • ✔ Added in v2.2.1 Personal-vehicle options menu kind of like lambda menu, but mostly different.

  • [✔ Added after v2.2.2] Suggestion by @itismejoey "Add config option for setting a key (usually F3 in Lambda) to start/stop recording."

Can't join server

So I followed the install readme and made sure to add the exec permissions.cfg to my server.cfg and copied over the permissions.cfg into the folder but when I try and join my server I get this error "Failed handshake to server 67.3.10.9:30120 - Failed to connect to 67.3.10.9 port 30120: Timed out - CURL error code 7 (Couldn't connect to server)."
capture
capture
capture
capture

vMenu doesnt show up after 1.1.5!

Hey guys, i have a server local hosted and i updated vMenu to 1.1.5 and now i'm pressing "M" to open the menu.. but nothing happens same with noclip "F2" I have these errors in my console could you give me a solution ASAP ? Thanks!
capture

not able to remove unlimited stamina

cant remove unlimited stamina to the everyone permission. I would like for people to be able to use the emotes but not be able to make them self's super human marathon runners.

Resource Time Warning

No modifications to the resource causes a Resource Time Warning to all players on a low-medium end system. Replicated on multiple servers, different hardware, all high-end.

Not working for 1920x1080 or screen size

I have a Alienware 17 r4 17.3 and vmenu will not open on any server I join but it works for everyone else I tried reinstalling fivem and gta still won’t sovle the problem can u please fix this
Resolution 1920x1080

Permissions won't work

Hey, thanks for this work!

One thing what won't work for me, is the permissions.
I've added all of the admins, but I want to disable the menu for the normal users.
If I leave the permissions unchanged, all of the normal users can open the vMenu and can make any server related changes like spawning vehicles.

If I modify the permissions (just the mods and the admins have access to the major menus - in config), it won't work either, normal player can open the menu, and spawn a car again.

What can I do with it?
Tried to disable everything, that work, even for the admins...

voice chat distance default to 20m not 5m

Cant hear police when in a shop robbing it when they are outside. just feel that 20m is a better distance than 5m for the default. anyway to change it for everyone without letting them have access to the menu itself?

Invisible skins

When someone changes their skin. It appears on their end but makes the player invisible to all the other players.

Image

Weird rapid fire bug

On some weapons when you have no reload selected, it causes them to fire rapidly.
One such example is the double action revolver.
The bug also happens if you are firing a weapon out of a car such as the heavy pistol.

Infinite ammo does not work on mk2 weapons

Infinite ammo does not seem to work on mk2 weapons that have special clips such as full metal jacket rounds.

Steps to replicate:

  1. equip mk2 weapon
  2. add special clip component
  3. turn on infinite ammo or no reload

Personal issue

My Vmenu goes off the screen a littlebit so that i cant see what values or mods i am putting on my car :/
No matter on what server i am on it never works properly it is too much to the right side for me. Can i change that?

Addon police cars

I added the cars to the addon.json but the menu still shows as locked and the addon cars dont spawn by name. Just puts the standard gta v car is.

vMenu only showing two options

When I open vMenu I only see two options. "Misc Settings" and "About vMenu"

I have "exec permissions.cfg" at the VERY top of server.cfg
Resource is named "vMenu" case sensitive

permissions.txt
My permissions file is attached. I only named it to .txt to upload it, it IS a .cfg on the server

I added my steam identifier (it is correct steam identifier) to group admin as you can see, I have deleted cache and restarted server several times.

Running newest version of vMenu v1.1.4

I have also tried downloading and installing a fresh copy, didn't work.

I have read the wiki and found nothing on this topic.

Pushing M Key not opening Menu

Hello,

So I've loaded vMenu into my server. I've used the menu before and then recently updated the server files with the latest server file update. My console shows it's loaded and is up to date. But, in game, I cannot open the menu. It won't do anything. No errors in console either. Fresh install of the resouce, so nothing was changed in the permissions.cfg. Please help! I love this menu and would really like to use it.

Thanks.

Vehicle Despawn

I found that vehicles despawn once they leave your sight, this doesn't happen with any other trainer. It would be great to just have the cars never despawn. Outstanding job with this Trainer. The best trainer out there by far! Wicked Job, keep it up!

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.