WARDEN SMP — CUSTOM ABILITIES PLUGIN
Project Overview
Create a complete, production-ready Minecraft Java Edition plugin named Warden SMP, compatible with Paper 1.21.11.
The plugin must provide a custom ability system inspired by the visual effects, animations, combat mechanics, particles, and ability presentation shown in this reference video:
Reference video: https://youtu.be/ZTk59IxIpB4
IMPORTANT: Inspect the reference video for visual presentation and custom effects before implementing. Do not simply recreate everything using basic vanilla potion effects. Use custom particles, sounds, entities, animations, temporary zones, and server-side mechanics wherever needed.
- RANDOM ABILITY SYSTEM
- There are 12 ability types.
- When a player joins the server for the first time, randomly assign one of the 12 abilities.
- Each ability must have a passive ability, a first active ability, and a second active ability.
- Provide a reroll system that randomly assigns a new ability.
- Add a configurable reroll cooldown and optional admin permission.
- Store player abilities persistently so players retain their assigned ability after reconnecting or restarting the server.
- Do not reroll an existing player's ability on every normal login.
- Provide admin commands to assign, reset, reroll, and inspect abilities.
- Prevent duplicate ability assignment only if configured; by default, random selection may choose any ability.
- Show the ability name and its controls in a clean GUI.
- All abilities must work correctly in multiplayer combat.
Suggested commands:
- "/warden" — open the ability menu.
- "/warden ability" — show the player's current ability.
- "/warden reroll" — reroll if permitted.
- "/warden admin give <player> <ability>"
- "/warden admin reset <player>"
- "/warden admin reload"
- "/warden admin info <player>"
Use permission checks and clear error messages.
- COOLDOWN HUD
Create a custom, compact HUD positioned just above the player's hotbar.
The HUD must display two independent cooldown indicators:
- LEFT: Passive ability cooldown or recharge status.
- RIGHT: Main/active ability cooldown.
Requirements:
- Use a visually clean progress bar with a percentage or remaining-time indicator.
- Update smoothly without flickering.
- Show ability names or short labels when appropriate.
- Use different visual styles for ready, active, and cooling-down states.
- Display remaining cooldown time in seconds.
- Ensure the HUD does not interfere with the player's normal hotbar, inventory, or combat.
- Use a resource-pack-based custom HUD if necessary for accurate positioning and appearance. If an external resource pack is required, include its assets and installation instructions.
- If a resource pack is not used, implement the closest reliable alternative supported by Minecraft 1.21.11.
- Handle players joining, leaving, changing worlds, dying, and respawning correctly.
The passive indicator must support passive abilities that activate automatically on a timer as well as permanent passives.
- ABILITY IMPLEMENTATIONS
Implement all the following abilities with distinct particles, sounds, animations, cooldowns, and server-side logic.
ABILITY 1: YMIR — ICE
PASSIVE: RESISTANCE
- Automatically grant Resistance for 10 seconds every 30 seconds.
- Display the passive cooldown or activation state on the HUD.
- Avoid repeatedly applying the effect in a way that causes flickering.
FIRST ABILITY: RESISTANCE POOL
- Throw an ice javelin projectile.
- When the projectile lands on a surface, create a temporary ice-themed resistance pool.
- Players standing inside receive Resistance III.
- Make players inside the pool extremely difficult to eliminate while the effect lasts, but preserve configurable counterplay.
- Display a visible icy area with custom particles and sounds.
- Add configurable duration, radius, cooldown, and projectile behavior.
SECOND ABILITY: ICE SHIELD
- Create three ice shields around or in front of the user.
- Enemies attempting to break or attack the shields receive a freezing effect.
- Allow the user to crouch to activate a parry.
- A successful parry returns the incoming damage to the attacker.
- Add shield durability, parry timing, cooldowns, visual feedback, and anti-exploit protection.
ABILITY 2: BOREUS — WIND
PASSIVE: SPEED II
- Permanently provide Speed II while the ability is equipped.
- Avoid conflicting with other plugins' potion effects.
FIRST ABILITY: BOREUS WINGS
- After a short charge-up, launch the player into the air.
- Allow the player to glide with an Elytra-like movement effect without requiring an Elytra item.
- Permit the user to carry up to two trusted players.
- Only allow consenting or explicitly selected passengers.
- Add wind particles, flight sounds, configurable flight duration, and safe landing behavior.
SECOND ABILITY: BACKWARD DASH
- Provide three dash charges.
- Each activation propels the player backward.
- Recharge charges individually or through a configurable recharge system.
- Display the available charges and recharge progress on the HUD.
- Prevent dashes from passing through solid blocks.
ABILITY 3: ENIL — LIGHTNING
PASSIVE: HASTE II
- Permanently provide Haste II while equipped.
FIRST ABILITY: POLARITY
- Activate the ability and then attack an entity to trigger it.
- Calculate the number of nearby entities.
- Grant Haste based on the number of nearby entities, using configurable tiers and a maximum amplifier.
- Add lightning-themed particles, sounds, and a clear activation indicator.
- Define the radius, duration, and entity-count rules in the configuration.
SECOND ABILITY: LIGHTNING STRIKE
- Strike the entity or player the user is looking at.
- Apply lightning-themed visual effects, Slowness, and configurable damage.
- Use a limited targeting range and line-of-sight checks.
- Avoid destructive world lightning or fire unless explicitly enabled in the configuration.
ABILITY 4: CHAIN — CHAINS
PASSIVE: REDUCED KNOCKBACK
- Reduce incoming knockback by a configurable amount.
FIRST ABILITY: SHACKLES
- Target the entity or player the user is looking at.
- Temporarily bind the target in visible chains and prevent normal movement.
- While chained, the target is protected from damage as specified by the configuration.
- Activate the ability again to release the chained target.
- Add a maximum duration, range limit, cooldown, and automatic release when necessary.
- Prevent permanent trapping and handle disconnects safely.
SECOND ABILITY: LINK
- Link the health of the user and a selected enemy.
- When one linked participant receives eligible damage, transfer a configurable portion of that damage to the other participant.
- Prevent recursive damage loops and infinite damage transfers.
- Define how healing, absorption hearts, death, and disconnection are handled.
- Show a visible chain connecting the linked participants.
ABILITY 5: AGNI — FIRE
PASSIVE: FIRE RESISTANCE
- Permanently provide Fire Resistance while equipped.
FIRST ABILITY: FLAMING PROJECTILES
- After activation, the next three eligible projectiles fired by the player receive a fire effect.
- Support configurable projectile types.
- Make the ability useful in PvP and cart-based combat.
- Ensure it does not accidentally ignite protected builds or bypass server protection plugins.
- Display the remaining charged shots on the HUD.
SECOND ABILITY: EXPLOSIVE DASH
- Dash forward with fiery particles.
- Trigger controlled explosions involving eligible TNT and minecart entities along the dash path.
- Clear or burn eligible water and cobweb blocks in the path only if enabled by the server administrator.
- Respect protected regions, block protections, and world restrictions.
- Prevent unintended terrain destruction by default.
- Include configurable damage, range, cooldown, and explosion effects.
ABILITY 6: VARUNA — WATER
PASSIVE: WATER BREATHING AND AQUATIC CRITICALS
- Permanently provide Water Breathing.
- Enable enhanced critical-hit damage while the player is underwater.
- Define the critical-hit multiplier in the configuration.
FIRST ABILITY: SEA WARRIOR
- Allow the player to launch three custom trident projectiles.
- Use left-click activation where supported by the chosen input implementation.
- Each projectile deals configurable high damage.
- Add water trails, splashes, and custom impact effects.
- Prevent projectile duplication and respect PvP protection rules.
SECOND ABILITY: BUBBLES
- Surround the user with a bubble effect when activated.
- Mark the next valid player hit as the trigger.
- On a successful hit, surround the target with a swarm of bubbles and temporarily restrict their movement.
- Allow the target to pop or break the bubbles by attacking, using a configurable number of successful hits.
- Add a duration, particle effects, sounds, and cooldown.
ABILITY 7: DOLUS — GRAVITY
PASSIVE: INCREASED GRAVITY
- Modify the player's movement or falling behavior to make critical hits easier.
- Provide a custom mace-style combat mechanic for the player's axe.
- Do not permanently replace or destroy the player's original weapon.
- Ensure the implementation works with Minecraft 1.21.11 item mechanics.
FIRST ABILITY: GRAVITY HELL
- Create a large dome of stars around nearby players.
- Inside the zone, apply an extremely high-gravity effect and slow projectiles.
- Implement custom projectile movement where necessary.
- Add a visible boundary, stars, distortion-like particles, and atmospheric sounds.
- Prevent players from being trapped inside blocks.
- Make the radius, duration, strength, and cooldown configurable.
SECOND ABILITY: GRAVITY STARS
- Allow the player to spawn up to three gravitational stars.
- Stars pull nearby enemies toward them.
- Stars can be destroyed relatively easily.
- When destroyed, they damage nearby enemies and disappear.
- Add health, lifetime, pull strength, radius, and damage settings.
- Prevent the stars from pulling players through walls or into protected regions.
ABILITY 8: IRIS — RGB
PASSIVE: RGB HEARTS
- Give each eligible attack a small configurable chance to apply an RGB-heart effect to the target.
- The effect must visually obscure or transform the target's visible health information without permanently modifying their actual health.
- Use a compatible resource pack or supported client-side visual method if required.
FIRST ABILITY: UPPERCUT
- Launch the user and target into the air.
- If the user successfully hits the target during the upward launch, deal additional damage.
- Apply the RGB-heart visual effect for one second after a successful hit.
- Add a short combo window, hit detection, and fall-damage handling.
SECOND ABILITY: ONE VS ONE
- Create a temporary 1v1 barrier around the user and a selected opponent.
- Prevent outside players from entering the arena.
- Prevent participants from escaping through the barrier.
- End the duel when its duration expires or a participant is eliminated, disconnected, or otherwise leaves the fight.
- Clean up all visual effects and restore normal movement after the duel.
- Ensure the barrier does not permanently block the world.
ABILITY 9: PHOBOS — SHADOW
PASSIVE: WEAVING
- Provide the intended permanent weaving movement effect.
- Use custom movement logic if the vanilla effect does not reproduce the reference behavior.
FIRST ABILITY: SLIDE
- Enter a crawling or low-profile movement state with an appropriate visual presentation.
- Allow the player to slide while retaining control of their movement.
- Attacking an enemy during the slide has a configurable chance to disable the enemy's held item temporarily.
- Never delete the affected item.
- Restore the item normally after the configured duration and prevent item-loss exploits.
SECOND ABILITY: WINGS
- Provide a double-jump mechanic.
- Give the player a configurable 25% chance to evade eligible enemy attacks and teleport behind the attacker.
- Prevent repeated evasion from triggering infinitely.
- Add a short cooldown, valid teleport-position checks, and a clear visual effect.
ABILITY 10: ZERETH — SAND
PASSIVE: SAND STRAFES
- Detect double taps of the movement keys WASD.
- Propel the player in the selected direction.
- Provide responsive movement without requiring a client-side mod where possible.
- Document any client-side limitations.
FIRST ABILITY: SANDSTORM
- Create a temporary sandstorm zone.
- Disable or suppress supported ability variants for players inside the storm.
- Slow affected players.
- Add sand particles, reduced visibility effects where supported, wind sounds, and a visible area boundary.
- Prevent the storm from affecting players outside its radius.
SECOND ABILITY: POGO STICK
- Launch the user upward and allow them to crash down toward their targeted location.
- A successful ground-pound hit launches the user upward again, allowing repeated ground-pound combos.
- The combo continues until the user misses or the ability ends.
- Ground-pound hits deal configurable damage and temporarily obscure enemy health information for five seconds.
- The user is immune to eligible damage during the active combo state, with a configurable maximum duration.
- Add a cooldown, combo limit, landing detection, and anti-exploit protections.
ABILITY 11: ICHOR — BLOOD
PASSIVE: BLOOD HEALING
- Heal the player by one health point on each eligible successful hit.
- Respect maximum health and configurable healing limits.
- Prevent healing loops caused by reflected damage or secondary damage events.
FIRST ABILITY: BLOOD ORBS
- Fire four custom blood-orb projectiles.
- When holding a weapon, orbs deal configurable damage.
- When holding another eligible item, orbs apply strong knockback instead.
- Add distinct particle trails, impact effects, cooldown, and projectile limits.
SECOND ABILITY: BLOOD PROTECTION
- Instantly restore the user's missing health.
- Grant five additional hearts as temporary bonus health.
- Implement bonus hearts through safe attribute or absorption mechanics.
- Configure their duration and ensure they are removed correctly when the effect ends.
ABILITY 12: EREBUS — SOUL
PASSIVE: DAMAGE TO GLOWING TARGETS
- Deal additional damage to glowing entities or players.
- Make the bonus damage configurable.
FIRST ABILITY: DOME
- Create a massive Soul Sand/Sculk-themed dome.
- Players inside receive Slowness and Mining Fatigue II.
- Apply the Glowing effect so affected players are visible.
- Add dark soul particles, atmospheric sounds, and a clear dome boundary.
- Ensure the effects stop when players leave the zone or the ability expires.
SECOND ABILITY: SHADOW CLOAK
- Make the user fully invisible for approximately 10 seconds.
- Suppress the user's armor and held-item visibility where technically possible.
- Prevent unintended visibility through particles, equipment, or other plugin effects.
- Define whether invisibility ends when the player attacks.
- Restore visibility correctly after expiration, death, disconnect, or world change.
- CUSTOM VISUAL EFFECTS
The plugin must feature custom visual effects rather than relying exclusively on vanilla potion particles.
Implement suitable effects for each ability, including:
- Ice crystals, frozen trails, ice barriers, and parry effects.
- Wind trails, launch animations, and gliding effects.
- Lightning arcs, electrical particles, and impact flashes.
- Animated chains and visible health links.
- Fire trails, controlled explosions, and ember particles.
- Water splashes, trident trails, and bubble swarms.
- Gravitational stars, a star dome, and projectile slowdown.
- RGB-heart visual effects.
- Shadow trails, crawling effects, and teleport animations.
- Sandstorms, sand strafes, and ground-pound impacts.
- Blood orbs, healing particles, and blood-themed effects.
- Soul domes, dark particles, and shadow-cloak effects.
Match the reference video's visual style as closely as technically possible.
Use efficient particle spawning, entity cleanup, and configurable effect quality to avoid server lag.
- CONFIGURATION
Provide a well-organized "config.yml" containing:
- Cooldowns for every active ability.
- Passive activation intervals and durations.
- Ability damage, healing, radius, duration, and range.
- Particle density and sound settings.
- Ability reroll permissions and restrictions.
- PvP rules and world restrictions.
- Protected-region integration.
- Debug mode and performance options.
- Optional restrictions on ability combinations and damage stacking.
Provide sensible default values and document every configuration option.
- TECHNICAL REQUIREMENTS
- Platform: Paper Minecraft Java Edition 1.21.11.
- Plugin name: Warden SMP.
- Use a compatible Java version and current Paper API.
- Provide a complete Gradle or Maven project.
- Include "plugin.yml" or the appropriate plugin metadata.
- Use clean, maintainable Java code with separate classes for each ability.
- Use persistent storage for assigned abilities.
- Use efficient scheduled tasks and avoid unnecessary per-tick work.
- Use safe entity targeting, damage-event handling, cooldown management, and cleanup.
- Ensure compatibility with multiplayer servers and common PvP plugins.
- Prevent duplication exploits, infinite damage loops, stuck players, and permanent status effects.
- Do not use fake or nonexistent API methods.
- Do not claim a feature works unless it is implemented and tested.
- Compile the finished project and provide the complete source code and built JAR.
- TESTING AND DELIVERY
Before delivery, test:
- First-time join and random ability assignment.
- Ability persistence after reconnecting and restarting.
- All passive abilities and both active abilities.
- Cooldown HUD and independent cooldown timers.
- Damage, knockback, healing, and temporary bonus health.
- Ability interactions between multiple players.
- Death, respawn, disconnect, world change, and server shutdown cleanup.
- Compatibility with Paper 1.21.11.
- Performance with multiple players using abilities simultaneously.
- Protected regions and PvP restrictions.
Deliver:
- Complete source code.
- Compiled plugin JAR.
- "config.yml".
- Installation instructions.
- Commands and permissions documentation.
- Any required resource pack and its source assets.
- A list of limitations for features that cannot be implemented without a client-side mod or resource pack.
Do not provide only a tutorial or partial code snippets. Build the complete plugin and clearly identify any features that require additional client-side support.
No files in this session