BuycraftX is a plugin by Tebex which allows you to sell ranks and Perks. By buying something from the Store specific commands are run in the Minecraft Console. There is also a Bungee Version which allows to run commands in the entire Network and not just one Subserver. On the SMP there is the default Software though.