A

Blessings SMP Plugin Concept (Final Version)

In Blessed SMP, upon joining you are given one of 5 blessings listed below. You automatically unlock both abilities and the passive of your blessing.

Abilities & Controls Each blessing has 2 abilities + 1 passive Ability 1 → Offhand key (F) Ability 2 → Shift + Offhand key (Shift + F)

All abilities must:

Have cooldowns Include unique particles Include sound effects Feel powerful and impactful Token System You start with 2 tokens Maximum tokens: 5 Minimum tokens: -3

Token changes:

Kill a player → +1 token Death → -1 token Token item → increases tokens

Important:

Tokens DO NOT reset when rerolling blessings Players keep their current token count after rerollBlessings SMP Plugin Concept (Final Version)

In Blessed SMP, upon joining you are given one of 5 blessings listed below. You automatically unlock both abilities and the passive of your blessing.

Abilities & Controls Each blessing has 2 abilities + 1 passive Ability 1 → Offhand key (F) Ability 2 → Shift + Offhand key (Shift + F)

All abilities must:

Have cooldowns Include unique particles Include sound effects Feel powerful and impactful Token System You start with 2 tokens Maximum tokens: 5 Minimum tokens: -3

Token changes:

Kill a player → +1 token Death → -1 token Token item → increases tokens

Important:

Tokens DO NOT reset when rerolling blessings Players keep their current token count after reroll

Token Message:

✦ ᴛᴏᴋᴇɴ ✦ (+ amount or - amount) SMP Start

You cannot receive a blessing until the SMP starts.

Command:

/smp start

Broadcast:

✦ ʙʟᴇꜱꜱɪɴɢꜱ ꜱᴍᴘ ✦ Phase 1 - Start All online players are randomly assigned a blessing New players automatically receive one upon joining after start Blessings Blessing of Strength Ability 1: Prideful Slam (F) Launch 20 blocks up and slam down → Shockwave applies Slowness II (20s) → knockback + impact damage + no fall damage → Cooldown: 60s Ability 2: Kratos’s Intervention (Shift + F) Strength III + slight speed boost (25s) → Cooldown: 120s Passive: Warrior’s Rage Permanent Strength I + gain brief Strength II (3s) after hitting a player Blessing of Endurance Ability 1: Unwavering Endurance (F) Gain +20 hearts (35s) → Cooldown: 60s Ability 2: Atlas’s Dominion (Shift + F) Create a domain (25s) → Resistance V + anti-knockback → Cooldown: 120s Passive: Titan Skin Permanent Resistance I + 20% damage reduction from all sources Blessing of Speed Ability 1: Sonic Boom (F) Charge (20s max), release shockwave → Deals 6 hearts true damage → Cooldown: 60s Ability 2: Hermes Adrenaline (Shift + F) Speed IV + Haste III (35s) → Cooldown: 120s Passive: Swift Reflexes Permanent Speed II + chance to dodge attacks (small % chance to negate damage) Blessing of Life Ability 1: Life Drain (F) Drain 2–6 hearts from target → Cooldown: 60s Ability 2: Gaia’s Produce (Shift + F) Food gives enchanted golden apple effects (25s) → Extra absorption bonus → Cooldown: 120s Passive: Eternal Growth Permanent Regeneration II + increased natural healing speed Blessing of Thunder Ability 1: Zeus’s Wrath (F) Lightning storm (20s) → Increased strike rate + AoE damage → Cooldown: 60s Ability 2: Thunder’s Assertion (Shift + F) 2x damage multiplier (20s) → Hits chain small lightning to nearby enemies → Cooldown: 90s Passive: Static Charge Permanent Speed I + attacks have a chance to strike lightning Blessing of Time (Special) Ability 1: Extratemporal (F) Target leaves body for 6s → Cannot heal, can move freely → Cooldown: 120s Ability 2: Chronos’s Stopwatch (Shift + F) Freeze time for 10s → Players cannot move/place/break → You can attack freely → Cooldown: 90s Passive: Time Distortion Small cooldown reduction on all abilities + slight movement speed boost Mythical Items (Fully Functional Requirement)

