SHARE
TWEET

Untitled

a guest Jan 20th, 2020 67 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.         Main.getExecutorService().execute(() -> {
  2.             if(!MYSQL.isRegistered(p)) {
  3.                 MYSQL.register(p);
  4.             }
  5.             if(MYSQL.getRank(p).equalsIgnoreCase("None")) {
  6.                 player.add(p);
  7.             }else if(MYSQL.getRank(p).equalsIgnoreCase("Ultra")) {
  8.                 ultra.add(p);
  9.             }else if(MYSQL.getRank(p).equalsIgnoreCase("Gold")){
  10.                 gold.add(p);
  11.             }else if(MYSQL.getRank(p).equalsIgnoreCase("Diamond")) {
  12.                 diamond.add(p);
  13.             }else if(MYSQL.getRank(p).equalsIgnoreCase("Bedrock")) {
  14.                 bedrock.add(p);
  15.             }else if(MYSQL.getRank(p).equalsIgnoreCase("Point")) {
  16.                 point.add(p);
  17.             }else if(MYSQL.getRank(p).equalsIgnoreCase("Point+")) {
  18.                 pointplus.add(p);
  19.             }else {
  20.                 p.sendMessage("Ā§cSomething went wrong. Please contact an Admin.");
  21.             }
  22.             ScoreAPI.ranking.put(p, ScoreAPI.r.nextInt(Integer.MAX_VALUE));
  23.             Bukkit.getScheduler().scheduleSyncDelayedTask(Main.getMain(), () -> ScoreAPI.setScoreboard(p));
  24.         });
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