-
Notifications
You must be signed in to change notification settings - Fork 14
Compiling Treasury
Lachlan edited this page Jun 13, 2023
·
14 revisions
This page is complete and is valid as of Treasury v2.0.0.
We use Maven.
This requires you to either use Maven via IntelliJ's own side-panel, or alternatively, using the command line with Treasury's source code.
Follow these steps:
- On
Treasury-Parent
, simply runmvn clean install
. - Wait until it has completed.
Done! So long there are no errors, you have compiled Treasury.
This will instruct you on how to build the Treasury plugin JAR for the Bukkit platform.
This requires you to build the project first.
Follow these steps:
- Go to the directory:
platform/bukkit/plugin/target/
- Copy the file that is named using the format
treasury-bukkit-???something???.jar
.- If there is a file that starts with
original
, ignore it. - Also ignore files ending with
-source
. - If you don't see the file you're looking for, try refresh your file explorer window, or try re-build Treasury.
- If there is a file that starts with
- Paste the file wherever you wish to use it, e.g. your server's
/plugins/
folder.
Done! So long there are no errors, you've got a working JAR to use on a Bukkit server.