
PluginMIT
xChunkHoppers
π The Ultimate Chunk Collector Plugin
263
Downloads
3
Followers
4 months ago
Updated
π¦
4
Versions
πAbout xChunkHoppers
xChunkHoppers
π The Ultimate Chunk Collector Plugin
π 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.ymlsystem 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: "�ff00Chunk 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: "�ff00Configuration 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: "�ff00Chunk 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 :)
Made with β€οΈ by WillfryDev for the community.