Commit Graph

97 Commits

Author SHA1 Message Date
e893684dec Prevents consumption of dye when clicking plugin signs 2022-08-20 14:54:40 +02:00
13cbe883ed Adds missing mention of generation for alterbooks permission node 2022-08-14 11:36:46 +02:00
c6c018ee88 Adds permission to bypass author only save 2022-08-11 01:14:50 +02:00
8b47aeb8f2 Prevents some unintended usage of UUID for filenames 2022-08-11 00:53:29 +02:00
c995a4fc0f Stores author name as UUID if storing own books
This change basically always stores the player's own books under their UUID, thus preventing being denied access to their own books if they change their username. The UUID is converted back to the username on the fly, so it shouldn't be noticeable for the players.
2022-08-10 18:36:06 +02:00
40512dd771 Adds an option to only allow saving own books 2022-08-10 14:52:05 +02:00
5d340af6f2 Changes player folders to UUIDs to prevent problems if users change their names 2022-08-10 13:44:11 +02:00
94375eee4b Adds a command for changing book generation, and updates README #5 2022-08-10 02:49:44 +02:00
1eb9c370bc Fixes some messages not being sent using the correct methods 2022-08-10 01:04:54 +02:00
1100f181be Treats null book generation as the original 2022-08-10 00:55:30 +02:00
7467645bcd Fixes an incorrect boolean 2022-08-10 00:35:34 +02:00
11108011a5 Removes duplicate payment 2022-08-10 00:33:56 +02:00
ce249a93b3 Increases book generation for all loaded books #4 2022-08-10 00:26:23 +02:00
7c229fb459 Fixes root node of the new config options 2022-08-10 00:19:46 +02:00
f243bf32e7 Adds an option which mimics the vanilla book copying behavior 2022-08-10 00:16:33 +02:00
a7c284ade2 Adds an option for only allowing un-signing by the author 2022-08-09 17:21:55 +02:00
0d4d87373c Fixes redundancy in book filename generation, and saves Generation 2022-08-09 16:56:38 +02:00
542cd03bdc Fixes an inconsistency where "," is always used as separator for unsigned books 2022-08-09 16:07:37 +02:00
5e85dfd3e4 Displays no permission required as None instead of null 2022-08-05 14:15:30 +02:00
a963733734 Builds against 1.19.1 2022-08-05 12:01:08 +02:00
7dd201d0d0 Merge branch 'master' of https://git.knarcraft.net/EpicKnarvik97/Books-Without-Borders 2022-07-19 18:35:52 +02:00
a95d737414 Fixes an exception when trying to save a book without holding a book 2022-07-19 18:08:10 +02:00
0ce85af61b 1.2.2 Filtered tab completion and update notice 2022-02-19 20:06:35 +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
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
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
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