Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vMenu not working on first connect to the server #424

Open
Kiwi-Kartoffelpuu opened this issue Aug 20, 2024 · 1 comment
Open

vMenu not working on first connect to the server #424

Kiwi-Kartoffelpuu opened this issue Aug 20, 2024 · 1 comment

Comments

@Kiwi-Kartoffelpuu
Copy link

We have the Problem when we first join the server, the vMenu does not open up. When we connect the second time, everything works totally fine.

It is very frustrating for people on our server that dont have a very good computer.

There are no errors in the F8 console, no errors in the liveconsole. Everything fine with the script. But still on the main and the testserver we have this issue.

vMenu Info:

  • Server ip:
  • vMenu Version (version 'v3.6.2'):
  • Do you have access to the files? yes
  • set sv_enforceGameBuild 2944

server.cfg permissions

add_ace group.admin command allow # allow all commands
add_ace group.admin command.quit deny # but don't allow quit
add_principal identifier.steam: Identifier group.admin

add_ace group.admin drugs_creator allow # Add permission to group
add_ace group.admin jobcreator allow # Add permission to group
add_ace group.admin doors_creator allow # Add permission to group
add_ace group.admin robberies_creator allow # Add permission to group
add_ace group.admin races_creator allow # Add permission to group
add_ace group.admin vehicles_keys allow # Add permission to group
add_ace group.admin farming_creator allow # Add permission to group

vMenu

exec resources/vMenu/config/permissions.cfg
add_ace group.admin "vMenu.Everything" allow
setr vmenu_bans_database_filepath "resources/vMenu/"
ensure vMenu


vMenu permissions.cfg

#############################################################################################

vMenu CONFIGURATION OPTIONS

For help, see https://docs.vespura.com/vmenu/configuration

#############################################################################################

WARNING, if you set "use_permissions" to false, a 'default' permissions system will be used.

this makes sure that EVERYONE on the server can do EVERYTHING, besides, banning, unbanning,

kicking and killing using the Online Players menu.

setr vmenu_use_permissions true

WARNING, if you enable the option below, then only players with the "vMenu.Staff"

permission will be able to use vMenu. Not recommended.

setr vmenu_menu_staff_only true

Disable setting stats like stamina, lung capacity, driving skills etc.

setr vmenu_disable_player_stats_setup true

Key Mapping Stuff.

setr vmenu_menu_toggle_key "M" # https://docs.fivem.net/docs/game-references/input-mapper-parameter-ids/keyboard/
setr vmenu_noclip_toggle_key "comma" # https://docs.fivem.net/docs/game-references/input-mapper-parameter-ids/keyboard/
setr vmenu_keymapping_id "Default" # needs to be one word no spaces

Keeps spawned vehicles from de-spawning if 'replace previous vehicle' is disabled.

setr vmenu_keep_spawned_vehicles_persistent true

Automatically ban cheaters? This feature is not 100% reliable so that's why it's disabled

by default.

setr vmenu_auto_ban_cheaters false
setr vmenu_auto_ban_cheaters_ban_message "You have been automatically banned. If you believe this was done by error, please contact the server owner for support."

Log ban actions to the "vmenu.log" file?

setr vmenu_log_ban_actions true

Log kick actions to the "vmenu.log" file?

setr vmenu_log_kick_actions true

This option will enable compatibility mode for els and other siren-control scripts by

disabling vMenu's control over vehicle sirens completely.

setr vmenu_use_els_compatibility_mode true

This option will make the player invisible on tick if the option in player options is active making

#impossible for other scripts to alter invisible state
setr vmenu_handle_invisibility true

When you set this to true, it will leave the current game session if a player uses the

rockstar editor button in the recording options menu. (false by default).

setr vmenu_quit_session_in_rockstar_editor false

Here you can set some info about your server which will be displayed in the "About Menu".

The first one is just a small description message where you can tell the user about your community.

Keep it short though, because the description box's size is limited.

The second convar is for the url/domain name of your community, which will be displayed as a label on

the right side of the info button. examples: https://www.vespura.com/hi/i/2018-12-09_23-43_9b003_349.png

setr vmenu_server_info_message "Der Caldera Discord Server: https://discord.gg/yWgMAaSR"
setr vmenu_server_info_website_url "https://caldera-roleplay.de"

Set the keybind that will be used for the 'teleport to waypoint' keybind

Only used if enabled in the menu by the user, and if the user has permission

to use the Teleport to Waypoint button in the Misc Settings submenu. This will

only be active when the keyboard is being used. Controllers will not trigger this

