PEX add to group only if lower than it

Discussion in 'Spigot Plugin Help' started by anakinsky249, May 8, 2017.

  1. Hey, I'm having a problem with pex. I have a donation system. Ranks are Member, Vip and MegaVIP. Currently, the command executed when the user buys any premium kit is "pex user {user} group set vip" but when a MegaVIP wants to buy one, he gets retrograded to vip. How can I make megavip able to buy stuff that would normally place them in vip without been back in vip ? Thanks
     
  2. I'm not sure, but I do not think I have a rank system yet.
     
  3. In that command, change "set" to "add" :)