Перейти к содержимому
Mineforgian

xChunkHoppers

🚀 The Ultimate Chunk Collector Plugin

Загрузки
272
Подписчики
3
Обновлён
13 марта 2026 г.
Лицензия
MIT

Опубликован 27 ноября 2025 г.

xChunkHoppers

🚀 The Ultimate Chunk Collector Plugin

Java Spigot License Author


📋 Description

xChunkHoppers is the ultimate solution for Survival, SkyBlock, and Factions servers. It allows you to create "Magic Hoppers" that automatically collect items within a specific radius or the entire Chunk without the need for water streams or lag.

Optimized for high performance, with support for Hex Colors, Effects, GUI Menu, and a complete API for developers.

✨ Key Features

  • 🛡️ Extreme Performance: Smart caching and PersistentDataContainer (PDC). Zero lag.
  • 📡 Multi-Types: Create infinite hopper types (VIP, GOD, BASIC) with configurable ranges (8x8, 64x64, Full Chunk).
  • 🎨 Premium Design: Full support for HEX colors (&#RRGGBB) and gradients.
  • 🖥️ GUI Menu: Visual admin panel to obtain items (/xch menu).
  • 💾 Data Persistence: data.yml system to save locations across restarts.
  • 🎵 Visual Effects: Fully configurable sounds and particles when placing blocks.
  • 🔌 Developer API: Simple API to integrate with other plugins.
  • ⚙️ Filtering: Whitelist or blacklist of materials (e.g., only Cactus and Iron).

📥 Installation

1.  Download xChunkHoppers.jar. 2.  Place it in your server's /plugins/ folder. 3.  (Optional) Install PlaceholderAPI to use variables. 4.  Restart the server. 5.  Configure the hopper types in config.yml and enjoy!


Example Video:

💻 Commands and Permissions

Command Description Permission
/xch give <player> <type> [amount] Gives a specific ChunkHopper to a player. xchunkhoppers.admin
/xch menu Opens the GUI menu with all hoppers. xchunkhoppers.admin
/xch reload Reloads the configuration and database. xchunkhoppers.admin

Other Permissions

  • xchunkhoppers.place » Allows placing Chunk Hoppers.
  • xchunkhoppers.break » Allows breaking and retrieving Chunk Hoppers.

🛠️ Configuration

#         ___ _                 _
#__  __ / __\ |__  _   _ _ __ | | __ /\  /\___  _ __  _ __   ___ _ __ ___
#\ \/ // /  | '_ \| | | | '_ \| |/ // /_/ / _ \| '_ \| '_ \ / _ \ '__/ __|
# >  </ /___| | | | |_| | | | |   </ __  / (_) | |_) | |_) |  __/ |  \__ \
#/_/\_\____/|_| |_|\__,_|_| |_|_|\_\/ /_/ \___/| .__/| .__/ \___|_|  |___/
#                                              |_|   |_|
#                 Web: [https://xplugin.es](https://xplugin.es)
#          Wiki: [https://xplugin.es/xchunkhoppers](https://xplugin.es/xchunkhoppers)
#            Discord: [https://discord.xplugin.es](https://discord.xplugin.es)

settings:
  # Enable or disable full plugin functionality
  enabled: true

  # If true: Only collects items in 'filter-list'.
  # If false: Collects everything EXCEPT items in 'filter-list'.
  use-whitelist: false

  # List of materials (Use Bukkit Material enum names)
  filter-list:
    - "COBBLESTONE"
    - "DIRT"
    - "ROTTEN_FLESH"

# GUI Menu
menu:
  title: "&#B3B3B3Admin hoppers menu"
  size: 27
  fill:
    enabled: true
    material: "BLACK_STAINED_GLASS_PANE" # Material to fill empty slots

# Hoppers
hopper-types:
  default:
    radius: -1
    name: "&#00ff00Chunk Hopper &7(16x16)"
    lore:
      - "&8 Special Item"
      - ""
      - "&f Place this block to"
      - "&f collect all items"
      - "&f in this chunk automatically."
      - ""
      - "&eUnique Chunk!"
      - ""
  vip:
    radius: 4
    name: "&#ffaa00Hopper &lVIP &7(8x8)"
    lore:
      - "&8 VIP Item"
      - ""
      - "&f Place this block to"
      - "&f collect all items"
      - "&f in this chunk automatically."
      - ""
      - "&eUnique Chunk!"
      - ""
  god:
    radius: 32
    name: "&#ff0000Hopper &lGOD &7(64x64)"
    lore:
      - "&8 GOD Item"
      - ""
      - "&f Place this block to"
      - "&f collect all items"
      - "&f in this chunk automatically."
      - ""
      - "&eUnique Chunk!"
      - ""

# Configuration of effects when placing the Hopper and using the Menu
effects:
  sound:
    enabled: true
    # Sound names: [https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Sound.html](https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Sound.html)
    type: "ENTITY_PLAYER_LEVELUP"
    volume: 1.0
    pitch: 1.0
  particles:
    enabled: true
    type: "VILLAGER_HAPPY"
    count: 15

permissions:
  admin: "xchunkhoppers.admin"
  place: "xchunkhoppers.place"
  break: "xchunkhoppers.break"

messages:
  prefix: "&8[&d&lxCH&8] "
  no-permission: "&cYou do not have permission to do this."
  reload: "&#00ff00Configuration and Data reloaded successfully."
  player-not-found: "&cPlayer not found."
  give-success: "&aYou gave &e%amount% &f%type% &a to &f%player%&a."
  received: "&aYou have received a &dChunk Hopper&a."
  placed: "&#00ff00Chunk Hopper placed! It will now collect items in this range."
  broken: "&eYou have removed the Chunk Hopper."
  already-exists: "&cA Chunk Hopper already exists here."
  type-not-found: "&cThat Hopper type does not exist in the config."

version: 1.0.0

🧩 Developer API

To use the API in your plugin, add xChunkHoppers as a depend in your plugin.yml.

Maven / Gradle Add the jar as a local library.

import jn.willfrydev.xchunkhoppers.xChunkHoppers;
import jn.willfrydev.xchunkhoppers.api.ChunkHopperAPI;

public class YourPlugin extends JavaPlugin {
    
    public void checkHopper(Chunk chunk) {
        ChunkHopperAPI api = xChunkHoppers.getAPI();

        if (api.hasHopper(chunk)) {
            getLogger().info("There is a magic hopper in this chunk!");
            
            Location loc = api.getHopperLocation(chunk);
            // Do something...
        }
    }
}

Is Open Source :)

