H

a plugin that add aura to persons who kills and remove to person who dies and at 0 you are banned and it adds effects for diferent of effects

Kodari AI
KodariApr 15 at 9:15 pm 11,024 (v2)

I’ll create a PvP aura system plugin where players gain aura from kills and lose aura from deaths, with automatic banning at 0 aura and tiered potion effects.

AuraPvP
A competitive PvP plugin featuring an aura system that rewards kills and punishes deaths. Players gain aura points for each kill and lose aura when they die. When a player's aura reaches zero, they are automatically banned. The plugin provides tiered potion effects based on aura levels, creating a progression system that rewards skilled players with powerful buffs while maintaining high-stakes consequences for deaths.

All files created! The plugin provides:

Core Features:

  • Players start with 100 aura (configurable)

  • Gain 15 aura per kill, lose 10 on death

  • Automatic ban when aura reaches 0

  • Tiered potion effects based on aura levels (0-300+)

  • Persistent data storage in YAML

  • Admin commands to manage player aura

Commands:

  • /aura check [player] - View aura

  • /aura set <player> <amount> - Set aura

  • /aura add <player> <amount> - Add aura

  • /aura remove <player> <amount> - Remove aura

Effect System: Effects automatically update based on aura thresholds (50/100/200/300). Higher aura = stronger buffs. All configurable in config.yml.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
Code
10 613
src/main/java/com/example/aurapvp/AuraPvP.java
package com.example.aurapvp;

import com.example.aurapvp.command.AuraCommand;
import com.example.aurapvp.listener.AuraListener;
import com.example.aurapvp.manager.AuraManager;
import com.example.aurapvp.manager.DataManager;
import com.example.aurapvp.manager.EffectManager;
import lombok.Getter;
import org.bukkit.plugin.java.JavaPlugin;

@Getter
public class AuraPvP extends JavaPlugin {

    private AuraManager auraManager;
    private DataManager dataManager;
    private EffectManager effectManager;

    @Override
    public void onEnable() {
        saveDefaultConfig();
        
        this.dataManager = new DataManager(this);
        this.auraManager = new AuraManager(this);
        this.effectManager = new EffectManager(this);
        
        dataManager.loadAll();
        
        getServer().getPluginManager().registerEvents(new AuraListener(this), this);
        getCommand("aura").setExecutor(new AuraCommand(this));
        
        getLogger().info("AuraPvP has been enabled!");
    }

    @Override
    public void onDisable() {
        if (dataManager != null) {
            dataManager.saveAll();
        }
        getLogger().info("AuraPvP has been disabled!");
    }
}