[cv6] Dice Roller

[cv6] Dice Roller 2.4.0 Release Candidate

Нет прав для скачивания

Introduction​

Dice Manager for XenForo 2.2.

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​

edit-die-png.149001


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.

edit-rule-png.149003


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.
add-wireset-png.149002

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​

settings-png.149005


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.
forum-settings-png.149004


8. User Group Settings​

usergroup-png.149007

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.

styles-png.149006


10. Roll dice!​

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

11. Have fun!​


Please enyoy this.

I like Feedback, I need it to improve this AddOn. But I won't do any suggestion. Primarily I do this for my forum.

If you want to send me some happiness, check out my .
Назад
Сверху Снизу