This is how the game itself shows it /help random: in angle brackets - what to substitute, in square brackets - optional, through a line - one of.
On page 6 sections
Briefly
Examples are verified by the game - copy
-
Roll the dice for everyone
/random roll 1..6 -
Number from 1 to 100
/random value 1..100
Rights - any player.
/random value <range> [<sequence>]/random roll <range> [<sequence>]/random reset (*|<sequence>)
We need a "any player" level: no operator's license. It's written in server consoles without a cross-section.
Part of the command needs more rights:
/random reset- A playmaster./random roll <range> <sequence>- A playmaster./random value <range> <sequence>- A playmaster.
| What | Meaning |
|---|---|
| command | /random |
| Rights | any player (0) |
| Where is | on the server and in single player with cheats |
| Subcommands | reset, roll, value |
How to use the command/random?
Syntax: /random value <range> [<section>]. For example, /random roll 1.6 is to throw a cube to everyone.
What rights are needed for /random?
We need a "any player" level: no operator's license.
Does the command block work?
Yeah, the command unit's doing right-level 2 commands, and this one doesn't need any more. You don't have to write a line in the block.
- /compute
- /debug
- /execute
- /fetchprofile
- /function
- /jfr
- /perf
- /return
- /schedule
- /scoreboard
- /stopwatch
- /test
According to Minecraft 26.3, the syntax is a clue to /help from the game itself, right from her command report, each example is checked by a review of the game's commands.