sejalplays

HEAVEN VS HELL SMP

---

CORE CONCEPT

Create a Minecraft Paper/Spigot plugin (version 1.21.11) where all players start as Angels, and one hidden Demon King secretly converts players into Demons. The system includes hidden identities, rank progression, abilities, custom weapons, revival mechanics, king-based gameplay, and world corruption.

---

STARTING SYSTEM

  • All players start as Angels
  • Assign:

- 1 Angel King (hidden at start) - 1 Demon King (hidden at start)

  • No Demons exist initially

---

DEMON KING SYSTEM

  • Only one Demon King exists
  • Appears as a normal Angel (fake identity)
  • Identity remains hidden

---

FIRST KILL MECHANIC

When Demon King kills an Angel:

  • That player becomes a Demon
  • Demon count begins increasing

---

IDENTITY RULES

  • Only Kings are hidden

- Angel King hidden - Demon King hidden

  • All other players:

- Angels visible - Demons visible

---

DEATH SYSTEM

PvP Death:

  • Demon kills Angel → Angel becomes Demon
  • Angel kills Demon → Demon remains Demon and receives debuff (15 minutes)

Natural Death:

  • No role change

---

ANGEL VS ANGEL RULE

If an Angel kills another Angel:

  • Apply:

- Blindness (5 minutes) - Weakness (5 minutes)

---

KING SYSTEM

Angel King:

  • Hidden at start
  • Revealed after your half angel killed by demon/his own choice
  • Support-focused abilities

Demon King:

  • Hidden at start
  • Fake Angel identity
  • Revealed after half angel killed by demon/his own choice

---

KING VISUALS

  • Angel King: crown or special wings
  • Demon King: dark crown or demonic wings
  • Visible using resource pack

---

KING AURA SYSTEM

Angel King Aura:

  • Nearby Angels receive:

- Small regeneration boost - Slight resistance

Demon King Aura:

  • Nearby Demons receive:

- Increased damage - Speed boost

  • Aura works in a defined radius (configurable)

---

KING ELIMINATION SYSTEM

To eliminate Demon King:

  • All Demons must be killed first
  • Then Demon King becomes vulnerable

If 3 time Demon King dies early:

  • Random Demon becomes new Demon King

To eliminate Angel King:

  • All Angels must be eliminated
  • Then Angel King becomes vulnerable

If 2 time Angel King dies:

  • Highest ranked Angel becomes new Angel King
  • his become a demon

---

RANK SYSTEM

  • 5 ranks per side
  • Unlock:

- Abilities - Custom weapons - Challenge access

---

CHALLENGE SYSTEM

Command:

  • /challengeking

Eligible:

  • Angel King
  • Demon King
  • Rank 4 and Rank 5 players

Rules:

  • 1v1 arena duel
  • Winner becomes King
  • Loser rank reduced to rank 4
  • Loser have cooldown for challengeking

Role Swap:

  • Winning King takes opposite role

---

ROLE TYPES

Angel Types:

  • Fire Angel
  • Water Angel
  • Air Angel
  • Light Angel
  • Feather Angel

Demon Types:

  • Fire Demon
  • Shadow Demon
  • Curse Demon
  • Blood Demon

---

ABILITIES SYSTEM

Each player has:

  • 1-3 Passive
  • 2–4 Active abilities

---

ABILITY UI SYSTEM

  • Abilities displayed above hotbar (between hearts and hunger)
  • Custom icons via resource pack

---

COOLDOWN DISPLAY SYSTEM

  • Ability cooldown visible in INVENTORY GUI and UI

INVENTORY GUI Requirements:

  • Each ability shows:

- cooldown timer (in seconds) - ready state - cooldown state

Real-time updates:

  • Timer updates live after ability use

Optional:

  • Action bar cooldown indicator

---

HOTKEY SYSTEM

  • Configurable keybinds
  • Supports:

- Shift + Left click - Shift + Right click - Shift + Offhand - Shift + R

---

PASSIVE SYSTEM

Each class has unique passive effects

---

CUSTOM WEAPONS SYSTEM

Separate weapons for Angels and Demons

---

ANGEL WEAPONS

  1. Angelic Bow
  • Extra damage to Demons
  • Charged holy shot ability
  1. Angelic Spear
  • Dash attack
  • Medium range combat
  1. Heaven Blade
  • Bonus damage
  • Regeneration on hit

---

DEMON WEAPONS

  1. Demonic Katana
  • Fast attacks
  • Bleed effect
  1. Hell Axe
  • High damage
  • Armor reduction
  1. Shadow Dagger
  • Backstab bonus
  • Temporary invisibility

---

WEAPON UNLOCK

  • Based on rank and trials

---

CUSTOM WEAPON RECIPES

  • Each weapon must have unique crafting recipe
  • Recipes must be:

- Difficult - Late-game oriented

Example requirements:

  • Netherite components
  • Rare drops
  • Custom items

Recipes configurable in config.yml

---

WEAPON ABILITIES

  • Each weapon has:

- Passive effect - Active ability

  • Cooldown required

---

ANGELIC TOTEM SYSTEM

One-time revival system for Demons

---

RULES

  • Only Demons can craft Angelic Totem
  • Each Demon can craft/use only ONE in lifetime
  • Cannot stack or duplicate

---

USAGE

  • If Demon killed by Angel King at using the angelic totem:

→ Demon becomes Angel

  • Totem consumed on use

