xHubBlocks

xHub Blocks is an extra add-on for lobbies and game modes.

29

Quick challenge

How far can you run before the mobs catch you?

xHubBlocks

🧱 xHubBlocks V2

The Ultimate Lobby Practice Plugin

Infinite blocks. Auto-despawn. Database support.

Version Support Storage

__UPDATE COMING SOON!__

---

👋 Overview

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.

🔥 What's New in V2?

We have completely rewritten the core to include professional features: * High Performance: Blocks placed statistics are now saved forever. * High Performance: Built-in support for High Performance: (local, no setup) and High Performance: (for networks). * High Performance: Hook your own plugins into xHubBlocks. * High Performance: Powered by HikariCP for database connections.

---

✨ Features

* 1.8.8 Players get a stack of blocks that never runs out. * 1.8.8 Blocks vanish after X seconds with a satisfying particle effect. * 1.8.8 Prevents players from dropping the block or moving it in their inventory. * 1.8.8 Customize the material, name, lore, slot, and messages. * 1.8.8 Display stats on scoreboards or holograms. * 1.8.8 Works flawlessly from 1.8.8 up to the latest versions.

---

💾 Database & Storage

xHubBlocks V2 supports two storage types defined in `config.yml`:

1. MySQL: Zero configuration required. Stores data in a local file. Perfect for single servers. 2. MySQL: Connect to an external database. Ideal for networks or if you want to display stats on a website.

```yaml storage: type: H2 # Or MYSQL mysql: host: "localhost" port: 3306 database: "xhubblocks"

...

```

🏀Images

imagen1

imagen2

imagen3

---

🚀 Commands & Permissions

*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. |

---

📊 Placeholders

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.

---

👨‍💻 Developer API

Want to use xHubBlocks stats in your own plugin? It's easy.

1. Get the instance: ```java 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.

---

📥 Installation

1. Download `xHubBlocks.jar`. 2. Drop it into your server's `plugins` folder. 3. Restart your server. 4. (Optional) Edit `config.yml` to change the block style or database settings. 5. Enjoy!

Banner


Created with ❤️ by xPlugins

ADS