InteractiveBooks
InteractiveBooks copied to clipboard
Color Code Bug for 1.19 versions
After updating the server to 1.19 all text in books is bold now
Can I have the book's config?
title: '§aVote'
# Book's author
author: vote
# Book's generation
# Valid values: ORIGINAL, COPY_OF_ORIGINAL, COPY_OF_COPY, TATTERED
generation: ORIGINAL
# Item's lore
lore:
# Command to open this book
# You can remove this by setting it to ''
# Separate multiple commands with a space
open_command: 'vote'
# For the placeholders to work correctly
# you have to download the Vault plugin:
# https://www.spigotmc.org/resources/vault.34315/
# and the Player and Vault expansions for PlaceholderAPI:
# /papi ecloud download Player
# /papi ecloud download Vault
# /papi reload
pages:
'1':
- '§7'
- '§0§l HideOut'
- '§0 ᴠᴏᴛɪɴɢ ꜱɪᴛᴇꜱ'
- '§7'
- '<click:open_url:https://minecraftservers.org/vote/641962><hover:show_text:"§aClick here to open this link">§a§l 1) §8Vote Link</click>'
- '§7'
- '<click:open_url:https://topg.org/minecraft-servers/server-648148><hover:show_text:"§aClick here to open this link">§b§l 2) §8Vote Link</click>'
- '§7'
- '<click:open_url:https://minecraft.buzz/server/6118><hover:show_text:"§aClick here to open this link">§c§l 3) §8Vote Link</click>'
- '§7'
- '<click:open_url:https://minecraft-mp.com/server/310521/vote/><hover:show_text:"§aClick here to open this link">§d§l 4) §8Vote Link</click>'
- '§7'
- '<click:open_url:https://topminecraftservers.org/vote/30029><hover:show_text:"§aClick here to open this link">§6§l 5) §8Vote Link</click>'
We used it like that on 1.18 and it worked
@Leonardo-DGS can you fix that?
You have to place <r>
at the end of each line, because the text attributes are kept over the lines
Did not work for me on 1.19.2. I have the same issue as the user above. Going to revert back to 1.6.1 as I believe it worked with 1.19.2. Can update after restart. Did not have this issue till I updated the Plugin. Also out of curiosity, what is with the <r>
instead of using &r
or §r
?
Did not work for me on 1.19.2. I have the same issue as the user above. Going to revert back to 1.6.1 as I believe it worked with 1.19.2. Can update after restart. Did not have this issue till I updated the Plugin. Also out of curiosity, what is with the
<r>
instead of using&r
or§r
?
The text decorations are kept even on a new line, so you have to reset it manually with <r>
or <reset>
.
It's the MiniMessage syntax.
<r>
did not work for me but <reset>
does work. Simple fix and I am happy for that since I just re-typed my /rules book doing open and closed tags of <dark_aqua><bold>This was a pain</bold></dark_aqua>
. Thank you for the work, much appreciated!
Maybe the plugin should automatically append <reset>
at the end of each line, to keep the old behavior?