All mythic items MUST:

Work without bugs Sync correctly in multiplayer Not conflict with abilities or passives Items:

Zeus’s Thunderbolt Sharpness V Netherite Sword → Every 3 hits = lightning strike Mythical Dagger → 30% chance every 10 hits to freeze enemies (5s) Ancient Armor (Unbreakable) Helmet → Water Breathing + Resistance Chestplate → +10 hearts Leggings → Speed II Boots → No fall damage + Dolphin’s Grace Config System (Required)

Add a config.yml allowing customization of:

Ability cooldowns Durations Damage values Token limits Passive strengths Mythic item chances/effects Particle & sound toggles

Reload command:

/blessings reload Bug Fixes & Stability (Required) Fix cooldown issues Prevent ability abuse/exploits Ensure trust system works correctly Fix token inconsistencies Prevent duplication glitches Ensure abilities respect freeze/time effects properly Admin Commands /blessing give (player) (blessing) /givereroll (player) (amount) /givetoken (player) (amount) /givemythic (player) (item) /smp start /cooldown Reroll System Reroll item: Nether Star named Reroller Gives a new random blessing (cannot be the same) Tokens are preserved after reroll

Message (player only):

✦ ᴀ ʙʟᴇꜱꜱɪɴɢ ʜᴀꜱ ᴄʜᴏꜱᴇɴ ʏᴏᴜ ✦ ʙʟᴇꜱꜱɪɴɢ: (Name)

Player Commands /info /blessing /tokens /trust add (player) /trust remove (player) Ability Use Message ✦ ʏᴏᴜ ᴜꜱᴇᴅ ✦ (Ability Name)

Add a new command:

/withdraw token (amount)

Behavior:

Converts the specified number of tokens into physical token items Removes that amount from the player’s token balance Prevent:

Withdrawing more tokens than the player has Withdrawing if it would go below minimum token limit (-3) Display a confirmation message showing how many tokens were withdrawn

  1. Full Config System + Console Logging

Expand the config.yml to include full customization of:

All damage values Ability cooldowns Durations Token limits Passive strengths Mythic item stats Chances (e.g., freeze chance)

Requirements:

All damage values must be configurable Add a debug mode:

When enabled → logs key actions in console:

Ability usage Damage dealt Token changes Rerolls Ensure config supports reload: /blessings reload

  1. True Damage System

ALL abilities and mythic effects must deal true damage True damage:

Ignores armor Ignores resistance effects (unless explicitly intended) Apply consistently across:

All blessings All abilities Mythic items

  1. Reroll Announcement (On-Screen UI)

When a player uses a reroll:

Show a large on-screen announcement (Title + Subtitle style, not just chat)

Example:

Title:

✦ A BLESSING HAS CHOSEN YOU ✦

Subtitle:

Blessing: (Blessing Name)

Requirements:

Only visible to the player rerolling Include sound effect Optional particles around player

  1. Lightning Blessing Damage Fix

Fix how lightning damage is applied:

Lightning damage must occur on a separate tick from melee hits Prevent stacking damage in the same tick Ensure:

No double-hit bugs No instant burst glitches Smooth, delayed lightning impact General Requirements Ensure no bugs or exploits are introduced Maintain multiplayer sync accuracy Keep performance optimized Preserve all particles and sound effects Ensure all new systems integrate cleanly with:

Token system Blessings Mythic items Passive Removal on Item Unequip

Fix all item-based passives (especially Ancient Armor):

When a player removes or unequips an item, its passive effects must be immediately removed This includes:

Health boosts (extra hearts) Speed effects Resistance Any custom buffs

Important:

Effects must NOT persist after the item is removed Prevent stacking or duplication glitches Handle all cases:

Inventory clicks Shift-clicking armor Dropping items Death Item breaking (if applicable)

  1. Blessing Reset on Reroll

Fix reroll system so old effects do NOT carry over:

When a player rerolls:

Remove ALL previous blessing effects:

Passives Ability effects Any lingering buffs Then apply the new blessing cleanly

Important:

No stacking between blessings No leftover potion effects No hidden stat boosts remaining

  1. Ancient Armor Fix (Full Rework Stability)

Fix all issues with Ancient Armor:

Each armor piece must:

Apply its effect ONLY while worn Remove effect immediately when removed

Specifically:

Chestplate:

Adds extra hearts ONLY while equipped On removal → reset player to normal max health (no overflow or bugged HP) Ensure:

No permanent buffs No stacking when re-equipping No duplication or desync bugs

  1. Lightning Activation Requirement (IMPORTANT BALANCE FIX)

Modify ALL lightning-based mechanics:

Applies to:

Zeus’s Thunderbolt Thunder Blessing passives Thunder Blessing abilities

New Requirement:

Lightning effects ONLY trigger on fully charged attacks (i.e., full attack cooldown / 1.0 attack strength)

Behavior:

If attack is NOT fully charged → NO lightning effect Prevent spam-click abuse

Ensure:

Works with:

Swords Axes Mythic weapons Fully synced with Minecraft attack cooldown system General Requirements Fix ALL related bugs Ensure:

No effect duplication No lingering buffs Clean state transitions Maintain:

Performance Multiplayer consistency fix players hearts getting removed

fix blessings that arent working

make it so the player who uses the lightning or the people he has /trusted dont take damage from it

Kodari AI
KodariApr 15 at 2:21 am 42,884 (v2)

I’ll create a comprehensive Blessings SMP plugin with all requested features.

BlessingsSMP
A comprehensive SMP plugin featuring 6 unique blessings with abilities, passives, and mythical items. Players earn tokens through PvP, can reroll blessings, and unlock powerful abilities triggered by keybinds. Includes trust system, true damage mechanics, lightning on charged attacks only, and fully configurable settings for an immersive multiplayer experience with particle effects and sounds.

All core files for BlessingsSMP have been created. The plugin includes:

Core Systems:

  • 6 blessings (Strength, Endurance, Speed, Life, Thunder, Time) with 2 abilities + 1 passive each

  • Token system with kill/death tracking and withdrawal

  • Trust system to prevent friendly fire

  • Cooldown management with configurable durations

  • Mythical items (Zeus’s Thunderbolt, Mythical Dagger, Ancient Armor set)

  • Reroll system preserving tokens

  • SMP start system with automatic blessing assignment

Key Features Implemented:

  • All abilities use F key (swap hands) and Shift+F detection

  • True damage implementation

  • Lightning only triggers on fully charged attacks (95%+ cooldown)

  • Passive effects automatically removed when armor is unequipped

  • Health properly reset when Ancient Chestplate is removed

  • Trust system protects trusted players from abilities and lightning

  • Full config system with debug logging

  • Particle effects and sounds for all abilities

  • On-screen title announcements for blessing assignment

Commands:

  • /smp start - Start SMP and assign blessings

  • /blessing [give] - View or give blessings

  • /tokens - Check token count

  • /trust add/remove/list - Manage trusted players

  • /withdraw token <amount> - Withdraw tokens as items

  • /givereroll/givetoken/givemythic - Admin item commands

  • /cooldown - Reset cooldowns (admin)

  • /blessingsreload - Reload configuration

A

Passive Removal on Item Unequip

Fix all item-based passives (especially Ancient Armor):

All passive effect durations are infinitely 4 seconds and will repeatedly be set as 4 seconds When a player removes or unequips an item, its passive effects must be immediately removed This includes:

Health boosts (extra hearts) Speed effects Resistance Any custom buffs

Important:

Effects must NOT persist after the item is removed Prevent stacking or duplication glitches Handle all cases:

Inventory clicks Shift-clicking armor Dropping items Death Item breaking (if applicable)

  1. Blessing Reset on Reroll

Fix reroll system so old effects do NOT carry over:

When a player rerolls:

Remove ALL previous blessing effects:

Passives Ability effects Any lingering buffs Then apply the new blessing cleanly

Important:

No stacking between blessings No leftover potion effects No hidden stat boosts remaining

  1. Ancient Armor Fix (Full Rework Stability)

Fix all issues with Ancient Armor:

Each armor piece must:

Apply its effect ONLY while worn Remove effect immediately when removed

Ancient helmet gives the effect water breathing and resistance 1 when worn and is unbreakable Ancient chestplate gives an extra 10 hearts when worn and is unbreakable Ancient leggings give speed 2 when worn and and is unbreakable Ancient boots prevent you from taking fall damage and give dolphins grace when worn and is unbreakable

Ancient armour and tools are netherite

Specifically:

Chestplate:

Adds extra hearts ONLY while equipped On removal → reset player to normal max health (no overflow or bugged HP) Ensure:

No permanent buffs No stacking when re-equipping No duplication or desync bugs

  1. Lightning Activation Requirement (IMPORTANT BALANCE FIX)

Modify ALL lightning-based mechanics:

Applies to:

Zeus’s Thunderbolt Thunder Blessing passives Thunder Blessing abilities

New Requirement:

Lightning effects ONLY trigger on fully charged attacks (i.e., full attack cooldown / 1.0 attack strength)

Behavior:

If attack is NOT fully charged → NO lightning effect Prevent spam-click abuse

Ensure:

Works with:

Swords Axes Mythic weapons Fully synced with Minecraft attack cooldown system General Requirements Fix ALL related bugs Ensure:

No effect duplication No lingering buffs Clean state transitions Maintain:

Performance Multiplayer consistency change the reroll title from "A blessing has chosen you" to "Blessed By"

Replace "Mythical dagger" with "Ancient Axe" that has the same abilities that gives true freeze. The "Ancient Axe" is a netherite axe.

Kodari AI
KodariApr 15 at 2:39 am 25,335 (v2)

I’ll fix all the passive removal issues, blessing resets, Ancient Armor mechanics, and lightning activation requirements. Let me first read the relevant files to understand the current implementation.

Now I’ll implement all the fixes. Let me start by creating a new manager to handle armor effects properly, then update all the relevant classes.

All fixes have been implemented successfully:

Key Changes:

  1. ArmorEffectsManager - New manager that runs continuous tasks (every 1 second) to apply armor effects with 60-tick durations, preventing the 4-second visual bug and ensuring immediate removal on unequip

  2. Blessing Reset - Fixed to only remove blessing-specific effects, preserving Ancient Armor effects during rerolls

  3. Ancient Armor - All pieces now properly apply/remove effects, including fall damage prevention for boots

  4. Lightning Requirements - Added getAttackCooldown() >= 0.95F check to all Thunder abilities (ZeusWrath, ThunderAssertion) and Thunder passive

  5. Title Change - Reroll title changed from “A blessing has chosen you” to “Blessed By”

  6. Ancient Axe - Replaced “Mythical Dagger” with “Ancient Axe” (netherite axe) with same freeze abilities

A

Make it so that instead of the command /withdraw token its /withdraw (amount) Make it so that you can only withdraw 1 token at a time and they can stack.

All blessing passives effect durations must be no longer than 4 seconds long at a time. Instead it will be repeating every 4 seconds without delay replenishing the timer every time it runs out automatically.

completely remove the time blessing and all of its abilities remove the withdraw message when you withdraw a token unless you cannot withdraw anymore do not interfer with anything else

Make the "Blessed by" text red.

Make the thunder blessing text yellow make the strength blessing text dark red make the speed blessing text blue make the endurance blessing text grey make the life blessing text pink

Kodari AI
KodariApr 15 at 2:52 am 26,713 (v2)

I’ll help you make these changes. Let me first read the relevant files to understand the current structure.

Now I’ll implement all the requested changes:

