KarlOfDuty / CustomLoadouts

An smod plugin allowing you to set up special sub-classes and giving items based on random chance and user permissions.
https://karlofduty.com
GNU General Public License v3.0
9 stars 4 forks source link

How to config permission #5

Open ShoShi23 opened 5 years ago

ShoShi23 commented 5 years ago

I have 100% chance for coin and i don't get it...

My config:

# Prints a confirmation whenever a player is given a loadout
verbose: true
# Prints debug messages
debug: false
# Adds a ms delay if needed for plugin compatibility
delay: 0

# This sets up the loadouts and the permission nodes required to get them
# For instance "customloadouts.donatorloadouts" gives all loadouts under the donatorloadouts node below, as long as the class and chance checks are successful.
customloadouts:
    sponsorloadouts:
        CLASSD:
            - 100:
                - COIN 
            - 10:
                - MEDKIT
                - FLASHLIGHT
                - RADIO
                - ZONE_MANAGER_KEYCARD
            - 5:
                - COM15_PISTOL
        SCIENTIST:
            - 100:
                - COIN 
            - 10:
                - REMOVEITEMS
                - REMOVEAMMO
                - MEDKIT
                - FLASHLIGHT
                - RADIO
                - ZONE_MANAGER_KEYCARD
            - 5:
                - REMOVEITEMS
                - REMOVEAMMO
                - COM15_PISTOL
                - DROPPED_9
                - DROPPED_9
KarlOfDuty commented 5 years ago

Have you given yourself permissions for the loadout in scperms?

ShoShi23 commented 5 years ago

Where to give it?

KarlOfDuty commented 5 years ago

https://github.com/KarlOfDuty/SCPermissions

ShoShi23 commented 5 years ago

What is the Path to do this?

KarlOfDuty commented 5 years ago

customloadouts.sponsorloadouts

ShoShi23 commented 5 years ago

And where to put it?

ShoShi23 commented 5 years ago

SCpermission?

ShoShi23 commented 5 years ago

I give the permission and don't work