keybind unless the keyboard/mouse is being used at the same game frame.

setr vmenu_teleport_to_wp_keybind_key 168 # 168 / F7 by default

If you set this to true, then players will not be able to spawn as their default

saved multiplayer character whenever they join or respawn. This includes all staff members as well.

This does NOT disable the "restore player appearance" option for non-mp peds.

setr vmenu_disable_spawning_as_default_character false

Recommended to leave this disabled, but if you REALLY want to use animals as player peds then go ahead and enable this.

You have been warned, this WILL cause game crashes to occur regularly.

setr vmenu_enable_animals_spawn_menu false

Sets the PVP mode, 0 = do nothing, 1 = enable pvp (friendly fire) for everyone, 2 = disable pvp (friendly fire) for everyone.

Note this is only set ONCE when the player joins. This is not forced every tick, other resources or client mods are able to override this.

Default: 0

setr vmenu_pvp_mode 1

Sets whether or not players can lose their head props when they are hit/pushed.

true = Props will stay on player (default vMenu and GTA Online behavior)

false = vMenu will not touch this feature, by default this means that head props will fall off when the player is hit, which is the default behavior for GTA V Single Player peds.

setr keep_player_head_props false

Set this to true if you don't want vMenu to use any server information convars.

setr vmenu_disable_server_info_convars true

Distance for playerblips to showup. This is using "game units" as measurement. It's unknown

what this is in relation to meters or something similar, but 500.0 seems fine in most cases.

setr vmenu_player_names_distance 500.0

Disables the entity model outlines, model hashes, entity handles development tools section.

setr vmenu_disable_entity_outlines_tool true

This message gets added at the end of all ban messages, use this to show users where they can contact the server staff team in case

they want to appeal it or if they have any questions.

setr vmenu_default_ban_message_information "Bitte wende dich im Discord via Ticket an das Serverteam, falls du gegen diese Sperre Einspruch erheben möchtest."

Weather options

Set this to false to disable weather sync from vMenu globally.

setr vmenu_enable_weather_sync true

Set this to false to disable dynamic (automatic) weather changes.

setr vmenu_enable_dynamic_weather true

The number of minutes between dynamic weather time changes. Value must be greater than 0.

setr vmenu_dynamic_weather_timer 300

Sets the default weather type

setr vmenu_current_weather "clear"

Whether or not artificial lights (blackout mode) is enabled by default.

setr vmenu_blackout_enabled false

Weather change duration in whole seconds, default value is 30. Value must be between 0 and 45 (inclusive).

setr vmenu_weather_change_duration 40

Enable manual snow effects, use this to enable the snow effects with any weather type.

Can be overwritten in-game, this is just the default value used when starting the server.

Combine with XMAS weather for best results.

setr vmenu_enable_snow false

Time options

Set this to false to disable time sync from vMenu globally.

setr vmenu_enable_time_sync true

Set this to true if you want time to be frozen by default.

setr vmenu_freeze_time false

This setting determines how long one in-game minute lasts in real time.

By default, one GTA V minute, takes 2 seconds (2000 miliseconds).

The value here is measured in miliseconds, and must be a positive number at least greater than 100.

setr vmenu_ingame_minute_duration 30000

Set the default in-game hour when the server is started. Value must be between 0 and 23 (inclusive).

setr vmenu_current_hour 12

Set the default in-game minute when the server is started. Value must be between 0 and 59 (inclusive).

setr vmenu_current_minute 0

Setting this to true, will sync the in-game time to the system time of the server.

Enabling this will prevent you from setting a custom time, freezing the time and changing the time duration.

setr vmenu_sync_to_machine_time true

Vehicle options

Setting this to true will enable the chameleon colour vehicle paints category in the primary colours menu.

You must be streaming the chameleon colours in order for this to function properly.

setr vmenu_using_chameleon_colours true

#############################################################################################

vMenu PERMISSIONS

For help, see https://docs.vespura.com/vmenu/permissions-ref

#############################################################################################

#####################################

PLAYERS / GROUPS SETUP

#####################################

Add players to any group you want, can be group.admin, group.moderator or any other group. you want.

Admin group players:

#add_principal identifier.steam: "identifier" group.admin
#add_principal identifier.license: "identifier" group.admin

#add_principal identifier.steam: "identifier" group.admin
#add_principal identifier.license: "identifier" group.admin

#add_principal identifier.steam: "identifier" group.admin
#add_principal identifier.license: "identifier" group.admin

