Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ActionBarAPI/1.0 build #6284

Closed
vNoobblade opened this issue May 12, 2024 · 7 comments
Closed

ActionBarAPI/1.0 build #6284

vNoobblade opened this issue May 12, 2024 · 7 comments

Comments

@vNoobblade
Copy link

Please provide:

Thank you!

@PikaMug
Copy link

PikaMug commented May 21, 2024

You're trying to get org.spigotmc:spigot but you want org.spigotmc:spigot-api

@vNoobblade
Copy link
Author

I want org.spigotmc:spigot because i have to use nms and org.spigotmc:spigot-api does not have nms

@PikaMug
Copy link

PikaMug commented May 21, 2024

Well https://hub.spigotmc.org/nexus/content/repositories/snapshots/ doesn't have org.spigotmc:spigot so you'll have to get it somewhere else.

@vNoobblade
Copy link
Author

https://hub.spigotmc.org/jenkins/job/BuildTools/lastSuccessfulBuild/artifact/target/BuildTools.jar This has org.spigotmc:spigot
java -jar BuildTools.jar --rev 1.8.8

@PikaMug
Copy link

PikaMug commented May 21, 2024

That's not a Maven repository. Even if that file did have org.spigotmc:spigot inside (and looking inside the jar, it doesn't) you would need to depend on it locally. Therefore, Jitpack wouldn't have access to it.

Maybe this tutorial will help you understand Maven better: https://blog.jeff-media.com/how-to-create-your-first-minecraft-plugin-using-the-spigot-api-and-maven/

Alternatively, same yourself the trouble and use an existing action bar API. Here's several: https://browsit.org/search.php?input=actionbar

@vNoobblade
Copy link
Author

https://www.spigotmc.org/wiki/buildtools/ Please check this

@PikaMug
Copy link

PikaMug commented May 22, 2024

https://www.spigotmc.org/wiki/buildtools/ Please check this

BuildTools may generate a jar you can use locally (meaning your machine), but that has absolutely nothing to with Jitpack (not your machine). Either find/create a Maven repository with the necessary dependency, or stick to compiling locally and avoid Jitpack altogether. Good luck, and if you need more help try the SpigotMC forum https://www.spigotmc.org/forums/spigot-plugin-development.52/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants