Create a COMPLETE, WORKING Minecraft Paper plugin named ElementControl for Paper 26.2 / Minecraft 1.21.11.
IMPORTANT:
Do NOT make abilities that only show particles, sounds, or animations.
Every ability MUST perform its actual gameplay/world action.
Test and compile the plugin before giving me the JAR.
ELEMENTS:
- ๐ LAVA
- ๐ง WATER
- ๐ EARTH
- ๐ช๏ธ WIND
PLAYER SYSTEM:
- Each player can have exactly ONE element.
- /element choose <lava|water|earth|wind>
- /element info
- /element remove
- /element set <player> <element>
- /element reload
- Save elements permanently in player-data.yml.
- Permissions:
elementcontrol.use elementcontrol.admin
REAL ABILITIES:
EARTH:
- Earth Wall: create a REAL temporary wall made from appropriate earth/stone blocks in front of the player.
- The blocks must actually appear in the world, not just particles.
- Wall height, width, range and duration configurable.
- Restore the original blocks after the duration.
- Earth Block Break: actually break/remove the targeted breakable blocks and respect protection/build restrictions.
- Earth Projectile: launch a real projectile/block-based earth attack that damages entities.
LAVA:
- Lava Blast: real projectile that damages enemies and sets them on fire.
- Lava Wave: real moving lava-based attack; it must have actual gameplay effect, not only particles.
- Lava Control: temporarily create/control real lava blocks where allowed.
- Automatically restore temporary blocks.
- Prevent permanent griefing through configurable duration.
WATER:
- Water Blast: real projectile with damage/knockback.
- Water Wave: real moving water attack with gameplay effect.
- Water Pull: pull/push target entities.
- Temporary water must be restored safely.
WIND:
- Wind Blast: real knockback on entities.
- Wind Wave: real area knockback.
- Wind Jump: launch the player upward/forward.
- No particle-only abilities.
WORLD MODIFICATION:
- config.yml:
world-modification: true temporary-block-duration: 60 ability-range: 20
- When world-modification is false, block-changing abilities must safely refuse the block change but still work with non-block effects.
- Respect WorldGuard/protection plugins when possible.
- Never permanently destroy protected player builds.
COMBAT:
- Abilities damage hostile mobs when mob-targeting=true.
- Abilities damage players when PvP=true.
- prevent-self-damage configurable.
- Knockback configurable.
COOLDOWNS:
- primary: 2 seconds
- secondary: 7 seconds
- utility: 5 seconds
VISUALS:
- Keep particles, sounds and animations, but they are ONLY additional effects.
- They must NEVER replace the actual ability.
- Use appropriate Paper 26.2 APIs.
CONFIG:
Create a complete config.yml with:
- element settings
- ability settings
- cooldowns
- damage
- range
- wall width/height
- temporary block duration
- world modification
- disabled worlds
- PvP
- mob targeting
- self damage
- permissions
CRITICAL TEST REQUIREMENTS:
Before giving the final JAR, verify:
- Earth Wall creates real blocks.
- Earth blocks can actually be broken by the Earth ability.
- Temporary blocks restore correctly.
- Lava ability has real gameplay effect.
- Water ability has real gameplay effect.
- Wind ability actually knocks entities back.
- Particles/sounds still play.
- Plugin loads without errors on Paper 26.2.
- All commands and permissions work.
- Compile the final plugin and provide the downloadable .jar.
Do not give me a demo-only plugin.
Do not give me pseudocode.
Do not make particle-only abilities.
I need a server-ready compiled JAR.
The generation was stopped before any content could be produced.
No files in this session