Skip to content

About

CustomSpawners by Lino: Minecraft Paper spawner stacking, Omni spawners, tiers, custom loot, item generators, boosts and economy shop. Supports 1.21.11–26.3.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

CustomSpawners

Build Release Minecraft Platform License

CustomSpawners by Lino is a configurable Minecraft spawner plugin for Paper servers. Combine spawners, build mixed mob farms, unlock tiers, create item and block generators, customize mob loot, and run a spawner economy from in-game menus.

Designed for survival, Skyblock, factions and economy servers, CustomSpawners uses public APIs, persistent item metadata, validated configuration and a bounded scheduler. It includes English messages, native holograms and a definition editor.

Features

  • Spawner stacking: combine matching spawners or create Omni spawners containing multiple types and tiers.
  • Tier progression: configure ordered tiers and buy additional stack units or tier upgrades with money or experience levels.
  • Four generator modes: spawn entities, drop items, place blocks or execute console commands. A tier can combine all four.
  • Mob spawner shop: paginated menus, configurable prices and sorting, and purchases of 1, 10 or 64 typed spawners. Armor Stands and item, block or command generators are excluded, including old catalog entries.
  • Timed boosts: buy extra output for a placed spawner or grant owner boosts, including permanent boosts. Active bonuses add together; expired bonuses produce nothing.
  • Spawner conversion: exchange types using money or spawn eggs, with an optional return of the previous mob egg.
  • Pickaxe collection: ordinary diamond/netherite pickaxes work by default; Silk Touch pickaxes remain supported. Invalid tools preserve the block. Placed spawners return to inventory, with safe overflow drops.
  • Custom loot: item quantities, probability, names, lore, command rewards, experience and looting bonuses for generated mobs.
  • Mob kill rewards: configurable guaranteed milestones, random spawner rewards, progress alerts and kill statistics.
  • Spawn conditions: biome, height, light, nearby players, entity caps, storm requirements and permitted ground materials. Bounded arithmetic expressions customize output amounts without a script engine.
  • Farm controls: redstone pause, optional no-AI mobs, retaliation-only monsters, chunk/player limits, proximity combining, world/type blacklists and liquid repelling.
  • Explosion handling: independent TNT, creeper and other explosion probabilities, or complete spawner explosion protection.
  • Custom crafting: shaped recipes per type, with permission checks.
  • In-game administration: nested definition/settings menus and validated YAML edits through commands or chat prompts.
  • Native visuals: TextDisplay holograms show type, tier, stack size and pause reasons; optional particles need no hologram dependency.
  • Persistence and extensions: indexed records, ordered atomic state snapshots with a backup, cancellable API actions and optional economy/protection hooks.

Compatibility

Server Server Java Plugin bytecode
Paper 1.21.11 Java 21+ Java 21
Paper 26.1–26.3 Java 25+ Java 21

The compatibility target is Paper 1.21.11 through 26.3. Automated builds compile against four API versions. The previously completed verification and its limits are recorded in Compatibility. Paper forks may work but need their own checks. Folia and older Minecraft versions are outside the supported target.

Installation

  1. Download the ready-to-use JAR from GitHub Releases. To build from source, use ./mvnw verify or mvnw.cmd verify with JDK 21 or newer.
  2. Copy CustomSpawners-1.0.1.jar into the server's plugins folder and restart.
  3. Optionally install Vault with an economy provider, or PlayerPoints. WorldGuard and GriefPrevention are supported protection hooks.
  4. Configure plugins/CustomSpawners/config.yml, spawners.yml and messages.yml.
  5. Run /csp reload. Invalid settings or definitions are rejected and the previously loaded configuration remains active.

WildStacker

CustomSpawners manages spawner blocks, tiers, placement and collection. WildStacker may manage spawned mobs and dropped items. Before starting both plugins, set these existing options in plugins/WildStacker/config.yml, then restart:

spawners:
  enabled: false
  spawners-override:
    enabled: false
  listen-paper-pre-spawn-event: false