#add_principal identifier.steam: "identifier" group.admin
#add_principal identifier.license: "identifier" group.admin

#add_principal identifier.steam: "identifier" group.admin
#add_principal identifier.license: "identifier" group.admin

Moderator group players:

#add_principal identifier.steam: "identifier" group.moderator
#add_principal identifier.license: "identifier" group.moderator

#############################################

SETTING UP GROUP INHERITANCE

#############################################

Setup group inheritance, it's probably best you don't touch this unless you know what you're doing.

add_principal group.admin group.moderator

#########################################

PERMISSIONS SETUP

#########################################

####################################

GLOBAL PERMISSIONS

####################################
#add_ace group.admin "vMenu.Everything" allow # (Don't touch this, unless you're stupid or you know what you're doing :^) !)

Prevent admins from getting banned/kicked from the server.

add_ace group.admin "vMenu.DontKickMe" allow
add_ace group.admin "vMenu.DontBanMe" allow

If the menu is set to menu_staff_only, then this will allow moderators and admins to use the menu.

add_ace group.admin "vMenu.Staff" allow

Allow anyone to use noclip.

add_ace group.admin "vMenu.NoClip" allow

##############################

ONLINE PLAYERS MENU

##############################
add_ace group.admin "vMenu.OnlinePlayers.Menu" allow
add_ace group.admin "vMenu.OnlinePlayers.All" allow
add_ace group.admin "vMenu.OnlinePlayers.Teleport" allow
add_ace group.admin "vMenu.OnlinePlayers.Waypoint" allow
add_ace group.admin "vMenu.OnlinePlayers.Spectate" allow

Moderators & admins only:

add_ace group.admin "vMenu.OnlinePlayers.Summon" allow
add_ace group.admin "vMenu.OnlinePlayers.Kill" allow
add_ace group.admin "vMenu.OnlinePlayers.Kick" allow

Tempban allows bans up to 30 days, which is enough for moderators.

Mods can also see the banned players list but will not be able to unban players.

add_ace group.admin "vMenu.OnlinePlayers.TempBan" allow
add_ace group.admin "vMenu.OnlinePlayers.ViewBannedPlayers" allow

Admins are allowed to ban players permanently and also unban players.

add_ace group.admin "vMenu.OnlinePlayers.Identifiers" allow
add_ace group.admin "vMenu.OnlinePlayers.PermBan" allow
add_ace group.admin "vMenu.OnlinePlayers.Unban" allow

This is not allowed for anyone by default, but if you really want it enabled then

I suggest you only enable this for the server owner/head of your staff team.

add_ace group.admin "vMenu.OnlinePlayers.SeePrivateMessages" allow

####################################

PLAYER OPTIONS MENU

####################################
add_ace group.admin "vMenu.PlayerOptions.Menu" allow
add_ace group.admin "vMenu.PlayerOptions.All" allow
#add_ace group.admin "vMenu.PlayerOptions.God" allow
#add_ace group.admin "vMenu.PlayerOptions.Invisible" allow
#add_ace group.admin "vMenu.PlayerOptions.UnlimitedStamina" allow
#add_ace group.admin "vMenu.PlayerOptions.FastRun" allow
#add_ace group.admin "vMenu.PlayerOptions.FastSwim" allow
#add_ace group.admin "vMenu.PlayerOptions.Superjump" allow
#add_ace group.admin "vMenu.PlayerOptions.NoRagdoll" allow
#add_ace group.admin "vMenu.PlayerOptions.NeverWanted" allow
#add_ace group.admin "vMenu.PlayerOptions.SetWanted" allow
#add_ace group.admin "vMenu.PlayerOptions.Ignored" allow
#add_ace group.admin "vMenu.PlayerOptions.StayInVehicle" allow
#add_ace group.admin "vMenu.PlayerOptions.MaxHealth" allow
#add_ace group.admin "vMenu.PlayerOptions.MaxArmor" allow
#add_ace group.admin "vMenu.PlayerOptions.CleanPlayer" allow
#add_ace group.admin "vMenu.PlayerOptions.DryPlayer" allow
#add_ace group.admin "vMenu.PlayerOptions.WetPlayer" allow
#add_ace group.admin "vMenu.PlayerOptions.VehicleAutoPilotMenu" allow
#add_ace group.admin "vMenu.PlayerOptions.Freeze" allow
#add_ace group.admin "vMenu.PlayerOptions.Scenarios" allow

####################################

VEHICLE OPTIONS MENU

