/dice
Command for rolling dice for luck

🌍 Localization
Pathlocalizations → language.yml → command.dice
dice:
symbols:
1: "1"
2: "2"
3: "3"
4: "4"
5: "5"
6: "6"
format: "<fcolor:1>[+] <display_name> roll <message><reset> <fcolor:1>(<sum>)"dice:
symbols:
1: "1"
2: "2"
3: "3"
4: "4"
5: "5"
6: "6"
format: "<fcolor:1>[+] <display_name> кинул кубики <message><reset> <fcolor:1>(<sum>)"symbols
A list of indices (the rolled number) and symbols (dice)
format
The format of the message that will be sent
⚙️ Setting
Pathcommand.yml → dice
dice:
enable: true
range: "PROXY"
min: 1
max: 6
aliases:
- "dice"
destination:
type: "CHAT"
cooldown:
enable: false
sound:
enable: falseenable
Enables or disables the functionality of the module
range
How far in blocks the message will be displayed
| Value | Explanation |
|---|---|
WORLD_TYPE | The message will be sent only to players who have the permission flectonepulse.world.type.dimension_name |
WORLD_NAME | The message will be sent only to players who have the permission flectonepulse.world.name.world_folder_name |
PROXY | The message will be sent to all players on the server and on the Proxy |
SERVER | The message will be sent to all players on the server |
PLAYER | The message will be sent only to the sender |
any number greater than 0, for example range: 100 | The message will be sent to players whose distance between them and the sender is less than this number. Players must also be in the same world as the sender |
min
Minimum number of dice
max
Maximum number of dice
aliases
A list of aliases for using the command
ALIASES CAN BE ANYTHING
For example newcommand, newcommand_ru, ban, me etc.
destination
Where the message will be sent
| Type | Explanation | Requires additional configuration? |
|---|---|---|
ACTION_BAR | Message above the player's inventory | Yes |
CHAT | Message to chat | No |
TITLE | Fullscreen message | Yes |
SUBTITLE | Fullscreen message (top line) | Yes |
TOAST | Notification in the bottom right corner | Yes |
cooldown
Usage delay
sound
Sound playback
🔐 Permissions
Pathpermission.yml → command.dice
dice:
name: "flectonepulse.module.command.dice"
type: "TRUE"
cooldown_bypass:
name: "flectonepulse.module.command.dice.cooldown.bypass"
type: "OP"
sound:
name: "flectonepulse.module.command.dice.sound"
type: "TRUE"name
Permission name
type
Permission type
| Type | Explanation |
|---|---|
TRUE | Available to any player |
FALSE | Available to no one, must be granted separately (e.g., using LuckPerms) |
OP | Available to server operators |
NOT_OP | Available to NON-operators of the server |
cooldown_bypass
Permission to ignore the cooldown between uses
sound
Permission to use the sound
Last updated on
Edit on GitHub
FlectonePulse