ConnectTheBlocks | GUI Inventory Minigame [1.8-1.21.4] icon

ConnectTheBlocks | GUI Inventory Minigame [1.8-1.21.4] -----

Logic Minigame | Fun for lobbies | Create your own categories and levels! (MySQL support)




-Added model option to item properties.

Remember to check the WIKI!
https://ajneb97.gitbook.io/connecttheblocks
----------, Jan 30, 2025

-Added hide_tooltip and tooltip_style options to item properties.

Remember to check the WIKI!
https://ajneb97.gitbook.io/connecttheblocks
----------, Jan 21, 2025

-Added progress_bar_placeholder option in the config file to modify the %progress% variable on category items.

Remember to check the WIKI!
https://ajneb97.gitbook.io/connecttheblocks
----------, Jan 5, 2025

-Added compatibility with 1.21.4.
-Added custom_model_component_data property to items (for 1.21.4+).

Remember to check the WIKI!
https://ajneb97.gitbook.io/connecttheblocks

20% OFF until Friday!
----------, Dec 9, 2024

-Added placeholders to get player tops associated with levels completed on each category: %connecttheblocks_top_player_name_<category>:<pos>% and %connecttheblocks_top_player_total_<category>:<pos>%
-Added %connecttheblocks_top_player_pos_<category>% PlaceholderAPI variable, to get the current top position of the player on a certain category.

Remember to check the WIKI!
https://ajneb97.gitbook.io/connecttheblocks
----------, Nov 21, 2024

-Added compatibility with 1.21.3.
----------, Nov 6, 2024

-Fixed: Cancelled player movement while playing.
----------, Oct 31, 2024

-Added permissions connecttheblocks.ignore.categoryrequirements and connecttheblocks.ignore.levelrequirements to ignore some game requirements. As OP you can now test all levels, since all of them will be unlocked.

Remember to check the WIKI!
https://ajneb97.gitbook.io/connecttheblocks
----------, Oct 25, 2024

-Fixed important missing SQL sentence when trying to update player names on data.
----------, Oct 15, 2024

-Fixed issue on tab completion for /ctb resetplayer command.
-Fixed issue with item attributes on 1.21+.
----------, Oct 9, 2024

-Fixed issue with player head items on 1.21.1.
----------, Sep 27, 2024

-Added the display_name optional property on level_inventory_types section on the inventory.yml file, to set a custom type name to be displayed on inventories.

Remember to check the WIKI!

https://ajneb97.gitbook.io/connecttheblocks
----------, Sep 19, 2024

-Added /ctb resetplayer command. It can be used in different ways, more info in the wiki.

Remember to check the WIKI!
https://ajneb97.gitbook.io/connecttheblocks
----------, Sep 15, 2024

IMPORTANT: BEFORE UPDATING READ THIS:
ConnectTheBlocks
was fully remade from scratch, it's like a completely new plugin with several improvements and fixes. If you want to continue using this plugin, before updating (if you have been using the plugin before) you need to delete the whole ConnectTheBlocks folder. You will lose your configurations, yes, but sadly this is the only way to update to the new version, because the amount of changes were so big that it was impossible for me to create a type of migration system.

However, levels are still being saved the same way as before, so if you created new levels you can still add them manually to the new configurations.

I can't list all of the changes that I made in this new version (like I said its like a new plugin based on the previous versions). There is a new WIKI where you can see for yourself how the plugin works now: https://ajneb97.gitbook.io/connecttheblocks. Here the most important changes:
  • Added reward actions.
  • Added requirements to unlock categories.
  • Now you can create your own level shapes (not limited to 5x5, 6x6, ..).
  • Now you can create your own blocks (not limited to wools)
  • More customizable inventories/items.
  • Several performance improvements.
  • Updated to new Minecraft versions.

If you don't feel comfortable with the new version you are still able to keep using the plugin with an old version.

Creating the plugin again from scratch will allow me to implement new features in a more easier way than before, so I hope you understand this! Let me know in the discussion if you need any help and remember to check the wiki! ;)
----------, Sep 13, 2024

-Added support for 1.19
----------, Mar 15, 2023

-Added support for 1.18.
----------, Dec 3, 2021

-Fixed multiple MySQL connection issues.
----------, Oct 16, 2021

-Added compatibility for 1.17.
----------, Jun 14, 2021

-Fixed bug regarding material restarting on default configs.
----------, Apr 17, 2021

-Added on-selection-title option for every level config to change the title of the level selection inventory.
-Fixed names of wools in the game inventory.
-Fixed: Removed names of glass panels in the game inventory.
----------, Jan 16, 2021

-Fixed a lot of messages without prefix.
-Removed some debug messages.
----------, Nov 16, 2020

-Added compatibility for 1.16.4.
----------, Nov 7, 2020

-Added compatibility for 1.16.
-Fixed some console debug messages.
----------, Jun 26, 2020

-Fixed bug in config with the must_fill_all_empty_slot option.
----------, May 27, 2020

-Added must_fill_all_empty_slot option. If is set to false, players will not need to fill the empty slots on the inventory to complete a level.
----------, May 22, 2020

-Added compatibility with 1.15.
-Fixed a lot of inventory bugs in 1.14+ versions.
----------, Dec 12, 2019

-Fixed incompatibility issues and checks for some items in the config files. An initial check will change all IDs and Sounds to your corresponding version.
----------, Dec 2, 2019

-Added %time% variable in "levelCompleted" and "rewards" messages to show the player how long did he take in finishing the level.
Now the message was edited to:
Code (Text):
levelCompleted: "&a&lCONGRATULATIONS! &aYou've finished Level &6%level% &ain &7%time%&a!"
-Added time variable to CTBLevelFinishEvent event in the API.
----------, Nov 5, 2019