####################################
add_ace group.admin "vMenu.VehicleOptions.Menu" allow
add_ace group.admin "vMenu.VehicleOptions.All" allow
#add_ace group.admin "vMenu.VehicleOptions.God" allow
#add_ace group.admin "vMenu.VehicleOptions.KeepClean" allow
#add_ace group.admin "vMenu.VehicleOptions.Repair" allow
#add_ace group.admin "vMenu.VehicleOptions.Wash" allow
#add_ace group.admin "vMenu.VehicleOptions.Engine" allow
#add_ace group.admin "vMenu.VehicleOptions.DestroyEngine" allow
#add_ace group.admin "vMenu.VehicleOptions.BikeSeatbelt" allow
#add_ace group.admin "vMenu.VehicleOptions.SpeedLimiter" allow
#add_ace group.admin "vMenu.VehicleOptions.ChangePlate" allow
#add_ace group.admin "vMenu.VehicleOptions.Mod" allow
#add_ace group.admin "vMenu.VehicleOptions.Colors" allow
#add_ace group.admin "vMenu.VehicleOptions.Liveries" allow
#add_ace group.admin "vMenu.VehicleOptions.Components" allow
#add_ace group.admin "vMenu.VehicleOptions.Doors" allow
#add_ace group.admin "vMenu.VehicleOptions.Windows" allow
#add_ace group.admin "vMenu.VehicleOptions.Freeze" allow
#add_ace group.admin "vMenu.VehicleOptions.Invisible" allow
#add_ace group.admin "vMenu.VehicleOptions.TorqueMultiplier" allow
#add_ace group.admin "vMenu.VehicleOptions.PowerMultiplier" allow
#add_ace group.admin "vMenu.VehicleOptions.Flip" allow
#add_ace group.admin "vMenu.VehicleOptions.Alarm" allow
#add_ace group.admin "vMenu.VehicleOptions.CycleSeats" allow
#add_ace group.admin "vMenu.VehicleOptions.EngineAlwaysOn" allow
#add_ace group.admin "vMenu.VehicleOptions.NoSiren" allow
#add_ace group.admin "vMenu.VehicleOptions.NoHelmet" allow
#add_ace group.admin "vMenu.VehicleOptions.Lights" allow
#add_ace group.admin "vMenu.VehicleOptions.FixOrDestroyTires" allow
#add_ace group.admin "vMenu.VehicleOptions.Delete" allow
#add_ace group.admin "vMenu.VehicleOptions.Underglow" allow
#add_ace group.admin "vMenu.VehicleOptions.FlashHighbeamsOnHonk" allow
#add_ace group.admin "vMenu.VehicleOptions.DisableTurbulence" allow
#add_ace group.admin "vMenu.VehicleOptions.InfiniteFuel" allow
#add_ace group.admin "vMenu.VehicleOptions.VOFlares" allow
#add_ace group.admin "vMenu.VehicleOptions.VOPlaneBombs" allow

####################################

VEHICLE SPAWNER MENU

####################################
add_ace group.admin "vMenu.VehicleSpawner.Menu" allow
add_ace group.admin "vMenu.VehicleSpawner.All" allow
#add_ace group.admin "vMenu.VehicleSpawner.DisableReplacePrevious" allow
#add_ace group.admin "vMenu.VehicleSpawner.SpawnByName" allow
#add_ace group.admin "vMenu.VehicleSpawner.Addon" allow # allows you to spawn an addon car from the Addon Vehicles list.
#add_ace group.admin "vMenu.VehicleSpawner.Compacts" allow
#add_ace group.admin "vMenu.VehicleSpawner.Sedans" allow
#add_ace group.admin "vMenu.VehicleSpawner.SUVs" allow
#add_ace group.admin "vMenu.VehicleSpawner.Coupes" allow
#add_ace group.admin "vMenu.VehicleSpawner.Muscle" allow
#add_ace group.admin "vMenu.VehicleSpawner.SportsClassic" allow
#add_ace group.admin "vMenu.VehicleSpawner.Sports" allow
#add_ace group.admin "vMenu.VehicleSpawner.Super" allow
#add_ace group.admin "vMenu.VehicleSpawner.Motorcycles" allow
#add_ace group.admin "vMenu.VehicleSpawner.OffRoad" allow
#add_ace group.admin "vMenu.VehicleSpawner.Industrial" allow
#add_ace group.admin "vMenu.VehicleSpawner.Utility" allow
#add_ace group.admin "vMenu.VehicleSpawner.Vans" allow
#add_ace group.admin "vMenu.VehicleSpawner.Cycles" allow
#add_ace group.admin "vMenu.VehicleSpawner.Boats" allow
#add_ace group.admin "vMenu.VehicleSpawner.Helicopters" allow
#add_ace group.admin "vMenu.VehicleSpawner.Planes" allow
#add_ace group.admin "vMenu.VehicleSpawner.Service" allow
#add_ace group.admin "vMenu.VehicleSpawner.Emergency" allow
#add_ace group.admin "vMenu.VehicleSpawner.Military" allow
#add_ace group.admin "vMenu.VehicleSpawner.Commercial" allow
#add_ace group.admin "vMenu.VehicleSpawner.Trains" allow
#add_ace group.admin "vMenu.VehicleSpawner.OpenWheel" allow

