problem with plugin download on github

Discussion in 'Plugin Development' started by ZaRToP, Feb 1, 2018.

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

    ZaRToP

    Hi guys

    I downloaded a plugin on github, more precisely, an API and a plugin of Hub

    I have imported it on my eclipse and corrected all (or almost) errors

    when I import my hub plugin on my server, I have this error: org.bukkit.plugin.unknowndependencyexception , so I import my API on my server and the problem is that I do not have the plugin.yml, so I created it, but I do not have the main class

    here is the github of the API : https://github.com/SamaGames/SamaGamesAPI

    Would you have a solution?
     
  2. Don’t use eclipse, use Apache Maven. Once you’ve downloaded it use cd in command prompt or powershell to locate the directory of your github repository in your local machine then run mvn clean install.
     
  3. Offline

    Zombie_Striker

    @ZaRToP
    That API is not a plugin; that is why it does not have a plugin.yml. You need to incorporate the code into another plugin.
     
  4. Offline

    ZaRToP

    @Zombie_Striker that is to say ? i need to incorporate the code into another plugin I did not understand quite well

    @615283 okay i'm going to test
     
  5. He means it's just code, the guy who made that API really just gave you some useful code to use in your plugins.
     
Thread Status:
Not open for further replies.

Share This Page