GroupManager/Vault API how to set player group?

Discussion in 'Spigot Plugin Development' started by InfernoSpirit, Jun 28, 2016.

Thread Status:
Not open for further replies.
  1. Is there a way to set player group using the vault api that hooks into groupmanager?
    What would I use?

    Basically, Im linking ranks up with a custom /setrank command which sets the players rank to <rank> arg1 and it will update the rank for the player in the mysql database ive got, and when a player logs into my server, i want my plugin to load the players rank from the mysql database as a string, e.g. Helper and then use the vault/groupmanager api with java to automatically set their rank according to their mysql rank.
    How would I come around to doing this? Thanks!
     
  2. What have you tried already?
     
  3. Ive fixed it, ive found a way to do it, thanks guys.
     
Thread Status:
Not open for further replies.