ak_shadowxff

start again all and this features also make reasorces pack for that if possible add crafting recipe also and one cmd to see /recipe to chek all spear recipe /spear to see all spear and power and all

Create a Minecraft plugin that supports versions 1.21 to 1.21.10 on the Paper server software.

Spear Upgrades Spears can be upgraded up to Level 3.

Upgrade recipes are fully configurable.

Each level increases power, effects, or duration.

Life System Players start with 10 lives.

Lives are displayed in the Action Bar.

Losing all lives results in a server ban.

Lives can be:

Withdrawn as items.

Traded with other players.

Revival Ritual System When a player loses all lives and is banned, other players can revive them through a ritual.

How it works:

Place a Beacon with the banned player's Revive Card.

A ritual structure is built automatically.

Protect the Beacon for the ritual duration (default: 15 minutes).

Commands /spear give <player> <spear> [level]: Give a spear to a player. Permission: xtokensmp.admin. /spear giveall <player>: Give all spears to a player. Permission: xtokensmp.admin. /spear setlives <player> <amount>: Set a player's lives. Permission: xtokensmp.admin. /spear revive <player>: Instantly revive a player. Permission: xtokensmp.admin. /spear skipritual: Skip all active rituals. Permission: xtokensmp.admin. /spear togglecooldown <player>: Toggle ability cooldowns for a player. Permission: xtokensmp.admin. /spear reload: Reload the configuration. Permission: xtokensmp.admin.

Permissions xtokensmp.admin: Full admin access. xtokensmp.use: Basic plugin usage (default: true).

Revive Card Recipe 1 × Totem of Undying (center) 2 × Heart of the Sea 2 × Ghast Tear 2 × Echo Shard 1 × Nether Star Additional Features Implement a cooldown system.

Set the Warden token chance to only 10%. make chance for evrthing acording to power

📎 1 file 2,555 chars
📄
pasted-code-1768309221400.txt
txt 18 lines
▶
Create a Minecraft plugin named "Spear SMP" that implements custom spears with various types based on different mobs. Each spear should have unique abilities and a form, as follows:

Breeze Spear: Tornado (summons a tornado), Mace Jump (jump with mace-like force), Breeze Form (wind-based abilities).
Enderman Spear: Snap Teleport (teleport short distances), Force Teleport (force enemy teleportation), Enderman Form (teleportation enhancements).
Ghast Spear: Ember Ball (fire projectile), Hell Rain (fire rain attack), Ghast Form (fire-based abilities).
Skeleton Spear: Arrow Strike (arrow barrage), One-Shot Arrow (piercing arrow), Skeleton Form (ranged enhancements).
Magma Spear: Firequake (ground-shaking fire), Lava Trap (creates lava pits), Magma Form (lava-based abilities).
Dolphin Spear: Riptide (water-based thrust), Frost Byte (freezing attack), Dolphin Form (aquatic enhancements).
Creeper Spear: Orbital Stab (circular stabbing), Orbital Strike (explosive orbital attack), Creeper Form (explosion-based abilities).
Zombie Spear: Grave Grasp (slows and pulls enemies), Undying Rush (speed and damage boost at low health), Zombie Form (increased health, knockback resistance, and regeneration).
Ender Dragon Spear: Void Breath (withering breath attack), Sky Rupture (aerial slam with explosion), Ender Dragon Form (flight, massive health, devastating attacks, fall damage immunity).
Warden Spear: Sonic Devastation (piercing sonic boom), Heartbeat Hunt (tracks and damages nearby enemies), Warden Form (extreme strength, darkness effect, vibration detection, projectile immunity).
Chicken Spear: Panic Flap (upward launch with flight), Egg Barrage (explosive or knockback eggs), Chicken Form (increased jump, slow fall, reduced hitbox, dodge chance).
Wither Spear: Wither Skull Barrage (homing skulls), Decay Zone (wither and weaken area), Wither Form (flight, explosion immunity, wither aura, damage-based regen).
Slime Spear: Split Bounce (bouncing leap with knockback), Sticky Trap (slowing slime puddle), Slime Form (high bounce, fall immunity, split mechanic).
Spider Spear: Web Snare (rooting webs), Wall Pounce (wall-based leap attack), Spider Form (wall climbing, night vision, poison melee).
Ravager Spear: Ground Shatter (shockwave slam), Charge Breaker (destructive charge), Ravager Form (massive strength, knockback resistance).
Dog Spear: Lunging Thrust (piercing dash), Pack Mark (marks for extra damage and slow), Dog Spear Form (increased speed, fast attacks, leap attacks, bonus damage on low-health enemies).
ak_shadowxff

start

Kodari AI
KodariJan 13 at 1:01 pm 1,638 (v2)

I’m ready to help you create a new Minecraft plugin!

To get started, I need to know what kind of plugin you’d like to build. Please tell me:

What should this plugin do?

For example:

  • A custom economy system

  • A minigame (parkour, pvp arena, etc.)

  • Player management features (homes, warps, teleportation)

  • Server utilities (anti-cheat, moderation tools)

  • Custom items/blocks system

  • RPG features (classes, skills, quests)

  • Or anything else you have in mind

Once you tell me what you want, I’ll:

  1. Set up the project structure

  2. Create the main plugin files

  3. Configure build.gradle and plugin.yml

  4. Implement the core functionality

What would you like to create?

ak_shadowxff

start again all and this features also make reasorces pack for that if possible add crafting recipe also and one cmd to see /recipe to chek all spear recipe /spear to see all spear and power and all

Create a Minecraft plugin that supports versions 1.21 to 1.21.10 on the Paper server software.

Spear Upgrades Spears can be upgraded up to Level 3.

Upgrade recipes are fully configurable.

Each level increases power, effects, or duration.

Life System Players start with 10 lives.

Lives are displayed in the Action Bar.

Losing all lives results in a server ban.

Lives can be:

Withdrawn as items.

Traded with other players.

Revival Ritual System When a player loses all lives and is banned, other players can revive them through a ritual.

How it works:

Place a Beacon with the banned player's Revive Card.

A ritual structure is built automatically.

Protect the Beacon for the ritual duration (default: 15 minutes).

Commands /spear give <player> <spear> [level]: Give a spear to a player. Permission: xtokensmp.admin. /spear giveall <player>: Give all spears to a player. Permission: xtokensmp.admin. /spear setlives <player> <amount>: Set a player's lives. Permission: xtokensmp.admin. /spear revive <player>: Instantly revive a player. Permission: xtokensmp.admin. /spear skipritual: Skip all active rituals. Permission: xtokensmp.admin. /spear togglecooldown <player>: Toggle ability cooldowns for a player. Permission: xtokensmp.admin. /spear reload: Reload the configuration. Permission: xtokensmp.admin.

Permissions xtokensmp.admin: Full admin access. xtokensmp.use: Basic plugin usage (default: true).

Revive Card Recipe 1 × Totem of Undying (center) 2 × Heart of the Sea 2 × Ghast Tear 2 × Echo Shard 1 × Nether Star Additional Features Implement a cooldown system.

Set the Warden token chance to only 10%. make chance for evrthing acording to power

start making

📎 1 file 2,555 chars
📄
pasted-code-1768309308612.txt
txt 18 lines
▶
Create a Minecraft plugin named "Spear SMP" that implements custom spears with various types based on different mobs. Each spear should have unique abilities and a form, as follows:

Breeze Spear: Tornado (summons a tornado), Mace Jump (jump with mace-like force), Breeze Form (wind-based abilities).
Enderman Spear: Snap Teleport (teleport short distances), Force Teleport (force enemy teleportation), Enderman Form (teleportation enhancements).
Ghast Spear: Ember Ball (fire projectile), Hell Rain (fire rain attack), Ghast Form (fire-based abilities).
Skeleton Spear: Arrow Strike (arrow barrage), One-Shot Arrow (piercing arrow), Skeleton Form (ranged enhancements).
Magma Spear: Firequake (ground-shaking fire), Lava Trap (creates lava pits), Magma Form (lava-based abilities).
Dolphin Spear: Riptide (water-based thrust), Frost Byte (freezing attack), Dolphin Form (aquatic enhancements).
Creeper Spear: Orbital Stab (circular stabbing), Orbital Strike (explosive orbital attack), Creeper Form (explosion-based abilities).
Zombie Spear: Grave Grasp (slows and pulls enemies), Undying Rush (speed and damage boost at low health), Zombie Form (increased health, knockback resistance, and regeneration).
Ender Dragon Spear: Void Breath (withering breath attack), Sky Rupture (aerial slam with explosion), Ender Dragon Form (flight, massive health, devastating attacks, fall damage immunity).
Warden Spear: Sonic Devastation (piercing sonic boom), Heartbeat Hunt (tracks and damages nearby enemies), Warden Form (extreme strength, darkness effect, vibration detection, projectile immunity).
Chicken Spear: Panic Flap (upward launch with flight), Egg Barrage (explosive or knockback eggs), Chicken Form (increased jump, slow fall, reduced hitbox, dodge chance).
Wither Spear: Wither Skull Barrage (homing skulls), Decay Zone (wither and weaken area), Wither Form (flight, explosion immunity, wither aura, damage-based regen).
Slime Spear: Split Bounce (bouncing leap with knockback), Sticky Trap (slowing slime puddle), Slime Form (high bounce, fall immunity, split mechanic).
Spider Spear: Web Snare (rooting webs), Wall Pounce (wall-based leap attack), Spider Form (wall climbing, night vision, poison melee).
Ravager Spear: Ground Shatter (shockwave slam), Charge Breaker (destructive charge), Ravager Form (massive strength, knockback resistance).
Dog Spear: Lunging Thrust (piercing dash), Pack Mark (marks for extra damage and slow), Dog Spear Form (increased speed, fast attacks, leap attacks, bonus damage on low-health enemies).
Kodari AI
KodariJan 13 at 1:02 pm

