⬜ Color Blocks (Block Party/Pixel Party) ✨ [1.8 - 1.21] ️⬛ icon

⬜ Color Blocks (Block Party/Pixel Party) ✨ [1.8 - 1.21] ️⬛ -----

Remake of a well known gamemode from HiveMC (Block Party).



[​IMG]

The game is played as follows:
You start on a floor that is made out of different blocks. After some time you get a block in your inventory, and you have to stand on that block because in the next few seconds the other blocks disappear. If you fall down you lose. You win by being the last player standing.

TEST SERVER: testing.mipcraft.eu (157.90.137.69:22022)
OTHER SERVER AMAZING: event.thestonedgolem.live

[​IMG]

Features:
The plugin is very configurable, you can configure/change almost everything.
Some of the main special things about this game mode are:

  • Any floor size: Arenas can be however big you want them to be.
  • Design Your Images: Unleash your creativity by designing your own floor images.
  • Music Integration: Enhance the gaming experience by adding music through NBS files.
  • Per-server/Multi-arena: Set one game per server (BungeeCord) or multiple games per server.
  • MySql Support: Keep track of win streaks with efficient MySql integration.
  • PlaceholderAPI Support: Enjoy compatibility with PlaceholderAPI for streamlined integration.
[​IMG]
(You can get the map on the picture here: Color Blocks Default Map)

Game Play:


Setup:

1. Get the plugin and put it in the plugins folder. Start the server and let the plugin generate the folders.
2. After you have let the plugin generate all the folders get the pixel art/png files in to the images folder.
3. You can change look at the config and change whatever you want to change. Restart the server and join in.
4. For both the multi-games per server and single game on server mode you'll want to create at least one game. You can do so with "/cb create [game_name]" command.

4.0. You'll only need 4 commands to create the game.
4.1. You'll want a location where players will wait before the game starts. So move to that location and run the "/cb set game lobby [game_name]" using the same name as before.
4.2. Next, you'll need to remember what you have set in the config for the "floor.x_size" and "floor.y_size" because this is how big the floor is going to be in minecraft.
4.3. You'll want to press f3 to see coordinates as you need to know in which direction are you looking. You need to go to the most negative location of where you want the floor to be. (you can look at the middle cursor, make sure every axes line is looking away from you) Now move to the position, the floor is going to start one block below were you standing and to the other side you are looking at (if you don't understand I suggest you look at the video).
4.4. Finally call the following command "/cb set floor corner [game_name]".
4.5. When you're happy with your setup run "/cb save [game_name]". You can change anything whenever you want just don't forget to save it afterwards with this command. As soon as you run this command the floor will appear.
4.6. (extra info) If you wish to delete a game you'll have to delete the config file (yml) from "ColorBlocks/games/" folder and restart the server.
5. Enjoy!

Sample files (pictures and audio files): https://www.mediafire.com/file/js2ush45w81oly8/sample_files.zip/file

Setup videos:



Adding your own pictures:
Pictures have to be in a png format and the same size as you set "floor.x_size" and "floor.y_size" in the config.
You can use any colors the block mapping will be done automatically, but if you want it to work best it's best to use the same colors as set in the "mapping" part of config.

Adding your own music:
For music, you'll need to download an additional plugin [NoteBlockAPI]
Restart the server and you'll get a folder in ColorBlocks called music, where you drop in the NBS files.
You'll need a Note Block Studio.
If you want to see where to get those files you can watch this video:



When you have a song in Note Block Studio just export it as NBS

Commands:
/cb join - Join the best game.
/cb join [name] - Join the game.
/cb start [name] - Force start a game.
/cb leave - Leave game.
/cb create [game_name] - Create a new game.
/cb save [game_name] - Save the game.
/cb set game lobby [game_name] - Set the lobby location of the game.
/cb set floor corner [game_name] - Set the corner of the floor in the game.
/cb scan [picture_name] - Scan floor to save the pattern.


PlaceholderAPI:
Player stats:
  • %colorblocks_player_uuid%
  • %colorblocks_player_name%
  • %colorblocks_player_games-played%
  • %colorblocks_player_win-streak%
  • %colorblocks_player_wins%
  • %colorblocks_player_score%
  • %colorblocks_player_placement%
Game stats:
  • %colorblocks_game-count_<game_name>%
  • %colorblocks_game-state_<game_name>%
Top stats:

Structure of top placeholders:
%colorblocks_top_games-played_1_name%

colorblocks_top_ - is always the same.
games-played_ - can be (games-played, win-streak, wins or score) - represents top 10 category.
1_ - is a placement number which can be from 1 .. 10.
name - this part can be (uuid, name, games-played, win-streak, wins, score or placement) - data of the player in this placement of the top 10 category.


