XP Permissions

Grants player permission on their level up

Total Downloads: 503 - First Release: Jul 15, 2016 - Last Update: Jul 27, 2016

5/5, 3 likes
  1. Id like to know if this can be configured to assign a player to "VIPs" group when they reach a certain level, say level 5, if you could show me an example config, I'd really appreciate that. it would be a lot easier then assigning each individual permission for all mods in my case as I have already configured each group it's permissions.
     
  2. I will add that soon also with some other options so it will look like
    PermissionsToGrant:{balblablabl}
    PermissionsToRevoke:{qwelblaba}
    GroupsToGrant: {qeqweqwe}
    GroupsToRevoke: {qweqdaseqw}
     
  3. Thanks, I'll keep an eye on it and watch for the update. Be so much easier than personally adding everyone to groups manually. Need it to also do betterchat grouping if possible. Not sure if that mod is able to update them to the chat group on its own.
     
  4. Found a problem if a player have aleready level 30 and i have allow a permission at lvl 15 he become not the permisssion automatic
     
  5. My config file:
    {
    "Permissions": {
    "8": [
    {
    "Group": "123",
    "Permission": [
    "kits.hunter"
    ]
    }
    ],
    "12":[
    {
    "Group": "1234",
    "Permission":[
    "kits.med"
    ]
    }
    ]
    }
    }

    But when i gain 8 and 12 lvl, I do not get permissons.
     
  6. Maybe you have them already... try to revoke these permissions from yourself and try again.
     
  7. JDL

    JDL

    Hi, nice plugin, but have some probelms with it

    I have Kits plugin installed and create on a kit custom permission called kits.5

    Then on configuration file XPPermissions.json i have these:

    {
    "Permissions": {
    "5": [
    {
    "Group": "level5",
    "Permission": [
    "kits.5"
    ]
    }
    ]
    }
    }

    When i reach Lv5 nothing happens and console show these message:

    11:09 [Warning] [XP Permissions] Permission 'kits.5' does not exists. Attempt to grant permission has failed.

    Any help?

    Ty.
     
  8. 1) well according to your config in order for the plugib to grant u the permission you need to be in the level5 group (check the overview)
    2) are you sure that the permission for the kit is "5"? Kits plugin automatically adds the prefix kits."kitpermission".
     
  9. JDL

    JDL

    Yeah i chek Kits file after create kits and saw on it these: "permission":kits.5,

    If i need be in the level5 group, how can i make players enter on that group when reach lv5? Have to do it manually?

    I have differnt kits for level 5, 15 and 25, i want to allow they take that kits when they reach each level.
     
    Last edited by a moderator: Sep 27, 2016
  10. 1) kk
    2) Well its not currently possible
    3) just do something like:

    Code:
    {
        "Permissions": {
            "5": [{
                "Group": "default",
                "Permission": [
                    "kit.default",
                    "tag.default",
                    "bgrade.permission"
                ]
            }],
            "10": [{
                "Group": "default",
                "Permission": [
                    "kit.default10",
                    "tag.default10",
                    "bgrade.permission10"
                ]
            }]
        }
    }
     
  11. JDL

    JDL


    Sorry, i did big mistake :(. Now all working perfect, xDDD will be good if you add as i read options to grant groups on future.

    Problem wasnt your plguin, probelm was i edit kits.json data manually and put there pn "permissions": kits.5, and there is the bigest fail i did, coz forgot put "", now when i did "permissions": "kits.5", all working perfect xD

    Ty for the help
     
  12. i too.. please