Checking if a player is in a group

Discussion in 'BungeeCord Plugin Development' started by SubmissiveMC, Jan 18, 2017.

  1. Wrong forum sorry.
     
    #1 SubmissiveMC, Jan 18, 2017
    Last edited: Jan 18, 2017
  2. Code (Text):
    if (PermissionsEx.getUser(p).inGroup("Owner")) {
    // do code here
    }
    Depends on PermissionsEX (i know you said wrong forum but still want to help)