Anyone have a dice roller plugin?
-
Looking for a dice roller plugin to post common rolls for RPGs, like 1d20, 3d6, etc. Anyone know of something like that currently up to date? If not, would anyone be interested in a commission to create one?
-
There is one
https://github.com/chillen/nodebb-plugin-rollerNot tested
Tell us if it works -
@exodo said in Anyone have a dice roller plugin?:
There is one
https://github.com/chillen/nodebb-plugin-rollerNot tested
Tell us if it worksTried it. Didn't seem to work. Thanks for the suggestion though.
-
Got this one by @djensen47 working!
https://github.com/djensen47/nodebb-plugin-dice-bot
Just have to take out line 10 of plugin.json and create a user to be a bot and modify the bot UID in dice.js.
-
@Michael-Pfaff Oh, cool. I guess my plugin is still working?
I found this thread looking for a dice roller and I guess mine is one of the few so I guess I'll have to keep working on it. -
@djensen47 Hey man! It was okay but I eventually found and went with Sockbot and use the dice roller plugin for that.
-
@julian said in Anyone have a dice roller plugin?:
Whoo, sockbot is a little overpowered for a dice roller, innit?
Go big or go home!
It's been glorious for us. And, it's maybe the most reliable and robust dice roller I've found.
-
I have the dice roller plugin up, running, and published on npm:
nodebb-plugin-dice-bot
NodeBB Plugin that allows users to roll dice. Dice results are posted as a reply in the topic from a specific, predetermined account.. Latest version: 1.2.2, last published: a year ago. Start using nodebb-plugin-dice-bot in your project by running `npm i nodebb-plugin-dice-bot`. There are no other projects in the npm registry using nodebb-plugin-dice-bot.
npm (www.npmjs.com)
-
Damnit @djensen47 I literally just paid NodeBB team to develop one for me. I think they are making it public so if youโre interested. Too bad we didnโt coordinate better to not duplicate our efforts!
GitHub - NodeBB-Community/nodebb-plugin-dice: A NodeBB dice roller plugin based on rpg-dice-roller
A NodeBB dice roller plugin based on rpg-dice-roller - NodeBB-Community/nodebb-plugin-dice
GitHub (github.com)
-
@julian said in Anyone have a dice roller plugin?:
Oof! That's spectacularly bad timing! However, I suppose it's good that we have two dice roller plugins in the wild now?
Agreed!
-
Bummer. At least I didn't spend much time on fixing it yesterday. I did most of the work a few years ago.
-
Actually, by the looks of it, I need to take mine in a different direction.
It looks like this plugin does a sum and also produces output that is, sorry, user unfriendly. I need to count positive results not sum the values. Number of rolls above, or below a number.
I also want to introduce labels on rolls.
[dice(hits) infantry:3d6<=1 tanks:1d6<=3]
would output
infantry 3d6<=1: [2 3 1] 1 hits
tanks 1d6<=3: [2] 1 hits
total: 2 hits -
You should be able to do compare points. Itโs based off this: https://github.com/GreenImp/rpg-dice-roller/blob/master/readme.md
-
But the labels and additions of hits would be a nice touch.
-
I recently updated the dice-bot plugin to 1.1.0