xmastergamer.

God Selection:

Players spawn hone par ek command ya INVENTORY GUI se god select kar sakte hain.

Example: /choosegod Shiva ya INVENTORY GUI icons ke saath.

Gods and Abilities:

Lord Shiva:

Trishul Strike: Enemy ko high damage aur knockback.

Dance of Destruction (Tandava): AoE damage in 10-block radius.

Meditation: Rapid health regeneration for 15 seconds.

Lord Vishnu:

Sudarshan Chakra: Ranged spinning attack that pierces enemies.

Vishnu’s Blessing: Buff nearby allies with resistance and strength.

Teleportation (Vaikuntha Step): Instant teleport to targeted location.

Goddess Durga:

Lion’s Roar: Fear effect on nearby enemies.

Multiple Arms Attack: Summons temporary weapons for multi-target attack.

Shield of Protection: Temporary invulnerability for 5 seconds.

Lord Hanuman:

Mighty Leap: Jump extreme distance or height.

Strength of Hanuman: Temporarily increase melee damage.

Flying Dash: Fast movement in air to attack or evade.

Cooldown System:

Har ability ke liye cooldown set ho, jo balance maintain kare gameplay.

Custom Items:

Har god ke signature weapon ya artifact (Trishul, Sudarshan Chakra, Mace of Hanuman) spawn ho sakta hai aur abilities trigger kare.

INVENTORY GUI & Commands: /godinfo <god> – god ki abilities aur cooldowns check karne ke liye. /godstats – apni god abilities ka status dekhe.

Kodari AI
KodariMar 22 at 10:17 am 19,289 (v2)

I’ll create a Hindu Gods selection plugin with abilities, GUI system, and commands.

HinduGodsPlugin
A mythological RPG plugin where players select Hindu deities (Shiva, Vishnu, Durga, Hanuman) and harness their divine powers. Each god grants unique abilities like Shiva's Trishul Strike, Vishnu's Sudarshan Chakra, Durga's Lion's Roar, and Hanuman's Mighty Leap. Features include cooldown-based abilities, interactive GUI selection, custom weapons, stat tracking, and ability information commands. Players experience epic battles with god-powered combat mechanics.

Complete Hindu Gods plugin created with GUI selection system, four deities with unique abilities, cooldown management, stats tracking, and comprehensive commands.

hc_wolfgamer

Commands:

/giveallabilities Grants the player all god abilities at once Show action bar/title: “You have received all divine powers!” Apply balanced cooldowns to prevent spam /upgradeabilities Upgrades current abilities to higher levels Increase power, duration, and reduce cooldown Max level cap (e.g., Level 5)

Extra Features:

Ability INVENTORY GUI menu (click to activate powers) Cooldown system with boss bar or action bar timer Particle & sound effects for each god Config file to enable/disable specific gods Permissions: gods.admin → use all commands gods.player → basic abilities Multiplayer support Smooth performance (no lag)

Example Abilities:

Shiva → Lightning strike + destruction aura Vishnu → Regeneration + teleport Hanuman → Super jump + strength Indra → Thunder attack

Optional:

/start command to randomly assign a god Spin system (like lucky wheel) for abilities

Kodari AI
KodariApr 13 at 6:55 am 48,129 (v2)

I’ll analyze the existing code structure and add all the requested features. Let me start by reading the current files to understand the implementation.

I’ll add all the requested features to your HinduGods plugin. Let me implement the new commands, ability GUI system, boss bar cooldown display, ability levels, and the Indra god with enhanced abilities.

Now I’ll create all the new files for the enhanced features:

All features have been implemented:

New Commands:

  • /giveallabilities [player] - Admin command to grant all abilities

  • /upgradeabilities [1-3] - Upgrade abilities to max level 5

  • /abilitymenu - Open GUI to activate abilities by clicking

  • /start - Random god assignment with spinning wheel effect

New Features:

  • Boss bar cooldown display with color-changing progress

  • Action bar messages for ability usage

  • Ability level system (1-5) with scaling damage/duration

  • New god: Indra with thunder/lightning abilities

  • Enhanced particle and sound effects

  • Multiplayer support with proper data persistence

  • Permissions system (gods.admin, gods.player)

Ability Controls:

  • Left-click: Ability 1

  • Right-click + Sneak: Ability 2

  • Swap hands (F) + Sneak: Ability 3

  • Number keys work through the GUI menu

