Commit Graph

32 Commits

Author SHA1 Message Date
620894f0b1 Adds tab completion to the decrypt command 2021-09-08 15:36:27 +02:00
610d798093 Adds tab completion to the copy command 2021-09-08 15:36:14 +02:00
db3af1542b Adds tab completion to the books without borders command 2021-09-08 15:32:47 +02:00
e167f93de0 Adds tab completion for the set lore command 2021-09-08 15:32:19 +02:00
58c8f76984 Adds tab completion for the reload command 2021-09-08 15:31:53 +02:00
be1717182d Adds a helper class for tab completion, and uses a TabExecutor for the give and give public commands 2021-09-05 01:00:50 +02:00
ef3815f91a Moves some code to the Economy helper, and fixes code formatting 2021-09-04 20:23:26 +02:00
48ac82f4d4 Lots of cleanup and improvements
Makes a new enum for representing the three different folders
Splits file listing from file printing
Uses a separate list for public files
Only updates the public files list when necessary
Removes some confusion caused by bookFromYml calling bookFromTXT
Increases readability for a lot of code
2021-09-04 18:17:22 +02:00
0ca4b9817e Improves encapsulation and removes the custom tracking of existing players 2021-09-04 01:06:01 +02:00
c39fd7d7db Moves another file loading related function to the FileHelper class 2021-09-02 20:46:37 +02:00
1b8965ace3 Adds the reload command to the command list 2021-09-02 14:30:07 +02:00
fba0f14995 Renames most commands and uses the built-in spigot command system for command info 2021-09-02 14:27:56 +02:00
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
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
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
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
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