samuelrusnak12345-commits
📎 1 file 1,752 chars
📄
pasted-code-1787570245583.txt
txt 28 lines
▶
Create a complete working **Minecraft Paper PvP plugin** with 6 anime-style abilities:

1. **Void Slash** — launch a powerful energy slash that damages and knocks back enemies. Use purple slash particles, fast sword/energy sounds, and an impact effect.

2. **Gravity Well** — create a dark energy sphere that pulls nearby enemy players toward the center and deals damage over time. Use dark spiral particles and deep impact sounds.

3. **Meteor Strike** — target an area and summon a meteor that damages nearby enemy players and knocks them back. Use fire, smoke, warning particles, and a powerful impact sound.

4. **Blink** — instantly teleport forward and optionally damage enemies at the destination. Use glowing trails, portal particles, and a fast teleport sound.

5. **Chain Lightning** — lightning jumps between nearby enemy players, dealing damage with each hit. Use bright electric particles and powerful lightning sounds.

6. **Black Hole** — create a PvP-focused black hole that pulls nearby enemy players toward its center, slows them, and deals damage over time. End with a powerful implosion that knocks enemies away. Use dark purple swirling particles, an intense gravity effect, and a dramatic implosion sound.

Use:

* Minecraft Java 1.21.x
* Paper
* Java 21
* Maven
* Minecraft/Paper APIs

Include the complete plugin source code, `pom.xml`, `plugin.yml`, configuration, commands, listeners, ability system, cooldown system, damage system, and particle/sound effects.

Make all abilities configurable, balanced for PvP, and optimized for multiplayer servers. Prevent abilities from damaging the caster unless specifically configured.

The plugin must compile and work without missing code or placeholders.
Kodari AI
KodariAug 24 at 11:20 am 2
  1. Create the Maven/Paper project metadata and default configuration.

  2. Add the ability model, cooldown service, command handler, and lifecycle listener.

  3. Implement all six configurable PvP abilities with scheduled effects and cross-version XSeries particles/sounds.

  4. Register the systems through the main plugin class and command manifest.

The initial source set is created. One XSeries import needs to use its particle subpackage, and the platform manifest should rely on automatic XSeries detection rather than explicitly listing it.Created a complete Paper 1.21.x / Java 21 Maven plugin with:

  • Six configurable PvP abilities:

    • Void Slash

    • Gravity Well

    • Meteor Strike

    • Blink

    • Chain Lightning

    • Black Hole

  • Per-ability cooldown management

  • /animeability command with aliases /ability and /abilities

  • Tab completion

  • Configurable damage, ranges, durations, knockback, particles, sounds, and cooldowns

  • Scheduled particle and damage effects

  • Caster-damage protection by default

  • XSeries-based cross-version particles, sounds, and potion effects

  • Player quit cooldown cleanup

  • pom.xml, plugin.yml, config.yml, and manifest.kod

  • Complete Java source under com.kodari.animeabilities

samuelrusnak12345-commits

add some texture to meteors and others and add /ability-use to use the abilities and make so when someone joins first time it says your ability is and random ability

Kodari AI
KodariAug 24 at 11:31 am 1
  1. Add richer visual texture and impact effects to meteors and the other abilities.

  2. Add /ability-use as an ability activation command.

  3. Assign each first-time player a random ability and announce it on join.

Implemented:

  • Added richer visual effects:

    • Meteor warning rings, rotating flame shell, smoke trail, lava burst, flame explosion, and campfire smoke.

    • Void Slash edge trails and critical-hit particles.

    • Gravity Well reverse-portal spirals and dark smoke.

    • Blink critical trails.

    • Chain Lightning electric and end-rod beam effects.

    • Black Hole swirling portals, smoke, dragon breath, and implosion particles.

  • Added /ability-use.

    • Uses the player’s assigned ability.

    • Respects cooldowns and permissions.

  • Added first-join random ability assignment.

    • Stored permanently using the player’s PersistentDataContainer.

    • Sends a message such as: Your ability is Meteor Strike! Use /ability-use to unleash it.

  • Existing /animeability, /ability, and /abilities commands still support manually selecting an ability.

samuelrusnak12345-commits

how to download

Kodari AI
KodariAug 24 at 11:36 am 1

To download the plugin:

  1. Use the project’s Download/Export button to download the generated project files.

  2. Extract the ZIP.

  3. Open a terminal in the extracted project folder.

  4. Build the plugin with:

Shell
mvn clean package
  1. The compiled plugin will be located at:

Plain Text
target/anime-abilities-1.0.0.jar
  1. Copy the JAR into your Paper server’s:

Plain Text
plugins/
  1. Restart the server.

Requirements:

  • Java 21

  • Maven

  • Paper 1.21.x

After starting the server, players can use:

Plain Text
/ability-use

The first time a player joins, they receive a random ability automatically.

Kodari can make mistakes. Review important code before using.
Files
src
manifest.kod
pom.xml
Code
11 817
src/main/java/com/kodari/animeabilities/AnimeAbilitiesPlugin.java
package com.kodari.animeabilities;

import org.bukkit.Bukkit;
import org.bukkit.plugin.java.JavaPlugin;

public final class AnimeAbilitiesPlugin extends JavaPlugin {
    private CooldownManager cooldownManager;
    private AbilityManager abilityManager;
    private AbilityAssignmentManager assignmentManager;

    @Override
    public void onEnable() {
        saveDefaultConfig();
        cooldownManager = new CooldownManager();
        assignmentManager = new AbilityAssignmentManager(this);
        abilityManager = new AbilityManager(this, cooldownManager);

        AbilityCommand abilityCommand = new AbilityCommand(this, abilityManager, assignmentManager);
        getCommand("animeability").setExecutor(abilityCommand);
        getCommand("animeability").setTabCompleter(abilityCommand);
        getCommand("ability-use").setExecutor(abilityCommand);
        getCommand("ability-use").setTabCompleter(abilityCommand);
        Bukkit.getPluginManager().registerEvents(new AbilityListener(this, cooldownManager, assignmentManager), this);
    }

    public CooldownManager getCooldownManager() {
        return cooldownManager;
    }

    public AbilityAssignmentManager getAssignmentManager() {
        return assignmentManager;
    }
}