ElementalWeapons
By CraftPlugins.
Four elemental weapons to get started (trident, sword, mace, spear), plus everything you need to create your own: animated abilities, crafting recipes, runes, and an in-game menu. Requires Paper 26.2 or newer and Java 25.
Installation
-
Stop your server, place ElementalWeapons.jar in the plugins/ folder, then restart.
-
Use /armes give all to receive the 4 default weapons, or /armes menu to create your own.
-
Use /armes check to check your files for errors.
The /armes commands are for server OPs (permission elementalweapons.admin).
Default Weapons
| ID |
Weapon |
Ability (Right Click) |
ocean |
Ocean Trident |
Tidal Wave |
flamme |
Flame Sword |
Infernal Ring |
terre |
Earth Mace |
Earthquake |
vent |
Wind Spear |
Gust |
Each weapon has an aura, an effect on every hit, and an ability. Everything is customizable.
Creating a Weapon
Using the menu: Run /armes menu, then click the emerald to create a weapon. Each button controls a setting. Left-click = next or +, right-click = previous or -. On mobile, the 3 buttons at the bottom replace right-click.
Using commands:
/armes create fire_sword fire DIAMOND_SWORD
/armes set fire_sword name &6&lDragon Sword
/armes set fire_sword cooldown 10
/armes give fire_sword
/armes set <id> <setting> <value>: name, color, material, lore, element, ability, passive, aura, cooldown, power, damage, glow, unbreakable, bound, ban-enderchest, leveling, runes, rune-slots, ability2, script2, cooldown2, craft-limit, craft-limit-player, script, passive-script, model.
Other commands: /armes list, info, delete, reload, check, recipe, scripts, run, pack.
Elements
Water, fire, earth, wind, as well as ice, lightning, shadow, and poison.
The last four are not assigned to any weapon by default. You can add them using /armes set <weapon> element ice.
Their effects are configured in elements.yml.
Custom Abilities
abilities.yml: an ability is a sequence of steps (particles, sounds, damage, lightning, teleportation, projectiles, summons, temporary blocks), with delays and durations to create animations.
Examples are included.
Test an ability with /armes run <id>, then assign it to a weapon using /armes set <weapon> script <id>.
Crafting
/armes recipe <id> opens a 3x3 crafting grid.
Players can also craft weapons using /crafts (Bedrock compatible).
Weapon crafting limits:
Runes
Items that enhance weapons. They are configured in runes.yml.
You must first enable runes on a weapon using /armes set <weapon> runes true.
-
Give a rune: /armes rune give [player] <id>.
-
Create a rune: /armes menu, then Runes, or use /armes rune create <id>.
-
Apply a rune: hold the rune on your cursor and click the weapon in your inventory.
-
Rune crafting: configure recipe in runes.yml and set runes.crafts-enabled: true in config.yml.
Loot Drops
The drops section in config.yml (disabled by default) allows weapons or runes to drop from mobs or appear in chests.
Textures (Java)
-
Place PNG files named <weapon id>.png or rune_<id>.png in plugins/ElementalWeapons/textures/.
-
Run /armes pack to generate resourcepack.zip and obtain its SHA1 hash.
-
Host the ZIP file, then add its URL and SHA1 hash to config.yml (pack-url, pack-sha1), and run /armes reload.
Bedrock (Geyser + Floodgate)
Abilities, crafting (/crafts), and particles work on Bedrock.
Bedrock does not support the Glowing outline, so the plugin displays a particle halo instead.
Textures are not automatically transferred to Bedrock.
Display and Language
/lueur: each player can choose whether to see the outline, particles, or both.
Set language: en in config.yml to display player messages in English.
Files
| File |
Contents |
items.yml |
Weapons |
abilities.yml |
Custom abilities |
elements.yml |
Ice, lightning, shadow, poison |
runes.yml |
Runes |
config.yml |
Settings |
messages.yml, messages_en.yml |
Messages |
Security
The command script step (console command execution) is disabled by default (scripts.allow-command-steps).
The limits section in config.yml sets maximum limits for particles, blocks, and summons.
Permissions
| Permission |
Description |
Default |
elementalweapons.admin |
/armes commands |
OP |
elementalweapons.craft |
/crafts |
Everyone |
elementalweapons.toggle |
/lueur |
Everyone |
elementalweapons.bypasslimit |
Bypass crafting limits |
OP |
Support: https://discord.gg/ZtZewEW3pt