make the weapons design unique and 3d and make sure it is unique with balanced weapon damage and make the cooldown a bit longer and some a bit shorter to make it balanced.
Fix every bug and make sure it has good effects
π
pasted-code-1788925705313.txt
txt
1201 lines
βΆ
I want you to create a Minecraft Java Edition custom weapons plugin inspired by Altar SMP / custom SMP weapon systems.
TARGET:
- Minecraft Java Edition 1.26.2
- Server-side plugin
- Designed for multiplayer survival/PvP
- Should work on offline-mode/cracked Java servers
- Do not require Mojang authentication or premium-only features
- Prefer Paper API if possible
- All weapons should work server-side
- Resource pack support can be included for custom models/textures
- Do NOT make the weapons impossible to counter
- Weapons should be powerful and unique, but a normal player with good armor, skill, and strategy must still be capable of killing the weapon user
IMPORTANT:
The six original weapons below are already part of my concept and MUST NOT be replaced with different concepts.
==================================================
CORE WEAPON SYSTEM
==================================================
Every custom weapon has:
1. Custom name
2. Custom model/resource-pack ID
3. Custom lore
4. Custom enchantments
5. Passive effect while holding
6. Normal/right-click ability
7. Shift + right-click ability
8. Optional attack/passive mechanic
9. Unique particles
10. Unique sounds
11. Cooldowns
12. Bossbar cooldown display
13. Action-bar cooldown display if useful
14. Ability cannot activate while on cooldown
15. Abilities must check that the player is actually holding the correct custom weapon
16. Abilities should work correctly in multiplayer
17. Do not allow abilities to accidentally activate from ordinary vanilla items
18. Use PersistentDataContainer/custom item data to identify weapons rather than relying only on names
19. Prevent dropped/renamed ordinary items from becoming custom weapons
20. Add configurable damage, cooldown, range, and effects in a config.yml
The player should generally activate abilities like this:
RIGHT CLICK:
Main weapon ability.
SHIFT + RIGHT CLICK:
Secondary/ultimate-style ability.
HOLDING:
A passive effect while the weapon is in the player's main hand.
LEFT CLICK / ATTACK:
Some weapons can have special attack mechanics if appropriate.
All major abilities should have cooldowns of at least 20 seconds unless there is a very good gameplay reason to make them shorter.
Suggested cooldown range:
20β60 seconds.
Do NOT give every weapon Strength III or Resistance III.
Passive effects should usually be around:
- Speed I
- Strength I
- Jump Boost I
- Fire Resistance
- Water Breathing
- Haste I
- Night Vision
- Resistance I
- Slow Falling
etc.
The weapons should feel powerful because of their unique abilities, not because every passive stat is ridiculous.
==================================================
WEAPON #1 β STARBURST
==================================================
BASE ITEM:
Diamond Sword
MODEL:
customweapons:starburst
ROLE:
Shotgun sword / burst-damage weapon
DESIGN:
A futuristic magical sword with a starburst shape around the blade.
The blade should look like compressed purple/white energy.
The guard should resemble a small explosion or star.
Colors:
- purple
- magenta
- white
- small amounts of cyan
It should still clearly look like a Minecraft sword.
HOLDING PASSIVE:
Speed I.
RIGHT CLICK β "STAR SHOT":
Shoot a powerful short-range burst of multiple projectiles.
This should feel like a shotgun rather than a normal bow.
Use approximately 6β8 projectiles/pellets.
Short range.
High damage at close range.
Damage falls off with distance if possible.
Particles:
- end rods
- purple dust
- small explosion particles
Sound:
A powerful magical burst.
SHIFT + RIGHT CLICK β "NOVA BURST":
Create a larger star-shaped explosion around the player or slightly in front of them.
Damage nearby enemies.
Knock enemies backward.
Do not instantly kill full-health players.
Cooldown:
24β30 seconds.
IMPORTANT:
Starburst is a SWORD and its signature mechanic is the buckshot attack.
==================================================
WEAPON #2 β GRAVEMARCH
==================================================
BASE ITEM:
Diamond Axe
MODEL:
customweapons:gravemarch
ROLE:
Heavy axe / undead / gravefire weapon
DESIGN:
A huge dark axe with:
- black/dark gray metal
- purple cracks
- glowing purple flame
- skull/grave motifs
The blade should look heavy.
HOLDING PASSIVE:
Resistance I.
RIGHT CLICK β "GRAVE CLEAVE":
Perform a wide axe slash.
Damage enemies in a cone in front of the player.
Apply short Slowness.
Spawn purple soul flames.
SHIFT + RIGHT CLICK β "GRAVEBREAK":
Smash the ground.
Create a circular area around the player.
Damage nearby enemies.
Knock them slightly upward.
Spawn purple flames and dark particles.
Do NOT make the flames permanently grief the world.
Cooldown:
30β35 seconds.
==================================================
WEAPON #3 β TIDEBREAKER
==================================================
VERY IMPORTANT:
Tidebreaker is secretly a MACE.
BASE ITEM:
Mace
MODEL:
customweapons:tidebreaker
VISUAL:
Trident-style weapon.
The item should LOOK like a powerful ocean trident, but mechanically it is a MACE.
This is intentional.
ROLE:
Ocean/mace hybrid.
DESIGN:
- blue
- cyan
- dark navy
- glowing aqua core
- three-pronged trident appearance
- heavy central core
HOLDING PASSIVE:
Water Breathing.
Possibly a small amount of Dolphin's Grace while underwater.
RIGHT CLICK β "TIDAL CRASH":
Release a forward-moving wave.
Damage enemies hit by the wave.
Knock them backward.
Spawn water splash and bubble particles.
SHIFT + RIGHT CLICK β "ABYSSAL DESCENT":
Launch the player upward slightly and perform a heavy downward mace-style strike.
The player should be able to use this for mobility/combat.
If the player lands on an enemy:
deal bonus damage.
Cooldown:
36β45 seconds.
IMPORTANT:
The underlying Minecraft item MUST remain a MACE.
==================================================
WEAPON #4 β HOLLOW GUN
==================================================
VERY IMPORTANT:
Hollow Gun is a CROSSBOW underneath.
BASE ITEM:
Crossbow
MODEL:
customweapons:hollow_gun
ROLE:
Gun / ranged damage
DESIGN:
A compact Minecraft-style magical firearm.
It should look like:
- compact handgun
- dark metal
- black
- gray
- purple energy/core
- small glowing barrel
It must still fit Minecraft's pixel-art style.
HOLDING PASSIVE:
Speed I.
RIGHT CLICK β "HOLLOW SHOT":
Fire a powerful hitscan or very fast projectile shot.
The ability should feel like firing a gun, NOT like firing a normal crossbow.
Use:
- muzzle flash
- smoke
- critical particles
- gunshot sound
Moderate/high single-target damage.
SHIFT + RIGHT CLICK β "HOLLOW VOLLEY":
Fire 3β5 rapid shots in a small spread.
Do not make every shot one-shot a player.
Cooldown:
25β35 seconds.
IMPORTANT:
Underlying item MUST remain a CROSSBOW.
==================================================
WEAPON #5 β SKYFANG
==================================================
BASE ITEM:
Trident
MODEL:
customweapons:skyfang
ROLE:
Spear / mobility / aerial combat
DESIGN:
A spear with:
- blue
- green
- white
- cyan highlights
It should look fast, sharp, and aerodynamic.
HOLDING PASSIVE:
Speed I
Jump Boost I
RIGHT CLICK β "FANG THRUST":
Perform a fast forward spear thrust.
Damage enemies in front.
Small knockback.
SHIFT + RIGHT CLICK β "SKY DASH":
Dash forward several blocks.
Create wind/cloud particles.
Damage enemies crossed during the dash.
Optional:
If the player hits an enemy during the dash, apply a short Slow Falling effect or launch them slightly upward.
Cooldown:
24β30 seconds.
==================================================
WEAPON #6 β INFERNAL HARVEST
==================================================
BASE ITEM:
Golden Hoe
MODEL:
customweapons:infernal_harvest
ROLE:
Scythe / fire / dark harvesting
DESIGN:
The hoe should look like a sinister scythe.
Colors:
- black
- dark red
- orange
- deep purple
- glowing red edge
HOLDING PASSIVE:
Fire Resistance.
RIGHT CLICK β "SOUL REAP":
Perform a wide scythe slash.
Damage enemies in front.
Set them on fire briefly.
Spawn dark flame particles.
SHIFT + RIGHT CLICK β "INFERNAL HARVEST":
Create a large dark flame circle.
Enemies inside take damage over time.
Apply short Weakness or Slowness.
Spawn soul fire and smoke.
Cooldown:
34β40 seconds.
==================================================
NEW WEAPON #7 β VOIDFANG
==================================================
BASE ITEM:
Netherite Sword
ROLE:
Void assassin
DESIGN:
Black/purple sword with a glowing violet crack down the center.
HOLDING:
Night Vision + Speed I.
RIGHT CLICK β "VOID STEP":
Teleport a short distance forward.
If an enemy is at the destination, deal damage.
SHIFT + RIGHT CLICK β "VOID EXECUTION":
Teleport behind the nearest enemy within a limited range.
Deal a heavy strike and apply brief Darkness.
Cooldown:
35 seconds.
==================================================
NEW WEAPON #8 β THUNDERCALLER
==================================================
BASE ITEM:
Netherite Axe
ROLE:
Lightning bruiser
DESIGN:
Dark axe with blue-white lightning running through the blade.
HOLDING:
Strength I.
RIGHT CLICK β "THUNDER STRIKE":
Call lightning at the targeted location.
Damage enemies in a small radius.
Do not cause permanent fire grief.
SHIFT + RIGHT CLICK β "STORM BREAK":
Call several lightning strikes around the player.
Strong area attack.
Cooldown:
40 seconds.
==================================================
NEW WEAPON #9 β FROSTBITE
==================================================
BASE ITEM:
Diamond Sword
ROLE:
Ice control
DESIGN:
Ice-blue sword with white crystal edges.
HOLDING:
Resistance to powdered snow / Freeze protection style effect.
RIGHT CLICK β "FROST SLASH":
Damage enemies and apply Slowness.
SHIFT + RIGHT CLICK β "ABSOLUTE ZERO":
Create a temporary freezing zone.
Enemies inside:
- become slowed
- take small periodic damage
- get snow/ice particles
Do not permanently freeze players for an excessive amount of time.
Cooldown:
40 seconds.
==================================================
NEW WEAPON #10 β BLOODMOON
==================================================
BASE ITEM:
Netherite Sword
ROLE:
Risk/reward lifesteal weapon
DESIGN:
Dark red/black sword with a red glowing moon symbol.
HOLDING:
Strength I.
RIGHT CLICK β "CRIMSON CUT":
Heavy melee slash.
Heal the user for a small amount if an enemy is hit.
SHIFT + RIGHT CLICK β "BLOOD MOON":
Temporarily increase damage dealt but also make the player take slightly more damage.
This is intentionally a risk/reward ability.
Cooldown:
45 seconds.
==================================================
NEW WEAPON #11 β EARTHSHAKER
==================================================
BASE ITEM:
Mace
ROLE:
Ground-control tank weapon
DESIGN:
Huge stone/metal mace with glowing orange cracks.
HOLDING:
Resistance I.
RIGHT CLICK β "GROUND POUND":
Smash the ground and damage nearby enemies.
SHIFT + RIGHT CLICK β "TECTONIC BREAK":
Create a larger shockwave.
Knock enemies away.
Damage enemies.
Spawn stone/dust particles.
Cooldown:
40 seconds.
==================================================
NEW WEAPON #12 β PHANTOM BOW
==================================================
BASE ITEM:
Bow
ROLE:
Stealth archer
DESIGN:
Black/white ghostly bow with cyan string.
HOLDING:
Speed I + slight Slow Falling.
RIGHT CLICK β "PHANTOM ARROW":
Fire an invisible/ghostly projectile with custom particles.
SHIFT + RIGHT CLICK β "PHANTOM RAIN":
Fire several spectral arrows toward an area.
Cooldown:
35 seconds.
==================================================
NEW WEAPON #13 β SOLARIS
==================================================
BASE ITEM:
Golden Sword
ROLE:
Holy/light weapon
DESIGN:
Gold and white sword with a bright yellow core.
HOLDING:
Regeneration I only while not in combat, OR another mild passive.
RIGHT CLICK β "SOLAR SLASH":
Fire a golden energy slash.
SHIFT + RIGHT CLICK β "SUNBURST":
Create a large flash of light.
Damage hostile enemies.
Apply Glowing.
Cooldown:
40 seconds.
==================================================
NEW WEAPON #14 β DEATHWHISPER
==================================================
BASE ITEM:
Crossbow
ROLE:
Silent assassin
DESIGN:
Black crossbow with purple spectral energy.
HOLDING:
Night Vision.
RIGHT CLICK β "WHISPER SHOT":
Fire a very quiet high-damage projectile.
SHIFT + RIGHT CLICK β "SILENT EXECUTION":
Temporarily hide the player's location/particles and empower the next shot.
Do NOT make the player completely invisible for an unreasonable duration.
Cooldown:
45 seconds.
==================================================
NEW WEAPON #15 β WINDREAVER
==================================================
BASE ITEM:
Diamond Sword
ROLE:
Mobility sword
DESIGN:
White/blue blade with swirling wind particles.
HOLDING:
Speed I.
RIGHT CLICK β "WIND CUT":
Send a narrow wind blade forward.
SHIFT + RIGHT CLICK β "TEMPEST DASH":
Dash forward with a large wind trail.
Damage enemies hit by the dash.
Cooldown:
25β30 seconds.
==================================================
NEW WEAPON #16 β VENOMTALON
==================================================
BASE ITEM:
Iron Sword
ROLE:
Poison assassin
DESIGN:
Dark green/black curved blade with glowing green venom.
HOLDING:
Speed I.
RIGHT CLICK β "VENOM SLASH":
Damage and apply Poison.
SHIFT + RIGHT CLICK β "TOXIC BURST":
Create a poison cloud around the target location.
Enemies inside receive Poison and Slowness.
Cooldown:
35 seconds.
==================================================
NEW WEAPON #17 β SOULPIERCER
==================================================
BASE ITEM:
Trident
ROLE:
Spectral spear
DESIGN:
Black/silver spear with blue soul-fire energy.
HOLDING:
Soul Speed-style movement bonus if possible, otherwise Speed I.
RIGHT CLICK β "SOUL PIERCE":
Throw a spectral spear projectile.
SHIFT + RIGHT CLICK β "SOUL CHAIN":
Hit an enemy and briefly pull them toward the user.
Cooldown:
40 seconds.
==================================================
NEW WEAPON #18 β STARFORGE
==================================================
BASE ITEM:
Netherite Axe
ROLE:
Ultimate heavy weapon
DESIGN:
Black metal axe with glowing orange, purple and white star-metal cracks.
HOLDING:
Strength I.
RIGHT CLICK β "FORGE STRIKE":
Heavy single-target attack.
SHIFT + RIGHT CLICK β "STARFORGE IMPACT":
Charge a massive strike.
The player should have a short wind-up so opponents can react.
Then:
- large particle explosion
- heavy damage
- knockback
Cooldown:
50β60 seconds.
This should be one of the strongest weapons, but it must still be possible to kill the user.
==================================================
ARMOR SET β ALTAR ASCENDANT
==================================================
Create a full custom armor set called:
ALTAR ASCENDANT ARMOR
Pieces:
- Altar Ascendant Helmet
- Altar Ascendant Chestplate
- Altar Ascendant Leggings
- Altar Ascendant Boots
DESIGN:
Dark armor with:
- black
- purple
- cyan
- white glowing details
- subtle magical runes
It should look like powerful endgame SMP armor without looking like a vanilla netherite recolor.
Each armor piece should have its own model.
PASSIVE SET EFFECT:
Only activate the major bonus when the player is wearing the complete set.
Full-set passive:
- Resistance I
- Speed I
- small amount of Knockback Resistance
Do NOT give permanent Strength III or extreme regeneration.
==================================================
ARMOR ABILITIES
==================================================
RIGHT CLICK WHILE FULL SET EQUIPPED:
"ALTAR GUARD"
Create a short defensive shield around the player.
For a few seconds:
- reduce incoming damage
- spawn magical particles
- play a sound
Cooldown:
45 seconds.
SHIFT + RIGHT CLICK:
"ALTAR ASCENSION"
Launch the player upward slightly and give:
- Slow Falling
- Speed
- temporary Resistance
Then create a powerful downward shockwave when they land.
Cooldown:
60 seconds.
==================================================
BOSSBAR SYSTEM
==================================================
Every weapon ability needs a cooldown.
Display cooldowns using bossbars.
Example:
STARBUββRST
[ββββββββββββββββ] 18s
When ready:
STARBURST
[ββββββββββββββββ] READY
Each player should ideally see their OWN cooldown rather than everyone sharing one global cooldown.
The plugin should use player-specific cooldown data.
Also display:
ACTION BAR:
"β Starburst: READY"
or:
"β Starburst: 14s"
When the ability is ready:
"β Starburst: READY"
==================================================
BALANCE RULES
==================================================
This is extremely important.
These weapons are supposed to be powerful, but PvP must remain possible.
A player without a custom weapon should still be able to kill a custom weapon user.
Do NOT:
- Give permanent Resistance V
- Give permanent Strength V
- Make players invulnerable
- One-shot everyone with every ability
- Make abilities have 2-second cooldowns
- Permanently stun players
- Permanently freeze players
- Permanently blind players
- Make every ability an unavoidable attack
- Allow abilities through walls
- Allow infinite teleport spam
DO:
- Use reasonable damage
- Use cooldowns
- Give enemies reaction time
- Use ability wind-up animations where appropriate
- Use range limits
- Use line-of-sight checks where appropriate
- Give strong abilities clear sounds/particles
- Make powerful abilities predictable enough to dodge
- Reward skillful players
Recommended damage philosophy:
Normal ability:
6β10 hearts depending on weapon and situation.
Powerful/ultimate ability:
8β14 hearts maximum in ideal circumstances.
Do not automatically deal maximum damage every time.
==================================================
RESOURCE PACK
==================================================
Create custom models/textures for all weapons.
Namespace:
customweapons
Examples:
customweapons:starburst
customweapons:gravemarch
customweapons:tidebreaker
customweapons:hollow_gun
customweapons:skyfang
customweapons:infernal_harvest
customweapons:voidfang
customweapons:thundercaller
customweapons:frostbite
customweapons:bloodmoon
customweapons:earthshaker
customweapons:phantom_bow
customweapons:solaris
customweapons:deathwhisper
customweapons:windreaver
customweapons:venomtalon
customweapons:soulpiercer
customweapons:starforge
Use Minecraft-style pixel-art designs.
Do not make them look like realistic 3D guns or modern weapons.
==================================================
ITEM IDENTIFICATION
==================================================
Use PersistentDataContainer to store a unique ID such as:
custom_weapon = starburst
custom_weapon = gravemarch
custom_weapon = tidebreaker
etc.
Do NOT identify weapons only by:
- display name
- lore
- material
A player should not be able to rename an ordinary diamond sword to "Starburst" and obtain the ability.
==================================================
ENCHANTMENTS
==================================================
Use sensible custom enchantments.
Do not automatically use absurd enchantment levels unless explicitly configured.
Example:
Starburst:
Sharpness VI
Unbreaking III
Gravemarch:
Sharpness IV
Efficiency III
Unbreaking III
Tidebreaker:
Density III
Unbreaking III
Hollow Gun:
Quick Charge III
Unbreaking III
Skyfang:
Impaling IV
Unbreaking III
Infernal Harvest:
Sharpness IV
Unbreaking III
Allow enchantments to be configured in config.yml.
==================================================
COMMANDS
==================================================
Add admin commands such as:
/customweapons give
/customweapons give
/customweapons list
/customweapons reload
/customweapons cooldown
/customweapons resetcooldowns
/customweapons info
Examples:
/customweapons give Steve starburst
/customweapons give Steve tidebreaker
/customweapons give Steve hollow_gun
==================================================
CONFIGURATION
==================================================
Create config.yml with settings for:
damage
cooldown
range
particles
sounds
passive effects
ability enabled/disabled
friendly fire
mob damage
player damage
world whitelist/blacklist
Example:
weapons:
starburst:
cooldown: 26
ability_damage: 7
passive: SPEED_1
gravemarch:
cooldown: 32
ability_damage: 9
passive: RESISTANCE_1
etc.
==================================================
ANTI-ABUSE
==================================================
Prevent:
- Ability spam
- Duplicate cooldown bypasses
- Renaming normal items into custom weapons
- Abilities activating from offhand unless specifically allowed
- Abilities activating while dead
- Abilities activating while spectator
- Abilities activating when the player does not actually own/hold the weapon
- Exploiting item swapping to bypass cooldown
Cooldowns should be stored per-player.
==================================================
MULTIPLAYER
==================================================
This is a multiplayer PvP plugin.
Every ability should correctly identify:
- the caster
- enemy players
- mobs
- allies
Make friendly-fire behavior configurable.
Default:
Custom weapons can damage hostile players and mobs.
Do not allow an ability to accidentally damage the caster unless the weapon specifically has a risk/reward mechanic.
==================================================
VISUAL EFFECTS
==================================================
Every weapon needs a unique visual identity.
Examples:
Starburst:
purple stars / explosion
Gravemarch:
purple soul flames / smoke
Tidebreaker:
cyan water / bubbles / waves
Hollow Gun:
muzzle flash / smoke / sparks
Skyfang:
wind / clouds / cyan streaks
Infernal Harvest:
dark flames / smoke / red particles
Voidfang:
purple void particles
Thundercaller:
electric blue lightning
Frostbite:
snow / ice / blue particles
Bloodmoon:
dark red particles
Earthshaker:
dust / rocks
Phantom Bow:
white ghost particles
Solaris:
gold / white particles
Deathwhisper:
black / purple smoke
Windreaver:
white wind trails
Venomtalon:
green poison particles
Soulpiercer:
blue soul flames
Starforge:
orange/purple star particles
==================================================
SOUNDS
==================================================
Every weapon should have unique or appropriate Minecraft sounds.
Do not use the exact same sound for every ability.
Weapons should sound different:
- Starburst = explosive/magical
- Gravemarch = heavy/ominous
- Tidebreaker = water
- Hollow Gun = sharp gun-like custom sound using Minecraft sounds
- Skyfang = wind
- Infernal Harvest = fire/soul
- Voidfang = teleport/portal
- Thundercaller = thunder
- Frostbite = ice
- Bloodmoon = dark magic
- Earthshaker = heavy impact
- Phantom Bow = spectral
- Solaris = beacon/light
- Deathwhisper = quiet dark magic
- Windreaver = wind
- Venomtalon = poison
- Soulpiercer = soul
- Starforge = huge magical impact
==================================================
IMPORTANT OUTPUT REQUIREMENT
==================================================
When you build the plugin, give me:
1. Complete source code
2. plugin.yml
3. config.yml
4. All Java classes
5. Resource-pack structure
6. Custom model files
7. Custom texture paths
8. Commands
9. Installation instructions
10. How to compile it
11. How to install it on a Paper server
12. How to configure cooldowns
13. How to change damage
14. How to add another weapon
15. How to add another armor set
16. Explain every command
17. Explain where every file goes
Make the project organized and beginner-friendly.
Use clear class names such as:
WeaponManager
AbilityManager
CooldownManager
WeaponItemFactory
ArmorManager
ParticleManager
SoundManager
CommandManager
StarburstAbility
GravemarchAbility
TidebreakerAbility
HollowGunAbility
SkyfangAbility
InfernalHarvestAbility
and corresponding classes for the new weapons.
The final plugin should feel like a polished custom SMP weapon plugin rather than a collection of random commands.
MOST IMPORTANT:
The six original weapons MUST remain recognizable:
Starburst = sword + buckshot
Gravemarch = axe + purple gravefire
Tidebreaker = MACE underneath + trident appearance + water ability
Hollow Gun = CROSSBOW underneath + gun appearance
Skyfang = trident/spear + dash
Infernal Harvest = hoe/scythe + dark fire
Make every additional weapon feel different from those six.
Do not simply reskin the same ability 18 times.
Every weapon needs its own gameplay identity.
Build a Paper plugin with a data-driven weapon registry, secure PDC item identity, balanced configurable abilities, cooldowns, and per-player bossbars/action bars.
Add armor-set creation and abilities, multiplayer-safe damage rules, passive effects, admin commands, and reloadable configuration.
Add a resource-pack scaffold with model JSON files and documented texture paths for every weapon and armor piece.
Created a complete CustomWeapons Paper plugin project with:
18 unique weapons, including:
Starburst shotgun sword
Gravemarch gravefire axe
Tidebreaker mace with trident visuals
Hollow Gun crossbow pistol
Skyfang mobility trident
Infernal Harvest scythe hoe
Voidfang assassin sword
Thundercaller lightning axe
Frostbite ice sword
Bloodmoon lifesteal sword
Earthshaker mace
Phantom Bow
Solaris holy sword
Deathwhisper stealth crossbow
Windreaver mobility sword
Venomtalon poison sword
Soulpiercer spectral trident
Starforge ultimate axe
PersistentDataContainer weapon identification
Separate primary and ultimate cooldowns
Minimum 20-second cooldown enforcement
Per-player cooldown tracking
Bossbar and action-bar cooldown display
Configurable damage, range, cooldowns, passives, world restrictions, PvP, and mob damage
Anti-renaming protection
Main-hand-only ability activation
Multiplayer-safe damage checks
Altar Ascendant armor set
Altar Guard and Altar Ascension abilities
Admin commands:
/customweapons give <player> <weapon> [amount]/customweapons give <player> altar_ascendant/customweapons list/customweapons info <weapon>/customweapons cooldown <player> <weapon> <seconds>/customweapons resetcooldowns <player>/customweapons reload
Important files include:
build.gradleplugin.ymlconfig.ymlComplete Java source under
src/main/java/com/kodari/customweaponsResource-pack model JSON files
Resource-pack texture path documentation
INSTALL.md
The resource-pack scaffold includes all model mappings and required texture paths. PNG artwork still needs to be placed under:
resource-pack/assets/customweapons/textures/item/
Build with:
./gradlew build
The generated plugin jar will be located in:
build/libs/
The project currently uses Paper API 1.21.4-R0.1-SNAPSHOT as the available build baseline. If a 1.26.2 Paper API becomes available, update the Paper dependency version in build.gradle.
should i just download the zip and everything is there and i can just put it into the file manager
Yesβif itβs a plugin ZIP containing the compiled .jar, you can usually:
Download the ZIP.
Extract it on your computer.
Find the plugin
.jarfile.Upload the
.jarto your serverβspluginsfolder through the file manager.Restart the server.
Do not upload the ZIP itself unless the pluginβs instructions specifically say to. Also check whether the ZIP includes required dependencies or setup files:
Put dependency
.jarfiles inpluginstoo.Edit any included config files after the first startup.
Make sure the plugin supports your server software and Minecraft version.
Never upload source-code folders such as
src,build.gradle, or.javafiles; those are for compiling, not installing.
If this is a plugin project youβre building here, the correct upload file is normally the generated JAR from build/libs/.
could you tell me where is the jar
There isnβt a .jar file in the project yet. After building the plugin, it should appear here:
build/libs/
For example:
build/libs/YourPluginName-1.0.jar
Upload that .jar to your serverβs plugins folderβnot the ZIP or source-code files.
thats the jar right, then where is the texture pakc
The JAR will be:
build/libs/CustomWeapons-1.0.0.jar
However, it has not been built yet, so it currently does not exist.
The texture/resource pack is in:
resource-pack/
It contains the model files and pack.mcmeta, but it is currently incomplete because the required PNG textures are missing. There is also no ZIP created yet.
Once the PNG textures are added:
Open the
resource-packfolder.Select everything inside it, including
pack.mcmetaandassets.Compress those contents into a ZIP.
Upload that ZIP to an HTTPS file host.
Configure the resource-pack URL in your server settings.
The resource-pack ZIP does not go in the plugins folder. The plugin JAR goes in plugins; the resource pack is configured separately for players to download.
could you give me the jar and the weapon skin seperately so that i can just paste it
Not yet. The project currently has:
No compiled JAR β there is no
build/libs/folder.No weapon PNG skins β
resource-pack/only contains model JSON files and setup instructions.
The files that would be uploaded are:
build/libs/CustomWeapons-1.0.0.jar
Upload that to:
plugins/
The weapon resource pack would eventually be a separate ZIP containing:
pack.mcmeta
assets/
However, the required PNGs are missing from:
resource-pack/assets/customweapons/textures/item/
So I canβt provide a working JAR and weapon-skin ZIP from the current project yet. The plugin must first be compiled, and the actual PNG weapon textures must be created or supplied.
ok please make it work and like the ones i told
Inspect the current weapon plugin and resource-pack structure.
Fix the build and resource-pack files so both outputs are installable.
Add or complete the weapon assets needed by the existing model definitions.
Verify the final JAR path and separate resource-pack ZIP contents.
Implemented the working setup:
Plugin JAR output:
Plain Textbuild/libs/CustomWeapons-1.0.0.jarUpload it to your serverβs:
Plain Textplugins/Resource-pack ZIP output:
Plain Textbuild/resource-pack/CustomWeapons-resource-pack.zipUpload this separately as your server resource pack.
Run this from the project folder:
gradle build
The build now:
Packages XSeries into the plugin JAR.
Generates the resource-pack ZIP automatically.
Includes model overrides for all 18 weapons.
Includes the Altar Ascendant armor overrides.
Works without missing PNG errors by using built-in Minecraft textures.
The original custom PNG artwork was not present in the project, so these are functional fallback skins. To use specific custom artwork, PNG files would still need to be added later.
so i cant just put it in and out right please could you make it like seperate if you can :) and do the png thingies like the model but just smaller thats it
Separate the plugin JAR and resource-pack ZIP into clearly generated outputs.
Generate small PNG texture files for each weapon and wire the model JSON files to them.
Done. The project now creates the two files separately:
build/libs/CustomWeapons-1.0.0.jar
build/resource-pack/CustomWeapons-resource-pack.zip
Run:
gradle build
The build now:
Generates small 16Γ16 PNG weapon textures.
Includes the PNGs inside the resource-pack ZIP.
Connects each weapon model to its matching PNG.
Keeps the plugin JAR separate from the resource pack.
Install them separately:
CustomWeapons-1.0.0.jar
β server/plugins/
CustomWeapons-resource-pack.zip
β configure as the server resource pack
Do not put the resource-pack ZIP in plugins; players need it configured through the serverβs resource-pack setting or hosting panel.
is it the ones i circled that i paste later or what should i paste on mcserverhost
No β do not upload the circled resource-pack or src folders to MCServerHost. That is the project/source folder, not the finished plugin.
You need two finished files:
1. Plugin JAR
After building the project, find:
build\libs\CustomWeapons-1.0.0.jar
Upload only this .jar file to:
MCServerHost β Files β plugins
Then restart the server.
2. Resource pack
Find:
build\resource-pack\CustomWeapons-resource-pack.zip
Upload the ZIP file without extracting it using MCServerHostβs resource-pack/upload option. If MCServerHost does not provide one, upload the ZIP to a direct-download host and put its URL in the serverβs resource-pack settings.
Your screenshot shows that the project has not been built yet because there is no build\libs folder visible. From the extracted project folder, run:
gradle build
Then upload the two files above. Do not upload src, resource-pack, build.gradle, or settings.gradle to the server.
is it in the code, i just wanna paste it not edit
Yes β itβs already set up in the project code. You do not need to edit the code.
You only need to build it, then upload the finished files:
Open the project folder on your computer.
Click the address bar, type
cmd, and press Enter.Paste this:
gradle build
Upload these files to MCServerHost:
build\libs\CustomWeapons-1.0.0.jar
Put it in:
/plugins
And:
build\resource-pack\CustomWeapons-resource-pack.zip
Use MCServerHostβs Resource Pack upload/setting for the ZIP. Do not extract it and do not put it in /plugins.
If MCServerHost asks for a resource-pack URL instead of letting you upload the ZIP, the ZIP must be uploaded to a file host first; you paste the resulting direct-download URL there.
give me a simple tutorial
Simple tutorial
Step 1 β Build the files
Open the CustomWeapons project folder on your computer.
Click the folderβs address bar at the top.
Type:
cmd
Press Enter.
In the black window, paste:
gradle build
Press Enter and wait for it to finish.
You should then have these two files:
build\libs\CustomWeapons-1.0.0.jar
build\resource-pack\CustomWeapons-resource-pack.zip
Step 2 β Upload the plugin
Open your MCServerHost panel.
Go to Files.
Open the
pluginsfolder.Upload:
CustomWeapons-1.0.0.jar
Restart the server.
Step 3 β Add the resource pack
Use the resource-pack setting in MCServerHost and upload or select:
CustomWeapons-resource-pack.zip
Keep it as a .zip file. Do not extract it.
If MCServerHost asks for a resource-pack URL, you must upload the ZIP to a file host first and paste its direct-download link into that setting.
Do not upload these
Do not upload:
src
resource-pack
build.gradle
settings.gradle
Only upload the finished .jar to plugins and use the finished .zip as the server resource pack.
Microsoft Windows [Version 10.0.26200.9278] (c) Microsoft Corporation. All rights reserved.
D:\>gradle build 'gradle' is not recognized as an internal or external command, operable program or batch file.
D:\>
That message means Gradle is not installed, and you are currently at D:\> instead of inside the project folder.
1. Install Gradle
In the same Command Prompt, paste:
winget install --id Gradle.Gradle -e
If it says Java is missing, install Java with:
winget install --id EclipseAdoptium.Temurin.21.JDK -e
Close the Command Prompt after installation.
2. Open the correct folder
Open the CustomWeapons project folder in File Explorer.
Make sure you can see
build.gradleinside it.Click the address bar at the top.
Type:
cmd
Press Enter.
The command prompt should now show the project folder, not just D:\>.
3. Build the files
Paste:
gradle build
Wait for it to finish. The finished files will be:
build\libs\CustomWeapons-1.0.0.jar
build\resource-pack\CustomWeapons-resource-pack.zip
Upload the .jar to the serverβs plugins folder. Use the .zip as the server resource pack without extracting it.
package com.kodari.customweapons;
import org.bukkit.Bukkit;
import org.bukkit.entity.Player;
import org.bukkit.plugin.java.JavaPlugin;
public final class CustomWeaponsPlugin extends JavaPlugin {
private WeaponManager weaponManager;
private WeaponItemFactory itemFactory;
private CooldownManager cooldowns;
private ParticleManager particles;
private SoundManager sounds;
private AbilityManager abilities;
private ArmorManager armorManager;
@Override
public void onEnable() {
saveDefaultConfig();
weaponManager = new WeaponManager(this);
weaponManager.reload();
itemFactory = new WeaponItemFactory(this, weaponManager);
cooldowns = new CooldownManager(this);
particles = new ParticleManager();
sounds = new SoundManager();
abilities = new AbilityManager(this, weaponManager, itemFactory, cooldowns, particles, sounds);
armorManager = new ArmorManager(this, itemFactory, cooldowns);
Bukkit.getPluginManager().registerEvents(new CustomWeaponsListener(this), this);
CustomWeaponsCommand command = new CustomWeaponsCommand(this);
getCommand("customweapons").setExecutor(command);
getCommand("customweapons").setTabCompleter(command);
Bukkit.getScheduler().runTaskTimer(this, () -> {
for (Player player : Bukkit.getOnlinePlayers()) {
abilities.applyPassives(player);
armorManager.tick(player);
}
cooldowns.tick();
}, 20L, Math.max(10, getConfig().getLong("settings.passive-tick", 20)));
getLogger().info("CustomWeapons enabled with " + weaponManager.getWeapons().size() + " weapons.");
}
public void reloadPlugin() { reloadConfig(); weaponManager.reload(); }
public WeaponManager getWeaponManager() { return weaponManager; }
public WeaponItemFactory getItemFactory() { return itemFactory; }
public CooldownManager getCooldowns() { return cooldowns; }
public ParticleManager getParticles() { return particles; }
public SoundManager getSounds() { return sounds; }
public AbilityManager getAbilities() { return abilities; }
public ArmorManager getArmorManager() { return armorManager; }
}