Commit Graph

84 Commits

Author SHA1 Message Date
a95d737414 Fixes an exception when trying to save a book without holding a book 2022-07-19 18:08:10 +02:00
ed54ae84b5 Updates README with command and permission info 2022-01-18 14:46:55 +01:00
27d5980fa8 Updates version to 1.2.1 2022-01-17 18:15:34 +01:00
544f6f69fe Fixes a NullPointerException caused by getting the size of a null list 2022-01-17 18:13:48 +01:00
055d7fca60 Improves some command and permission descriptions 2022-01-17 13:10:53 +01:00
8f7cfc591f Updates version to 1.2 2022-01-17 12:03:58 +01:00
2aa25295af Improves some formatting and gets rid of BooksWithoutBordersSettings.java 2022-01-17 11:55:52 +01:00
d423b1e109 Adds a new option to format books when signed
Also cleans up config stuff a bit and moves config-related tasks to its own class
Moves book loading code to its own class
Adds a default config file to make the config file have comments
Adds missing command info about the formatBook command
Adds information about required permissions to the command info
2022-01-17 11:38:43 +01:00
7acaa9fc81 Adds a new /formatbook command 2022-01-17 00:47:10 +01:00
94589faba0 Updates to Minecraft 1.18 and Java 17 2022-01-17 00:46:52 +01:00
240ff0c869 Fixes a bug caused by assuming a book is in the main hand 2021-09-09 03:19:17 +02:00
c8ac3477bd Removes an old reference to the /bwb prefix 2021-09-09 03:08:15 +02:00
4f5772f494 Makes the tab completion helper properly immutable 2021-09-09 02:43:17 +02:00
16ca3c58b0 Removes the snapshot from the version 2021-09-09 02:37:21 +02:00
245a580a43 Adds some missing comments 2021-09-09 02:24:55 +02:00
852886e818 Adds missing tab completion 2021-09-09 02:09:42 +02:00
248d3be868 Adds tab completion to the encrypt and group encrypt commands 2021-09-08 16:34:40 +02:00
0deeb6c36a Adds some information regarding group encryption to the README 2021-09-08 16:33:57 +02:00
c29075511e Makes the encryption style default to substitution 2021-09-08 16:33:14 +02:00
e1d1ff83b4 Adds tab completion to the "delete public" command 2021-09-08 15:37:00 +02:00
83c639b7f6 Adds tab completion to the delete command 2021-09-08 15:36:42 +02:00
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
c44f64e42b Removes some code unnecessary for tab executors 2021-09-08 15:31:32 +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
a009430ba0 Makes sure to only use the file helper after settings have been loaded 2021-09-04 22:44:40 +02:00
ef3815f91a Moves some code to the Economy helper, and fixes code formatting 2021-09-04 20:23:26 +02:00
a9f2017a40 Adds a class for AES encryption which might be used instead of the current encryption methods 2021-09-04 20:21:00 +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
4ec46d3d9b Adds some missing comments 2021-09-04 01:25:52 +02:00
0ca4b9817e Improves encapsulation and removes the custom tracking of existing players 2021-09-04 01:06:01 +02:00
1d3c50aab1 Adds info about the encrypt and decrypt signs, and fixes a bug in group decryption 2021-09-02 22:18:15 +02:00
931be7a61b Describes the give sign in the README and fixes some bugs regarding the give sign 2021-09-02 21:41:37 +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
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