Dice Roller (Roleplay Dice & Random Player Selector!) icon

Dice Roller (Roleplay Dice & Random Player Selector!) -----

Roll dice on your server! Perfect for a Role Playing server!




This update adds the ability to use display names when showing roll results
For example: %player_displayname% shows the player rolling with their display name and %result_displayname% shows the display name of a player when they are selected in a player roll.
----------, Feb 9, 2022

Fixed the issue where you get 2 messages if you have the seeall permission and do the roll yourself.
Also fixed seeall to show all types of rolls that players do.
----------, Dec 8, 2021

While fixing a bug that was using personal cooldowns for broadcasted rolls I decided to rewrite the cooldown system to be a bit more efficient, and at the same time allowing for a cooldown message that includes the amount of time until you can roll again. Make sure to add these lines to your message.yml file or delete it and allow it to regenerate.
Code (YAML):

personal-cooldown
: "&cYou cannot use /%roll-command% for another %seconds% seconds"
broadcast-cooldown
: "&cYou cannot use /%broll-command% for another %seconds% seconds"
In addition to that you can now change all commands in the config, including aliases!
Either delete your current config or add this portion to your config
Code (YAML):
commands:
  base
:
    command
: "diceroller"
    aliases
:
     - "dr"
      - "droller"
  roll
:
    command
: "roll"
    aliases
: [ ]
  broadcast-roll
:
    command
: "broll"
    aliases
:
     - "broadcastroll"
----------, Dec 8, 2021

This update adds the ability to change your base command from /diceroller to anything you want, and also change the aliases for it.

The plugin already worked with 1.18 but I have confirmed it now.

Enjoy!
----------, Dec 6, 2021

I added a permission you can use to see regular /rolls from other players, even if they are not broadcasted.
Helpful if you're trying to run a game or something and don't want rolls to flood chat for those uninterested, or want to keep rolls secret from other players.
Code (Text):
diceroller.seeall
----------, Nov 25, 2021

Fixed an issue with permissions not working as expected. Thanks for reporting @Megalitic
----------, Nov 25, 2021

I fixed the Channel Radius not working. I've now tested it and it's working!
Thanks to @Halmee for bringing this to my attention!
----------, May 7, 2021

Venture Chat is working again!
Simply add the following to your config, or delete your config and restart your server, and the config will fill itself out again.
Essentially you can use whitelisted channels, or just make sure the player can hear the sender. If use-whitelist is set to true, the player will only be able to send the roll through that channel. If use-whitelist is set to false, the player must just have a common channel with the sender of the roll.

If you have any troubles, feel free to reach out! Join the discord at: discord.inamine.me
----------, May 6, 2021

Had an issue where any spigot version looking for an api-version was not loading the plugin. I've removed that and it is now working on 1.14.4
----------, May 3, 2021

tl;dr: added multi dice rolls, player rolls, and fixed the plugin.

It's been 5 years since I updated this plugin, but someone mentioned it wasn't working anymore, so I fixed it, and added a couple new features as well!
The main page is updated for commands and permissions, but the jist of it is that you can do /roll d20 5 to roll 5 d20s, and it will show you what each result was as well as the total.
You can also do /roll player to get a random player that is on the server.
Particles now work on version 1.9 and up, but won't break 1.8.8 if you try running it.
The dice you are allowed to use with /roll d# are in the config now, so you can add or remove whichever you'd like to remove.
You can also set the max number of dice that can be rolled at once, which can be bypassed with a permission node.
Everything is more efficient now, but it wasn't bad to begin with so it's probably not even noticeable.
----------, Apr 28, 2021

I've decided to show the source code for all of my free plugins, mostly because I'm looking for people to critique my code, mention where I went wrong and where possible problems could occur. I also think it's good to show people exactly what the plugin is doing.
----------, Feb 23, 2017

Fixed /broll and /roll doing opposite things! Sorry!
----------, Aug 27, 2016

This update should fix the problem anyone was facing with using Venture Chat!
----------, Aug 25, 2016

This plugin can now hook to VentureChat. Read DiecRollers main page for info on how it works!
----------, Jun 15, 2016

Hey everyone! Thanks for all the awesome suggestions! I've done a lot of playing around with things today, and I think I finally have the features I wanted working.

ADDED:
  • Created a config and moved messages to the config file
  • (messages.yml is no longer used)
  • Particles on command use (config option to disable)
  • Cool downs for broll and roll (config option to change each separately)
  • /diceroller reload command to reload config
  • /diceroller displays info to players with diceroller.info
  • bypass permissions for cool down (diceroller.broadcast.bypass and diceroller.roll.bypass)
  • General Code clean-up
  • Added prefix for total time from a cool down
  • Added support for 1.8 (only tested on 1.8.8)
  • Added multi line support for usage messages
As this is a large update, while I have tested everything I could think of, there could still easily be some bugs, since I am a Java and plugin writing noob, so please be kind and report them, without a bad review. I'll try to find a fix for anything as soon as I can!
----------, Apr 28, 2016

Broadcast Results!
You can now Broadcast the results of a roll with /broll <die>

This requires the permission diceroller.broadcast
Keep in mind there is no cooldown and no permission to view the broadcast as of yet, this will come in later updates.

I've added messages for the broadcasting "rolling" message and a message for the broadcast result message. I've also added the following placeholders.

%player%
%prefix%

The prefix won't appear in messages unless you want it to, so for messages you want a prefix, add that placeholder.

The player placeholder grabs the display name.


(Also fixed permissions not using the message set from messages.yml)
----------, Apr 27, 2016

I added a messages.yml so you can change the look of each message.

Placeholders are %result% and %sides%.

%player% will be added in next update with broadcasting results!
----------, Apr 27, 2016

If a player did not have permission to use the /roll command, it would say "/roll <d4/d6/d8/d10/d12/d20/d100>" in their chat. This is now fixed.
----------, Apr 26, 2016

Resource Information
Author:
----------
Total Downloads: 6,421
First Release: Apr 26, 2016
Last Update: Feb 9, 2022
Category: ---------------
All-Time Rating:
12 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings