/rockpaperscissors
Command to offer to play rock-paper-scissors 
🌍 Localization
📂 Path localizations → locale.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>Теперь ходит <target>"
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:
paper: "бумага"
rock: "камень"
scissors: "ножницы"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 <target>"
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 <display_name>! <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: falseenable
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
How to use?
Replace false with true and restart FlectonePulse using the /flectonepulse reload command. Additional cooldown settings will appear AUTOMATICALLY
The cooldown configuration will look like this:
cooldown:
enable: true
duration: 60| Field | Type | Explanation |
|---|---|---|
enable | boolean | Enables the cooldown functionality |
duration | long | How many ticks must pass between uses |
sound
Sound playback
How to use?
Replace false with true and restart FlectonePulse using the /flectonepulse reload command. Additional sound settings will appear AUTOMATICALLY
sound:
enable: true
volume: 1.0
pitch: 1.0
category: "HOSTILE"
name: "minecraft:entity.llama.spit"| 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 |
🔐 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 to any player |
FALSE | Not available to anyone, must be granted separately (e.g., using LuckPerms) |
OP | Available to server operators |
NOT_OP | Available to not server operators |
cooldown_bypass
Permission to bypass the cooldown between uses
sound
Permission to use sound
