xHubBlocks

Lobby Practice & Infinite Blocks

📋 Descripción

xHubBlocks is a lightweight plugin designed for Hubs. It gives players an infinite stack of blocks to practice bridging. The blocks disappear automatically after a configurable time.

✨ Features

⚙️ Config.yml

storage:
  type: H2 # Or MYSQL
  mysql:
    host: "localhost"
    database: "xhubblocks"

blocks:
  material: SANDSTONE
  despawn-seconds: 5
            

👨‍💻 Developer API

// Get Stats Example
if (Bukkit.getPluginManager().getPlugin("xHubBlocks") != null) {
    xHubBlocksAPI api = xHubBlocksAPI.getApi();
    int total = api.getPlayerTotalPlaced(player.getUniqueId());
}