Sueta

Dice Roller (Roleplay Dice & Random Player Selector!)

1.5.8

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

·Plugin


Default Roll types:
upload_2021-12-8_16-3-16.png
Special Rolls:
upload_2021-12-8_16-5-38.png

  • Roll your favorite role playing dice, with the results able to be broadcast to the server, or kept to yourself!
  • Roll multiple dice at once, with the results shown and totaled
  • Select a player at random that is currently on the server
  • Roll your own custom dice!
  • Particle effect on roll (1.9+)
  • Max dice option in config, with permission to bypass
  • Cooldown on roll and broadcasted rolls
  • All messages configurable
  • Venture Chat support! Use specific channels for rolls!

/diceroller - Displays help message for commands
/diceroller reload - Reloads all config and messages
-- /roll shows the result to only the player running the command
/roll d<#> [quantity] - Rolls a set die, with quantity (default 1)
/roll c<#> [quantity] - Rolls a custom die, with quantity (default 1)
/roll player - Selects a random player on the server
-- /broll shows the result to everyone on the server (with given permission)
/broll d<#> [quantity] - Rolls a set die, with quantity (default 1)
/broll c<#> [quantity] - Rolls a custom die, with quantity (default 1)
/broll player - Selects a random player on the server

diceroller.* - All permissions for Dice Roller
diceroller.reload - Reload the config and messages.yml files
diceroller.help - Shows basic help info
diceroller.broadcast.view - Allows player to view dice broadcasts
diceroller.bypass.* - Gives access to all bypasses
diceroller.bypass.max - Bypasses the max dice option from config
diceroller.bypass.roll - Bypasses the cooldown given on rolls
diceroller.bypass.broadcast - Bypasses the cooldown given on broadcasted rolls
diceroller.roll.* - Gives access to all /roll options
diceroller.roll.custom - Allows player to roll custom dice
diceroller.roll.player - Allows player to select a random player
diceroller.roll - Gives access to the base /roll command and base dice
diceroller.broadcast.* - Gives access to all /broll options
diceroller.broadcast.custom - Allows player to roll custom dice in a broadcast
diceroller.broadcast.player - Allows player to select a random player in a broadcast
diceroller.broadcast - Gives access to the base /broll command and base dice
diceroller.seeall - See rolls done with /roll from other players

Default config.yml:

venturechat:
  use: false
  use-whitelist: false
  whitelist-channels:
    - local
    - roller
commands:
  base:
    command: "diceroller"
    aliases:
      - "dr"
      - "droller"
  roll:
    command: "roll"
    aliases: []
  broadcast-roll:
    command: "broll"
    aliases:
      - "broadcastroll"

particle-count: 10
## Cooldown in seconds
personal-cooldown: 0.2
broadcast-cooldown: 1
## Max number of rolls in 1 command
max-rolls: 10
## Rolls available with regular /roll d<#>
## Custom dice rolls require special permission
accepted-rolls:
  - 2
  - 4
  - 6
  - 8
  - 10
  - 12
  - 20
  - 100

Default messages.yml:

prefix: "&b&l[&eDiceRoller&b&l] "
roll-result: "%prefix%&e%player% rolled a %sides% sided die and got a &6&l%result%&e!"
custom-roll-result: "%prefix%&e%player% rolled a custom roll with %sides% sides and got a &6&l%result%&e!"
roll-result-multi: "%prefix%&e%player% rolled %count% %sides% sided dice and got a total of &6&l%total%&e! &e&o(%results%)"
custom-roll-result-multi: "%prefix%&e%player% rolled %count% custom rolls with %sides% sides and got a total of &6&l%total%&e! &e&o(%results%)"
player-roll-result: "%prefix%&e%player% rolled a player roll and got &6&l%result%&e!"
help:
  - "&6&lDice Roller Help:"
  - "&e/roll (d<#>|c<#>|player) [quantity]"
  - "&e/broll (d<#>|c<#>|player) [quantity]"
  - "&e/diceroller [reload]"
reload-message: "%prefix%&aPlugin reload successfully!"
no-permission: "%prefix%&cYou don't have permission to do that!"
invalid-number: "%prefix%&cInvalid number!"
invalid-roll: "%prefix%&cRoll Number not valid!"
roll-usage: "%prefix%&e&lUSAGE: &e/roll (d<#>|c<#>|player) [quantity]"
broll-usage: "%prefix%&e&lUSAGE: &e/broll (d<#>|c<#>|player) [quantity]"
personal-cooldown: "&cYou cannot use /%roll-command% for another %seconds% seconds"
broadcast-cooldown: "&cYou cannot use /%broll-command% for another %seconds% seconds"

Similar projects

Plugin →