zephron3587

Create me a minecraft plugin for a smp for me and my friends it should be having a point system that has a max off 10.0 and u start with 1.0 everytime u kill a person u should get +0.5 and everytime u die u should get -0.5 unless your at 1.0 in that case everytime u die u should lose 0.1 until your at 0 and once that happens u should get banned off the server. Also there should be a way where u can revive dead players(the ones that got banned) by using a special item and giving them the player head off the person who died and when they get revived they should spawn on 1.0 and you u should be given extra buffs for the higher you number for example if u have 10.0 u should get an extra 5 hearts where if u get 9.5 it would be 4 extra hearts and for 9.0 extra 3 hearts and 8.5 all the way to 1.0 u should get 0 extra hearts. The point system should be called Essences.There should also be custom crafting recipes that will give u a differents assence which come with different abilities like a Fury essence and it should be crafted with 3 normal essence which u get from killing the players, 2 enchanted golden apples a diamond sword and 3 strength potions after crafting and applying it to your essence u should should get abilities and for the Fury essence it should increase your base melee damage and give u a strength buff when u hit a combo off 3 without getting hit in that and once u get hit the combo counter resets and your ability is removed. Another essence would be Phantom essence it should be crafted with 2 phantom membranes, 3 invisibility potions and 3 normal essence and an enchanted golden apple the ability off the phantom essence is that it will give u an ability to turn u fully invisible and give u resistance 5 for 3 seconds and after the 3 seconds u go back to you normal state with no invisibility or resistance. Another esssence is a Surge essence which should be crafted with 3 normal essences, an enchanted golden apple and 3 speed potions the Surge essence should give u a speed buff where u get permanent speed 3. Another essence is the Lunar essence which is crafted with 3 normal essence, an enchanted golden apple, 3 night vision potions and 2 echo shards which grants night vision and boosts you damage significantly only when its night time. The last special essence is the Solar essence which should be crafted with 3 normal essence, 1 enchanted golden apple, 2 fire resistance potions 2 magma cream and 1 bucket off lava the effect it has should explode fire on your enemies and grant you infinite fire resistance. Those are the custom essence and on the server there should only be 3 maces.the crafting recipes should be strict and to use the abilities off the special essences u have to do a command which will be /ability and this command should work for all players not just adminastration craft the different essence u need to put it in a specefic order for example each slot off a crafting table will be t1 all the way to t9(t1-t3 is the first row and t4-t6 is the second and t7-t9 is the last). For fury essence the recipe should be normal essence in t1,t2,t3 and the 2 enchanted golden apples should be in t4 and t6 the three strength potions(not splash potions or strength 2 just normal strength potions) should be in t7,t8,t9 and a diamond sword in t5For Surge the 3 normal essence should be placed on t1,t2,t3 and the enchanted golden apple in t5 with a breeze rod on t4 and a breeze rod on t6 with 3 normal speed potions(not splash potion or speed 2 just normal speed 1) on t7,t8,t9.For Solar the 3 normal essence should be placed on t1,t2,t3 and then the enchanted golden apple on t5 a magma cream on t4 and on t6 then 1 fire resistance potions(not splash or buffed just normal) on t7 and another on t9 then on t8 it should be a normal magma block.make the essences consumable and every time you merge with 1 normal essence it adds 0.5 to your total. with the special essences if you want to with draw 1 you must do /ability essence withdraw and all players can do this not just admins or people with op.to use an essences ability you must do /ability1. make ender pearl have a 5 second cooldown . There should be differents commands to be used by all players such as /essence(shows your essences score if u cannot see the bar located above ur hearts), /essence withdraw {amount} (withdraws your essence) , /ability essence withdraw(withdraws your special ability), /essence:revivetoken(give player a revive token and paired with the player head that drops when a player is banned will revive them), /ability1 (only works if u have a special essence and it does its special ability) , /essence:recipe(shows what u need to craft special essence)

Kodari AI
KodariJun 23 at 2:22 pm 83
EssencesSMP
A feature-rich hardcore SMP plugin centered around an "Essences" point system (0–10). Players start at 1.0, gain +0.5 per kill, lose score on death reaching a ban at 0. Five craftable special essences grant unique abilities: Fury (melee boost + combo strength), Phantom (invisibility + resistance), Surge (permanent speed), Lunar (night damage + night vision), and Solar (fire immunity + fire attacks). Includes a revive system, extra heart scaling, mace limits, and full command suite.

Here’s the full plugin — 17 files across managers, listeners, commands, and recipes:


Here’s a full summary of the system:

Core Essence System

Event
Effect
Kill a player
+0.5 score + 1 Normal Essence item dropped
Die (score > 1.0)
−0.5
Die (score ≤ 1.0)
−0.1 until 0 →
perma-ban
Consume Normal Essence (right-click)
+0.5 score
Score ≥ 9.0/9.5/10.0
+3/+4/+5 bonus hearts

Crafting (all strict shaped)
Each recipe: Normal × 3 on top row, key ingredients on middle row, potions on bottom — exactly as you specified.

Special Essence Abilities (/ability1)

  • Fury — Passive +2 melee damage; hits 3× without being hit → Strength I auto-activates; /ability1 → Strength II (10s, 30s CD)

  • Phantom — /ability1 → Invisibility + Resistance V for 3s (45s CD)

  • Surge — Passive Speed III; /ability1 → Speed V burst (5s, 20s CD)

  • Lunar — Passive Night Vision; passive 2× dmg at night; /ability1 → next hit 3× dmg (night only, 60s CD)

  • Solar — Passive Fire Resistance; melee ignites target 5s; /ability1 → fire ring scorches all nearby (40s CD)

Commands (all players)

Command
Action
/essence
Show score, bonus hearts, withdrawable amount
/essence withdraw <n>
Convert n score units (0.5 each) into Normal Essence items
/essence revivetoken
Get a Revive Token
/essence recipe
View all crafting recipes
/ability1
Activate special essence ability
/ability essence withdraw
Remove special essence, return item

Ender Pearl cooldown is set to 5 seconds (100 ticks) on every throw. Maces are globally limited to 3 — blocking crafting and pickup once the limit is reached. Banned players drop their Soul Head; pair with a Revive Token (right-click) to restore them at 1.0 essence.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
Code
18 1,652
src/main/java/com/essences/smp/EssencesSMP.java
package com.essences.smp;

import com.essences.smp.commands.AbilityCommand;
import com.essences.smp.commands.EssenceCommand;
import com.essences.smp.items.EssenceItems;
import com.essences.smp.listeners.CombatListener;
import com.essences.smp.listeners.EssenceListener;
import com.essences.smp.listeners.MaceListener;
import com.essences.smp.listeners.ReviveListener;
import com.essences.smp.managers.AbilityManager;
import com.essences.smp.managers.EssenceManager;
import com.essences.smp.managers.MaceManager;
import com.essences.smp.managers.ReviveManager;
import com.essences.smp.recipes.CustomRecipes;
import lombok.Getter;
import org.bukkit.plugin.java.JavaPlugin;

public class EssencesSMP extends JavaPlugin {

    @Getter private static EssencesSMP instance;
    @Getter private EssenceManager essenceManager;
    @Getter private AbilityManager abilityManager;
    @Getter private MaceManager maceManager;
    @Getter private ReviveManager reviveManager;

    @Override
    public void onEnable() {
        instance = this;
        saveDefaultConfig();

        EssenceItems.init(this);

        essenceManager = new EssenceManager(this);
        abilityManager = new AbilityManager(this);
        maceManager = new MaceManager(this);
        reviveManager = new ReviveManager(this);

        new CustomRecipes(this).register();

        getServer().getPluginManager().registerEvents(new EssenceListener(this), this);
        getServer().getPluginManager().registerEvents(new CombatListener(this), this);
        getServer().getPluginManager().registerEvents(new MaceListener(this), this);
        getServer().getPluginManager().registerEvents(new ReviveListener(this), this);

        EssenceCommand essenceCmd = new EssenceCommand(this);
        getCommand("essence").setExecutor(essenceCmd);
        getCommand("essence").setTabCompleter(essenceCmd);

        AbilityCommand abilityCmd = new AbilityCommand(this);
        getCommand("ability1").setExecutor(abilityCmd);
        getCommand("ability").setExecutor(abilityCmd);
        getCommand("ability").setTabCompleter(abilityCmd);
    }

    @Override
    public void onDisable() {
        if (essenceManager != null) {
            essenceManager.saveAll();
        }
    }
}