Git Product home page Git Product logo

Comments (15)

REDRUM216 avatar REDRUM216 commented on August 13, 2024

For instance, this is what I have.

`add_ace builtin.everyone "vMenu.WeaponOptions.Menu" allow
#add_ace builtin.everyone "vMenu.WeaponOptions.GetAll" allow
add_ace builtin.everyone "vMenu.WeaponOptions.RemoveAll" allow
add_ace builtin.everyone "vMenu.WeaponOptions.UnlimitedAmmo" allow
#add_ace builtin.everyone "vMenu.WeaponOptions.NoReload" allow
#add_ace builtin.everyone "vMenu.WeaponOptions.Spawn" allow
add_ace builtin.everyone "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 builtin.everyone "vMenu.WeaponOptions.APPistol" allow
add_ace builtin.everyone "vMenu.WeaponOptions.AdvancedRifle" allow
add_ace builtin.everyone "vMenu.WeaponOptions.AssaultRifle" allow
add_ace builtin.everyone "vMenu.WeaponOptions.AssaultRifleMk2" allow
add_ace builtin.everyone "vMenu.WeaponOptions.AssaultSMG" allow
add_ace builtin.everyone "vMenu.WeaponOptions.AssaultShotgun" allow

add_ace builtin.everyone "vMenu.WeaponOptions.BZGas" allow

add_ace builtin.everyone "vMenu.WeaponOptions.Ball" allow
add_ace builtin.everyone "vMenu.WeaponOptions.Bat" allow
add_ace builtin.everyone "vMenu.WeaponOptions.BattleAxe" allow`

I want to be able to get everyone but BZGas. I found a way around before but I have no luck this time. I had to reinstall my server. I also get this in my console with a hitch warning.

Loaded vMenuServer.net, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null into ScriptDomain_2036465686 Instantiated instance of script GHMatti.Http.RequestInternal. Instantiated instance of script GHMatti.Http.Request. Loaded Newtonsoft.Json, Version=11.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed into ScriptDomain_2036465686 Instantiated instance of script vMenuServer.BanManager. Instantiated instance of script vMenuServer.MainServer. Instantiated instance of script vMenuServer.UpdateChecker. Started resource vMenu

from vmenu.

TomGrobbe avatar TomGrobbe commented on August 13, 2024

@REDRUM216 You need to allow players to spawn the weapon, see docs.vespura.com/vmenu/permissions-ref

from vmenu.

TomGrobbe avatar TomGrobbe commented on August 13, 2024

@REDRUM216 As for the hitch warning whenever you start vMenu, that’s normal. Though it shouldn’t happen constantly after the server has been running for some time

from vmenu.

REDRUM216 avatar REDRUM216 commented on August 13, 2024

Wow, I some how never even seen that. Been working on it almost 12 hours straight. So minds misty.. Trying thats now. And I will let you know about it after running for a bit of time.

from vmenu.

REDRUM216 avatar REDRUM216 commented on August 13, 2024

It works, Thanks for your time Tom!

from vmenu.

REDRUM216 avatar REDRUM216 commented on August 13, 2024

One more thing, everyone can see Banned Players. Reason I notice is before I add any privileges to myself I want to see what pub players would.

from vmenu.

TomGrobbe avatar TomGrobbe commented on August 13, 2024

@REDRUM216 Are you sure that isn’t just setup like that with permissions?

from vmenu.

REDRUM216 avatar REDRUM216 commented on August 13, 2024

I looked, I may have over looked. No joke been on this for 10+ hours straight. I am a strict "pubber" and can see the option "Banned Players", Nobody has been banned yet. Weapons are working, now I will be adding myself to the admin for the server and vMenu too. Will let you know.

from vmenu.

TomGrobbe avatar TomGrobbe commented on August 13, 2024

from vmenu.

TomGrobbe avatar TomGrobbe commented on August 13, 2024

@TomGrobbe (

if (Cf.IsAllowed(Permission.OPUnban))
)

from vmenu.

REDRUM216 avatar REDRUM216 commented on August 13, 2024

Am I missing files? I dont have MainMenu.cs

from vmenu.

TomGrobbe avatar TomGrobbe commented on August 13, 2024

@REDRUM216 No that’s the source code, I just showed the line that contains the permissions check (just for reference). So if someone has the vMenu.OnlinePlayers.Unban permission then they will be able to see the banned players menu as well as unban players. If they don’t have that permission then the banned players menu won’t show up. So if it does, then that means they have that unban permission

from vmenu.

REDRUM216 avatar REDRUM216 commented on August 13, 2024

For some reason only I could see it. Maybe It inherited. Everything is working great so far. Thank you for your fast replies. One last question.

add_ace group.admin "vMenu.VehicleOptions.All" allow add_ace group.admin "vMenu.VehicleOptions.SpawnByName" allow add_ace builtin.everyone "vMenu.VehicleSpawner.Menu" allow #add_ace builtin.everyone "vMenu.VehicleSpawner.All" allow add_ace builtin.everyone "vMenu.VehicleSpawner.DisableReplacePrevious" allow add_ace builtin.everyone "vMenu.VehicleSpawner.Addon" allow # allows you to spawn an addon car from the Addon Vehicles list. add_ace builtin.everyone "vMenu.VehicleSpawner.Compacts" allow

For some reason as admin I have same permissions as builtin.everyone
I added this and still cant see spawn by name. Or access any locked categories.

from vmenu.

TomGrobbe avatar TomGrobbe commented on August 13, 2024

You're adding "vMenu.VehicleOptions.SpawnByName" it should be "vMenu.VehicleSpawner.SpawnByName"

from vmenu.

TomGrobbe avatar TomGrobbe commented on August 13, 2024

(closed issue because the original issue has been solved, feel free to continue here if you still have problems)

from vmenu.

Related Issues (20)

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.