You can click here!

Made with ❤️ by WillfryDev for the community.

Ченджлог

v1.0.3Релиз1.21.9, 1.21.10, 1.21.11 · 13 марта 2026 г.

🚀 xChunkHoppers v1.0.3 - The Ultimate Shop Update

Version 1.0.3 is finally here! This update brings a massive restructure to the shop system, major improvements to collection performance, and critical bug fixes.

⚠️ IMPORTANT: New sections have been added to the config.yml. We highly recommend backing up your current configuration and letting the plugin generate a new one, or manually adding the new command and menu sections.

✨ Features & Additions

  • 🛍️ New Dynamic & 100% Configurable Shop!
    • The shop menu has been rewritten from scratch. You can now completely configure the size, title, background items, close button, and items for sale with full HEX color support.
    • Dynamic Commands: You are no longer tied to a single hardcoded command. You can set up infinite custom commands (e.g., /hoppershop, /hopperstore, /hoppers) directly from the config.yml. The plugin will register them on the server in real-time (on the fly) without needing a restart!
    • Exclusive Shop Lore: Items in the shop now display a clean and professional "Price Format" template. When buying the item, the player will receive the hopper with its actual stats and real lore intact.

🐛 Bug Fixes

  • 📐 Collection Math Improvement (3D to 2D): Fixed the hopper radius calculation (VIP and GOD). They previously used a spherical distance calculation that ignored farms that were too high or too low. They now use a square area system (X and Z) that ignores height (Y), perfectly covering entire chunks regardless of where the item drops from.
  • 💬 Command & Message Fixes:
    • Fixed the /xch give command. It now correctly sends success messages to the admin, notifies the player receiving the hopper, and properly handles errors if the target player is offline.
    • Fixed an issue where /xch menu wouldn't open if the menu section was missing from the configuration.
  • ⌨️ Smart Tab-Completer: Chat auto-completion now detects and suggests the dynamic shop commands you've created in the config.

⚙️ Technical Changes

  • The GUI.java class has been completely isolated to handle all menus (Shop, Info, and Admin) in a centralized and optimized way.
  • Improvements to the item filter logic (Whitelist / Blacklist) to ensure it correctly processes items like ROTTEN_FLESH and other mob drops without issues.
  • Updated default lore designs to a much more "Premium" and clean format using HEX color palettes.

Found a bug or have a suggestion? Join our Discord for support!

1.0.2Релиз1.21.9, 1.21.10, 1.21.11 · 7 марта 2026 г.

Fixed, Bugs and API Stable

1.0.1Релиз1.21.9, 1.21.10, 1.21.11 · 30 января 2026 г.

🛠️ Update v1.0.1 - Performance & Smart Systems

This update focuses on internal optimizations and a complete overhaul of the collection logic to ensure your server runs smoother than ever.

🔄 What's Changed:

  • Smart Collection System: Improved item detection logic. The hoppers are now "smarter," prioritizing resources more efficiently and reducing unnecessary checks.
  • Bug Fixes: Resolved several minor issues reported in the initial release regarding item stacking and chunk loading.
  • General Optimizations: Refined code performance to maintain high TPS even with multiple hoppers active in the same area.

🔗 Links

Recommendation: We always suggest updating to the latest version to ensure the best compatibility with other plugins. :]

  • Developed by xPlugins

Комментарии

Загружаем…