Adventurebook Wordpress Plugin - Rating, Reviews, Demo & Download
Plugin Description
Adventurebook is a plugin that allows you to create interactive storybooks or roleplay-like adventure books on your WordPress site. With Adventurebook, you can craft engaging narratives where readers can make choices that influence the outcome of the story.
Key Features:
– Interactive Storytelling: Create stories with multiple paths and endings based on reader choices.
– Easy-to-Use Interface: User-friendly tools to design and manage your adventure books.
– Customizable Options: Tailor the appearance and functionality of your adventure books to fit your style.
– Multimedia Support: Enhance your stories with images.
– Responsive Design: Ensure your adventure books look great on all devices.
Whether you’re an author looking to publish interactive stories or a teacher wanting to create engaging learning materials, Adventurebook provides the tools you need to bring your narratives to life.
Get started today and captivate your audience with immersive storytelling!
How to Use
- After activating the plugin, navigate to the ‘Adventure Books’ menu in your WordPress dashboard.
- Click on ‘Add New Adventure Book’ to start creating your adventure book.
- Use the editor to add pages, choices, and multimedia elements to your book.
- Publish your adventure book and share it with your audience!
- Use the shortcode
[adventurebook id="X"](where X is the ID of your adventure book) to embed the book on any page or post. - Create book pages using the “Book Pages” menu.
- Set the starting page by selecting the bookpage of your choice on the Adventurebook edit page.
How to setup a Game-type Adventurebook
- Create a page for character management with the shortcode
[adventurebook_character_overview]. - Set this page in the Adventurebook settings (WordPress Admin -> Settings -> Adventurebook).
- Create a new Adventurebook of type “Game”.
- Create a page for the book with the shortcode
[adventurebook id="X"], where X is the ID of your adventure book. - The adventurebook will be embedded in this page.
- Create items in the “Adventurebook Items” menu.
- Create book pages and add item spawns to the pages.
- Set the starting page by selecting the bookpage of your choice on the Adventurebook edit page.
Technical Details
The following information is for the Adventurebook Type “Game”.
Item Definitions (table _adventurebook_item_definitions)
Every item in the world/game has a definition. The definition is stored in the table _adventurebook_item_definitions.
The definition contains non-mutable information about the item.
- id
- code (unique human readable identifier, used for restrictions e.g.)
- name
- description
- stats
- image-url
Item Spawns (table _adventurebook_item_spawns)
Defines a spawn point for an item. The spawn point is a zone.
When a new character is created, all items that have a spawn point will be added to the zone (page).
- item_id
- page_id
Items (table _adventurebook_items)
Defines an item that a character can find in his adventure.
- id
- code
- character_id
- location_id
Scripts (table _adventurebook_scripts)
Defines a script that can be attached to a page and is executed when the page is visited / reloaded.
- id
- code (unique human readable identifier, used to attach the script to a page)
- name (will not be displayed to the user)
- commands (the commands that will be executed, array in json format)
SCRIPT COMMANDS
Scripts can be attached to pages and are executed when the page is visited / reloaded, e.g. each time the user clicks on a decision that leads to this page,
or when attacking, equipping, unequipping, buying, selling, using an item.
A script can be attached to an adventurebook page by selecting the script in the “Script” dropdown on the page edit screen.
Every script line needs a unique key (it is a jumpmark).
The second input field is the command. The third input field is optional and can contain parameters for the command, usually separated by “|”.
The following script commands can be used in a script.
-
output text
Outputs the given text to the user. -
output text|text color
Outputs the given text to the user in the given color. Color can be a color name (e.g. “red”) or a hex color (e.g. “#ff0000”). -
show_key_link text|key
Outputs the text as a clickable button and links it to a certain key in the script. -
add_item item_code
Gives the item with the given code to the character. -
remove_item item_code
Removes the item with the given code from the character. -
if_item_is_here_goto item_code|key
If the item with the given code is in the current location, jump to the given key in the script. -
heal amount
Heals the character by the given amount. If the amount is -1, the character will be fully healed. -
stop
Stops the execution of the script and sets the key to 0, so that the script will be executed from the beginning the next time the page is visited.
Script Example
100 output A wooden bench is here.
110 showkeylink Sit down and take a rest|200
120 stop
200 output You sit down on the bench and take a rest. You feel better.|green
210 heal 10
220 stop
TODOs
- Item Respawns
- Moving Enemies: Enemies can spawn at different locations
Screenshots
Adventurebook embedded in a page.
Adventurebook embedded in a page with different decisions.
Adventurebook book management.
Adventurebook item management.
Adventurebook book page editor.
Character management embedded in a page (“Game”-type Adventurebook only).
“Game”-type Adventurebook embedded in a page with decisions and items.