-Added /cb syncsql command to transfer players.yml data to MySQL database. Only use it when your database is empty.
-Added MySQL compatibility to the API.
-Removed the categoryCompleted message. Now you can add your own per level using the msg reward command.
----------, Aug 15, 2019

-Added new method to the API:
Code (Java):
//Returns a list with all the saved player data. Name of the player and completed levels for specific category.
ArrayList <CTBPlayer > playerData = ConnectTheBlocksAPI. getPlayerData ( ) ;
----------, Jul 26, 2019

-Modified: Categories with permissions are now displayed differently (unique ID and extra lines of lore, configurable of course)
----------, Jun 12, 2019

-Fixed NullPointerException error when playing and clicking outside the Inventory.
----------, Jun 3, 2019

-UPDATED FOR 1.14
----------, Apr 27, 2019

-Fixed bug at server start when MySQL is not enabled

25% OFF Until Tuesday!
----------, Apr 14, 2019

-Added MySQL database compatibility to /cb top command
-Fixed bugs with /cb top command
----------, Apr 12, 2019

-Added /cb top command which shows the players with the most completed levels. Permission: connect.command.top
-Updated messages.yml file
-Updated config.yml file
----------, Dec 19, 2018

-Added new Event to the API.
Code (Java):
//Event called when player finishes a Level
@EventHandler
    public void testEvent (CTBLevelFinishEvent event ) {
        Player player = event. getPlayer ( ) ;
        String category = event. getLevelCategory ( ) ;
        int level = event. getLevel ( ) ;
    }
----------, Nov 9, 2018

-Added new Category: Very Hard (40 levels, 8x6 and 9x6).
If you have the levels folder already created, go to the Configuration section on this page and there you can find the categories. Just copy and paste.
----------, Sep 14, 2018

-Updated to 1.13.1
----------, Aug 27, 2018

-Updated to 1.13 (This version still works with 1.8-1.12).
-Modified Sounds on the config.yml file.
-Added Material and Sounds error checks.
----------, Aug 19, 2018

-Added option to set enabled worlds where the plugin can be used.
Code (Text):
enabled_worlds:
- world
- Lobby
----------, Jul 17, 2018

-Added categories with permission feature. In the config on each of your created levels now you can put a permission and people will need it to play the category:
Code (Text):
permission: connect.category.hard
-Fixed severe bug when changing the "level" message on the messages.yml file. Users weren't able to play any levels.
----------, Jun 18, 2018

-Added small API.

For this to work you need to add my plugin to your plugin external jars dependencies and to set softdepends: ConnectTheBlocks on your plugin.yml file

Code (Java):
//You can use these methods for obtaining player data

//Returns a list with finished categories of player.
List <String > list = ConnectTheBlocksAPI. getFinished (player ) ;

//Returns the number of completed levels of player on certain category.
int levels = ConnectTheBlocksAPI. getCompletedLevels (player,category ) ;
-25% OFF until 17th June
----------, Jun 14, 2018

-Added configurable messages of editing a level.
-Updated messages.yml file
----------, May 30, 2018

-Added /cb editlevel <category> <level> command. Using this command, you can edit a created level on an inventory.
----------, May 25, 2018

-Added two new wools: Black Wool, Lime Wool
[​IMG]
----------, May 21, 2018

-Fixed severe bug when trying to play levels correctly, just before creating one.
----------, May 12, 2018

-Added /cb reload command on console.
-Added
per level Rewards. It works the same way as the final rewards when finishing a level.
An example:
Code (Text):
Levels:
    1:
        type: 5x5
        blocks:
        - red;29;15
        - blue;20;13
        - green;12;6
        - yellow;38;42
        rewards:
        - "msg %player% &2Congrats on finishing your first level!"
        - "eco give %player% 500"
----------, May 4, 2018

-Added new Category: Hard (60 levels, 7x6 and 8x6).
If you have the levels folder already created, go to the Configuration section on this page and there you can find the categories. Just copy and paste.
----------, Apr 29, 2018

-Added MySQL database / Bungeecord support. This new setting will allow you to have network player statistics, that means each of the server will share the player data.

-Fixed some error messages on the console
----------, Apr 28, 2018

-Added /cb removelevel command to remove level from categories.
-Added new type of command on the rewards section. You can now send messages to the player when finishing a category. Just add "msg %player% " at the start of the line.
Code (Text):
rewards:
- "msg %player% &2Here some rewards!"
----------, Apr 24, 2018

-Fixed bug on level 44 (Medium).
-Fixed bug when recovering inventory on 1.8.x versions.
----------, Apr 21, 2018

-Modified config options to change events sounds.
Code (Text):
Config:
  categoryInventorySize: 9
  Sounds-1_9:
    changeSelectedItemPlaysound: BLOCK_NOTE_PLING;10;1
    levelFinishedPlaysound: ENTITY_PLAYER_LEVELUP;10;1
    nextPreviousLevelsPlaysound: BLOCK_LAVA_POP;10;1
  Sounds-1_8:
    changeSelectedItemPlaysound: NOTE_PLING;10;1
    levelFinishedPlaysound: LEVEL_UP;10;1
    nextPreviousLevelsPlaysound: LAVA_POP;10;1
 
Remember, if you have a 1.9+ server use the Sounds-1_9

-Fixed Sounds incompability between different versions.
----------, Apr 19, 2018

- Update System added (Check if a new version of the plugin is available)
-Added full messages customization.
----------, Apr 17, 2018

Resource Information
Author:
----------
Total Downloads: 84
First Release: Apr 16, 2018
Last Update: Jan 30, 2025
Category: ---------------
All-Time Rating:
13 ratings
Find more info at ajneb97.gitbook.io...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings