sebastian

Make a plugin that is focus on Minecraft powers. everytime a players gets killed by another player or just dies he drop a point. that point can be use to gain a power with the lowest being 1 maximum being 10 those point boost your power that each person chouses, there are powers like flight that for every point you get 2 secdonds of flight with max speed of 6m/s, life that works as everytime you put a point you get 1 extra temporary heart, mining that boosts your mining speed and when maxed is twice as effective as a haste 2 beacon, speed that for everypoint you get plus 2m/s to your speed, darkness that for every point everyone in a 20 block reach gets temporary blindness for 5 seconds extra per point , tank that for every point you get more resistance and when maxed ist the same as a twice the resistance of a turtle master potion, and stregth that when maxed ist effective as 1.5 times a stregth potion 2, make it as open source as possible and olso make it that it can fit to olsomost any vertion

Kodari AI
KodariFri at 9:21 pm 30
PowerDrops
A Minecraft plugin where players drop points upon death (by player or natural causes). These points are spent to upgrade seven selectable powers, each scaling from level 1 to 10. Flight grants 2 seconds of flight per point up to 6m/s speed. Life adds one temporary heart per point. Mining boosts mining speed, maxing at double a Haste II beacon. Speed adds 2m/s per point. Darkness blinds all players within 20 blocks for 5 extra seconds per point. Tank increases resistance, maxing at double Turtle Master potency. Strength maxes at 1.5x Strength II. Fully configurable and version-agnostic for broad compatibility.
  • Add collectible death-drop points and level 1–10 progression.

  • Implement all seven powers, with configurable cooldowns for activated abilities.

  • Target Minecraft 1.8+ and include a permissive open-source license.

Created Powers, targeting Minecraft 1.8+ and released under the MIT license.

  • /power choose <power> unlocks a power for one death-dropped point; switching keeps your level.

  • /power upgrade spends a point, up to level 10.

  • /power use activates flight, life, or darkness. /power help lists all powers.

  • Cooldowns and life-heart duration are configurable.

Tank reduction caps at 100%, so levels 9–10 are immune to ordinary damage.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
LICENSE
settings.gradle
Code
14 1,139
src/main/java/com/kodari/powers/PowerPlugin.java
package com.kodari.powers;

import org.bukkit.command.PluginCommand;
import org.bukkit.configuration.InvalidConfigurationException;
import org.bukkit.plugin.java.JavaPlugin;

import java.io.IOException;
import java.util.logging.Level;

public final class PowerPlugin extends JavaPlugin {
    private DataStore dataStore;
    private PowerManager powerManager;

    @Override
    public void onEnable() {
        saveDefaultConfig();
        try {
            dataStore = new DataStore(this);
        } catch (IOException | InvalidConfigurationException exception) {
            getLogger().log(Level.SEVERE, "Could not load player data; disabling Powers to avoid overwriting it.", exception);
            getServer().getPluginManager().disablePlugin(this);
            return;
        }

        PointItem points = new PointItem(this);
        powerManager = new PowerManager(this, dataStore);
        PowerCommand executor = new PowerCommand(this, dataStore, points, powerManager);
        PluginCommand command = getCommand("power");
        command.setExecutor(executor);
        command.setTabCompleter(executor);
        getServer().getPluginManager().registerEvents(new PowerListener(this, points, powerManager), this);
        powerManager.start();
    }

    @Override
    public void onDisable() {
        if (powerManager != null) {
            powerManager.shutdown();
        }
        if (dataStore != null) {
            dataStore.save();
        }
    }
}