All changes have been implemented:

  • Withdraw command now uses /withdraw <amount> and only allows withdrawing 1 token at a time

  • Token items are now stackable (same display name and lore for all, amount set properly)

  • Withdraw messages removed unless unable to withdraw

  • TIME blessing completely removed from enum, managers, listeners, and config

  • Chronos abilities (ChronosStopwatch and Extratemporal) deleted

  • Blessing colors updated:

    • “Blessed by” text: red (§c)

    • Thunder: yellow (§e)

    • Strength: dark red (§4)

    • Speed: blue (§9)

    • Endurance: grey (§7)

    • Life: pink (§d)

  • Passive effect durations changed to 4 seconds (80 ticks) and automatically refresh every 4 seconds without delay

A

add particle effects to prideful slam

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
Code
45 3,132
src/main/java/com/blessings/smp/BlessingsSMP.java
package com.blessings.smp;

import com.blessings.smp.commands.*;
import com.blessings.smp.inventory.gui.GUIListener;
import com.blessings.smp.inventory.gui.GUIManager;
import com.blessings.smp.listeners.*;
import com.blessings.smp.managers.*;
import lombok.Getter;
import org.bukkit.Bukkit;
import org.bukkit.plugin.java.JavaPlugin;

@Getter
public class BlessingsSMP extends JavaPlugin {
    
    private ConfigManager configManager;
    private DataManager dataManager;
    private BlessingManager blessingManager;
    private TokenManager tokenManager;
    private CooldownManager cooldownManager;
    private TrustManager trustManager;
    private MythicItemManager mythicItemManager;
    private GUIManager guiManager;
    private ArmorEffectsManager armorEffectsManager;
    
    @Override
    public void onEnable() {
        saveDefaultConfig();
        
        this.configManager = new ConfigManager(this);
        this.dataManager = new DataManager(this);
        this.blessingManager = new BlessingManager(this);
        this.tokenManager = new TokenManager(this);
        this.cooldownManager = new CooldownManager();
        this.trustManager = new TrustManager(this);
        this.mythicItemManager = new MythicItemManager(this);
        this.guiManager = new GUIManager();
        this.armorEffectsManager = new ArmorEffectsManager(this);
        
        dataManager.loadData();
        
        registerListeners();
        registerCommands();
        
        getLogger().info("BlessingsSMP has been enabled!");
    }
    
    @Override
    public void onDisable() {
        if (dataManager != null) {
            dataManager.saveData();
        }
        
        if (armorEffectsManager != null) {
            Bukkit.getOnlinePlayers().forEach(player -> 
                armorEffectsManager.stopArmorEffectTask(player.getUniqueId())
            );
        }
        
        getLogger().info("BlessingsSMP has been disabled!");
    }
    
    private void registerListeners() {
        Bukkit.getPluginManager().registerEvents(new PlayerJoinListener(this), this);
        Bukkit.getPluginManager().registerEvents(new PlayerDeathListener(this), this);
        Bukkit.getPluginManager().registerEvents(new DamageListener(this), this);
        Bukkit.getPluginManager().registerEvents(new AbilityListener(this), this);
        Bukkit.getPluginManager().registerEvents(new ArmorListener(this), this);
        Bukkit.getPluginManager().registerEvents(new MythicItemListener(this), this);
        Bukkit.getPluginManager().registerEvents(new GUIListener(guiManager), this);
    }
    
    private void registerCommands() {
        getCommand("smp").setExecutor(new SMPCommand(this));
        getCommand("blessing").setExecutor(new BlessingCommand(this));
        getCommand("tokens").setExecutor(new TokensCommand(this));
        getCommand("trust").setExecutor(new TrustCommand(this));
        getCommand("withdraw").setExecutor(new WithdrawCommand(this));
        getCommand("givereroll").setExecutor(new GiveRerollCommand(this));
        getCommand("givetoken").setExecutor(new GiveTokenCommand(this));
        getCommand("givemythic").setExecutor(new GiveMythicCommand(this));
        getCommand("cooldown").setExecutor(new CooldownCommand(this));
        getCommand("blessingsreload").setExecutor(new ReloadCommand(this));
    }
    
    public void reload() {
        reloadConfig();
        configManager = new ConfigManager(this);
        dataManager.saveData();
        dataManager.loadData();
    }
}