daily pastebin goal
36%
SHARE
TWEET

Untitled

a guest Jan 18th, 2019 69 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     public static void setPlayerRanks(Player player) {
  2.         if(Main.perm.getUser(player).inGroup("Owner")) {
  3.             playerrank.put(player, "§4Owner");
  4.             playerrankcolor.put(player, "§4");
  5.             return;
  6.         }
  7.         if(Main.perm.getUser(player).inGroup("Admin")) {
  8.             playerrank.put(player, "§4Admin");
  9.             playerrankcolor.put(player, "§4");
  10.             return;
  11.         }
  12.         if(Main.perm.getUser(player).inGroup("Moderator")) {
  13.             playerrank.put(player, "§cModerator");
  14.             playerrankcolor.put(player, "§c");
  15.             return;
  16.         }
  17.         if(Main.perm.getUser(player).inGroup("Developer")) {
  18.             playerrank.put(player, "§bDeveloper");
  19.             playerrankcolor.put(player, "§b");
  20.             return;
  21.         }
  22.         if(Main.perm.getUser(player).inGroup("Content")) {
  23.             playerrank.put(player, "§eContent");
  24.             playerrankcolor.put(player, "§e");
  25.             return;
  26.         }
  27.         if(Main.perm.getUser(player).inGroup("Builder")) {
  28.             playerrank.put(player, "§2Builder");
  29.             playerrankcolor.put(player, "§2");
  30.             return;
  31.         }
  32.         if(Main.perm.getUser(player).inGroup("Supporter")) {
  33.             playerrank.put(player, "§9Supporter");
  34.             playerrankcolor.put(player, "§9");
  35.             return;
  36.         }
  37.         if(Main.perm.getUser(player).inGroup("YouTuber")) {
  38.             playerrank.put(player, "§5YouTuber");
  39.             playerrankcolor.put(player, "§5");
  40.             return;
  41.         }
  42.         if(Main.perm.getUser(player).inGroup("VIP")) {
  43.             playerrank.put(player, "§dVIP");
  44.             playerrankcolor.put(player, "§d");
  45.             return;
  46.         }
  47.         if(Main.perm.getUser(player).inGroup("Dragon")) {
  48.             playerrank.put(player, "§5Dragon");
  49.             playerrankcolor.put(player, "§5");
  50.             return;
  51.         }
  52.         if(Main.perm.getUser(player).inGroup("Golem")) {
  53.             playerrank.put(player, "§7Golem");
  54.             playerrankcolor.put(player, "§7");
  55.             return;
  56.         }
  57.         if(Main.perm.getUser(player).inGroup("Creeper")) {
  58.             playerrank.put(player, "§2Creeper");
  59.             playerrankcolor.put(player, "§2");
  60.             return;
  61.         }
  62.         if(Main.perm.getUser(player).inGroup("Miner")) {
  63.             playerrank.put(player, "§aMiner");
  64.             playerrankcolor.put(player, "§a");
  65.             return;
  66.         }
  67.     }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top