I’ll create a comprehensive Spear SMP plugin with all the features you’ve requested.

SpearSMP
A comprehensive spear-based survival plugin featuring 16 unique mob-themed spears with special abilities and forms, a 10-life system with revival mechanics through beacon rituals, configurable upgrade paths up to Level 3, tradeable life items, revive cards, cooldown management, and full admin controls for Paper 1.21+.

Now I’ll create the complete plugin structure:

ak_shadowxff

ok start again fast good work

Kodari AI
KodariJan 13 at 1:03 pm 1,502 (v2)

I’m ready to help! What would you like me to do with the SpearSMP plugin project?

For example:

  • Add a new feature

  • Fix bugs/errors

  • Review existing code

  • Create new commands/listeners

  • Modify configuration

Please let me know what you need.

ak_shadowxff

start again all and this features also make reasorces pack for that if possible add crafting recipe also and one cmd to see /recipe to chek all spear recipe /spear to see all spear and power and all

Create a Minecraft plugin that supports versions 1.21 to 1.21.10 on the Paper server software.

Spear Upgrades Spears can be upgraded up to Level 3.

Upgrade recipes are fully configurable.

Each level increases power, effects, or duration.

Life System Players start with 10 lives.

Lives are displayed in the Action Bar.

Losing all lives results in a server ban.

Lives can be:

Withdrawn as items.

Traded with other players.

Revival Ritual System When a player loses all lives and is banned, other players can revive them through a ritual.

How it works:

Place a Beacon with the banned player's Revive Card.

A ritual structure is built automatically.

Protect the Beacon for the ritual duration (default: 15 minutes).

Commands /spear give <player> <spear> [level]: Give a spear to a player. Permission: xtokensmp.admin. /spear giveall <player>: Give all spears to a player. Permission: xtokensmp.admin. /spear setlives <player> <amount>: Set a player's lives. Permission: xtokensmp.admin. /spear revive <player>: Instantly revive a player. Permission: xtokensmp.admin. /spear skipritual: Skip all active rituals. Permission: xtokensmp.admin. /spear togglecooldown <player>: Toggle ability cooldowns for a player. Permission: xtokensmp.admin. /spear reload: Reload the configuration. Permission: xtokensmp.admin.

Permissions xtokensmp.admin: Full admin access. xtokensmp.use: Basic plugin usage (default: true).

Revive Card Recipe 1 × Totem of Undying (center) 2 × Heart of the Sea 2 × Ghast Tear 2 × Echo Shard 1 × Nether Star Additional Features Implement a cooldown system.

Set the Warden token chance to only 10%. make chance for evrthing acording to power

this all fast

📎 1 file 2,555 chars
📄
pasted-code-1768309408136.txt
txt 18 lines
▶
Create a Minecraft plugin named "Spear SMP" that implements custom spears with various types based on different mobs. Each spear should have unique abilities and a form, as follows:

Breeze Spear: Tornado (summons a tornado), Mace Jump (jump with mace-like force), Breeze Form (wind-based abilities).
Enderman Spear: Snap Teleport (teleport short distances), Force Teleport (force enemy teleportation), Enderman Form (teleportation enhancements).
Ghast Spear: Ember Ball (fire projectile), Hell Rain (fire rain attack), Ghast Form (fire-based abilities).
Skeleton Spear: Arrow Strike (arrow barrage), One-Shot Arrow (piercing arrow), Skeleton Form (ranged enhancements).
Magma Spear: Firequake (ground-shaking fire), Lava Trap (creates lava pits), Magma Form (lava-based abilities).
Dolphin Spear: Riptide (water-based thrust), Frost Byte (freezing attack), Dolphin Form (aquatic enhancements).
Creeper Spear: Orbital Stab (circular stabbing), Orbital Strike (explosive orbital attack), Creeper Form (explosion-based abilities).
Zombie Spear: Grave Grasp (slows and pulls enemies), Undying Rush (speed and damage boost at low health), Zombie Form (increased health, knockback resistance, and regeneration).
Ender Dragon Spear: Void Breath (withering breath attack), Sky Rupture (aerial slam with explosion), Ender Dragon Form (flight, massive health, devastating attacks, fall damage immunity).
Warden Spear: Sonic Devastation (piercing sonic boom), Heartbeat Hunt (tracks and damages nearby enemies), Warden Form (extreme strength, darkness effect, vibration detection, projectile immunity).
Chicken Spear: Panic Flap (upward launch with flight), Egg Barrage (explosive or knockback eggs), Chicken Form (increased jump, slow fall, reduced hitbox, dodge chance).
Wither Spear: Wither Skull Barrage (homing skulls), Decay Zone (wither and weaken area), Wither Form (flight, explosion immunity, wither aura, damage-based regen).
Slime Spear: Split Bounce (bouncing leap with knockback), Sticky Trap (slowing slime puddle), Slime Form (high bounce, fall immunity, split mechanic).
Spider Spear: Web Snare (rooting webs), Wall Pounce (wall-based leap attack), Spider Form (wall climbing, night vision, poison melee).
Ravager Spear: Ground Shatter (shockwave slam), Charge Breaker (destructive charge), Ravager Form (massive strength, knockback resistance).
Dog Spear: Lunging Thrust (piercing dash), Pack Mark (marks for extra damage and slow), Dog Spear Form (increased speed, fast attacks, leap attacks, bonus damage on low-health enemies).
Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
Code
4 345
src/main/java/com/xtokensmp/spear/SpearSMP.java
package com.xtokensmp.spear;

import com.xtokensmp.spear.command.RecipeCommand;
import com.xtokensmp.spear.command.SpearCommand;
import com.xtokensmp.spear.listener.*;
import com.xtokensmp.spear.manager.*;
import lombok.Getter;
import org.bukkit.plugin.java.JavaPlugin;

@Getter
public class SpearSMP extends JavaPlugin {

    private LifeManager lifeManager;
    private SpearManager spearManager;
    private CooldownManager cooldownManager;
    private RitualManager ritualManager;
    private AbilityManager abilityManager;
    private FormManager formManager;

    @Override
    public void onEnable() {
        saveDefaultConfig();
        
        lifeManager = new LifeManager(this);
        spearManager = new SpearManager(this);
        cooldownManager = new CooldownManager(this);
        ritualManager = new RitualManager(this);
        abilityManager = new AbilityManager(this);
        formManager = new FormManager(this);

        getCommand("spear").setExecutor(new SpearCommand(this));
        getCommand("recipe").setExecutor(new RecipeCommand(this));

        getServer().getPluginManager().registerEvents(new PlayerDeathListener(this), this);
        getServer().getPluginManager().registerEvents(new PlayerJoinListener(this), this);
        getServer().getPluginManager().registerEvents(new SpearInteractListener(this), this);
        getServer().getPluginManager().registerEvents(new MobDeathListener(this), this);
        getServer().getPluginManager().registerEvents(new RitualListener(this), this);
        getServer().getPluginManager().registerEvents(new LifeItemListener(this), this);
        getServer().getPluginManager().registerEvents(new FormListener(this), this);

        spearManager.registerRecipes();
        spearManager.registerReviveCardRecipe();

        getServer().getScheduler().runTaskTimer(this, () -> {
            lifeManager.updateActionBars();
        }, 0L, getConfig().getInt("life-system.action-bar-update-interval"));

        getLogger().info("SpearSMP has been enabled!");
    }

    @Override
    public void onDisable() {
        if (ritualManager != null) {
            ritualManager.cancelAllRituals();
        }
        if (formManager != null) {
            formManager.disableAllForms();
        }
        getLogger().info("SpearSMP has been disabled!");
    }
}