Guide to editing the prices of each book
If you would like to edit prices of the book you can not do it in the config file as there is no config. You will need to edit the code yourself.
-
Copy the code into your favorite IDEA. I will be using IntelliJ.
-
Go to /enchantPlugin/src/main/java/net/rabbitnetwork/buybooks/BuyBooks.java
-
Find the book you want to edit. I will be using Efficiency as an example (yes I know I made a spelling mistake).
-
Edit the text so it matches the price you want. Note this is the text that will show up under the item when you hover on the book.
-
Scroll down again to line 516 and find the book you want edited there
-
Change the numbers there to match the numbers you set on step 4. The first number is the amount of emeralds and the second is the levels of XP.
-
Now head over the the gradlew file and run it.
-
In the console type ./gradlew build and wait for it to compile
-
Go to /builds/libs/ to grab your plugin jar file.
-
You are done! Just put that jar file in your plugins folder and if you did everything right it should work!