Skip to content

RabbitTV22/enchantsPlugin

Repository files navigation

open source gui plugin for buying enchantement books

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.

  1. Copy the code into your favorite IDEA. I will be using IntelliJ.

    image

  2. Go to /enchantPlugin/src/main/java/net/rabbitnetwork/buybooks/BuyBooks.java

    image

  3. Find the book you want to edit. I will be using Efficiency as an example (yes I know I made a spelling mistake).

    image

  4. 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.

    image

  5. Scroll down again to line 516 and find the book you want edited there

    image

  6. 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.

    image

  7. Now head over the the gradlew file and run it.

    image

  8. In the console type ./gradlew build and wait for it to compile

    image

  9. Go to /builds/libs/ to grab your plugin jar file.

    image

  10. You are done! Just put that jar file in your plugins folder and if you did everything right it should work!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages