Commit Graph

27 Commits

Author SHA1 Message Date
7247098a54 Moves the setAuthor command to its own file 2021-08-31 16:28:31 +02:00
4a9c678bff Fixes and improves book saving
Removes redundancy
Fixes broken duplicate checking
Moves the save function to its own class
2021-08-31 15:15:48 +02:00
9d64cd787d Moves the save public command to its own class 2021-08-31 02:14:44 +02:00
bd4013e84f Fixes some warnings 2021-08-31 01:44:03 +02:00
fdb4a42e98 Makes more advanced functions for deciding which hand has the correct book
Adds some functions which account for all possible states for books and hands
Adds some new enums to keep track of the new states
Fixes lots of warnings
2021-08-31 01:23:04 +02:00
657c7e43fd Moves setlore and setbookprice command code to their own classes 2021-08-30 22:08:55 +02:00
fbee4a90b0 Moves more commands to their appropriate classes 2021-08-30 18:06:19 +02:00
504ef09192 Starts work on making the commands more modern
Adds classes for all commands
Implements command class and tab completer for the give command
Performs more code cleanup
2021-08-30 17:03:58 +02:00
6efbd377ee Adds more consideration to the existence of unsigned books 2021-08-30 00:35:54 +02:00
57cc06bdb8 Extracts some functions for finding and replacing books to InventoryHelper 2021-08-29 23:40:16 +02:00
d50af8a12b Adds an enum to easier keep track of which hands of a player contain a book 2021-08-29 22:37:11 +02:00
9209e3f52d Cleans a lot of code 2021-08-29 19:18:31 +02:00
07ff93e7bf Moves more functionality to the encryption helper 2021-08-29 19:17:41 +02:00
3364337b14 Adds a new helper class responsible for book formatting 2021-08-29 19:16:54 +02:00
491462c132 Makes success message formatting more customizable, and cleans more code 2021-08-29 05:45:27 +02:00
2223d41a9c Makes error message formatting more customizable 2021-08-29 00:13:30 +02:00
8f4e400309 Adds an enum for encryption styles and moves chat colors to variables to make them changeable 2021-08-28 18:58:01 +02:00
cedb93be40 More cleanup and adds some helper functions to new utility classes 2021-08-28 18:28:50 +02:00
e1494440c8 Makes sure to use Java 16 for compilation 2021-08-28 18:25:13 +02:00
9cb7ba4dd8 Cleans up the function for paying for book printing 2021-08-28 16:16:20 +02:00
e17347f3ce Finishes the cleanup of BooksWithoutBordersListener for now 2021-08-27 20:50:50 +02:00
0786374dd6 Adds some info to config files
Adds license to POM
Adds dev-url
Fixes main file location
2021-08-27 18:27:26 +02:00
47301058ba More code cleanup 2021-08-27 18:26:14 +02:00
0c9f4c431e Adds some README info from the bukkit page 2021-08-26 20:40:03 +02:00
b712c0acb8 Adds LICENCE 2021-08-26 20:32:22 +02:00
32cf5c66e8 Adds a README 2021-08-26 20:27:00 +02:00
78828ac9fa First commit. Rewrite started 2021-08-26 20:18:37 +02:00