š§2048
Last updated
Last updated
This is a copy of the popular mobile game 2048. Where you, moving rows, need to get the number 2048. Pressing occurs on the edge of the field. The same numbers are added, forming 1 from 2 cells. From 32 and 32 there will be 64, from 64 and 64 there will be 128 and so on. For each move, 1 or 2 new cells are added, which can fill the field so that you cannot move and lose.
Build a vertical 4x4 structure.
Move the cursor to the lower left corner of this structure and enter the command:
Now to the upper right and enter the command:
Now it remains to put a sign somewhere nearby. Watch on it and enter the command:
View mode commands
/2048 help
You need to set the points of the 4x4 field. Look at the lower left corner. Enter the command to set point 1. Then to the upper right and the command to point 2
/2048 setpoint 1 /2048 setpoint 2
After setting the points, stare on the sign and enter the command
/2048 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.
/2048 additem <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!
/2048 addstartitem
Clears the list of such items that can be used to start the game
/2048 clearstartitems
You must use a permission manager like LuckPerms which supports .*
permissions notation. Bukkit doesn't support this notation by default!
Gives all mode access to the player
fun.game2048.*
Gives the player permission to play this mode
fun.game2048.play
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: