Commit Graph

38 Commits

Author SHA1 Message Date
32f0f9f7a1 Rewrites encryption
All checks were successful
EpicKnarvik97/Books-Without-Borders/pipeline/head This commit looks good
Adds an optional real encryption mode, which encrypts pages using AES, without saving plaintext.
Re-implements the old magic encryption in non-real encryption mode.
Fixes incorrect key generation for use in the substitution cipher and the gene cipher.
Removes the option for saving books as txt.
Adds tests for all encryption methods.
Saves all necessary decryption data when storing encrypted books.
Removes the old book updating code.
2025-08-10 14:23:18 +02:00
fb225a2351 Cleans up the decrypt command somewhat 2025-08-08 00:48:04 +02:00
e23e861e32 Fixes some problems related to the changed economy class 2025-08-07 20:33:54 +02:00
aa02f5ca2b Changes some static classes into instantiated classes 2025-08-07 20:10:30 +02:00
150dff7a03 Removes static strings from the clear command 2025-08-07 17:11:59 +02:00
b1da544109 Starts adding string translations and cleanup 2025-08-07 16:00:37 +02:00
73157330d8 Enables bookshelf peeking by default 2025-08-05 04:48:31 +02:00
b2ce31234d Adds ability to set name and lore shown when chiseled bookshelves are peeked
All checks were successful
EpicKnarvik97/Books-Without-Borders/pipeline/head This commit looks good
2025-08-03 17:23:19 +02:00
31bb26b755 Makes it clear that use includes peekbookshelf
All checks were successful
EpicKnarvik97/Books-Without-Borders/pipeline/head This commit looks good
2023-06-24 12:40:55 +02:00
c389c6fbcb Minor changes
All checks were successful
EpicKnarvik97/Books-Without-Borders/pipeline/head This commit looks good
Changes bookshelf peeking to require sneaking
Makes sure plain books are displayed in the book list
2023-06-24 12:03:37 +02:00
1158820f97 Fixes some issues
All checks were successful
EpicKnarvik97/Books-Without-Borders/pipeline/head This commit looks good
Fixes the API version being read incorrectly by Paper
Fixes the check for missing title or author for a book in a bookshelf
2023-06-23 18:10:45 +02:00
f9908db88f 1.20 update
All checks were successful
EpicKnarvik97/Books-Without-Borders/pipeline/head This commit looks good
Adds an optional feature which displays the contents of a bookshelf when left-clicked. Sneaking must be used to destroy the bookshelf when enabled.
Updates depreciated sign code.
Bumps the API version to 1.20
Builds against 1.20
2023-06-23 17:57:54 +02:00
f005b8f8e5 Adds clearBook command #7 and improves README 2022-11-04 13:01:56 +01: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
40512dd771 Adds an option to only allow saving own books 2022-08-10 14:52:05 +02:00
94375eee4b Adds a command for changing book generation, and updates README #5 2022-08-10 02:49:44 +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
055d7fca60 Improves some command and permission descriptions 2022-01-17 13:10:53 +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
94589faba0 Updates to Minecraft 1.18 and Java 17 2022-01-17 00:46:52 +01:00
fba0f14995 Renames most commands and uses the built-in spigot command system for command info 2021-09-02 14:27:56 +02:00
996cb5da5c Moves some settings into the BooksWithoutBordersSettings class 2021-09-02 00:17:04 +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
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
78828ac9fa First commit. Rewrite started 2021-08-26 20:18:37 +02:00