HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Dice Roller 1.1

Allows die rolling in comments.

Dice Roller for Vanilla 2

This plugin will allow you to roll dice in posts on forums.

Dice Rolling

To roll dice, use the following syntax:
XdY

You can modify the roll with "+" or "-" Z at the end. So:
1d20+15</roll

The output would look like this for rolling 1d20+15:
(Rolled: 1d20+15. Rolls: 12. Total: 27)

I'm using Fudge dice in the game I'm running, so that's in here too. So:
3dF

This will spit out something like:
(Rolled: 3dF. Rolls: -, 0, +.)

Note that this is a capital "F."

Cheat Detection

I put a basic cheat detection mechanism in here. So, if it looks like someone is just trying to type in values, the Dice Roller will post a "POSSIBLE CHEAT DETECTED." message at the bottom of the post.

I don't have any fancy "if you post a die roll, you can no longer edit or delete the post" mechanism in here yet, but if I can figure something out, I'll include it in the next version.

I have manually restricted edit / deletion rights in my forums.

Version Info

Version 1.1 - fixed an issue that was causing multiple rolls of the same type to display incorrectly. (5/5/2011)

Questions