Spigot's BukkitAPI - Mac OSX 1.8 Tutorial

Jul 5, 2015
Spigot's BukkitAPI - Mac OSX 1.8 Tutorial
  • Spigot Bukkit API - Mac OSX 1.8 Tutorial

    Compiling Bukkit API on Mac OSX.


    1. Firstly, make sure you have the latest version of Git installed. Link: Download and install the latest version of Git

    2. Now you need to run a series of Terminal commands. Open Terminal.app (should be in Applications/Utilities) and run these two commands individually by copying and pasting them into the input area:
    Code (Text):
    git config --global user.name BuildTools
    git config --global user.email unconfigured@null.spigotmc.org
    You will most likely not get a response that they were successfully executed, this is normal.

    3. Next, you must clone the Bukkit files from the Spigot hub. Run this command in Terminal:
    Code (Text):
    git clone https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
    4. Now make sure you have Maven installed. Run this command in Terminal to check if you actually have it installed:
    Code (Text):
    mvn
    If it is installed, then it will output a large log which essentially tells you that you did not specify arguments. If it is NOT installed, you will get an error saying that the command is unknown.

    If you do not have Maven, you'll want to install Homebrew (which is very helpful for installing these dependencies) with this command:
    Code (Text):
    ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
    Then when it finishes installing, you only need to run one simple command:
    Code (Text):
    brew install maven
    Press that "easy" button on your desk and continue. (Not really)

    5. Your Bukkit folder should have installed in your Home directory (To get there, use "Command" + "Shift" + G, put "~/" in the input box, then continue).

    6. Back in terminal, you'll need to use Maven to clean-install Bukkit. Run each of these commands separately, then wait while it installs:
    Code (Text):
    cd ~/bukkit
    mvn clean install
    Go to the Bukkit folder and find a new folder named "target" is there. There should be a file named: "bukkit-1.8-R0.1-SNAPSHOT.jar" (or related; NOT the "original" one).

    You have now completed the tutorial, you can now rename the file if you would like.
  • Loading...
  • Loading...