A downloadable WordPress plugin

Download NowName your own price

You've created an exciting tabletop role-playing game and you've released it to the world. Great work! Now you want to make it as easy as possible for GMs to craft their narrative within the world you created for them.

I'm sure your RPG comes replete with tables to be rolled on that will generate encounters, loot, information about locations, names of places, character details, and all manner of other details about your game. Sure, GMs could check what die they need to roll, make the roll, check what it means in the table, forget what the die result was and look back and forth between the die and table a few times, only then reading out the correct result...

OR they could have your website open on their phone and tap a button to get a result instantly.

That's what this WordPress plugin offers - an interface for creating roll tables inside your WordPress dashboard and making them available on your website for people to use at the tap of a button. You can see an example of this plugin in action with the roll tables for Kiwi Acres, a Mausritter campaign setting that I created.

This plugin can be installed and will work on any WordPress website or blog. You do not need any technical knowledge to use it. It comes with full documentation.

With the Starter Edition of this plugin you can:

  • Create as many roll tables as you like
  • Group & categorise your roll tables
  • Display individual tables, or groups of tables, or a combination using a shortcode
  • Set table items to include any text you like

With the Complete Edition, you get the following additional features:

  • Set a table item to pull a random result from a different table (that's what the 'Treasure' table in the Kiwi Acres example above does)
  • Have a table item run mathematical operations akin to something like "d20 x 10 gold coins", so you can, for example, roll for random amounts of currency
  • Import an existing list of table items into a roll table (you have that d100 table you want to include? Now you can import it!)

Pay a minimum of $10 to get the Complete Edition - a one-time purchase for lifetime use and updates.

The plugin includes all the major options you would need for roll tables, but if there's anything else you think should be included please let me know by commenting below or logging an issue on GitHub.

Roll tables can have a title along with an optional description and image. The dice notation for the table will be calculated automatically based on the number of items in the table, or you can specify a dice notation to use.

Roll tables are created as a custom post type that is fully compatible with the Block Editor as well as the Classic Editor.


Hugh Lashbrooke - Tabletop Gaming

Some FAQs:

Click to expand each one.

How do I use this WordPress plugin? Full documentation for how to use the TTRPG Roll Tables plugin is available here.
What does the Complete Edition offer? The Complete Edition adds three major new features. With the Complete Edition, you can:
  1. Set a table item to pull a random result from a different table (that's what the 'Treasure' table in the Kiwi Acres example above does)
  2. Have a table item run mathematical operations akin to something like "d20 x 10 gold coins", so you can roll for random amounts of currency
  3. Import an existing list of table items into a roll table (you have that d100 table you want to include? Now you can import it!)
I have an existing d100 table - can I import that without having to type it all in? Yes! With the Complete Edition you can import existing data into any roll table - simply paste it into the import text area with each item on a new line and click 'import'. Imported items will be appended onto existing roll tables. This requires the Complete Edition of the plugin.
How can I customise this plugin? The plugin comes with many filters that allow you to customise the display and content as much as you need to. Full documentation for using the filters is available here.
Can I upgrade from the Starter Edition to the Complete Edition? Yes! When you activate the Complete Edition of the plugin it will automatically deactivate the Starter Edition, which you will no longer need. All of the roll tables you created with the Starter Edition will still be there and you can carry on as you were with all of the additional features from the Complete Edition now available to you.
Why doesn't the plugin do this incredibly specific thing that I want it to do? You mean I haven't thought of that and included it? Poor form! Please comment below or log an issue on the GitHub repo and I'll see what I can do.
Why isn't this plugin in the WordPress.org Plugin Directory? I have submitted the Starter Edition of this plugin to the Plugin Directory, but they currently have a large review backlog. Once it gets through their review, you'll be able to install the Starter Edition from within your WordPress dashboard.

Download

Download NowName your own price

Click download now to get access to the following files:

ttrpg-roll-tables-starter-edition-v1.1.zip 29 kB
ttrpg-roll-tables-complete-edition.zip 29 kB
if you pay $10 USD or more

Development log

Comments

Log in with itch.io to leave a comment.

OK, next requests, and these get increasingly difficult to program, I'm guessing, but I'm a dreamer:

  • "Roll twice, combining" where it shows 2 results (or possibly more, if it keeps getting that one, although if someone tried to break it with an infinite loop, it would need something to prevent that or a warning in the documentation that time loops are bad)
  • On a related note, and this might relate to the previous request on the backend: let the text of a math entry be another table, so you could click to get 1d12 [turtle doves, golden rings, lords-a-leaping, etc.]  (My disability traits tables need this to make them a 1-click result list.)
  • For my Fantasy Magical Feature Generator, I'd like to be able to give the results parameters, so you choose urban or rural and enter the population, and it calculates (rounding) the number of features. (Or I you just give it the number of features & do the math myself — easier), and it generates the list with a single click.
    • Table chooser, like a popup or bullets. Maybe this can be done with fancy styling or javascript. I'm thinking about creating an NPC generator. Choose a race from the list, and it generates a name.
  • Allow html in the results. The traits table above uses wiki code, and I'd like to format the results with that code to make the result clickable. (Or a class choice randomly generates starting equipment, or even an img src)

Combining all these features could allow for 1-click character generation, spell lists, etc. I know that's beyond the scope of what you had in mind for this, but it would drastically expand its usefulness.

These are all great ideas and feature suggestions!

  1. For 'roll twice and combine' - that would be tricky to implement programmatically, but I really like the idea of it and will look into how I can make that work. I've added an issue on GitHub to work on this.
  2. It sounds like your second request can already be solved if you create another table that has various math options, then you set an item in your second table to pull from that one. Perhaps I'm not understanding your needs there fully.
  3. For the fantasy magical feature generator, you could create separate tables for each thing, then a 'master' table that pulls from each of those. I don't think you could do that with one-click though - it would likely need to be at least two separate roll tables. I would need to think on that some more to see what would make the most sense.
  4. You can have a tabbed interface for choosing tables perhaps - that's what I did for the Kiwi Acres toll tables. The tabbed UI comes from a different plugin.
  5. I can certainly allow HTML in the results - for security and formatting reasons I would likely limit it to certain tags, so I'm thinking it would be links, images, and maybe one or two other things. I've created a GitHub issue for this too.

This all sounds great and would be neat enhancements - I'm not sure how I could build all of it, but I'm sure I can find a way! Thanks for your feedback and for sending in these requests.

(+1)

I love this. I've been looking for something like this for years and have spent many hours trying to make it happen. I am so excited! Tried the standard edition and immediately bought the full edition.

Not a GitHub user, so here's my list of "How do I do this" or feature requests that I can't find so far:

  • Import a table like this:
d6Body Part
1-2Head
3Shoulders
4Knees
5-6Toes

[Compatible with - (hyphen) or – (endash) as range indicators]

  • Disable animation (Some people have disabilities that cause nausea from animations like this)

I'm sure I'll have more as I go. I have a lot of tables to convert.

(1 edit)

I'm glad you like it!

There is not currently a way to disable the animation, but I can definitely add that in an publish an update as I think it would be valuable to have that option.

To import a table like that, you would need to add each option as a line in the import textbox and the click import. For something like this where you have an item being a result for more than one number (as with 'head' and 'toes' in your table), you will need to add them to the table as many times as needed.

So for the table you indicated here, you would put this in the import textbox:

Head
Head
Shoulders
Knees
Toes
Toes

That would create a d6 table with all the correct probabilities.

OK, I had a hunch. Hmm…I bet ChatGPT could convert my existing tables to this format for me.

Thanks. And kudos again.