Skip to content
leonardo-dgs edited this page Dec 16, 2023 · 22 revisions

Here are the tags to give effects to a text.
They have this pattern:

<event:action:value>affected text</event:type>

Hover Effects

Hover effects are triggered when the mouse pointer hovers the specified text.
The available hover effects are:

  • Show text: <hover:show_text:"text">visible text with tooltip</hover:show_text>

Click Effects

Click effects are triggered when the specified text is clicked.
The available click effects are:

  • Open a link: <click:open_url:"url">visible link text</click:open_url>
  • Run a command: <click:run_command:"/command">clickable text<reset>
  • Change book page: <click:change_page:page number>clickable text<reset>

Special characters

There are some special or ambiguous characters that need a code to be inserted.
To break a line, put <br> where do you want in book's pages.
To insert angular brackets in the effect value, put the value in quotation marks.

Reset

<reset> is used to clear any effect.

Clone this wiki locally