-
Notifications
You must be signed in to change notification settings - Fork 90
Compiling AreaShop
AreaShop is a Maven project with a couple of modules (these modules are to support multiple versions of the dependencies). If you are familiar with Maven then you should be able to build AreaShop easily.
You can clone the AreaShop repository here from GitHub to your local computer, if you have the GitHub Windows client installed then you can simply click the Clone in Desktop
button on the bottom right corner of the page. Otherwise you can use the git clone
command. If you don't know how to use git or have no interest in using it then you can also simply click "Download ZIP" to download the project.
Now you can create a project with your IDE, since I'm using Eclipse this guide will use that, but the same actions can be performed with other IDE's (just Google to find how to do it with your IDE). If you cloned the git repository then you can create a project based on that (import as Maven project), otherwise you can create a new empty Java project and add the files manually.
Maven handles all dependencies required to build AreaShop, except Vault (they do not have a Maven repo). You need to download Vault 1.4.1, and add it as /Dependencies/Vault.jar
(use the same capitalization). Then you can use Run as > Maven Install
on the parent project (using the pom.xml in the root folder).
After running the as a Maven install you can find the AreaShop.jar
file in the /AreaShop/target/
folder. That plugin file can be loaded on your server.
If you have any questions about how to use or modify AreaShop then feel free to message me. You can create a ticket or message me through Spigot or BukkitDev.