Help needed with Faction API and Scoreboards.

Discussion in 'Plugin Development' started by nbrandwine, Jan 4, 2015.

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

    nbrandwine

    Hello. I'm trying to make a:
    * Scoreboard:
    - Lists your faction's team's kills/deaths/members.
    * Tab Menu:
    - Lists which team who is on what.

    In my IDE (Eclipse), I keep getting errors such as in this code:
    ERROR: UPlayer cannot be resolved to a type.



    And I'm forced to use this over just "Team RED = b.registerNewTeam("Red");"
    My imports are Factions (1.7.9), MassiveCore (1.7.9), and Craftbukkit (1.7.9).
    These do not work, I have even given 1.8 (all files) a try to no avail.


    I'm not new to programming. I'm just very tired and I've tried all my "fall back to" methods and such.
    And if anyone can point me in the right direction into using Faction's/Core API (not the git page), please tell me.

    ++: If anyone has tips on what I can do for what I'm trying to do (see above, bullets), please feel free to comment.
     
  2. Offline

    xMakerx

    @nbrandwine

    That's because UPlayer is not a type, but MPlayer is. This resource should help you do what you want:
    http://www.massivecraft.com/factions-develop.

    I haven't developed on top of Factions' API yet, so I really won't be that good of help. I hope that link helps get you going.
     
Thread Status:
Not open for further replies.

Share This Page