
CapsulaX is a Minecraft plugin that allows players to capture creatures in special capsules and then release them whenever they want.
CapsulaX is a Minecraft plugin that allows players to capture creatures in special capsules (eggs) and release them whenever they want. Similar to Pokémon mechanics, players can throw capsules at mobs to capture them, store them in their inventory, and release them later.
plugins/ folderplugins/CapsulaX/config.yml/capsulax reloadAfter installing CapsulaX, follow these steps:
Give yourself a capsule:
/capsulax give <your_name> 10
Check available mobs:
/capsulax list
Find a mob in your world
Throw the capsule at the mob or right-click on it
If successful, the mob will be captured and you'll receive a filled capsule
Right-click with the filled capsule to release the mob
Players can craft capture capsules using the following recipe:
[I] [I] [I]
[I] [G] [I]
[I] [I] [I]
I = Iron Ingot
G = Glass Block
Result: 8 Capture Capsules
You can change the recipe in config.yml:
crafting:
enabled: true
pattern:
- "III"
- "IGI"
- "III"
ingredients:
I: "IRON_INGOT"
G: "GLASS"
result-amount: 8
Example - Diamond Recipe:
crafting:
enabled: true
pattern:
- "DDD"
- "DGD"
- "DDD"
ingredients:
D: "DIAMOND"
G: "GLASS"
result-amount: 4
Set enabled: false in the crafting section:
crafting:
enabled: false
Players will only be able to get capsules through commands or economy.
There are two methods to capture mobs:
Advantages:
Advantages:
When you attempt to capture a mob:
✅ Success:
❌ Failure:
To release a captured mob:
Notes:
CapsulaX uses a sophisticated probability system based on several factors:
Default: 70% (configurable in config.yml)
capsules:
base-capture-chance: 0.7 # 70%
Different mob types have different capture multipliers:
Multiplier: 1.0 → 70% capture rate
Multiplier: 0.7 → 49% capture rate
Multiplier: 0.6 → 42% capture rate
Multiplier: 0.4 → 28% capture rate
Multiplier: 0.3 → 21% capture rate
Multiplier: 0.1 → 7% capture rate
The mob's current health affects capture chance:
Formula:
Health Multiplier = 1.0 - (Current Health / Max Health) × 0.5
Examples:
💡 Strategy: Damage mobs before capturing them for better success rates!
The final capture chance is:
Final Chance = Base Chance × Category Multiplier × Health Multiplier
Example 1 - Healthy Cow:
Example 2 - Damaged Zombie:
Example 3 - Nearly Dead Creeper:
You can override specific mob probabilities:
capsules:
overrides:
CREEPER: 0.9 # 90% catch rate for Creepers
ZOMBIE: 0.5 # 50% catch rate for Zombies
ENDER_DRAGON: 0.01 # 1% catch rate for Dragon
The main configuration file is located at: plugins/CapsulaX/config.yml
general:
language: es # Language: 'es' or 'en'
update-check: true # Check for updates on startup
capsules:
item: EGG # Item type for capsules (EGG, SNOWBALL, etc.)
display-name: "&6Capture Capsule"
lore:
- "&7Throw this capsule at a creature"
- "&7to attempt to capture it."
- ""
- "&eCatch 'em all!"
projectile-type: EGG # Projectile type when thrown
base-capture-chance: 0.7 # 70% base chance
sounds:
enabled: true
capture-success: ENTITY_PLAYER_LEVELUP # Sound on success
capture-fail: ENTITY_ENDERMAN_TELEPORT # Sound on failure
volume: 1.0
pitch: 1.0
Available sounds: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Sound.html
particles:
enabled: true
capture-particle: HEART # Particle type
amount: 10 # Number of particles
radius: 1.0 # Spread radius
Available particles: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Particle.html
storage:
type: YAML # YAML, MYSQL, or SQLITE
# MySQL settings (if type: MYSQL)
mysql:
host: localhost
port: 3306
database: minecraft
username: user
password: password
table-prefix: capsulax_
# SQLite settings (if type: SQLITE)
sqlite:
filename: capsulax.db
debug:
verbose-logging: false # Detailed console logs
log-captures: true # Log capture attempts
log-releases: true # Log mob releases
CapsulaX includes a flexible world management system with three modes:
Default mode - Capsules work in all worlds
worlds:
mode: ALL
Use case: Simple servers, vanilla gameplay
Only allows capsules in listed worlds
worlds:
mode: WHITELIST
enabled-worlds:
- world
- world_nether
- world_the_end
- custom_survival
- resource_world
Use case:
Advantages:
Allows capsules in all worlds EXCEPT listed ones
worlds:
mode: BLACKLIST
disabled-worlds:
- lobby
- spawn
- hub
- creative_world
- minigames
Use case:
Advantages:
⚠️ Important: World names are case-sensitive!
world, world_nether, MyCustomWorldWorld, WORLD_NETHER, mycustomworldHow to find exact world names:
/mv list if using MultiverseRequires Vault plugin installed.
economy:
enabled: true
capsule-price: 100.0 # Price per capsule
# Rewards for capturing rare mobs
capture-rewards:
ENDER_DRAGON: 10000.0
WITHER: 5000.0
ELDER_GUARDIAN: 3000.0
WARDEN: 2500.0
Players can buy capsules with in-game money:
/capsulax buy [amount]
Examples:
/capsulax buy → Buy 1 capsule for $100
/capsulax buy 5 → Buy 5 capsules for $500
/capsulax buy 64 → Buy 64 capsules for $6400
When a player captures a rare mob (if configured), they receive money:
Customize rewards in config.yml under economy.capture-rewards.
/capsulax [subcommand]
Aliases: /cx, /capsula
/capsulax give <player> [mob] [amount]
Permission: capsulax.command.give
Examples:
# Give 10 empty capsules to Steve
/capsulax give Steve 10
# Give 5 empty capsules to Steve
/capsulax give Steve 5
# Give 1 capsule with a Cow to Steve
/capsulax give Steve COW 1
# Give 3 capsules with Creepers to Alex
/capsulax give Alex CREEPER 3
/capsulax list [page]
Permission: capsulax.command.list
Examples:
/capsulax list # Show page 1
/capsulax list 2 # Show page 2
/capsulax list 5 # Show page 5
Shows all mobs that can be captured with their capture rates.
/capsulax buy [amount]
Permission: capsulax.command.buy
Requires: Vault + Economy plugin
Examples:
/capsulax buy # Buy 1 capsule
/capsulax buy 10 # Buy 10 capsules
/capsulax buy 64 # Buy 64 capsules (max)
/capsulax reload
Permission: capsulax.command.reload
Reloads all configuration files without restarting the server.
Reloads:
/capsulax help
Permission: capsulax.command
Shows all available commands based on your permissions.
| Permission | Description | Default |
|---|---|---|
capsulax.command |
Use /capsulax command | Everyone |
capsulax.command.give |
Give capsules to players | OP |
capsulax.command.reload |
Reload configuration | OP |
capsulax.command.list |
List capturable mobs | Everyone |
capsulax.command.buy |
Buy capsules | Everyone |
Control which mobs players can capture:
capsulax.capture.<mob_name>
Examples:
# Allow capturing specific mobs
permissions:
- capsulax.capture.cow
- capsulax.capture.pig
- capsulax.capture.chicken
- capsulax.capture.zombie
- capsulax.capture.creeper
capsulax.capture.*
Allows capturing all mobs (including bosses if enabled)
Control which mobs players can release:
capsulax.spawn.<mob_name>
Default Behavior: If a player has permission to capture a mob, they automatically have permission to release it. This is logical - if you can catch it, you should be able to release it!
Permission Hierarchy:
capsulax.capture.<mob> → Automatically grants release permissioncapsulax.spawn.<mob> → Explicit release permissioncapsulax.spawn.* → Release all mobs (default: true)Examples:
# Player with capture permission can automatically release
permissions:
- capsulax.capture.cow # Can capture AND release cows
# Or use explicit spawn permission
permissions:
- capsulax.spawn.cow # Can release cows
- capsulax.spawn.zombie # Can release zombies
- capsulax.spawn.* # Can release all mobs (DEFAULT)
Important: The capsulax.spawn.* permission is enabled by default for all players, so normal players can release any mob they capture.
capsulax.crafting.capsule
Default: OP only
Players need this permission to craft capsules.
For LuckPerms:
# Basic player - can only capture passive mobs
lp group default permission set capsulax.command true
lp group default permission set capsulax.command.list true
lp group default permission set capsulax.capture.cow true
lp group default permission set capsulax.capture.pig true
lp group default permission set capsulax.capture.sheep true
# VIP - can capture passive + hostile mobs
lp group vip permission set capsulax.capture.zombie true
lp group vip permission set capsulax.capture.skeleton true
lp group vip permission set capsulax.capture.creeper true
# Admin - can capture everything
lp group admin permission set capsulax.capture.* true
lp group admin permission set capsulax.command.give true
lp group admin permission set capsulax.command.reload true
capsules:
base-capture-chance: 0.95 # 95% base rate
capture-settings:
passive:
multiplier: 1.0
hostile:
multiplier: 0.9
bosses:
enabled: true
multiplier: 0.5 # 50% for bosses
capsules:
base-capture-chance: 0.3 # 30% base rate
capture-settings:
passive:
multiplier: 0.8
hostile:
multiplier: 0.4
bosses:
enabled: true
multiplier: 0.05 # 5% for bosses
capsules:
base-capture-chance: 0.1
capture-settings:
passive:
enabled: false
hostile:
enabled: false
bosses:
enabled: true
multiplier: 1.0
capsules:
base-capture-chance: 0.7
overrides:
# Easy to catch
CHICKEN: 1.0
COW: 1.0
PIG: 1.0
# Medium difficulty
ZOMBIE: 0.5
SKELETON: 0.5
# Hard to catch
CREEPER: 0.3
ENDERMAN: 0.2
# Very rare
WITHER: 0.01
ENDER_DRAGON: 0.005
Solutions:
worlds.mode in config.yml/capsulax reload after changesSolutions:
disabled-worlds/capsulax reload after changesSolutions:
base-capture-chancecapsulax.capture.<mob>Solutions:
crafting.enabled: true in configcapsulax.crafting.capsule/capsulax reloadSolutions:
economy.enabled: true in configSolutions:
Yes, but only if the player has the appropriate permissions. Tamed animals keep their owner when captured and released.
Yes! All mob data is preserved:
Support for MythicMobs is planned but not yet implemented.
The filled capsule will drop on the ground at your feet.
No, filled capsules cannot stack. Each filled capsule contains unique mob data.
Not directly through the plugin, but players can trade them normally.
Yes! CapsulaX works with any world management plugin.
Only if you enable boss capturing in the config:
capsules:
capture-settings:
bosses:
enabled: true
Edit config.yml:
capsules:
base-capture-chance: 0.95 # Increase this value
WorldGuard integration is planned for future versions. Currently, use world management to disable entire worlds.
Released mobs count toward the normal mob cap, same as spawned mobs.
Yes! Change the item type:
capsules:
item: SNOWBALL # or any other item
projectile-type: SNOWBALL
Thank you for using CapsulaX! We hope you and your players enjoy capturing and collecting creatures in Minecraft.
CapsulaX v1.0.1 - Catch 'em all! 🎮