need vault help

Discussion in 'Plugin Development' started by JordyPwner, Dec 2, 2014.

Thread Status:
Not open for further replies.
  1. Offline

    JordyPwner

    How do i get the players group prefix (or name) where the player currently is in? Ive been trying for dayz now but i always get a NPe or just a error. I have looked at the vault api but that didnt helped either
     
  2. Offline

    JordyPwner

    Im trying to create a SIMPLE scoreboard but that doesnt even work i guess. I tried with the vaultapi through Chat and permission Variables ;3

    getting NPE at: Score rank2 = objective.getScore(ChatColor.RED + "" + chat.getGroupPrefix(e.getPlayer().getWorld(), e.getPlayer().getName()));
     
  3. Offline

    mythbusterma

    JordyPwner

    It would be a lot easier to debug that if you didn't put so much on one line, spread it out and find out more specifically where the error is.
     
  4. Offline

    JordyPwner

Thread Status:
Not open for further replies.

Share This Page