Examples:
  • %colorblocks_top_games-played_5_name%
  • %colorblocks_top_win-streak_10_score%
  • %colorblocks_top_wins_1_win-streak%
  • %colorblocks_top_score_3_name%
Config:
Code (YAML):
# COLOR BLOCKS
# CREATED BY ALANDIODA
# VERSION 2.18.0

# MYSQL INFORMATION
mysql
:
   enabled
: true
   use_local_file
: true
   host
: localhost
   port
: 3306
   database
: database
   username
: username
   password
: password
   tablename
: ColorBlocksData
 
# Top 10 update rate (in seconds, 0 = disable)
top_10_update_rate
: 300

# Blocks to colors data
#
# Here are default 32 blocks mapped which will be used in the
# game for the floor. You can add as many as you want but the
# more you add the more complicated the game will be.
# The specified color is used to pick the correct block from
# each picture.
#
# The layout of the config is as follows:
# MATERIAL_NAME:
#    color: COLOR_WHICH_THE_BLOCK_REPRESENTS_IN_HEX
#
# For older versions us this
# <material>-<data>:
# STAINED_CLAY-4:
#
mapping
:
   RED_CONCRETE
:
      color
: 8c2020
   ORANGE_CONCRETE
:
      color
: de6101
   YELLOW_CONCRETE
:
      color
: eead15
   LIME_CONCRETE
:
      color
: 5ca618
   GREEN_CONCRETE
:
      color
: 485a23
   CYAN_CONCRETE
:
      color
: 167687
   LIGHT_BLUE_CONCRETE
:
      color
: 2287c4
   BLUE_CONCRETE
:
      color
: 2b2d8d
   PURPLE_CONCRETE
:
      color
: 631f9a
   MAGENTA_CONCRETE
:
      color
: a72f9d
   PINK_CONCRETE
:
      color
: d3658e
   WHITE_CONCRETE
:
      color
: ccd2d3
   LIGHT_GRAY_CONCRETE
:
      color
: 7b7b71
   GRAY_CONCRETE
:
      color
: 35383c
   BLACK_CONCRETE
:
      color
: 090b10
   BROWN_CONCRETE
:
      color
: 5f3a1f
   RED_TERRACOTTA
:
      color
: 8b3a2d
   ORANGE_TERRACOTTA
:
      color
: a25626
   YELLOW_TERRACOTTA
:
      color
: b88322
   LIME_TERRACOTTA
:
      color
: 6a7635
   GREEN_TERRACOTTA
:
      color
: 4d542b
   CYAN_TERRACOTTA
:
      color
: 565a5a
   LIGHT_BLUE_TERRACOTTA
:
      color
: 6e6a88
   BLUE_TERRACOTTA
:
      color
: 493a5a
   PURPLE_TERRACOTTA
:
      color
: 754655
   MAGENTA_TERRACOTTA
:
      color
: 92556a
   PINK_TERRACOTTA
:
      color
: a04e4e
   WHITE_TERRACOTTA
:
      color
: ceaf9f
   LIGHT_GRAY_TERRACOTTA
:
      color
: 886b62
   GRAY_TERRACOTTA
:
      color
: 3a2b23
   BLACK_TERRACOTTA
:
      color
: 251811
   BROWN_TERRACOTTA
:
      color
: 4c3123

# Settings
# Admin permission node
permission_admin
: ColorBlocks.admin

# Commands
# you can use <player> when not using player mode ( give <player> gold ).
# as well as <uuid>
win
:
   command
:
  - 'give <player> minecraft:gold_ingot'
   player
: false
lose
:
   command
: [ ]
   player
: false

# End game
# you can use <player> or <uuid> for cmd.
end
:
   command
:
      enabled
: false
      cmd
: some command
   start_new_game
: false

# Game mode:
# true = the whole server is for one game.
# false = have a lobby and games in one server.
is_game_per_server
: false

# return server, only works if is_game_per_server = true
return_server
: lobby

# Block commands when in game
block_commands_in_game
:
   enabled
: true
   not_blocked_permission
: ColorBlocks.admin
   allowed_commands
:
  - help

# Scoreboard settings
scoreboard_enabled
: true

# Lobby gamemode
lobby_gamemode
: ADVENTURE

# Playing gamemode
game_gamemode
: ADVENTURE

lobby_leave
:
   enabled
: true
   slot
: 8
   material
: RED_BED
   name
: "&cLeave"
   lore
:
  - "&eClick to leave the lobby."

# Spectators:
# true = hidden from players. (can't see spectators on tab list)
# false = invisible to players. (can see spectators on tab list)
spectators_hidden
: true

# PVP enabled in game
pvp_enabled
: false