---

CONDITIONS

  • Only PvP kills count
  • Natural death does not convert roles

---

TOTEM RECIPE

Must be hard:

Example:

  • Nether Star
  • Totem of Undying (multiple)
  • Blaze Rods
  • Ender Eyes
  • Diamond Block

Configurable

---

CUSTOM TEXT SYSTEM

Display cinematic text:

  • Darkness Rises
  • Pure Soul Destroyed
  • Corruption Spreads
  • A King has struck

---

ANNOUNCEMENT SYSTEM

  • Demon King kill → global message
  • Angel King kill → global message
  • No identity reveal before first kill

---

INVENTORY GUI SYSTEM

Command: /menu

Includes:

  • Role info
  • Rank progress
  • Abilities (with cooldown)
  • Weapons
  • Totem status
  • Keybind settings

---

TEXTURE PACK SUPPORT

Must include:

  • Halo (Angel)
  • Horns (Demon)
  • King crown or wings
  • Weapon textures
  • Ability icons

Auto-send resource pack

---

CORRUPTION SYSTEM

Starts at 0 psent

Increase when:

  • Angels die
  • Demon King kills
  • Demon count increases

Stages:

  • 25 percent: sky change
  • 50 percent: decay
  • 75 percent: lava cracks
  • 100 percent: Nether-like world

---

LAST STAND SYSTEM

If only two Angel remains:

  • Becomes Guardian Angel
  • Gains strong buffs

---

WIN CONDITIONS

Angel Win:

  • Kill Demon King
  • Eliminate all Demons

Demon Win:

  • Kill Angel King
  • Corruption reaches 100 percent

---

TECH REQUIREMENTS

  • Paper/Spigot 1.21.11
  • Modular system:

- RoleManager - KingManager - RankManager - AbilityManager - WeaponManager - TotemManager - GUIManager - CorruptionManager

  • Config.yml:

- Recipes - Cooldowns - Aura radius - Balance settings

---

END OF PROMPT

Kodari AI
KodariApr 12 at 3:33 pm 23,257 (v2)

I’ll create a comprehensive Heaven vs Hell SMP plugin with hidden kings, role progression, custom abilities, and world corruption mechanics.

HeavenVsHell
An epic PvP plugin where players battle as Angels or Demons with hidden Kings, rank progression, custom abilities, weapons, and world corruption. Features role conversion on death, king challenges, one-time revival totems, ability cooldown UI, challenge arena duels, king aura buffs, and cinematic world transformation. Includes GUI-based menus, custom weapon recipes, and resource pack integration for halos, horns, and ability icons.

Heaven vs Hell SMP plugin created. Complete system includes hidden kings, role conversion, rank progression, GUI menus, custom weapons, corruption tracking, king auras, challenge system, and angelic totem mechanics. All managers are modular and ready for expansion with specific abilities and weapon implementations.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
Code
36 1,943
src/main/java/com/heaven/vs/hell/HeavenVsHell.java
package com.heaven.vs.hell;

import com.heaven.vs.hell.command.AdminCommand;
import com.heaven.vs.hell.command.ChallengeKingCommand;
import com.heaven.vs.hell.command.MenuCommand;
import com.heaven.vs.hell.inventory.gui.GUIListener;
import com.heaven.vs.hell.inventory.gui.GUIManager;
import com.heaven.vs.hell.listener.PlayerDamageListener;
import com.heaven.vs.hell.listener.PlayerDeathListener;
import com.heaven.vs.hell.listener.PlayerJoinListener;
import com.heaven.vs.hell.manager.*;
import lombok.Getter;
import org.bukkit.plugin.java.JavaPlugin;

@Getter
public class HeavenVsHell extends JavaPlugin {
    private ConfigManager configManager;
    private RoleManager roleManager;
    private RankManager rankManager;
    private KingManager kingManager;
    private AbilityManager abilityManager;
    private WeaponManager weaponManager;
    private TotemManager totemManager;
    private CorruptionManager corruptionManager;
    private GUIManager guiManager;
    
    @Override
    public void onEnable() {
        this.configManager = new ConfigManager(this);
        this.roleManager = new RoleManager(this);
        this.rankManager = new RankManager(this);
        this.kingManager = new KingManager(this);
        this.abilityManager = new AbilityManager(this);
        this.weaponManager = new WeaponManager(this);
        this.totemManager = new TotemManager(this);
        this.corruptionManager = new CorruptionManager(this);
        this.guiManager = new GUIManager();
        
        registerListeners();
        registerCommands();
        
        kingManager.startKingAuras();
        
        getLogger().info("HeavenVsHell plugin has been enabled!");
    }
    
    @Override
    public void onDisable() {
        getLogger().info("HeavenVsHell plugin has been disabled!");
    }
    
    private void registerListeners() {
        getServer().getPluginManager().registerEvents(new PlayerJoinListener(this), this);
        getServer().getPluginManager().registerEvents(new PlayerDeathListener(this), this);
        getServer().getPluginManager().registerEvents(new PlayerDamageListener(this), this);
        getServer().getPluginManager().registerEvents(new GUIListener(guiManager), this);
    }
    
    private void registerCommands() {
        getCommand("menu").setExecutor(new MenuCommand(this));
        getCommand("challengeking").setExecutor(new ChallengeKingCommand(this));
        getCommand("hvh").setExecutor(new AdminCommand(this));
    }
}