Commit Graph

45 Commits

Author SHA1 Message Date
baedfba196 Removes some more debug text 2021-09-02 11:04:28 +02:00
c1a49d1950 Removes some debug text 2021-09-02 11:02:20 +02:00
d624bb5103 Minor cleanup of the economy helper class 2021-09-02 01:34:06 +02:00
3717e4d3b6 Moves economy related code to its own class 2021-09-02 01:29:44 +02:00
7bfa60aeee Gets the books without borders instance without sending it in the constuctor 2021-09-02 01:10:21 +02:00
dff10a7403 Splits input listening into two different listeners 2021-09-02 00:41:45 +02:00
bafd30e273 Makes sure utility classes cannot be extended or instantiated 2021-09-02 00:23:19 +02:00
d84baac9b7 Moves the encryption classes to their own package 2021-09-02 00:18:07 +02:00
996cb5da5c Moves some settings into the BooksWithoutBordersSettings class 2021-09-02 00:17:04 +02:00
72e080f1c9 Removes some unused imports and variables 2021-09-01 23:06:59 +02:00
1ddd50e5df Moves book to text code to its own class, and moves lots of encryption code to the encryption helper 2021-09-01 23:02:54 +02:00
8defb301bc Removes redundancy between the encrypt command and the group encrypt command 2021-09-01 22:32:33 +02:00
b021cc3471 Removes redundancy between give and givepublic 2021-09-01 21:56:37 +02:00
8520a4818b Removes some unused code 2021-09-01 19:36:21 +02:00
6c897b4ddf Finishes moving commands to separate classes 2021-09-01 19:20:09 +02:00
db4f080ac8 Moves the delete public command to its own file 2021-08-31 19:05:28 +02:00
db3679014d Moves load and loadPublic to their own files, and removes some redundancy 2021-08-31 18:45:18 +02:00
bc93ddcec5 Moves the setTitle command to its own file 2021-08-31 17:09:08 +02:00
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