Command /rockpaperscissors
Command to offer to play rock-paper-scissors
BE CAREFUL
This command will not work if the Tell
module is disabled
🌍 Localization
📂 Path localizations → язык.yml → command.rockpaperscissors
⚖️ Default
rockpaperscissors:
null-player: "<color:#ff7171><b>⁉</b> Игрок не найден"
null-game: "<color:#ff7171><b>⁉</b> Этой игры не существует"
wrong-move: "<color:#ff7171><b>⁉</b> Такой ход невозможен"
already: "<color:#ff7171><b>⁉</b> Ты уже сходил"
myself: "<color:#ff7171><b>⁉</b> Ты не можешь играть с самим собой"
sender: "<fcolor:2>✂ <fcolor:1>Теперь ходит <display_name>"
receiver: "<fcolor:2>✂ <display_name> <fcolor:1>предложил сыграть в камень-ножницы-бумага"
format-move: "<fcolor:2>✂ <fcolor:1>Выбери свой ход <fcolor:2><click:run_command:\"/rps <target> rock <uuid>\">[🪨 камень]</click> <click:run_command:\"/rps <target> scissors <uuid>\">[✂ ножницы]</click> <click:run_command:\"/rps <target> paper <uuid>\">[🧻 бумага]</click>"
format-win: "<color:#98FB98>✂ Выйграл <display_name>! <b><sender_move></b> на <b><receiver_move></b>"
format-draw: "<color:#98FB98>✂ Ничья! Вы оба выбрали <b><move>"
strategies:
rock: "камень"
scissors: "ножницы"
paper: "бумага"
rockpaperscissors:
null-player: "<color:#ff7171><b>⁉</b> This player does not exist"
null-game: "<color:#ff7171><b>⁉</b> This game does not exist"
wrong-move: "<color:#ff7171><b>⁉</b> This move is not possible"
already: "<color:#ff7171><b>⁉</b> You've already made your move"
myself: "<color:#ff7171><b>⁉</b> You can't play with yourself"
sender: "<fcolor:1>Now goes <display_name>"
receiver: "<fcolor:2>✂ <display_name> <fcolor:1>suggested a game of rock-paper-scissors"
format-move: "<fcolor:2>✂ <fcolor:1>Choose your move <fcolor:2><click:run_command:\"/rps <target> rock <uuid>\">[🪨 rock]</click> <click:run_command:\"/rps <target> scissors <uuid>\">[✂ scissors]</click> <click:run_command:\"/rps <target> paper <uuid>\">[🧻 paper]</click>"
format-win: "<color:#98FB98>✂ Winning <player>! <b><sender_move></b> on <b><receiver_move></b>"
format-draw: "<color:#98FB98>✂ It's a draw! You both chose <b><move>"
strategies:
paper: "paper"
rock: "rock"
scissors: "scissors"
null-player
Message when the entered player is not found
null-game
Message when the game does not exist
wrong-move
Message when the move is impossible
already
Message when the player has already made a move
myself
Message when the player decides to play with themselves
sender
Message for the sender
receiver
Message for the receiver
format-move
Message during a move
format-win
Message when the player wins
forma-draw
Message for a draw
strategies
List of strategies and their names
⚙️ Setting
📂 Path command.yml → rockpaperscissors
⚖️ Default
rockpaperscissors:
enable: true
aliases:
- "rockpaperscissors"
- "rps"
strategies:
rock:
- "scissors"
paper:
- "rock"
scissors:
- "paper"
cooldown:
enable: false
sound:
enable: false
enable
Enables or disables the functionality of the module
aliases
List of aliases for using the command
ALIASES CAN BE ANYTHING
For example, newcommand
, новаякоманда
, ban
, me
, etc.
strategy
Strategies where key
is the winning item and value
is the defeated item
For example, if you want scissors
to defeat paper
, you should write:
scissors:
- "paper"
Multiple values can be added, like:
scissors:
- "paper"
- "newitem"
You can define your own keys and values:
customvalue:
- "customobject"
cooldown
Usage cooldown
Field | Type | Explanation |
---|---|---|
enable | boolean | Enables the cooldown functionality |
duration | long | How many ticks must pass between uses |
HOW TO USE COOLDOWN?
Replace false
with true
and restart FlectonePulse
using the /flectonepulse reload
command. Additional cooldown settings will appear AFTER RELOADING.
The cooldown configuration will look like this:
cooldown:
enable: true
duration: 60
sound
Sound playback
Field | Type | Explanation |
---|---|---|
enable | boolean | Enables sound functionality |
volume | float | Sound volume from 0 to 1.0 |
pitch | float | Sound pitch from 0 to 1.0 |
category | String | Category from MASTER , MUSIC , RECORD , WEATHER , BLOCK , HOSTILE , NEUTRAL , PLAYER , AMBIENT , VOICE |
name | String | Sound name, for example minecraft:entity.llama.spit |
HOW TO USE SOUND?
Replace false
with true
and restart FlectonePulse
using the /flectonepulse reload
command. Additional sound settings will appear AFTER RELOADING.
The sound configuration will look like this:
sound:
enable: true
volume: 1.0
pitch: 1.0
category: "HOSTILE"
name: "minecraft:entity.llama.spit"
🔐 Permissions
📂 Path permission.yml → command.rockpaperscissors
⚖️ Default
rockpaperscissors:
name: "flectonepulse.module.command.rockpaperscissors"
type: TRUE
cooldown-bypass:
name: "flectonepulse.module.command.rockpaperscissors.cooldown.bypass"
type: OP
sound:
name: "flectonepulse.module.command.rockpaperscissors.sound"
type: TRUE
name
Permission name
type
Permission type
Type | Explanation |
---|---|
TRUE | Available for any player |
FALSE | Available if granted separately (e.g., via LuckPerms) |
OP | Available for server operators |
NOT_OP | Available if granted separately (e.g., via LuckPerms) |
cooldown-bypass
Permission to bypass the cooldown between uses
sound
Permission to use sound