How do I make a bukkit plugin

Discussion in 'Bukkit Discussion' started by ZombostarkV2, Jun 3, 2021.

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

    ZombostarkV2

    I know how to code java a bit, is there like an sdk for bukkit plugins, I cant go to dev.bukkit.org becuz cloudflare sucks. Plus I am not that good at minecraft java coding, is there any youtube tutorials????
     
  2. Offline

    timtower Administrator Administrator Moderator

    @ZombostarkV2 Normal Java is enough, minecraft java coding does not exist.
    Bukkit.jar is your API.
     
  3. Offline

    ZombostarkV2

    How do I get the bukkit api? I followed a tutorial and eclipse was giving me compiler errors
     
  4. Offline

    timtower Administrator Administrator Moderator

    @ZombostarkV2 You run BuildTools by spigot, it will give you the server but is also able to make the Bukkit.jar
    Most link to maven though now that I think of it, no idea how that works though.
     
  5. Offline

    KarimAKL

    Code:
    <dependencies>
        <dependency>
            <groupId>org.spigotmc</groupId>
            <artifactId>spigot-api</artifactId>
            <version>1.16.5-R0.1-SNAPSHOT</version>
            <scope>provided</scope>
        </dependency>
    </dependencies>
    The repository for org.spigotmc:spigot-api can be found here.
    The repository for org.bukkit:bukkit can be found here.
    Note: The version names are in the repositories.

    Edit: I forgot to mention that you have to add the repository as well.
    Code:
    <repositories>
        <repository>
            <id>spigot-repo</id>
            <url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
        </repository>
    </repositories>
     
    Last edited: Jun 4, 2021
  6. Offline

    razeakhar

    Where can start coding?
    Im newby.
    thanks
     
  7. Offline

    KarimAKL

Thread Status:
Not open for further replies.

Share This Page