HomeJavaModsCustomGenerator
CustomGenerator
CustomGenerator — screenshot 1CustomGenerator — screenshot 2

🛠️ CustomGenerator

A fully‑featured, BentoBox‑compatible generator plugin designed to provide island owners with the ability to buy, manage, and activate custom cobblestone, stone, basalt, or deepslate generators. All configurations are handled via easy-to-edit YAML files, making customization straightforward and flexible for server administrators.


✨ Features


🔄 What’s New in v1.1.0

🧪 New Features


📦 Hard Dependencies

Plugin Tested Version Purpose
BentoBox 3.0.0+ Manages island data and world separation
Vault 1.7+ Provides economy API for transactions

The plugin requires both dependencies to be installed and enabled; it will not load otherwise.


🚀 Quick Start

  1. Download the CustomGenerator.jar file and place it inside your server’s plugins/ directory.
  2. Start the server once to generate default configuration files:
    • messages.yml — customizable message strings
    • generator-types.yml — definitions for all generator types
    • custom-generator-categories.yml — defines generator behavior
  3. Modify the YAML files according to your server’s needs and preferences.
  4. Use the command /generator reload or restart the server to load your custom settings.
  5. Encourage players to use /generator help to see available commands and usage.

Commands

Command Description
/generator Opens the main menu and displays available generators to the player.
/generator buy <generator> Purchases the specified generator. The player must have enough money.
/generator activate <generator> Activates a previously purchased generator.
/generator list Lists all generators defined on the server.
/generator reload Reloads all configuration files. Admin permission required.

⚙️ Configuration Basics

Defining Generator Types

Generator types are defined inside the generator-types.yml file. You can add new types or modify existing ones. Each entry specifies how the generator behaves and appears in the GUI. Here is an example:

generator-types:
  diamond:
    display-name: "&bDiamond Generator"
    material: DIAMOND_ORE           
    lore:
      - "&bContains rare and valuable resources."
      - "&7Produces 30% diamond and 70% stone blocks."
    generator-type: COBBLESTONE    
    price: 5000                     
    required-island-level: 30       
    blocks:                          
      STONE: 70
      DIAMOND_ORE: 30

Important notes:

Creating Custom Generator

Custom generators are defined in custom-generator-categories.yml. Example:

dirt_generator:
  category: DIRTGEN
  display-name: "&2Dirt"
  fluid: LAVA
  to: AIR

  conditions:
    sides: [ DIRT ]
    up: [ STONE ]
    down: [ COARSE_DIRT ]

  y-level:
    min: 10
    max: 64

  biomes:
    - minecraft:plains
    - minecraft:the_void

Explanation:

With this system, you can implement:

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more