
xHub Blocks is an extra add-on for lobbies and game modes.
Infinite blocks. Auto-despawn. Database support.
UPDATE COMING SOON!
xHubBlocks is a lightweight but powerful plugin designed for Hubs and Lobbies. It gives your players an infinite stack of blocks to practice bridging, clutching, or building while waiting in the lobby.
The best part? The blocks disappear automatically after a configurable time, keeping your lobby clean and lag-free.
We have completely rewritten the core to include professional features:
xHubBlocks V2 supports two storage types defined in config.yml:
storage:
type: H2 # Or MYSQL
mysql:
host: "localhost"
port: 3306
database: "xhubblocks"
# ...



The commands are editable.
| Command | Permission | Description |
|---|---|---|
/xhubblocks |
xhubblocks.admin |
View plugin info and help. |
/xhubblocks reload |
xhubblocks.reload |
Reload the configuration file. |
/blocks shop |
editable |
Block store. |
Requires PlaceholderAPI.
%xhubblocks_placed_player% - Total blocks placed by the player (Saved in DB).%xhubblocks_placed_session% - Blocks placed in the current session.%xhubblocks_placed_total% - Total blocks placed by everyone on the server.Want to use xHubBlocks stats in your own plugin? It's easy.
1. Get the instance:
if (Bukkit.getPluginManager().getPlugin("xHubBlocks") != null) {
xHubBlocksAPI api = xHubBlocksAPI.getApi();
// Get stats
int total = api.getPlayerTotalPlaced(player.getUniqueId());
}
2. Maven/Gradle:
You can add the plugin as a dependency to your project.
xHubBlocks.jar.plugins folder.config.yml to change the block style or database settings.
Created with ❤️ by xPlugins