# if is_game_per_server is set to true ignore this
lobby
:
   world
: world
   x
: 0.0
   y
: 64.0
   z
: 0.0
   yaw
: 0.0
   pitch
: 0.0
   return_to_lobby_after_game_ends
: true

# Start
# Start the game when at least 2 players join the game
# Can be set to false if you want it to never auto start
start_on_player_count
: 2

# Max players count
max_players_count
: 20

# Rounds
# Maximum rounds per game
max_rounds
: 20
end_game_if_max_rounds
: true

# Rounds image is randomly selected
rounds_images_random
: true

# How long to wait for before removing the floor? (countdown)
blocks_displayed_seconds
: 4

# How long the blocks will be removed for?
blocks_removed_seconds
: 2

# How long the round will be delayed for? (people can watch the floor)
round_delay_seconds
: 14

# How fast the players speed is while in game (0 - 1)
game_player_speed
: 0.2

# Replace blocks for next image seconds.
# If 0 it's going to be instant.
replace_blocks_seconds
: 1

# Animate the blocks placing
replace_blocks_animated
: true

# Game start countdown
countdown_time
: 30

# Countdown sound
countdown
:
   sound
: BLOCK_NOTE_BLOCK_PLING
   play_per_sec
: 5

# Game sounds
sounds
:
   blocks_remove
: ENTITY_ENDER_DRAGON_FLAP
   blocks_back
: BLOCK_BARREL_CLOSE
   block_replace
: ENTITY_ITEM_FRAME_ROTATE_ITEM
   block_countdown
:
      list
:
     - "BLOCK_NOTE_BLOCK_HARP"
      - "BLOCK_NOTE_BLOCK_BASS"
      do_only_last_3
: true

# Ending
# Display effects before the game ends
win_celebration_seconds
: 10

# After the game ends restart the server
when_ends_shutdown
: false

# After the game ends send players to lobby
when_ends_to_lobby
: true

# Floor (animation will look better if the numbers are odd)
# x_size and z_size are x and y sizes of the pictures you'll used for
# the floors as well as x and z dimensions of the floors in the world
floor
:
   x_size
: 65
   z_size
: 65
 
# Images should be png format
start_image_name
: image0

# Effects
effects
:
   enable_players_vanishing
: true
   round_floor
:
      particle_notes_enabled
: true
   end
:
      fireworks
:
         enabled
: true
         color
: ff1778

# Formats
formats
:
   commands
:
      help
:
     - "&8&m                                                                               &a"
      - "    &e&lHelp &r&e- &aColor Blocks"
      - ""
      - "&e/cb join &8- &7Join the best game."
      - "&e/cb join [name] &8- &7Join the game."
      - "&e/cb leave &8- &7Leave game."
      - ""
      - "&8&m                                                                               &a"
      help_admin
:
     - "&8&m                                                                               &a"
      - "    &e&lHelp &r&e- &aColor Blocks Admin"
      - ""
      - "&e/cb join &8- &7Join the best game."
      - "&e/cb join [name] &8- &7Join the game."
      - "&e/cb start [name] &8- &7Force start a game."
      - "&e/cb leave &8- &7Leave game."
      - "&e/cb create [name] &8- &7Create a new game."
      - "&e/cb set game lobby [name] &8- &7Set the lobby location of the game."
      - "&e/cb set floor corner [name] &8- &7Set the corner of the floor in the game."
      - "&e/cb save [name] &8- &7Save the game."
      - "&e/cb scan [picture_name] &8- &7Scan floor to save the pattern."
      - ""
      - "&8&m                                                                               &a"
   connection
:
      join
: '&8 [&x&F&F&0&0&7&8ColorBlocks&8 ] &fPlayer &a<player_name> &fhas joined the game! &8 [&x&F&F&0&0&7&8<count_players>&8/&x&F&F&0&0&7&8<count_max>&8 ]'
      leave
: '&8 [&x&F&F&0&0&7&8ColorBlocks&8 ] &fPlayer &a<player_name> &fhas left the game! &8 [&x&F&F&0&0&7&8<count_players>&8/&x&F&F&0&0&7&8<count_max>&8 ]'
      everyone_left
:
         title
:
            format
: '&cEveryone left!'
            sub
: '&cStopping the game!'
      rules
:
         lines
:
        - ""
         - "&x&F&F&0&0&7&8RULES:"
         - "&x&F&F&0&0&7&8Color Blocks &fis a game where you stand on the &eblock pattern"
         - "floor until the music stops. When the music stops you'll get a"
         - "block in your inventory which will be there for &e4 seconds&f."
         - "Your goal is to &estand on the same type of block &fas in your"
         - "inventory. After the block is removed the other blocks will"
         - "&edisappear from the floor&f, &eif you fall you lose&f."
   countdown