####################################

SAVED VEHICLES MENU

####################################
add_ace group.admin "vMenu.SavedVehicles.Menu" allow
add_ace group.admin "vMenu.SavedVehicles.All" allow
#add_ace group.admin "vMenu.SavedVehicles.Spawn" allow

####################################

PERSONAL VEHICLE MENU

####################################
add_ace group.admin "vMenu.PersonalVehicle.Menu" allow
add_ace group.admin "vMenu.PersonalVehicle.All" allow
#add_ace group.admin "vMenu.PersonalVehicle.ToggleEngine" allow
#add_ace group.admin "vMenu.PersonalVehicle.ToggleLights" allow
#add_ace group.admin "vMenu.PersonalVehicle.ToggleStance" allow
#add_ace group.admin "vMenu.PersonalVehicle.KickPassengers" allow
#add_ace group.admin "vMenu.PersonalVehicle.LockDoors" allow # This grants both locking and unlocking the doors.
#add_ace group.admin "vMenu.PersonalVehicle.Doors" allow
#add_ace group.admin "vMenu.PersonalVehicle.SoundHorn" allow
#add_ace group.admin "vMenu.PersonalVehicle.ToggleAlarm" allow
#add_ace group.admin "vMenu.PersonalVehicle.AddBlip" allow # Adds a blip for your personal vehicle only.
#add_ace group.admin "vMenu.PersonalVehicle.ExclusiveDriver" allow # Allows you to become the exclusive driver of this vehicle.

####################################

PLAYER APPEARANCE MENU

####################################
add_ace group.admin "vMenu.PlayerAppearance.Menu" allow
add_ace group.admin "vMenu.PlayerAppearance.All" allow
#add_ace group.admin "vMenu.PlayerAppearance.Customize" allow
#add_ace group.admin "vMenu.PlayerAppearance.SpawnSaved" allow
#add_ace group.admin "vMenu.PlayerAppearance.SpawnNew" allow
#add_ace group.admin "vMenu.PlayerAppearance.AddonPeds" allow

####################################

TIME OPTIONS MENU

####################################

Restricted to moderators/admins by default.

add_ace group.admin "vMenu.TimeOptions.Menu" allow
add_ace group.admin "vMenu.TimeOptions.All" allow
#add_ace group.admin "vMenu.TimeOptions.FreezeTime" allow
#add_ace group.admin "vMenu.TimeOptions.SetTime" allow

####################################

WEATHER OPTIONS MENU

####################################

Also restricted to moderators/admins by default.

add_ace group.admin "vMenu.WeatherOptions.Menu" allow
add_ace group.admin "vMenu.WeatherOptions.All" allow
#add_ace group.admin "vMenu.WeatherOptions.Dynamic" allow
#add_ace group.admin "vMenu.WeatherOptions.Blackout" allow
#add_ace group.admin "vMenu.WeatherOptions.SetWeather" allow
#add_ace group.admin "vMenu.WeatherOptions.RemoveClouds" allow
#add_ace group.admin "vMenu.WeatherOptions.RandomizeClouds" allow

####################################

WEAPON OPTIONS MENU

####################################
add_ace group.admin "vMenu.WeaponOptions.Menu" allow
add_ace group.admin "vMenu.WeaponOptions.All" allow
#add_ace group.admin "vMenu.WeaponOptions.GetAll" allow
#add_ace group.admin "vMenu.WeaponOptions.RemoveAll" allow
#add_ace group.admin "vMenu.WeaponOptions.UnlimitedAmmo" allow
#add_ace group.admin "vMenu.WeaponOptions.NoReload" allow
#add_ace group.admin "vMenu.WeaponOptions.Spawn" allow
#add_ace group.admin "vMenu.WeaponOptions.SpawnByName" allow
#add_ace group.admin "vMenu.WeaponOptions.SetAllAmmo" allow

WEAPON-SPECIFIC PERMISSIONS

If you remove the "vMenu.WeaponOptions.All" permission, you can specify specific

weapons that players can access using the weapon options menu by granting permissions

for every weapon that you want to allow below. "vMenu.WeaponOptions.All" automatically grants all weapons.

add_ace group.admin "vMenu.WeaponOptions.APPistol" allow

add_ace group.admin "vMenu.WeaponOptions.AdvancedRifle" allow

add_ace group.admin "vMenu.WeaponOptions.AssaultRifle" allow

add_ace group.admin "vMenu.WeaponOptions.AssaultRifleMk2" allow

add_ace group.admin "vMenu.WeaponOptions.AssaultSMG" allow

add_ace group.admin "vMenu.WeaponOptions.AssaultShotgun" allow

add_ace group.admin "vMenu.WeaponOptions.BZGas" allow

add_ace group.admin "vMenu.WeaponOptions.Ball" allow

add_ace group.admin "vMenu.WeaponOptions.Bat" allow

add_ace group.admin "vMenu.WeaponOptions.BattleAxe" allow

add_ace group.admin "vMenu.WeaponOptions.Bottle" allow

add_ace group.admin "vMenu.WeaponOptions.BullpupRifle" allow

add_ace group.admin "vMenu.WeaponOptions.BullpupRifleMk2" allow

add_ace group.admin "vMenu.WeaponOptions.BullpupShotgun" allow

add_ace group.admin "vMenu.WeaponOptions.CarbineRifle" allow

add_ace group.admin "vMenu.WeaponOptions.CarbineRifleMk2" allow

add_ace group.admin "vMenu.WeaponOptions.CombatMG" allow

add_ace group.admin "vMenu.WeaponOptions.CombatMGMk2" allow

add_ace group.admin "vMenu.WeaponOptions.CombatPDW" allow

add_ace group.admin "vMenu.WeaponOptions.CombatPistol" allow

add_ace group.admin "vMenu.WeaponOptions.CompactGrenadeLauncher" allow

add_ace group.admin "vMenu.WeaponOptions.CompactRifle" allow

add_ace group.admin "vMenu.WeaponOptions.Crowbar" allow

add_ace group.admin "vMenu.WeaponOptions.Dagger" allow

add_ace group.admin "vMenu.WeaponOptions.DoubleAction" allow

add_ace group.admin "vMenu.WeaponOptions.DoubleBarrelShotgun" allow

add_ace group.admin "vMenu.WeaponOptions.FireExtinguisher" allow

add_ace group.admin "vMenu.WeaponOptions.Firework" allow

add_ace group.admin "vMenu.WeaponOptions.Flare" allow

add_ace group.admin "vMenu.WeaponOptions.FlareGun" allow

add_ace group.admin "vMenu.WeaponOptions.Flashlight" allow

add_ace group.admin "vMenu.WeaponOptions.GolfClub" allow

add_ace group.admin "vMenu.WeaponOptions.Grenade" allow

add_ace group.admin "vMenu.WeaponOptions.GrenadeLauncher" allow

add_ace group.admin "vMenu.WeaponOptions.GrenadeLauncherSmoke" allow

add_ace group.admin "vMenu.WeaponOptions.Gusenberg" allow

add_ace group.admin "vMenu.WeaponOptions.Hammer" allow

add_ace group.admin "vMenu.WeaponOptions.Hatchet" allow

add_ace group.admin "vMenu.WeaponOptions.HeavyPistol" allow

add_ace group.admin "vMenu.WeaponOptions.HeavyShotgun" allow

add_ace group.admin "vMenu.WeaponOptions.HeavySniper" allow

add_ace group.admin "vMenu.WeaponOptions.HeavySniperMk2" allow

add_ace group.admin "vMenu.WeaponOptions.HomingLauncher" allow

add_ace group.admin "vMenu.WeaponOptions.Knife" allow

add_ace group.admin "vMenu.WeaponOptions.KnuckleDuster" allow

add_ace group.admin "vMenu.WeaponOptions.MG" allow

add_ace group.admin "vMenu.WeaponOptions.Machete" allow

add_ace group.admin "vMenu.WeaponOptions.MachinePistol" allow

add_ace group.admin "vMenu.WeaponOptions.MarksmanPistol" allow

add_ace group.admin "vMenu.WeaponOptions.MarksmanRifle" allow

add_ace group.admin "vMenu.WeaponOptions.MarksmanRifleMk2" allow

add_ace group.admin "vMenu.WeaponOptions.MicroSMG" allow

add_ace group.admin "vMenu.WeaponOptions.MiniSMG" allow

add_ace group.admin "vMenu.WeaponOptions.Minigun" allow

add_ace group.admin "vMenu.WeaponOptions.Molotov" allow

add_ace group.admin "vMenu.WeaponOptions.Musket" allow

add_ace group.admin "vMenu.WeaponOptions.NightVision" allow

add_ace group.admin "vMenu.WeaponOptions.Nightstick" allow

add_ace group.admin "vMenu.WeaponOptions.Parachute" allow

add_ace group.admin "vMenu.WeaponOptions.PetrolCan" allow

add_ace group.admin "vMenu.WeaponOptions.PipeBomb" allow

add_ace group.admin "vMenu.WeaponOptions.Pistol" allow

add_ace group.admin "vMenu.WeaponOptions.Pistol50" allow

add_ace group.admin "vMenu.WeaponOptions.PistolMk2" allow

add_ace group.admin "vMenu.WeaponOptions.PoolCue" allow

add_ace group.admin "vMenu.WeaponOptions.ProximityMine" allow

add_ace group.admin "vMenu.WeaponOptions.PumpShotgun" allow

add_ace group.admin "vMenu.WeaponOptions.PumpShotgunMk2" allow

add_ace group.admin "vMenu.WeaponOptions.RPG" allow

add_ace group.admin "vMenu.WeaponOptions.Railgun" allow

add_ace group.admin "vMenu.WeaponOptions.Revolver" allow

add_ace group.admin "vMenu.WeaponOptions.RevolverMk2" allow

add_ace group.admin "vMenu.WeaponOptions.SMG" allow

add_ace group.admin "vMenu.WeaponOptions.SMGMk2" allow

add_ace group.admin "vMenu.WeaponOptions.SNSPistol" allow

add_ace group.admin "vMenu.WeaponOptions.SNSPistolMk2" allow

add_ace group.admin "vMenu.WeaponOptions.SawnOffShotgun" allow

add_ace group.admin "vMenu.WeaponOptions.SmokeGrenade" allow

add_ace group.admin "vMenu.WeaponOptions.SniperRifle" allow

add_ace group.admin "vMenu.WeaponOptions.Snowball" allow

add_ace group.admin "vMenu.WeaponOptions.SpecialCarbine" allow

add_ace group.admin "vMenu.WeaponOptions.SpecialCarbineMk2" allow

add_ace group.admin "vMenu.WeaponOptions.StickyBomb" allow

add_ace group.admin "vMenu.WeaponOptions.StunGun" allow

add_ace group.admin "vMenu.WeaponOptions.SweeperShotgun" allow

add_ace group.admin "vMenu.WeaponOptions.SwitchBlade" allow

add_ace group.admin "vMenu.WeaponOptions.Unarmed" allow

add_ace group.admin "vMenu.WeaponOptions.VintagePistol" allow

add_ace group.admin "vMenu.WeaponOptions.Wrench" allow

add_ace group.admin "vMenu.WeaponOptions.PlasmaPistol" allow

add_ace group.admin "vMenu.WeaponOptions.PlasmaCarbine" allow

add_ace group.admin "vMenu.WeaponOptions.PlasmaMinigun" allow

add_ace group.admin "vMenu.WeaponOptions.StoneHatchet" allow

add_ace group.admin "vMenu.WeaponOptions.CeramicPistol" allow # mpheist3 dlc (1868)

add_ace group.admin "vMenu.WeaponOptions.NavyRevolver" allow # mpheist3 dlc (1868)

add_ace group.admin "vMenu.WeaponOptions.HazardCan" allow # mpheist3 dlc (1868)

add_ace group.admin "vMenu.WeaponOptions.PericoPistol" allow # mpheist4 dlc (2189)

add_ace group.admin "vMenu.WeaponOptions.MilitaryRifle" allow # mpheist4 dlc (2189)

add_ace group.admin "vMenu.WeaponOptions.CombatShotgun" allow # mpheist4 dlc (2189)

add_ace group.admin "vMenu.WeaponOptions.EMPLauncher" allow # mpsecurity dlc (2545)

add_ace group.admin "vMenu.WeaponOptions.HeavyRifle" allow # mpsecurity dlc (2545)

add_ace group.admin "vMenu.WeaponOptions.FertilizerCan" allow # mpsecurity dlc (2545)

add_ace group.admin "vMenu.WeaponOptions.StunGunMP" allow # mpsecurity dlc (2545)

