Create a complete, production-ready Minecraft Paper plugin for IconicSMP inspired by the concept of a magical-gem SMP, but with original names, abilities, mechanics, textures, and implementation. Do not copy proprietary code or assets from any existing plugin.
Server Environment
- Minecraft: Java Edition 1.21.11
- Server software: Paper
- Plugin name: IconicGems
- SMP name: IconicSMP
- Java version: Use the version appropriate for Minecraft 1.21.11.
- The plugin must be optimized for a public SMP and should not cause unnecessary lag.
- Do not require Vault, an economy plugin, or SQLite unless absolutely necessary.
- Store persistent data safely in YAML/JSON files.
💎 Core Gem System
Create 8 unique gems, each with a completely different playstyle:
- Astra Gem — mobility / teleportation
- Inferno Gem — fire / offensive abilities
- Flux Gem — utility / control
- Vitalis Gem — healing / survival
- Puff Gem — jump / aerial mobility
- Velocity Gem — speed / movement
- Titan Gem — strength / combat
- Fortuna Gem — loot / resource abilities
Each gem should have:
- A unique item
- Custom display name
- Custom lore
- Unique abilities
- Passive ability
- Active abilities
- Cooldowns
- Energy consumption
- Upgrade system
- Tier system
- Visual effects
- Sound effects
- Proper permissions
- Anti-abuse protection
🔮 Equipping Gems
Players can equip one gem at a time.
The gem should work when placed in the player's offhand.
While equipped:
- Passive effects are automatically applied.
- Active abilities can be triggered through a configurable interaction.
- Prevent players from equipping multiple gems simultaneously.
- Make the activation method configurable in "config.yml".
Example:
"RIGHT CLICK + SHIFT" → activate ability.
Do not interfere with normal Minecraft item interactions unnecessarily.
⚡ Energy System
Every gem has an energy value.
Default:
- Maximum energy: 100
- Abilities consume different amounts of energy.
- Energy regenerates slowly over time.
- Killing another player can restore some energy.
- Dying can remove some energy.
- Energy cannot exceed the maximum.
Make all values configurable.
Example:
Energy: 73/100
When energy reaches 0:
- Active abilities become unavailable.
- The player receives a warning.
- Passive abilities may remain active depending on the gem configuration.
⭐ Gem Tiers
Every gem should have:
Tier I
Tier II
- Stronger abilities
- Better passive effects
- Higher energy capacity
Tier III
- End-game version
- Stronger but still balanced abilities
- Unique visual effect
Make tier requirements configurable.
Example:
tier-upgrades: tier-2: required-energy: 100 required-items: - DIAMOND:8 - NETHERITE_SCRAP:2
Do not make the system pay-to-win.
⚔️ Ability Design
Each ability must be balanced for an SMP.
Avoid abilities that can:
- Instantly kill players
- Permanently trap players
- Crash clients
- Cause excessive entity spawning
- Create huge numbers of particles
- Destroy massive areas
- Bypass server protections
Abilities should have meaningful cooldowns.
Example abilities:
Astra
- Short-range blink
- Temporary slow-fall
- Astral dash
Inferno
- Fire projectile
- Temporary fire resistance
- Small controlled flame burst
Flux
- Knockback pulse
- Short-range gravity effect
- Temporary projectile deflection
Vitalis
- Small regeneration burst
- Emergency absorption
- Temporary resistance
Puff
- Double-jump
- Slow falling
- Air dash
Velocity
- Speed burst
- Dash
- Temporary movement boost
Titan
- Short strength burst
- Knockback resistance
- Ground slam with limited radius
Fortuna
- Small chance-based loot bonus
- Resource-finding ability
- Temporary luck effect
These are examples. Improve them and make each gem feel genuinely unique.
🛡️ PvP Balance
The plugin is designed for a public hardcore SMP.
Therefore:
- Add configurable PvP cooldowns.
- Prevent abilities from becoming infinite combos.
- Add ability cooldown indicators.
- Prevent spam-click activation.
- Prevent ability abuse with macros.
- Make effects configurable.
- Add configurable combat restrictions.
Example:
combat: abilities-enabled: true teleportation-enabled: true healing-multiplier: 0.75 ability-cooldown-multiplier: 1.0
🔨 Repair System
Create a repair system for damaged/broken gems.
Players should be able to use a configurable item to repair a gem.
Example:
"Gem Repair Kit"
Requirements and repair amount must be configurable.
🔺 Upgrade System
Create an upgrade item called:
Gem Ascender
It upgrades:
"Tier I → Tier II → Tier III"
Show a INVENTORY GUI when upgrading.
The INVENTORY GUI should display:
- Current tier
- Next tier
- Requirements
- Upgrade button
- Confirmation button
Require confirmation before consuming valuable materials.
🏪 Gem Trader
Create an optional NPC trader system.
The trader can sell:
- Gem Repair Kits
- Gem Ascenders
- Energy items
- Gem-related materials
Do not require Citizens unless configured.
If Citizens is not installed, provide a built-in interaction system.
🖥️ Commands
Create:
/gem /gem help /gem info /gem equip <gem> /gem unequip /gem energy /gem upgrade /gem repair /gem give <player> <gem> [tier] /gem setenergy <player> <amount> /gem reload /gems
Admin commands must require:
icongems.admin
Player permissions:
icongems.use icongems.ability icongems.upgrade
📊 Gem INVENTORY GUI
Create a clean inventory INVENTORY GUI.
Main menu:
╔════════════════════╗ ICONIC GEMS ╚════════════════════╝
Available Gems
[ Astra ] [ Inferno ] [ Flux ] [ Vitalis ] [ Puff ] [ Velocity ] [ Titan ] [ Fortuna ]
[ Your Gem ] [ Energy ] [ Upgrade ]
Clicking a gem opens its information page.
Show:
- Gem description
- Abilities
- Tier
- Energy
- Cooldowns
- Upgrade requirements
💾 Data Storage
Store player information persistently.
Example:
players:
UUID: gem: ASTRA tier: 2 energy: 87 trusted-players: []
Data must survive:
- Server restart
- Plugin reload
- Player disconnect
- Server crash where possible
Save data safely and avoid excessive disk writes.
🤝 Trusted Players
Allow players to mark other players as trusted.
Example:
/gem trust <player> /gem untrust <player> /gem trusted
Certain abilities should optionally ignore trusted players.
Make this configurable.
✨ Effects
Use Minecraft particles and sounds carefully.
Every gem should have its own visual identity.
Examples:
- Astra → end-rod / portal effects
- Inferno → flame effects
- Flux → electric/energy effects
- Vitalis → happy-villager / heart-style effects
- Puff → cloud effects
- Velocity → sweep/wind effects
- Titan → dust/shockwave effects
- Fortuna → enchantment/glint effects
Keep particle counts low enough for a public server.
🔧 Configuration
Create a detailed "config.yml".
Everything important should be configurable:
- Energy
- Regeneration
- Ability cooldowns
- Ability damage
- Ability radius
- Upgrade requirements
- Repair costs
- PvP restrictions
- Sounds
- Particles
- Messages
- Gem availability
- Tier values
Create separate files if useful:
config.yml gems.yml messages.yml players.yml
📢 Messages
Use a consistent IconicSMP style.
Example:
&8[&dIconicGems&8] &fYour Astra ability is ready!
Use modern Minecraft colors and avoid excessive spam.
🚨 Anti-Abuse
Implement protections against:
- Ability spam
- Duplicate gems
- Item duplication
- Dropping/duplicating active gems
- Invalid NBT
- Reload exploits
- Death duplication
- Inventory manipulation
- INVENTORY GUI item theft
- Rapid ability activation
Never trust client-provided item data.
⚡ Performance
The plugin must be optimized.
Do NOT:
- Run unnecessary repeating tasks every tick.
- Create huge particle effects.
- Scan every player continuously.
- Perform unnecessary disk operations.
- Create excessive entities.
Use Bukkit/Paper events and scheduled tasks efficiently.
📦 Final Output
Generate the complete plugin project including:
src/ plugin.yml config.yml gems.yml messages.yml README.md
Include:
- Complete Java source code
- All required classes
- Event listeners
- Commands
- GUIs
- Gem abilities
- Energy system
- Tier system
- Repair system
- Upgrade system
- Data storage
- Permissions
- Configuration
- Error handling
The final result should compile successfully as a Paper 1.21.11 plugin and be suitable for deployment on a real public SMP.
Most importantly, make the gameplay feel original to IconicSMP, balanced, polished, and fun rather than being a direct copy of another SMP's plugin.