Replaces some references to old configuration nodes
All checks were successful
EpicKnarvik97/Books-Without-Borders/pipeline/head This commit looks good

This commit is contained in:
2025-09-08 15:47:02 +02:00
parent df0785cf27
commit 56c33687e0
2 changed files with 12 additions and 11 deletions

View File

@@ -55,7 +55,8 @@ Books without Borders has got your back!
- Formatting codes are automatically turned back into `&` codes after un-signing a book. - Formatting codes are automatically turned back into `&` codes after un-signing a book.
- `/formatbook` can be used on an unsigned book to preview formatting, but note that RGB colors will show up as - `/formatbook` can be used on an unsigned book to preview formatting, but note that RGB colors will show up as
incorrect colors. That's just how that works. You must sign the book to see the real result. incorrect colors. That's just how that works. You must sign the book to see the real result.
- `/formatbook` can be used on a signed book (if `Format_Book_After_Signing` is disabled) in order to make any color or - `/formatbook` can be used on a signed book (if `functionality.formatBookOnSigning` is disabled) in order to make any
color or
formatting codes in the book display as intended. formatting codes in the book display as intended.
### Commands: ### Commands:
@@ -88,7 +89,7 @@ An in-game description of available commands is available through the /bwb comma
| /setbookauthor | bwbAuthor | \<author> | bookswithoutborders.setauthor | Sets the author of the book the player is holding | | /setbookauthor | bwbAuthor | \<author> | bookswithoutborders.setauthor | Sets the author of the book the player is holding |
| /setbookgeneration | bwbGeneration | \<generation> | bookswithoutborders.setgeneration | Sets the generation of the held book (ORIGINAL, COPY_OF_ORIGINAL, COPY_OF_COPY, TATTERED) | | /setbookgeneration | bwbGeneration | \<generation> | bookswithoutborders.setgeneration | Sets the generation of the held book (ORIGINAL, COPY_OF_ORIGINAL, COPY_OF_COPY, TATTERED) |
| /setbookshelfdata | bwbShelfData | \<delete/name/lore> \text> \[more text] | bookswithoutborders.editbookshelf | Sets the name/lore for a bookshelf which is shown when peeking at its contents. | | /setbookshelfdata | bwbShelfData | \<delete/name/lore> \text> \[more text] | bookswithoutborders.editbookshelf | Sets the name/lore for a bookshelf which is shown when peeking at its contents. |
| /setlore | bwbLore | \<new lore> | bookswithoutborders.setlore | Sets the lore of the item the player is holding. Insert the lore_line_separator character to force a new line ("~" by default) | | /setlore | bwbLore | \<new lore> | bookswithoutborders.setlore | Sets the lore of the item the player is holding. Insert the `separator.loreLine` character to force a new line ("~" by default) |
| /settitle | bwbTitle | \<title> \[title] ... \[setDisplayName (true/false)] | bookswithoutborders.settitle | Sets the title of the book or the display name of the item the player is holding. Add a true at the end (`/settitle some title true`) to set a book's display name instead of its title. | | /settitle | bwbTitle | \<title> \[title] ... \[setDisplayName (true/false)] | bookswithoutborders.settitle | Sets the title of the book or the display name of the item the player is holding. Add a true at the end (`/settitle some title true`) to set a book's display name instead of its title. |
| /unsignbook | bwbUnsign | None | bookswithoutborders.unsign | Un-signs the book the player is holding | | /unsignbook | bwbUnsign | None | bookswithoutborders.unsign | Un-signs the book the player is holding |
@@ -108,10 +109,10 @@ An in-game description of available commands is available through the /bwb comma
| Node | Description | | Node | Description |
|--------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------| |--------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------|
| bookswithoutborders.addtitlepage | Allows player to add a blank title page to a book | | bookswithoutborders.addtitlepage | Allows player to add a blank title page to a book |
| bookswithoutborders.bypassauthoronlycopy | Allows player to ignore Author_Only_Copy config setting | | bookswithoutborders.bypassauthoronlycopy | Allows player to ignore `authorRestricted.copy` config setting |
| bookswithoutborders.bypassauthoronlyunsign | Allows player to ignore Author_Only_Unsign config setting | | bookswithoutborders.bypassauthoronlyunsign | Allows player to ignore `authorRestricted.unsign` config setting |
| bookswithoutborders.bypassauthoronlysave | Allows player to ignore Author_Only_Save config setting | | bookswithoutborders.bypassauthoronlysave | Allows player to ignore `authorRestricted.save` config setting |
| bookswithoutborders.bypassbookprice | Allows player to ignore Price_to_create_book config setting | | bookswithoutborders.bypassbookprice | Allows player to ignore bookPrice config setting |
| bookswithoutborders.clear | Allows player to clear the contents of the held writable book | | bookswithoutborders.clear | Allows player to clear the contents of the held writable book |
| bookswithoutborders.copy | Allows player to copy books | | bookswithoutborders.copy | Allows player to copy books |
| bookswithoutborders.decrypt | Allows player to decrypt books | | bookswithoutborders.decrypt | Allows player to decrypt books |

View File

@@ -116,7 +116,7 @@ commands:
permission: bookswithoutborders.setgeneration permission: bookswithoutborders.setgeneration
setLore: setLore:
description: | description: |
Sets the lore of your held item. Insert the lore_line_separator character to force a new line ("~" by default). Sets the lore of your held item. Insert the separator.loreLine character to force a new line ("~" by default).
The separator can be used several times to split into different lore lines. The separator can be used several times to split into different lore lines.
Color and formatting codes (#000000, &a, &4, &n, &#ffffff) are supported. Color and formatting codes (#000000, &a, &4, &n, &#ffffff) are supported.
aliases: aliases:
@@ -337,13 +337,13 @@ permissions:
bookswithoutborders.setlore: bookswithoutborders.setlore:
description: Allows player to set the lore of the currently held item description: Allows player to set the lore of the currently held item
bookswithoutborders.bypassauthoronlycopy: bookswithoutborders.bypassauthoronlycopy:
description: Allows player to ignore Author_Only_Copy config setting description: Allows player to ignore authorRestricted.copy config setting
bookswithoutborders.bypassauthoronlyunsign: bookswithoutborders.bypassauthoronlyunsign:
description: Allows player to ignore Author_Only_Unsign config setting description: Allows player to ignore authorRestricted.unsign config setting
bookswithoutborders.bypassauthoronlysave: bookswithoutborders.bypassauthoronlysave:
description: Allows player to ignore Author_Only_Save config setting description: Allows player to ignore authorRestricted.save config setting
bookswithoutborders.bypassbookprice: bookswithoutborders.bypassbookprice:
description: Allows player to ignore Price_to_create_book config setting description: Allows player to ignore bookPrice config setting
bookswithoutborders.reload: bookswithoutborders.reload:
description: Allows player to reload this plugin description: Allows player to reload this plugin
bookswithoutborders.setgeneration: bookswithoutborders.setgeneration: