Create a Minecraft Paper/Spigot plugin named "MoonXTool" for Minecraft 1.21.x.
Main command: /moonxtool
Features:
- Custom OP Tools System
- When player runs /moonxtool, give custom Netherite tools with custom name and lore.
Tools:
- Netherite Pickaxe
- Netherite Axe
- Netherite Shovel
- Advanced Mining Pickaxe Modes
Special Pickaxe modes:
A) 3x3 Mining Pickaxe
- Breaks 3x3 area instantly when mining center block.
B) 5x5 Mining Pickaxe
- Breaks 5x5 area instantly.
C) 10x10 Mining Pickaxe
- Breaks 10x10 area instantly.
Rules:
- Respect block facing direction.
- Consume durability correctly.
- Fortune and Efficiency enchantments work normally.
- Do not break bedrock.
- WorldGuard region support.
- Mining Effects System
Command: /moonxtool effect
Opens INVENTORY GUI menu.
INVENTORY GUI title:
MoonXTool Effects Menu
Effects list:
- Explosion Effect
-> Small explosion particles when block breaks.
- Lightning Effect
-> Lightning strike visual only.
- Fire Effect
-> Flame particles on block break.
- Magic Effect
-> End rod + enchant particles.
- Smoke Effect
-> Smoke particles.
- Diamond Effect
-> Diamond sparkle particles.
Player selects one effect.
Selected effect applies to current tool.
Effects save permanently.
- Tree Capitator Axe
Special Netherite Axe.
Features:
- Break one log = entire tree breaks instantly.
- Remove all connected logs.
- Leaves decay naturally.
- Works on all wood types.
- Durability decreases per block broken.
- Custom INVENTORY GUI Menu
Command: /moonxtool menu
Open custom inventory INVENTORY GUI.
INVENTORY GUI sections:
Page 1:
- 3x3 Pickaxe
- 5x5 Pickaxe
- 10x10 Pickaxe
- Tree Axe
- Super Shovel
Page 2:
Effects Menu
Beautiful custom item icons.
- Permissions
moonxtool.use moonxtool.admin moonxtool.effect moonxtool.give moonxtool.reload
- Admin Commands
/moonxtool give <player> <tool>
/moonxtool reload
/moonxtool removeeffect <player>
- Config.yml
Enable/Disable:
- Explosion effect
- Tree break system
- Mining modes
- Permissions bypass
Custom messages support.
- Extra Features
- ActionBar message when special tool used.
- Cooldown support.
- Sounds when mining.
- Tool cannot be dropped accidentally.
- Tool glows enchanted.
- Custom model data support for resource pack.
- Performance
- Async safe code.
- Lag optimized.
- No TPS drops when mining large areas.
Code requirements:
- Java 21
- Paper API 1.21.x
- Clean package structure
- No bugs
- Full comments in code
- Production ready plugin
I’ll create the MoonXTool plugin — a comprehensive custom OP tools system with mining modes, tree capitator, mining effects, and a full GUI menu system.
Creating all project files:
Fix all bugs and problems
Now let me find all the Java source files:
No Java files exist yet — the project was only partially scaffolded. I need to create the full plugin from scratch. Let me build the complete MoonXTool plugin.
Let me start by reading what was created and then build everything.
No Java files existed yet — the project was only partially scaffolded. I’m building the complete plugin from scratch. Let me create all source files now.