Performance:

  • Async-safe operations

  • Efficient cooldown tracking

  • Boss bar auto-cleanup

  • Optimized particle spawning

hc_wolfgamer

On Player Kill:

When a player is killed by another player:

The victim drops all their abilities as items Items should have:

Custom name (e.g., “Shiva Power”) Lore describing ability Glow effect Broadcast message: “{killer} has stolen divine powers from {victim}!” Pickup & Equip System:

Any player can:

Pick up dropped abilities Right-click to equip ability Show message: “You equipped {God} ability!” Ability Limit:

Players can equip minimum 2 abilities (Optional: max limit like 4–5 for balance) If player exceeds limit:

Show warning: “Ability slots full!” Require replacing an existing ability Commands: /abilities → open INVENTORY GUI to manage equipped abilities /removeability → remove selected ability /giveability <player> <god> → admin command Extra Features:

INVENTORY GUI menu to equip/unequip abilities Cooldown system for each ability Save player abilities (persistent data) Particle + sound effects for each god Anti-duplication system Config file:

Drop chance Max abilities Enable/disable gods

Kodari AI
KodariApr 13 at 12:41 pm 27,183 (v2)

I’ll read the existing files to understand the current structure before implementing the ability drop/pickup system.

Now I’ll implement the complete ability drop/pickup system with all requested features.

All features implemented successfully! The ability drop/pickup system includes:

Core Features:

  • Players drop all equipped abilities as glowing items when killed by another player

  • Anyone can pick up and equip abilities by right-clicking the item

  • Min 2/max 4 abilities enforced (configurable)

  • Full data persistence with save/load system

New Commands:

  • /abilities - Opens GUI to manage equipped abilities (use or remove)

  • /removeability <number> - Remove specific equipped ability

  • /giveability <player> <god> [ability] - Admin command to give ability items

New GUIs:

  • Equipped Abilities GUI with click to use, shift+click to remove

Config Options:

  • Drop chance, min/max abilities, broadcast message, enable/disable

Anti-Duplication:

  • Cannot equip same ability twice

  • Warns when slots are full

hc_wolfgamer

ach player must have at least 2 abilities equipped at all times If a player has less than 2 abilities:

They cannot remove abilities Show message: “You must keep at least 2 abilities equipped!”

Kodari AI
KodariApr 13 at 12:43 pm 8,697 (v2)

I’ll add the minimum 2 abilities requirement. Let me first read the relevant files to understand the removal logic.

Perfect! I can see the issue. The plugin already has the minimum ability check implemented in:

  • ✅ EquippedAbilitiesGUI (shift+click removal)

  • ✅ RemoveAbilityCommand (command removal)

However, there’s a critical bug in DeathListener.java that clears ALL abilities on death, violating the minimum requirement.

I’ll fix this so that players always keep at least the minimum number of abilities:

hc_wolfgamer

Add a crafting recipe system where players can craft “God Ability Items”.

Requirements:

Each crafted item grants a specific god ability (e.g., Shiva, Vishnu, Hanuman).

When a player uses the item, they receive the ability for 10 minutes (600 seconds).

After 10 minutes, the ability is automatically removed.

Add a cooldown system so the same ability cannot be reused immediately.

Show a timer countdown (action bar or boss bar) while the ability is active.

Add particle effects and sound effects when ability starts and ends.

Recipe System:

Each ability must have a custom crafting recipe (e.g., Nether Star + Blaze Rod + Diamond).

Recipes should be configurable in a config.yml file.

Extra Features:

Command: /giveability <player> <god> to give ability item Command: /abilitytime to check remaining time Prevent stacking multiple abilities (max 2 abilities equipped) Save player ability data on server restart

Kodari AI
KodariApr 14 at 8:21 am 26,776 (v2)

I’ll read the existing files to understand the current god ability system, then add the crafting recipe system with timed abilities.

I’ll add a crafting recipe system for consumable “God Ability Items” that grant temporary 10-minute abilities with timers, particles, and sounds.


Crafting recipe system complete! Added:

✅ Consumable ability items - Craft with configurable recipes (Nether Stars, Diamonds, etc.) ✅ 10-minute timed abilities - Consume items for temporary god powers ✅ Boss bar timer - Live countdown with color changes (green → yellow → red) ✅ Action bar warnings - “⏰ Ability expires in 10s!” at the end ✅ Particle & sound effects - Enchantment particles + level-up sound on activation, smoke + beacon sound on expiry ✅ Cooldown system - 5-minute cooldown after ability expires ✅ Commands:

  • /giveability <player> <god> [1-3] consumable - Give consumable ability items

  • /abilitytime - Check remaining time on active abilities ✅ Max 2 timed abilities - Configurable limit ✅ 6 example recipes - Shiva, Vishnu, Durga, Hanuman, Indra abilities in config ✅ Persistent data - Timed abilities saved/restored on restart

Recipes are fully configurable in config.yml under ability-crafting.recipes!

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
Code
41 3,272
src/main/java/com/hindugods/plugin/HinduGodsPlugin.java
package com.hindugods.plugin;

import com.hindugods.plugin.commands.*;
import com.hindugods.plugin.inventory.gui.GUIListener;
import com.hindugods.plugin.inventory.gui.GUIManager;
import com.hindugods.plugin.listeners.AbilityListener;
import com.hindugods.plugin.listeners.AbilityPickupListener;
import com.hindugods.plugin.listeners.ConsumableAbilityListener;
import com.hindugods.plugin.listeners.DeathListener;
import com.hindugods.plugin.listeners.JoinListener;
import com.hindugods.plugin.listeners.NumberKeyListener;
import com.hindugods.plugin.managers.BossBarManager;
import com.hindugods.plugin.managers.CooldownManager;
import com.hindugods.plugin.managers.DataManager;
import com.hindugods.plugin.managers.GodManager;
import com.hindugods.plugin.managers.RecipeManager;
import com.hindugods.plugin.managers.TimedAbilityManager;
import lombok.Getter;
import org.bukkit.Bukkit;
import org.bukkit.NamespacedKey;
import org.bukkit.plugin.java.JavaPlugin;

@Getter
public class HinduGodsPlugin extends JavaPlugin {
    private DataManager dataManager;
    private GodManager godManager;
    private CooldownManager cooldownManager;
    private GUIManager guiManager;
    private BossBarManager bossBarManager;
    private RecipeManager recipeManager;
    private TimedAbilityManager timedAbilityManager;
    private NamespacedKey godKey;
    private NamespacedKey abilityKey;

    @Override
    public void onEnable() {
        saveDefaultConfig();
        
        this.godKey = new NamespacedKey(this, "ability_god");
        this.abilityKey = new NamespacedKey(this, "ability_number");
        
        this.dataManager = new DataManager(this);
        this.cooldownManager = new CooldownManager();
        this.bossBarManager = new BossBarManager(this);
        this.godManager = new GodManager(this);
        this.guiManager = new GUIManager();
        this.timedAbilityManager = new TimedAbilityManager(this);
        this.recipeManager = new RecipeManager(this);
        
        registerCommands();
        registerListeners();
        
        getLogger().info("HinduGodsPlugin has been enabled!");
    }

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

    private void registerCommands() {
        getCommand("choosegod").setExecutor(new ChooseGodCommand(this));
        getCommand("godinfo").setExecutor(new GodInfoCommand(this));
        getCommand("godstats").setExecutor(new GodStatsCommand(this));
        getCommand("giveallabilities").setExecutor(new GiveAllAbilitiesCommand(this));
        getCommand("upgradeabilities").setExecutor(new UpgradeAbilitiesCommand(this));
        getCommand("abilitymenu").setExecutor(new AbilityMenuCommand(this));
        getCommand("start").setExecutor(new StartCommand(this));
        getCommand("abilities").setExecutor(new AbilitiesCommand(this));
        getCommand("removeability").setExecutor(new RemoveAbilityCommand(this));
        getCommand("giveability").setExecutor(new GiveAbilityCommand(this));
        getCommand("abilitytime").setExecutor(new AbilityTimeCommand(this));
    }

    private void registerListeners() {
        Bukkit.getPluginManager().registerEvents(new GUIListener(guiManager), this);
        Bukkit.getPluginManager().registerEvents(new JoinListener(this), this);
        Bukkit.getPluginManager().registerEvents(new AbilityListener(this), this);
        Bukkit.getPluginManager().registerEvents(new NumberKeyListener(this), this);
        Bukkit.getPluginManager().registerEvents(new DeathListener(this), this);
        Bukkit.getPluginManager().registerEvents(new AbilityPickupListener(this), this);
        Bukkit.getPluginManager().registerEvents(new ConsumableAbilityListener(this), this);
    }
}