Create a complete Minecraft Paper plugin based on the uploaded resource pack:
ElementaLL Texture Pack
The plugin must use the custom weapon names/models from the resource pack. Do NOT create unrelated weapons. The plugin must contain exactly these 11 custom swords:
- Dark Sword
- Earth Sword
- Fire Sword
- Ice Sword
- Light Sword
- Lightning Sword
- Merah Putih Sword
- Nature Sword
- Void Sword
- Water Sword
- Wind Sword
IMPORTANT:
The uploaded texture pack already contains the custom models/textures for these swords. The plugin must give the correct custom sword name/NBT/item data so that the resource pack displays the correct texture.
======================== GENERAL WEAPON SYSTEM =====================
Every sword must:
* Have its own unique name. * Have its own unique item identifier. * Have its own custom model/resource-pack compatibility. * Have exactly 2 active abilities. * Abilities must be different between weapons. * Have cooldowns. * Show cooldown messages/action-bar feedback. * Have suitable particle effects. * Have suitable sounds. * Have suitable visual effects. * Have configurable damage. * Have configurable ability cooldowns. * Have configurable mana/energy cost if an energy system is implemented. * Prevent ability spam. * Work correctly in multiplayer. * Not cause excessive server lag.
Abilities should be activated using configurable methods such as:
* Right Click * Left Click + Sneak * Sneak + Right Click * Sneak + Left Click
Make the activation system configurable in config.yml.
========================
- DARK SWORD
========================
Ability 1: Shadow Dash
* Player dashes a short distance toward the direction they are looking. * Creates dark/black particles. * Deals damage to enemies hit during the dash. * Has a cooldown.
Ability 2: Shadow Storm
* Creates a dark area around the target location. * Enemies inside the area receive damage and a short slowness/blindness-style effect. * Creates dark particles and sound effects. * Has a longer cooldown.
========================
- EARTH SWORD
==============
Ability 1: Earthquake
* Creates an earthquake around the player. * Nearby enemies are damaged and briefly knocked back. * Creates block/earth-style particles. * Plays an appropriate earth/block sound.
Ability 2: Stone Wall
* Creates a temporary defensive earth/stone effect around the player. * Reduces incoming damage for a short duration. * Has a cooldown.
========================
- FIRE SWORD
=============
Ability 1: Flame Dash
* Player dashes forward. * Leaves a flame trail. * Enemies hit are damaged and temporarily ignited.
Ability 2: Inferno
* Creates a fire explosion/area at the target location. * Damages nearby enemies. * Applies a short fire effect. * Must not permanently grief the world. * Fire/block damage should be configurable.
========================
- ICE SWORD
============
Ability 1: Frost Strike
* Next attack creates an ice/frost effect. * Damages the target. * Applies temporary Slowness.
Ability 2: Frozen Field
* Creates a temporary icy area. * Enemies inside are slowed. * Periodically damages enemies. * Uses snow/ice particles and suitable sounds.
========================
- LIGHT SWORD
==============
Ability 1: Holy Dash
* Player performs a fast light-based dash. * Creates bright particles. * Damages enemies hit.
Ability 2: Divine Burst
* Creates a bright explosion around the target. * Deals damage to enemies. * Gives a small temporary defensive/buff effect to the caster. * Use light-themed particles and sounds.
========================
- LIGHTNING SWORD
==================
Ability 1: Thunder Strike
* Calls lightning at the targeted enemy/location. * Deals configurable damage. * Creates lightning particles and thunder sound.
Ability 2: Chain Lightning
* Hits the selected target and can jump to nearby enemies. * Each additional target receives reduced damage. * Add a maximum number of chained targets in config.yml. * Add cooldown.
========================
- MERAH PUTIH SWORD
====================
This sword should have a special red-and-white themed ability design.
Ability 1: Garuda Strike
* Powerful forward attack/dash. * Creates red and white particle effects. * Deals damage to enemies hit.
Ability 2: Merah Putih Aura
* Creates a temporary red-and-white aura around the player. * Gives configurable temporary buffs such as Strength/Resistance/Speed. * Creates red and white particles. * Has a long cooldown.
========================
- NATURE SWORD
===============
Ability 1: Nature Roots
* Roots/slows nearby enemies. * Creates vines/leaf/nature particles. * Deals small damage over time.
Ability 2: Nature Heal
* Heals the player by a configurable amount. * Creates green/nature particles. * Has a cooldown.
========================
- VOID SWORD
=============
Ability 1: Void Rift
* Creates a dark void-like area at the target location. * Damages enemies inside. * Applies a short debuff such as Weakness/Slowness.
Ability 2: Void Teleport
* Teleports the player a configurable distance toward the targeted location. * Creates dark purple/black particles. * Has a cooldown. * Prevent teleporting into invalid blocks.
========================
- WATER SWORD
===============
Ability 1: Water Wave
* Sends a water-wave projectile/visual effect forward. * Damages and knocks back enemies hit.
Ability 2: Tidal Shield
* Creates a temporary water-based defensive effect. * Reduces incoming damage or provides temporary protection. * Creates water/bubble particles.
========================
- WIND SWORD
==============
Ability 1: Wind Dash
* Gives the player a powerful forward dash. * Creates cloud/wind particles. * Damages or knocks back enemies hit.
Ability 2: Tornado
* Creates a temporary tornado at the target location. * Pulls/knocks nearby enemies upward. * Deals periodic damage. * Has a configurable duration and cooldown.
======================== CRAFTING SYSTEM ===============
Every sword MUST have a completely different crafting recipe.
Do NOT use the same recipe for multiple swords.
Each recipe should be balanced according to the sword's elemental theme.
Examples:
Dark Sword:
* Nether/End themed materials
Earth Sword:
* Stone/ore/earth themed materials
Fire Sword:
* Blaze/fire/nether themed materials
Ice Sword:
* Ice/snow/frozen themed materials
Light Sword:
* Glowstone/sea-lantern/light themed materials
Lightning Sword:
* Copper/lightning-rod themed materials
Merah Putih Sword:
* Red and white themed materials
Nature Sword:
* Leaves/vines/flowers/emerald themed materials
Void Sword:
* End/obsidian/ender themed materials
Water Sword:
* Prismarine/heart-of-the-sea/water themed materials
Wind Sword:
* Feather/cloud/air themed materials
Every recipe must be registered separately and have a unique NamespacedKey.
======================== ITEM IDENTIFICATION ===================
Do NOT identify weapons only by display name.
Use PersistentDataContainer / NamespacedKey to uniquely identify every sword.
Example:
elementall:dark_sword elementall:earth_sword elementall:fire_sword elementall:ice_sword elementall:light_sword elementall:lightning_sword elementall:merahputih_sword elementall:nature_sword elementall:void_sword elementall:water_sword elementall:wind_sword
The resource-pack display name must match:
Dark Sword Earth Sword Fire Sword Ice Sword Light Sword Lightning Sword Merah Putih Sword Nature Sword Void Sword Water Sword Wind Sword
======================== COMMANDS ========
Add:
/elementall
/elementall give <player> <weapon>
/elementall recipe <weapon>
/elementall reload
/elementall list
Also provide aliases where appropriate.
Permission examples:
elementall.admin elementall.give elementall.reload
======================== CONFIGURATION =============
Create a detailed config.yml where the server owner can change:
* Weapon damage * Ability damage * Cooldowns * Ability duration * Range * Dash distance * Knockback * Particle amount * Sound * Buff duration * Recipe enable/disable * World damage * PvP damage * Ability activation method * Messages * Prefix
Do NOT hardcode values unnecessarily.
======================== COOLDOWN SYSTEM ===============
Every ability must have an independent cooldown.
Example:
Dark Sword
* Shadow Dash: 8 seconds * Shadow Storm: 25 seconds
Do not allow players to bypass cooldowns by switching/re-equipping the sword.
Show cooldown in the action bar, for example:
§8[§5Dark Sword§8] §cAbility on cooldown: 5s
When available:
§8[§5Dark Sword§8] §aAbility Ready!
======================== PVP SAFETY ==========
The plugin should properly handle:
* Players * Mobs * Friendly-fire configuration * Teams * WorldGuard compatibility where possible * Protected regions * No permanent world griefing from abilities * No accidental self-damage unless configured
Add configuration options for whether abilities can damage:
* Players * Mobs * Bosses
======================== RESOURCE PACK COMPATIBILITY ===========================
The uploaded ElementaLL resource pack must remain separate from the plugin.
Do NOT modify or embed the resource pack into the plugin.
The plugin should only provide the correct custom item name/NBT/PDC required for the resource pack to display the appropriate weapon texture.
The final output must contain TWO separate files:
- ElementaLL-Weapons.jar
- ElementaLL-Texture-Pack.zip
======================== PLUGIN STRUCTURE ================
Use clean Java code and proper OOP structure.
Suggested structure:
com.elementall.weapons ├── ElementaLLWeapons.java ├── command/ ├── weapon/ ├── ability/ ├── recipe/ ├── listener/ ├── cooldown/ ├── config/ └── util/
Create separate classes for each weapon and ability where practical.
Do not put the entire plugin into one giant Java class.
======================== COMPATIBILITY =============
Target Minecraft Java Edition Paper.
Prefer compatibility from Paper 1.16.5 through modern 1.21.x versions where technically possible.
If one JAR cannot safely support every version because of API changes, clearly separate compatibility requirements rather than using unsafe reflection or broken APIs.
The plugin must compile successfully.
======================== FINAL REQUIREMENTS ==================
Before delivering the plugin:
- Verify all 11 weapons exist.
- Verify every weapon has exactly 2 abilities.
- Verify all 22 abilities have independent cooldowns.
- Verify all 11 crafting recipes are different.
- Verify every weapon has a unique PDC identifier.
- Verify commands work.
- Verify no compilation errors.
- Verify resource-pack names match exactly.
- Verify abilities work in multiplayer.
- Verify the plugin does not permanently damage the world unless explicitly configured.
- Provide plugin installation instructions.
- Provide every command.
- Provide every permission.
- Provide a complete explanation of all 22 abilities.
- Provide the final plugin as a
.jar. - Provide the texture pack as a separate
.zip.
IMPORTANT:
Do not replace any of the 11 weapons with your own weapons.
Do not remove any weapon.
Do not give multiple weapons the same ability.
Do not give multiple weapons the same crafting recipe.
Do not embed the texture pack inside the JAR.
The plugin and texture pack must be delivered as separate files.
Create the Paper plugin source, configuration, 11 distinct weapons/recipes, abilities, cooldowns, and commands.
Match model data to the supplied texture pack; the pack itself is not available in the project files.
Produce the JAR and separate texture-pack ZIP once the required pack/build artifacts are available.
Created the ElementaLL Java/Gradle plugin source project with exactly 11 named swords, 22 distinct abilities, unique PDC identifiers, separate recipes, configurable cooldowns and activation methods, and the requested commands and permissions.
The requested JAR and texture-pack ZIP are not available yet. The resource-pack archive was not present in the project files, so I could not verify its model predicates or package the original pack. The configured CustomModelData values (1101–1111) are placeholders until matched to that pack. I also cannot claim the JAR has been compiled or verified.
Weapons and abilities
Dark Sword: Shadow Dash damages enemies along the dash; Shadow Storm damages and blinds enemies in a target area.
Earth Sword: Earthquake damages and knocks back nearby enemies; Stone Wall reduces incoming damage temporarily.
Fire Sword: Flame Dash damages and ignites enemies; Inferno damages and ignites enemies in an area. World fire placement is disabled by default.
Ice Sword: Frost Strike empowers the next eligible attack with bonus damage and Slowness; Frozen Field slows and periodically damages enemies.
Light Sword: Holy Dash damages enemies along the dash; Divine Burst damages enemies and grants the caster temporary defense.
Lightning Sword: Thunder Strike damages a target with a harmless visual lightning strike; Chain Lightning jumps between nearby enemies with reduced damage per jump.
Merah Putih Sword: Garuda Strike dashes through and damages enemies; Merah Putih Aura temporarily grants Strength, Resistance, and Speed.
Nature Sword: Nature Roots slows and damages nearby enemies over time; Nature Heal restores health.
Void Sword: Void Rift damages and weakens/slows enemies in an area; Void Teleport moves the caster toward a safe location in their look direction.
Water Sword: Water Wave travels forward, damaging and knocking back enemies; Tidal Shield reduces incoming damage temporarily.
Wind Sword: Wind Dash damages and knocks back enemies; Tornado pulls nearby enemies upward and periodically damages them.
Cooldowns and ability values are independently configurable per ability in config.yml. By default, ability one activates with right-click and ability two with sneak + right-click; each ability’s activation can be changed there. Damage uses Bukkit damage events, allowing protection plugins to cancel it; no explicit WorldGuard integration is included.
Commands and permissions
/elementall— show usage/elementall list/elementall give <player> <weapon>/elementall recipe <weapon>/elementall reloadAliases:
/elsword,/elswordselementall.give— give weaponselementall.reload— reload configurationelementall.admin— bypasses those command permission checks; all three permissions default to operators
Build and install
Build with Gradle and a compatible JDK, then place build/libs/ElementaLL-Weapons-1.0.0.jar in the server’s plugins/ directory. The plugin targets Paper APIs and declares api-version: '1.16'; compilation and runtime compatibility have not been verified here.
A standard resource pack selects these models through CustomModelData, not the plugin’s PDC tags. Set models.<weapon_id> in the generated config to the exact predicate values used by the pack, then install and distribute the texture pack separately through your server’s resource-pack setup. Uploading the pack is necessary to confirm those mappings and provide its ZIP without modifying or embedding it.
package com.elementall.weapons;
import com.elementall.weapons.ability.AbilityService;
import com.elementall.weapons.command.ElementaLLCommand;
import com.elementall.weapons.cooldown.CooldownManager;
import com.elementall.weapons.listener.AbilityListener;
import com.elementall.weapons.listener.DamageListener;
import com.elementall.weapons.weapon.WeaponService;
import org.bukkit.Bukkit;
import org.bukkit.plugin.java.JavaPlugin;
public final class ElementaLLWeapons extends JavaPlugin {
private WeaponService weaponService;
private AbilityService abilityService;
@Override
public void onEnable() {
saveDefaultConfig();
CooldownManager cooldownManager = new CooldownManager();
weaponService = new WeaponService(this);
abilityService = new AbilityService(this, weaponService, cooldownManager);
weaponService.registerRecipes();
Bukkit.getPluginManager().registerEvents(new AbilityListener(this, weaponService, abilityService), this);
Bukkit.getPluginManager().registerEvents(new DamageListener(this, abilityService, weaponService), this);
getCommand("elementall").setExecutor(new ElementaLLCommand(this, weaponService));
getLogger().info("Enabled with 11 weapons and 22 abilities.");
}
public void reloadPluginConfig() {
reloadConfig();
weaponService.registerRecipes();
}
}