Dice icon

Dice -----

A simple dice rolling plugin!



Dice
A simple dice rolling plugin!​
[​IMG]


Commands & Permissions

/roll [amount]
  • Permission: dice.use
  • Alias: /dice
Rolls the specified amount of dice or a configurable default amount if unspecified. The roll is displayed to all online players.

/diceplugin reload

  • Permission: dice.admin
Type this after making any changes to config.yml or messages.yml.


Configuration
config.yml
Code (YAML):
# ============================================= #
#              Dice Configuration               #
#              By: ChickenSaysBak               #
#                                               #
# To reload, use /diceplugin reload             #
#                                               #
# Permissions:                                  #
# - dice.use (to use /roll)                     #
# - dice.admin (to use /diceplugin)             #
# ============================================= #

# Set how long in seconds a player must wait before rolling again.
cooldown
: 10

# The amount of dice rolled if no amount is specified.
default_amount
: 2

# The maximum amount of dice that can be rolled at a time.
maximum
: 100

# The minimum amount of dice that can be rolled at a time.
minimum
: 1

messages.yml
Code (YAML):
# To stop sending a message entirely, delete the whole line including the key/prefix.

# Seen by anyone
roll
: "&7%player% rolled &f%dice% &7(&f%total%&7)"
roll_usage
: "&cUsage: /roll [amount]"
error_maximum
: "&cThe amount cannot be greater than %maximum%!"
error_minimum
: "&cThe amount cannot be less than %minimum%!"
error_cooldown
: "&cYou must wait %remaining% second%s% to roll again!"

# Seen by admins
reload_config
: "&aSuccessfully reloaded Dice!"
diceplugin_usage
: "&cUsage: /diceplugin reload"


[​IMG]
Resource Information
Author:
----------
Total Downloads: 719
First Release: Feb 7, 2023
Last Update: Feb 24, 2024
Category: ---------------
All-Time Rating:
1 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings