Recently decided to work on plugins again and thought I'd revisit this.
Changelog:
Commands:
- /note (size) <qty> - Gives the user a level note.
- /add <#ofLevels> - Stores levels on a note. (The note must be in hand)
- /extract <#ofLevels> - Extracts a certain amount of levels from a note and gives it to the user.
- /perms - Displays all of the permissions for Level Notes.
Permissions:
- levelnotes.add
- levelnotes.extract
- levelnotes.notes
Config(default):
- SmallNoteMax: 10 -Sets the max levels allowed to be stored on a small note.
- MediumNoteMax: 25 -Sets the max levels allowed to be stored on a medium note.
- LargeNoteMax: 50 -Sets the max levels allowed to be stored on a large note.
The following are used for crafting the notes. Every note must use 1 piece of paper and Qty(number) of '<size>RecipeItemID' in a shapeless recipe to craft the respective level note. Ex: To craft a large level note you would need 3(LQty) nether star(LargeRecipeItemID) and one piece of paper.
- EnableCrafting: true -Enables/disables the ability to craft level notes.
- SmallRecipeItemID: 399 (Nether star)
- MediumRecipeItemID: 399
- LargeRecipeItemID: 399
- SQty: 1
- MQty: 2
- LQty: 3
Removed:
- Removed /snote, /mnote, /lnote & /xlnote. Replaced with /note <size> <qty>
- Removed /guide
General:
The first time I made this was in 2015 and it was all in one class and extremely inefficient. I decided to try to get back into plugin development by simply remaking this with the goal to make it clean, efficient and functionable.