Keep WildStacker's entities.enabled and items.enabled enabled as needed. Generated mobs are handed to WildStacker's public stacking API; different CustomSpawners types/tiers cannot merge. CustomSpawners checks these settings at startup and refuses to activate if spawner ownership conflicts, preserving its saved state. Use a WildStacker build that supports your Minecraft version: the local 2025.2-b178 build works on 1.21.11 but cannot initialize on 26.3; WildStacker 2026.3 works on 26.3. Existing WildStacker spawner stacks are not imported; recover or migrate them with WildStacker before switching spawner ownership. See verification details and limits.

Existing spawners are preserved during upgrades. Old Armor Stand definitions are hidden from the shop; an administrator can aim at an old placed spawner and use /csp change pig or another mob ID to convert it. New diamond pickup and placed-inventory defaults apply to older CustomSpawners configurations without resetting them. Set pickup.diamond-pickaxe: false to require the existing Silk Touch path; set pickup.placed-to-inventory: false to let pickup.to-inventory alone select the delivery destination.

The first start generates mob definitions from the server's available entity types. New mobs on newer supported servers receive definitions without a hardcoded entity list. Example item, block and command generators are disabled until you enable them.

Commands

The main command is /customspawners, with aliases /csp and /cspawners.

Command Purpose Permission
/csp help Show command help Everyone
/csp inspect Open the targeted spawner customspawners.use
/csp shop Open the shop customspawners.shop
/csp stats Open your mob kill statistics customspawners.stats
/csp upgrade [money|xp] [stack|tier] Buy a stack unit or advance the first component's tier customspawners.upgrade
/csp convert <type> Convert the first component using money customspawners.convert
/csp boost [amount minutes] Open the boost menu or buy extra output customspawners.boost
/csp give <player|all> <type|random> [tier] [items] [stack] Give tagged spawner items customspawners.give
/csp openshop <player> Open another online player's shop customspawners.openshop
/csp playerboost <player> <amount|0> [duration] Grant or clear an owner boost customspawners.adminboost
/csp change <type> [tier] Administratively replace the first targeted component customspawners.change
/csp spawn Trigger the targeted spawner, respecting conditions customspawners.spawn
/csp remove Remove the targeted spawner without drops customspawners.remove
/csp editor Open the spawner definition editor customspawners.editor
/csp editor set <path> <yaml-value> Validate and save a definition edit customspawners.editor
/csp settings Open the plugin settings editor customspawners.settings
/csp settings set <path> <yaml-value> Validate and save a main setting customspawners.settings
/csp reload Reload settings, definitions, messages and hooks customspawners.reload
/csp save Queue a persistent state snapshot customspawners.save

Standalone commands: /cspawnershop (alias /cspshop) and /cspawnerstats (alias /cspstats). Targeted commands require a spawner within eight blocks. The Omni menu lets you select individual components. Player boosts accept 30s, 15m, 2h, 3d or permanent; omitted duration means permanent, and 0 clears the bonus.

Examples:

/csp give Steve zombie 1 4 1
/csp playerboost Steve 2 30m
/csp editor set spawners.zombie.price 2500
/csp editor set spawners.iron_generator.enabled true
/csp settings set limits.per-chunk 16

Player controls and permissions

Right-click a spawner with a tagged spawner item to combine it. Right-click with a spawn egg to convert it; otherwise the management menu opens. Mine it with a diamond/netherite pickaxe or an allowed Silk Touch pickaxe to collect it. Sneaking while collecting preserves the whole mixed stack when enabled.

Regular players receive customspawners.use, .place, .break, .stack, .omni, .shop, .stats, .upgrade, .convert, .boost, .rewards, .silk and .craft by default. Each name uses the customspawners prefix. Set these nodes to false to restrict a feature.

customspawners.admin defaults to operators and includes administration commands and bypasses. Bypass permissions are customspawners.bypass.protection, .limits, .silk and .cost. A cost bypass also bypasses XP/item charges. Creative players are exempt from charges unless creative.charge is enabled.

Per-type overrides use customspawners.<action>.<type-id> for applicable placement, shop, crafting, reward, upgrade, conversion, collection and administrative change actions. An explicitly assigned per-type node takes precedence over its general action node. Use lowercase catalog IDs, for example customspawners.place.zombie or customspawners.change.zombie. Recipes require a player permission context; automatic Crafter production is blocked.

Configuration

  • config.yml controls stacking, performance budgets, economy, boosts, rewards, limits, pickup and protections.
  • spawners.yml defines types, prices, ordered tiers, conditions, outputs, drops and recipes. defaults.type and defaults.tier provide inherited values; maps merge recursively and lists replace inherited lists.
  • messages.yml contains configurable English chat messages. GUI text is English.
  • state.yml contains placed spawners, ownership, mixed stacks, successful cycles, boosts and kill counts. It is generated data; stop the server before restoring a backup.

A tier can contain outputs such as:

outputs:
  - kind: ENTITY
    value: ZOMBIE
    chance: 100
    amount: 1
  - kind: ITEM
    value: IRON_INGOT
    chance: 25
    amount: 2

All probabilities are percentages from 0 to 100. Tier delays are inclusive random server ticks. Output is a random tier quantity multiplied by its stack, plus active bonuses, within work and entity caps. Conditions are evaluated per component so an unsuitable component does not stop every other component of an Omni spawner. A positive spawn-limit limits successful cycles; zero means unlimited.

spawning.amount-expression defaults to {RAND}. It supports {RAND}, {STACK_SIZE}, + - * / % ^ and parentheses. A component evaluates once per cycle, floors the nonnegative result, then multiplies by its stack before adding boosts. No JavaScript or arbitrary code is executed.

Command generators execute administrator-configured console commands and support {player}, {world}, {x}, {y}, {z}, {type}, {tier} and {amount}. Commands omit the leading slash. {player} requires the owner to be online. See Spawning for exact output and scheduling semantics.

Money operations require the selected economy provider. PlayerPoints rounds a transaction upward to whole points. Set economy.provider: none to disable paid economy operations while retaining free features. Boost currency accepts MONEY, XP or an item material such as DIAMOND.

Integrations and API

Integration Behavior
Vault + economy plugin Money purchases, upgrades, conversions and collection costs
PlayerPoints Alternative integer points currency
WorldGuard Region build permission and session bypass checks
GriefPrevention Native trust and build checks
Native Paper displays Holograms without an external plugin

Installed supported protection hooks fail closed when their APIs cannot be used. Ordinary placement/break/spawn events remain available to other plugins. Additional protection or logging systems can listen to cancellable SpawnerActionEvent actions: ACCESS, PLACE, BREAK, STACK, UPGRADE, CONVERT, BOOST, DROP, SPAWN. SpawnerService is registered with Bukkit's service manager. Use the API only on the main server thread.

This is an independent implementation. Legacy binary APIs, proprietary item data, old database formats and every historical third-party adapter are not drop-in interfaces. The behavior analysis and intentional fixes are recorded in Reconstruction. Original artifacts, decompiled analysis, downloaded runtimes and test worlds are excluded from Git.

Development

The source separates models, configuration, persistence, spawning, services, hooks, listeners, commands and menus. Read AI maintenance guide for the module map and invariants. Run ./mvnw verify before submitting a change. CI checks compilation against four API versions and publishes a build artifact. Completed test sources, fixtures and raw reports were removed after verification at the maintainer's request.

SpigotMC publishing assets

Ready-to-paste English resource description and full documentation are supplied in BBCode, alongside pixel-art icon exports. See the publishing notes. These files are also attached to the 1.0.1 release.

Created and maintained by Lino. Licensed under MIT.

About

CustomSpawners by Lino: Minecraft Paper spawner stacking, Omni spawners, tiers, custom loot, item generators, boosts and economy shop. Supports 1.21.11–26.3.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Contributors

Languages