Reward players when changing rank

Discussion in 'Spigot Plugin Help' started by Zytex, Apr 17, 2017.

  1. So I recently had this custom plugin made - When a player firsts joins the server they're prompted to type /class, this opens up a gui with three class options to choose from. The lore on the options state that they'll receive a type of rune (https://www.spigotmc.org/resources/rune-stones-40-runes-1-8-1-11-2.20086/). The type of rune is obviously dependant on which class they choose. As well as being given a rune, they're moved into a variation of the starter rank which contains the permissions that the class gives, as well as access to the kit the class gives - At the moment when the player selects their class they're only moved to a group (the starter rank variation) but are not given the rune that they are promised when selecting - How do I make it so when a player is moved to their selected group/class they're given their rune as well as being moved to the group?