add_ace group.admin "vMenu.WeaponOptions.PrecisionRifle" allow # mpsum2 dlc (2699)

add_ace group.admin "vMenu.WeaponOptions.TacticalRifle" allow # mpsum2 dlc (2699)

add_ace group.admin "vMenu.WeaponOptions.PistolXM3" allow # mpchristmas3 dlc (2802)

add_ace group.admin "vMenu.WeaponOptions.CandyCane" allow # mpchristmas3 dlc (2802)

add_ace group.admin "vMenu.WeaponOptions.RailgunXM3" allow # mpchristmas3 dlc (2802)

add_ace group.admin "vMenu.WeaponOptions.AcidPackage" allow # mpchristmas3 dlc (2802)

add_ace group.admin "vMenu.WeaponOptions.TecPistol" allow # mp2023_01 dlc (2944)

add_ace group.admin "vMenu.WeaponOptions.BattleRifle" allow # mp2023_02 dlc (3095)

add_ace group.admin "vMenu.WeaponOptions.SnowLauncher" allow # mp2023_02 dlc (3095)

add_ace group.admin "vMenu.WeaponOptions.HackingDevice" allow # mp2023_02 dlc (3095)

####################################

WEAPON LOADOUTS MENU

####################################
add_ace group.admin "vMenu.WeaponLoadouts.Menu" allow
add_ace group.admin "vMenu.WeaponLoadouts.All" allow
add_ace group.admin "vMenu.WeaponLoadouts.Equip" allow
add_ace group.admin "vMenu.WeaponLoadouts.EquipOnRespawn" allow

####################################

MISC SETTINGS MENU

####################################

There is no vMenu.MiscSettings.Menu permission on purpose, some options in the misc settings menu

should ALWAYS be allowed, so you can't restrict the opening of this menu!

add_ace group.admin "vMenu.MiscSettings.All" allow
add_ace group.admin "vMenu.MiscSettings.ClearArea" allow
add_ace group.admin "vMenu.MiscSettings.TeleportToWp" allow
add_ace group.admin "vMenu.MiscSettings.TeleportToCoord" allow
add_ace group.admin "vMenu.MiscSettings.ShowCoordinates" allow
add_ace group.admin "vMenu.MiscSettings.ShowLocation" allow
add_ace group.admin "vMenu.MiscSettings.JoinQuitNotifs" allow
add_ace group.admin "vMenu.MiscSettings.DeathNotifs" allow
add_ace group.admin "vMenu.MiscSettings.NightVision" allow
add_ace group.admin "vMenu.MiscSettings.ThermalVision" allow
add_ace group.admin "vMenu.MiscSettings.LocationBlips" allow
add_ace group.admin "vMenu.MiscSettings.OverheadNames" allow
add_ace group.admin "vMenu.MiscSettings.PlayerBlips" allow
add_ace group.admin "vMenu.MiscSettings.TeleportLocations" allow
add_ace group.admin "vMenu.MiscSettings.TeleportSaveLocation" allow # Only allowed for moderators by default
add_ace group.admin "vMenu.MiscSettings.ConnectionMenu" allow
add_ace group.admin "vMenu.MiscSettings.RestoreAppearance" allow
add_ace group.admin "vMenu.MiscSettings.RestoreWeapons" allow
add_ace group.admin "vMenu.MiscSettings.DriftMode" allow
add_ace group.admin "vMenu.MiscSettings.EntitySpawner" allow # Probably not the best idea to give this feature for everyone
add_ace group.admin "vMenu.MiscSettings.DevTools" allow # Probably not the best idea to give this feature for everyone

####################################

VOICE CHAT OPTIONS MENU

####################################

To disable vMenu's voice chat options, simply remove this section completely and vMenu won't touch voice chat at all.

#add_ace group.admin "vMenu.VoiceChat.Menu" allow
#add_ace group.admin "vMenu.VoiceChat.All" allow
#add_ace group.admin "vMenu.VoiceChat.Enable" allow
#add_ace group.admin "vMenu.VoiceChat.ShowSpeaker" allow
#setr vmenu_override_voicechat_default_range 0.0 # range in meters, 0.0 is user default

Staff voice channel is restricted to moderators/admins by default.

#add_ace group.admin "vMenu.VoiceChat.StaffChannel" allow

Thx for the help :)

@Mathu-lmn
Copy link
Contributor

Hi, could you upload the config file directly instead of copying it ?
Have you tried on the last vMenu version - FiveM server artifacts / gamebuild ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants