realzombie1

Make a plugin with the name of eggsteal smp and add a first token with the name Zombie Egg jise ki first ability ya ho ki ham 10 zombie spawn kr sakta ha and first key bined shift + right and 2nd ability yah ho ki ham apne as psa jitne banda ho un sab ko weekness effect lag jaya 2nd key bined Shift+ Left and plugin ka version 1.21.8

Kodari AI
KodariJan 15 at 8:33 am 6,181 (v2)

I’ll create the EggStealSMP plugin with a Zombie Egg token system.

EggStealSMP
A custom SMP plugin featuring unique token eggs with special abilities. Players can collect and use powerful eggs like the Zombie Egg which allows spawning zombies and applying weakness effects to nearby players. Each egg has multiple abilities activated through shift-clicking combinations. Includes cooldown management, particle effects, and fully configurable settings.

Plugin created successfully!

EggStealSMP v1.21.8 features:

  • Zombie Egg with two abilities:

    1. Shift + Right Click: Spawns 10 zombies in a circle around you

    2. Shift + Left Click: Applies weakness effect to all nearby players (10 block radius)

  • Cooldown system (30s for zombies, 45s for weakness)

  • Fully configurable in config.yml

  • Command: /eggsteal give <player> zombie to get the egg

The plugin uses XSeries for cross-version compatibility and includes particle effects and sounds for ability activation.

realzombie1

Add cooldown all ability 1 minute

Kodari AI
KodariJan 15 at 8:34 am 3,500 (v2)

I will update both abilities to have a 1 minute (60 seconds) cooldown.

Both abilities now have a 1 minute (60 seconds) cooldown.

realzombie1

And add command to obtain egg /eggsteal give Zombieegg @a

Kodari AI
KodariJan 15 at 8:36 am 2,367 (v2)

I’ll add a give subcommand to provide eggs to players with target selector support.

Now I’ll update the command to support target selectors (@a, @p, @r, @s) and the “Zombieegg” format:

Added /eggsteal give zombieegg @a command with full target selector support (@a, @p, @r, @s) and player names. The command now accepts “zombieegg” as the egg type and can give eggs to multiple players at once.

realzombie1

Add 2 token with the name of Skeleton egg jise ki ability yah ho gai agr ham shift+ right kr gai tho 100 arrow shut ho gai and 2nd ability yah ho gai ki ham shift+ Left kr gai tho 10000 Arrow player circular mai bana ka shut kr gai and is first ability ka cooldown 1 minute hogai and 2nd ka cooldown 2:30 minute hogai and add 3rd token with the name of blaze Egg jise ki ability yah ho gai ki agr ham shift+ right kr gai tho ek fire ball spawn hoge and 2nd ability yah hoge ki agr ham shift+Left kr gai tho asaman yah 10 fire ball enemy pa gre gai and in sab ka cooldown 1 minute tak ho and add 4rd token with the name of warden egg jise ki first ability yah ho gai ki agr ham shift+right kraya gai tho ek sonice bomb nickel gai and 2nd ability yah ha ki agr ham shift+ Left kr gai tho 10 Sonic bomb enemy pa aya gai and add 5th token with the name of wither egg jise ki ability yah ho ki agr ham shift+ right kraya tho ham 10 wither head enemy pa mera saka and 2nd ability yah ho ki agr ham shift+Left kraya tho ham apne player ko 4minute ki strength 5 mile skha and add 6th token with the name of creeper token jise ki ability yah hoge ki agr ham shift+right click kraya tho ek blast hoga jise se harma enemy ko damge ho gai jise pa cepper token usko nhi and add 2nd ability agr ham shift+left kraya tho 50 charge creepers spwan hoaenge add all token costum command and add cooldown

Kodari AI
KodariJan 17 at 9:18 am 16,326 (v2)

I’ll add all the new egg tokens with their abilities and custom commands. Let me first read the existing code to understand the structure.

Now I’ll add all the new egg tokens with their abilities:

All 6 egg tokens have been added with their abilities and custom commands:

Skeleton Egg - Shift+Right: 100 arrows (1 min cooldown), Shift+Left: 10000 circular arrows (2:30 cooldown)

Blaze Egg - Shift+Right: Spawn fireball (1 min cooldown), Shift+Left: 10 fireballs from sky (1 min cooldown)

Warden Egg - Shift+Right: Sonic boom (1 min cooldown), Shift+Left: 10 sonic booms on enemy (1 min cooldown)

Wither Egg - Shift+Right: 10 wither skulls (1 min cooldown), Shift+Left: Strength V for 4 minutes (1 min cooldown)

Creeper Egg - Shift+Right: Explosion (no self damage, 1 min cooldown), Shift+Left: 50 charged creepers (1 min cooldown)

Commands: /eggsteal give skeletonegg/blazeegg/wardenegg/witheregg/creeperegg <player>

realzombie1

Replace a token weapon turtle egg to Echo Shard

Kodari AI
KodariJan 17 at 9:26 am 10,186 (v2)

I’ll read the relevant files to understand how the turtle egg is currently implemented and then replace it with Echo Shard.

Now I’ll replace all instances of TURTLE_EGG with ECHO_SHARD throughout the codebase.

Successfully replaced all turtle egg tokens with Echo Shard. All 6 egg types (Zombie, Skeleton, Blaze, Warden, Wither, and Creeper) now use ECHO_SHARD as their base material instead of TURTLE_EGG.

realzombie1

Add command /reloadcostumtoken to give every player to costum token.

Kodari AI
KodariJan 17 at 9:27 am 6,298 (v2)

I’ll add a /reloadcostumtoken command that gives a custom token to every online player.

Plan:

  • Add custom token creation method to EggManager

  • Create new command class for /reloadcostumtoken

  • Register command in main class and plugin.yml

  • Add config section for custom token

realzombie1

The compilation failed with this error:

code
Validation failed for compilation: Compilation failed with 3 error(s):

ERROR in src/main/java/com/eggstealsmp/commands/CustomTokenCommand.java at line 24: cannot find symbol
        ItemStack customToken = plugin.getEggManager().createCustomToken();
                                                      ^
  symbol: method createCustomToken()
  location: class EggManager

ERROR in   src/main/java/com/eggstealsmp/commands/CustomTokenCommand.java at line 24: cannot find symbol
          ItemStack customToken = plugin.getEggManager().createCustomToken();
                                                        ^
  symbol: method createCustomToken()
  location: class EggManager

ERROR in src/main/java/com/eggstealsmp/commands/CustomTokenCommand.java at line 24: cannot find symbol
        ItemStack customToken = plugin.getEggManager().createCustomToken();
                                                      ^
  symbol: method createCustomToken()
  location: class EggManager


=== COMPILATION ERROR ANALYSIS ===

MISSING METHODS:
  - createCustomToken()
ACTION: Check method names and signatures

FILES TO INVESTIGATE:
  - src/main/java/com/eggstealsmp/commands/CustomTokenCommand.java
  -   src/main/java/com/eggstealsmp/commands/CustomTokenCommand.java
 exceeds maximum 

Please fix this error by creating a new artifact with the corrected code.

realzombie1

The compilation failed with this error:

code
Validation failed for compilation: Compilation failed with 3 error(s):

ERROR in src/main/java/com/eggstealsmp/commands/CustomTokenCommand.java at line 24: cannot find symbol
        ItemStack customToken = plugin.getEggManager().createCustomToken();
                                                      ^
  symbol: method createCustomToken()
  location: class EggManager

ERROR in   src/main/java/com/eggstealsmp/commands/CustomTokenCommand.java at line 24: cannot find symbol
          ItemStack customToken = plugin.getEggManager().createCustomToken();
                                                        ^
  symbol: method createCustomToken()
  location: class EggManager

ERROR in src/main/java/com/eggstealsmp/commands/CustomTokenCommand.java at line 24: cannot find symbol
        ItemStack customToken = plugin.getEggManager().createCustomToken();
                                                      ^
  symbol: method createCustomToken()
  location: class EggManager


=== COMPILATION ERROR ANALYSIS ===

MISSING METHODS:
  - createCustomToken()
ACTION: Check method names and signatures

FILES TO INVESTIGATE:
  - src/main/java/com/eggstealsmp/commands/CustomTokenCommand.java
  -   src/main/java/com/eggstealsmp/commands/CustomTokenCommand.java
 exceeds maximum 

Please fix this error by creating a new artifact with the corrected code.

Kodari AI
KodariJan 18 at 8:41 am 7,878 (v2)

I’ll read the relevant files to understand the issue and fix it.

Analysis

The error is clear: CustomTokenCommand is calling createCustomToken() method on EggManager, but this method doesn’t exist. I need to:

  1. Add the createCustomToken() method to EggManager

  2. Register the CustomTokenCommand in the main plugin class

  3. Add the command to plugin.yml

Fixed the compilation error by adding the missing createCustomToken() method to EggManager, registering the command in the main class, and adding it to plugin.yml.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
Code
9 1,075
src/main/java/com/eggstealsmp/EggStealSMP.java
package com.eggstealsmp;

import com.eggstealsmp.commands.CustomTokenCommand;
import com.eggstealsmp.commands.EggStealCommand;
import com.eggstealsmp.listeners.EggAbilityListener;
import com.eggstealsmp.managers.CooldownManager;
import com.eggstealsmp.managers.EggManager;
import lombok.Getter;
import org.bukkit.plugin.java.JavaPlugin;

@Getter
public class EggStealSMP extends JavaPlugin {
    
    private EggManager eggManager;
    private CooldownManager cooldownManager;
    
    @Override
    public void onEnable() {
        saveDefaultConfig();
        
        this.cooldownManager = new CooldownManager();
        this.eggManager = new EggManager(this);
        
        getCommand("eggsteal").setExecutor(new EggStealCommand(this));
        getCommand("customtoken").setExecutor(new CustomTokenCommand(this));
        getServer().getPluginManager().registerEvents(new EggAbilityListener(this), this);
        
        getLogger().info("EggStealSMP v" + getDescription().getVersion() + " enabled!");
    }
    
    @Override
    public void onDisable() {
        getLogger().info("EggStealSMP disabled!");
    }
    
    public String getMessage(String path) {
        return getConfig().getString("messages." + path, "")
                .replace("&", "§");
    }
    
    public String getPrefix() {
        return getMessage("prefix");
    }
}