🧩Sliding puzzles

You are given a field with numbers, or with an image if you are using a resource pack. One field is freed and you can move the cells. Your goal is to add the numbers in the correct order, or to make the image whole.

Installation

Build a vertical 3x3 structure (you can also build 4x4 or 5x5).

Move the cursor to the lower left corner of this building and enter the command:

/slidingpuzzle anime3x3 setpoint 1

Now to the upper right and enter the command:

/slidingpuzzle anime3x3 setpoint 2

Now it remains to put a sign somewhere nearby. Watch on it and enter the command:

/slidingpuzzle anime3x3 install

Commands

Description
Command

View mode commands

/slidingpuzzle help

You need to set the points of the 3x3, 4x4 or 5x5 field (By default in the config 3x3 exists). Look at the lower left corner. Enter the command to set point 1. Then to the upper right and the command to point 2.

/slidingpuzzle <category> setpoint 1 /slidingpuzzle <category> setpoint 2

After setting the points, stare on the sign and enter the command

/slidingpuzzle <category> install

Adds an item to your hand as a prize when you win. You need to specify the drop chance. Be sure to change the drop type in the config for this mode.

/slidingpuzzle <category> additem <3x3, 4x4, 5x5> <chance>

With this command you can set an item in your hand with which the player can start the game. You can set many items! Be sure to allow the game to be started by the item in the general config!

/slidingpuzzle addstartitem

Clears the list of such items that can be used to start the game

/slidingpuzzle clearstartitems

Permissions

For what
Permission

Gives all mode access to the player

fun.slidingpuzzle.*

Gives the player permission to play this mode

fun.slidingpuzzle.play

Main config (config.yml)

Mode config (sliding_puzzle.yml)

You can change the type of reward. Just change it in the config above. Here are what they are:

1) MONEY - Gives only money

2) ITEM - Gives only one item with some chance

3) ALLITEMS - Gives all items in list

4) COMMAND - Executes commands. Example:

Last updated