Solved Which API do these

Discussion in 'Spigot Plugin Development' started by origin658, Jun 14, 2016.

  1. Come from;

    import com.mojang.authlib.GameProfile;
    import com.mojang.authlib.properties.Property;


    Also, where do i find the latest bungge cord API download.
     
  2. I cant find which API they belong too.
     
  3. Isn't that in BungeeCord?

    Edit: It's in the Spigot jar
    http://prntscr.com/bgdehx
     
  4. Ok Thank you they now work. I thought this would be solved by the Bungee cord api but they was not, where can i get these from.

    import net.md_5.bungee.event.EventHandler;
    import net.md_5.bungee.event.EventPriority;


    Edit: These also

    import net.md_5.bungee.connection.InitialHandler;
    import net.md_5.bungee.connection.LoginResult;
    import net.md_5.bungee.connection.LoginResult.Property;
    import net.md_5.bungee.UserConnection;
     
  5. com.mojang.authlib.properties.Property and com.mojang.authlib.GameProfile are from authlib-1.5.16

    import net.md_5.bungee.connection.InitialHandler;
    import net.md_5.bungee.connection.LoginResult;
    import net.md_5.bungee.connection.LoginResult.Property;
    import net.md_5.bungee.UserConnection;
    import net.md_5.bungee.event.EventHandler;
    import net.md_5.bungee.event.EventPriority;

    are all from bungeecord
     
  6. [​IMG] Finally how do i fix this error?
     
  7. Import the correct API in your workspace?
     
  8. Any idea of which API that is?
     
  9. No...? Are you coding something using an API you don't even know? Where did this code come from?
     
  10. It is the Skin Restorer plugging, and I am trying to compile it from github, but I was missing the APIS.
     
  11. I can't find the code you're trying to fix, and their code has no link to the package you mentioned.