1. Create a new page To create a new page, you can simply copy the previous page, paste it, and then change the page number.
For example, you currently have one page and would like to add a second page.
Code (YAML):
book:
"1": |-
This is first page!
First, copy the previous page, paste it under
Code (YAML):
book:
"1": |-
This is first page!
"1": # <- paste at here |-
This is first page!
After that, change the number and edit the content
Code (YAML):
book:
"1": |-
This is first page!
"2": # <- Number has been changed to 2 |-
This is second page!
Lastly, Save the file and /booknews reload, and you are done!
2. Interactive Text
Introduction & Example Interactive text is a special text that allow player to - to see a hover text - open link - copy text to clipboard - execute command - change page
Unlike other plugins which requires you to write it in JSON format in order to create an clickable/hover text, this plugin has provided a more user friendly way to create the interactive text.
An example configuration for the interactive text is shown below
Code (YAML):
Interactive-Word:
1: # The text it will show in the book word: "Example" # The placeholder of this interactive text placeholder: "example" bold: true
# true/false color: gold
# red/blue/yellow/aqua/green/lime/etc, also support Hex color if server is above 1.16, for example '#ffffff' for white color italic: false
# true/false underlined: false
# true/false obfuscated: false
# true/false clickevent:
enable: false
action: OPEN_URL
# [OPEN_URL / RUN_COMMAND / CHANGE_PAGE / COPY_TO_CLIPBOARD] value: ''
hoverevent:
enable: true
text: 'Hello!'
book:
"1": |-
%booknews_example%
In the book it will look like this And the hover text will be shown when you hover the text.