[DD] Dice Roller

[DD] Dice Roller 2.5.0 RC 4

Nitro

Administrator

Reputation: 22%
Joined
Oct 27, 2025
Messages
136
Requires [DD] Core addon.

If you still have the data from my DiceRoller from XF 1 in your Database, it will be upgrading all the stuff.

What you can do with this AddOn:
  • Create multiple dice. Not only Numbers, you also can create dice with letters, numbers or - if you enabled the multibyte - add emojis to your die.
  • Create rules based on checker classes
  • and finally create a system with will contain one rule and one or more dice, specify if sums should be calculated and when a roll crits.
  • Added deeply into XenForo with Admin Search, Statistics, Help Page, etc.
See Pictures for more and raise questions if you need more Info.

I add some Sample Import XML Files for dice, rules and some systems. For the start only English, German will come soon.

Instructions​

1. Installation​

As usual, install the AddOn ZIP as you are doing it everytime with uploading manually or inside the Admin CP.
I recommend to install vie CLI on larger Forums, because the script is altering the user and post table.

2. Importing​

Import the Sample dice and other stuff, if you like. You can skip this step if you want to create it all on your own.

During import please follow this order:
  1. Import dice
  2. impoer rules
  3. import wiresets
I also placed a demo die in the ZIP File, which can be used on multibyte installations which will be rock paper scissors.

You maybe need to align the path in the die itselt. Please verify if the preview is working.
If these sample items are okay for you, proceed with step 6.

3. Create at least one die​

1767574906561.webp

In the Asset Upload field, will appear a small preview.

Tag: The tag is fixed, like it is for custom fields also. But its not shown to the public.
Title: This will be displayed at several ponts.
URL to image: If you want to display the die with a special Background image. otherwise a default fallback will be used.
Big: The image will not be used. This can be used, if you only want to display the result like ✂
Values: If you don't wat to have a default die, you can specify the values on the sides. The values can be comma seperated, and the system understands ranges like: 1-3. If the entered values are less than sides, they will be taken multiple times. For Instance if you create a 10 sided die, and you are entering only 5 values, all will be twice on the die. But, this makes no sense. In this case you can just build a 5-sided die. ;)
Numeric die: Tick this box, if the values on the die are numeric. Only Numeric dice can build sums, can crit and can explode.
Display order: Yea, you know this.
Help Page: If you tick this option, this die is visible on the help page. You can use this, if you have too many die, to keep the help page short and clean.
Die can rolled: If this die is probably replaced by another, but should remain active, tick this. If a die is rolled in the past, and you don't want to use it anymore, but it was used before, use this option to deactivate the die. If you delete it, all old rolls may run into trouble.

4. Create a rule, if you need.​

One default "No Rule" is created during install. You can use that for Systems without any special rule.
1767574938208.webp

Tag and Title, as usual.
Then select a checker class, short instructions will appear and describe whats possible.
Then you can create some boundaries for Options which will be placed in the roll interface.
The description is optional, and can contain some help to instruct the user how to use this options.

Thats it!

5. Create at least on Wireset​

Important: Interface is a bit different from Version 2.1!
Now, tear dice and rule together.
1767574966997.webp
Tag and Title again as usual.
You can add an optional description. This is used on the help page and in the roll interface. Keep it short.
You can select now your or an importet rule and allow comments to the roll. e.g. the user can enter the skill he is rolling on.
You can enter boundaries for the amount of dice per dice. If select more than one dice and choose 1, every die will be rolled.
Select Sum and Exploding option.
Choose the dice which can be rolled in this wireset.
Finally choose crit options and save it.

6. Check Settings​

1767574993112.webp
You need to allow at least one location where a roll can be performed. If you disable this for Quickthread and New Thread, the first post of a thread never will have a rolled dice in it. Maybe thats what you want.

The Sample Dice Setting is only visible in advanced mode.

7. Forum Settings​

Now, edit the node, where the users should perform their rolls. You need to allow rolls, and choose at least one wireset.
1767575020763.webp

8. User Group Settings​

1767575034496.webp
Go and set Usergroup Settings. There are also Moderator Settings avaiable. Align them in general and/or on a per Node base.
Hint: The hidden rolls settings, are planned for the future.

9. Align appearance​

You can style many items in the Style itself to fit it to your needs.
1767575062279.webp

10. Roll dice!​

Just go to your Forum in which you activaed the Wiresets and you should see a Button to roll dice.

11. Have fun!​

 

Attachments

Similar threads

Requiresaddon. NEW: Thread Image Support With this brand new AddOn you can add new types of custom fields: Image The User can upload one or multiple images (XenForo Attachment System is used for...
Replies
0
Views
26
Nitro
[DD] Letter Index 1.1.0 RC3
Requiresaddon. This AddOn adds a lettered TabIndex to selected forums. This can be turned on and off on a per forum base and for categories of the resource manager. You can style the tabs, if the...
Replies
0
Views
26
Nitro
[DD] Core 1.2.0
Core AddOn which from now on, (nearly) all my AddOns will require. Besides Icon handling and Assset Upload some other minor thing that I share between my AddOns. Mostly this is related to Font...
Replies
0
Views
23
Nitro
Requiresaddon. This AddOn allows you to add a day countdown till the selected end date in the page criteria in the notice. You can choose between some designs or create your own. Additional...
Replies
0
Views
29
Nitro
Requiresaddon. This AddOn works with the default Theme, if you change essential parts of the theme in your own styling, there may be changes to the template mods necessary. If it not works out of...
Replies
0
Views
25
Nitro
Back
Top Bottom