:
      chat
:
         format
: '&8 [&x&F&F&0&0&7&8ColorBlocks&8 ] &fStarting in &x&F&F&0&0&7&8<time>&f!'
         display_per_sec
: 5
      title
:
         format
: '&fStarting in &x&F&F&0&0&7&8<time>'
         sub
: '&aThe game will start soon!'
         display_per_sec
: 5
   winning
:
      title
:
         format
: '&x&F&F&0&0&7&8&l<name> &f&lhas won!'
         sub
: ''
   no_more_rounds
:
      title
:
         format
: '&cNo more rounds!'
         sub
: '&cMore than one player survived.'
   win_display
:
      chat
:
     - '&x&F&F&0&0&7&8&l<num_1_name> &f&lhas won the game!'
      - ''
      - ' ----------------------------'
      - '&6&l1st &f<num_1_name>'
      - '&6&l2nd &f<num_2_name>'
      - '&6&l3rd &f<num_3_name>'
      - ' ----------------------------'
   block_show_countdown
:
  - '█ <number> █'
   - '█ █ <number> █ █'
   - '█ █ █ <number> █ █ █'
   - '█ █ █ █ <number> █ █ █ █'
   game
:
      player_lost
: "&8[&x&F&F&0&0&7&8ColorBlocks&8] &a<player_name> &fhas been eliminated! &8[&x&F&F&0&0&7&8<players_left>th place&8]"
      block_command
: "&8[&x&F&F&0&0&7&8ColorBlocks&8] &cYou can't execute this command while in game!"
      chat
:
         enabled
: true
         waiting
: '&7<player_name> : &f<message>'
         playing
: '&7<player_name> : &f<message>'
         spectating
: '&8 [SPEC ] &7<player_name> : <message>'

# Status display
status
:
# This will be shown on waiting scoreboards <lobby_status>
   gamestate
:
      WAITING
: Waiting
      STARTING
: Starting
      PLAYING
: Playing
      ENDING
: Ending
# This will be shown on playing scoreboards <game_status>
   gameroundstate
:
      playing_music
: Playing Music
      floor_changing
: Floor Changing
      floor_dropping
: Floor Dropping

# Scoreboards
scoreboard
:
   waiting
:
      title
: Color Blocks
      lines
:
     - ''
      - '&7<date>'
      - '&7<time>'
      - '&x&F&F&0&0&7&8Server
: &f<server_id>'
      - ''
      - '&x&F&F&0&0&7&8Status
: &f<lobby_status>'
      - '&x&F&F&0&0&7&8Players
: &f<count_players>&7/&f<count_max>'
      - ''
      - '&eplay.myserver.net'
   playing
:
      title
: Color Blocks
      lines
:
     - ''
      - '&x&F&F&0&0&7&8Status
: &f<game_status>'
      - '&x&F&F&0&0&7&8Time
: &f<game_time>'
      - ''
      - '&x&F&F&0&0&7&8Game round
: &f<game_round>'
      - '&x&F&F&0&0&7&8Players left
: &f<players_in_game>'
      - ''
      - '&eplay.myserver.net'

# Rounds settings
# This is where you can set how each round floor is selected.
# If it's disabled it will do it automatically.
# If it exceeds the rounds specified it will use the last one.
rounds
:
   enabled
: false
   list
:
      round_1
:
         possible_floors
:
        - "image_1"
         - "image_2"
         - "image_3"
         - "image_4"
         - "image_5"
         - "image_6"
         possible_blocks
:
        - "RED_CONCRETE"
         - "ORANGE_CONCRETE"
         - "LIGHT_BLUE_CONCRETE"
         - "WHITE_CONCRETE"
      round_2
:
         possible_floors
:
        - "image_1"
         - "image_2"
         - "image_3"
         - "image_6"
         possible_blocks
:
        - "RED_CONCRETE"
         - "ORANGE_CONCRETE"
         - "LIGHT_BLUE_CONCRETE"
   
 
Other plugins:
[​IMG] [​IMG] [​IMG] [​IMG] [​IMG] [​IMG] [​IMG] [​IMG]
[​IMG] [​IMG] [​IMG]


Before you buy the plugin make sure to read carefully this page just so you'll understand what you're getting.

Terms and conditions:
This plugin cannot be refunded.
You aren't allowed to redistribute/resell this plugin.
You aren't allowed to modify or decompile the plugin.



Support: https://discord.gg/2dcXEtP
Resource Information
Author:
----------
Total Downloads: 130
First Release: Jul 5, 2022
Last Update: Dec 20, 2024
Category: ---------------
All-Time Rating:
11 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings