1.15.2 PermissionsEX Group Check ?

Discussion in 'Spigot Plugin Development' started by TheFischPlayz, Jan 27, 2020.

Thread Status:
Not open for further replies.
  1. Hello Guys,

    I try to find out a method to check in eclipse if a player is in group but idk i didn't find something like this.

    Example: if(p.getName().permissionsex.isinGroup("Owner){

    }

    Something like this, do someone know how i can check this in Eclipse ?
     
  2. This can't be a thing, #getName returns a String, Strings don't have a field named permissionsex.
    Eclipse is an IDE for programming in Java, anything you do in Eclipse can also be done in notepad or any other IDE/editor

    Anyway, take a look at the PermissionEx API:
    https://github.com/PEXPlugins/PermissionsEx/wiki/Integrating-with-PEX
     
Thread Status:
Not open for further replies.