Anyone have a dice roller plugin?
-
@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.
GitHub - SockDrawer/SockBot: Sockbot - A sock puppet Robot worthy of TheDailyWTF that interfaces with what.thedailywtf.com. SO META!
Sockbot - A sock puppet Robot worthy of TheDailyWTF that interfaces with what.thedailywtf.com. SO META! - SockDrawer/SockBot
GitHub (github.com)
-
@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