Xarel Brown
📎 1 file 17,950 chars
📄
pasted-code-1793382809322.txt
txt 694 lines
▶
PROJECT: DIVINE REALMS — THE FIVE GODS

Complete Minecraft God SMP Plugin

Paper / Purpur 1.21.11 — Java + Bedrock

Build a complete, professional Minecraft God SMP plugin featuring five playable gods, each controlled by an actual player.

The server should feel like a supernatural fantasy world where gods have incredible powers, choose mortal subjects, grant divine abilities, create divine events, and rule over their own elements.

The most important god is the GOD OF STARS, inspired by Asriel Dreemurr’s God of Hyperdeath form from Undertale.

The God of Stars must be significantly more powerful than the other four gods.

The other gods are:

1. God of Lightning
2. God of Fire
3. God of Earth
4. God of Air

Each god must have unique abilities, weapons, transformations, custom projectiles, custom animations, custom sounds, and a unique resource-pack appearance.

This must be a real working plugin, not a mockup.

SECTION 1 — SERVER REQUIREMENTS

* Minecraft version: 1.21.11
* Server software: Paper or Purpur
* Java compatibility: Required
* Bedrock compatibility: Required through Geyser and Floodgate
* Main programming language: Java
* Custom resource pack: Required
* Multiplayer support: Required
* Persistent player data: Required
* Configurable abilities and cooldowns: Required

Build the plugin in a modular way so more gods can be added in future updates.

SECTION 2 — DIVINE HIERARCHY

There are five actual playable gods.

RANK 1: GOD OF STARS

Title: The Supreme God.

The God of Stars is the strongest god in existence.

Powers:

* Supreme divine authority.
* Cosmic energy.
* Gravity manipulation.
* Celestial destruction.
* Galaxy manipulation.
* Divine transformations.
* The strongest ultimate ability.
* Authority over the divine hierarchy.
* Ability to appoint and remove elemental gods.

RANK 2: THE FOUR ELEMENTAL GODS

GOD OF LIGHTNING

Title: Heaven’s Wrath.

Controls:

* Lightning.
* Thunder.
* Storms.
* Electricity.
* Divine speed.

GOD OF FIRE

Title: Infernal Sovereign.

Controls:

* Fire.
* Magma.
* Solar flames.
* Infernal energy.
* Rebirth.

GOD OF EARTH

Title: Worldbreaker.

Controls:

* Earth.
* Mountains.
* Earthquakes.
* Stone.
* Tectonic energy.

GOD OF AIR

Title: Heaven’s Requiem.

Controls:

* Wind.
* Pressure.
* Flight.
* Tornadoes.
* Atmospheric energy.

SECTION 3 — POWER DIFFERENCES

The God of Stars must be noticeably stronger than the other gods.

Suggested balancing targets:

God of Stars:

* 100% divine power.
* Three transformation stages.
* Strongest projectiles.
* Strongest ultimate.
* Supreme authority.

Elemental gods:

* 75% of the God of Stars’ overall power.
* Two transformation stages.
* Unique elemental projectiles.
* Powerful individual ultimates.
* Limited divine authority.

Do not make the elemental gods weak. They should still be terrifyingly powerful.

SECTION 4 — GOD OF STARS

APPEARANCE

The God of Stars must have:

* Six enormous celestial wings.
* Animated rainbow and galaxy effects.
* Glowing celestial eyes.
* Floating stars orbiting the body.
* Custom constellation crown.
* Massive cosmic aura.
* Custom 3D armor.
* Animated divine weapon.
* Unique footsteps.
* Custom sounds.
* Unique transformation animation.

The design should take inspiration from Asriel’s God of Hyperdeath appearance without copying copyrighted sprites, sounds, or assets.

TRANSFORMATION 1 — CELESTIAL FORM

* Galaxy aura.
* Floating stars.
* Glowing eyes.
* Celestial armor.
* Basic divine abilities.

TRANSFORMATION 2 — GOD OF HYPERSTARS

* Six enormous animated wings.
* Rainbow cosmic energy.
* Enhanced attacks.
* Upgraded projectiles.
* Stronger abilities.

TRANSFORMATION 3 — ABSOLUTE STAR DIVINITY

* Sky turns completely black.
* A gigantic galaxy appears behind the god.
* Six wings expand.
* Stars orbit around the god.
* A cinematic energy explosion occurs.
* All abilities become stronger.
* Ultimate abilities unlock.

GOD OF STARS WEAPON

Name: ASTRAL DEVOURER.

A massive celestial greatsword.

Visuals:

* Animated galaxy blade.
* Floating stars.
* Rainbow energy.
* Custom attack animation.
* Cosmic energy trails.
* Unique sounds.

Weapon abilities:

* Star Rend.
* Cosmic Cleave.
* Gravity Break.
* Nebula Explosion.
* Celestial Execution.

Weapon evolutions:

1. Divine Awakening.
2. Ascended.
3. True Divinity.

SECTION 5 — GOD OF STARS ABILITIES

Implement every ability below with unique mechanics, custom animations, particles, sounds, cooldowns, and projectiles.

1. SOLAR FLAME
    Summon celestial fireballs from the sky. They create expanding rings of golden and purple fire.
2. STAR BLAZING
    Summon giant star-shaped projectiles that fall from the sky and explode into smaller stars.
3. GALACTA BLAZING
    An upgraded Star Blazing. Stars spin, create spiral projectile formations, and finish with a giant galaxy explosion.
4. SHOCKER BREAKER
    Repeated celestial lightning strikes with warning indicators and glowing impact effects.
5. SHOCKER BREAKER II
    An upgraded version with targeted strikes, larger lightning patterns, and a massive lightning sweep.
6. CHAOS SABER
    Summon enormous energy blades that perform multiple giant slashes.
7. CHAOS SLICER
    An upgraded Chaos Saber with faster attacks, more slashes, and a giant cross-shaped energy wave.
8. CHAOS BUSTER
    Summon a massive cosmic blaster that fires projectile waves and charges a giant rainbow laser.
9. CHAOS BLASTER
    An upgraded blaster with faster projectiles, unpredictable patterns, and a giant starburst explosion.
10. HYPER GONER
    Summon a gigantic cosmic skull or entity above the god. Its mouth opens and creates a gravitational vortex that pulls entities inward before a massive implosion.
11. ANGEL OF STARS
    The god rises into the sky, spreads six wings, and summons enormous homing celestial comets. The comets launch in waves and finish with a massive celestial beam.

ADDITIONAL COSMIC ABILITIES

12. COSMIC RIFT
    Open a dimensional tear that releases a gravitational shockwave.
13. SINGULARITY
    Create a black hole that pulls entities and projectiles toward its center.
14. SUPERNOVA
    Create a miniature star that expands and explodes into a huge energy wave.
15. CONSTELLATION JUDGMENT
    Mark a target with a constellation before a giant beam of starlight descends.
16. EVENT HORIZON
    Create a temporary cosmic domain that distorts movement and projectile trajectories.
17. STARSTEP
    Teleport in a burst of starlight.
18. GRAVITY COLLAPSE
    Create a gravitational field that pulls entities inward before imploding.

GOD OF STARS ULTIMATE — THE END OF EXISTENCE

This is the strongest ability in the entire plugin.

Sequence:

1. The god rises into the sky.
2. Six wings spread completely.
3. All stars disappear.
4. A massive cosmic skull appears behind the god.
5. A black hole forms.
6. A gravitational vortex begins.
7. Giant stars form around the god.
8. Stars launch in multiple directions.
9. The black hole collapses.
10. A gigantic rainbow-colored cosmic beam fires.
11. The beam explodes into a massive supernova.
12. The area fills with celestial particles.
13. The sky slowly returns to normal.

Make this a multi-stage cinematic event.

SECTION 6 — GOD OF LIGHTNING

Title: HEAVEN’S WRATH.

APPEARANCE

* Golden and blue armor.
* Lightning crown.
* Glowing electric eyes.
* Electric aura.
* Floating lightning particles.
* Animated storm effects.

WEAPON

HEAVENBREAKER — DIVINE SPEAR.

Custom 3D spear with lightning animations, electric trails, and unique sounds.

ABILITIES

1. THUNDERCLAP
    Create a massive lightning explosion around the god.
2. DIVINE SPEAR
    Throw a lightning spear that pierces through targets.
3. STORM PRISON
    Create a cage made of lightning.
4. JUDGMENT BOLT
    Summon a gigantic lightning strike from the sky.
5. THUNDER DOMINION
    Create a massive storm around the god.
6. LIGHTNING REQUIEM
    Send dozens of lightning bolts from the sky in organized attack patterns.

ULTIMATE — WRATH OF THE HEAVENS

The sky turns blue and gold. Thousands of lightning bolts gather above the god before a gigantic thunderstorm erupts.

SECTION 7 — GOD OF FIRE

Title: INFERNAL SOVEREIGN.

APPEARANCE

* Red and gold armor.
* Flaming crown.
* Glowing fire eyes.
* Infernal aura.
* Animated fire wings.
* Burning footsteps.

WEAPON

INFERNAL OBLIVION — DIVINE GREATSWORD.

A massive flaming sword with animated lava textures and fire trails.

ABILITIES

1. HELLFIRE SLASH
    Fire a massive wave of flames.
2. METEOR RAIN
    Summon flaming meteors from the sky.
3. INFERNAL PRISON
    Trap targets inside a burning ring.
4. PHOENIX REBIRTH
    Rebirth in an explosion of fire.
5. SOLAR EXPLOSION
    Create a miniature sun that detonates.
6. DRAGON’S WRATH
    Summon a gigantic flaming dragon projectile.

ULTIMATE — THE SUN DEVOURS ALL

A massive sun forms above the god. The area turns orange, the ground glows, and a gigantic solar explosion erupts.

SECTION 8 — GOD OF EARTH

Title: WORLDBREAKER.

APPEARANCE

* Giant stone armor.
* Emerald glowing runes.
* Floating rocks.
* Stone crown.
* Earthquake particles.
* Mountain-like aura.

WEAPON

WORLDSPLITTER — DIVINE HAMMER.

A massive hammer made from ancient stone with glowing emerald energy.

ABILITIES

1. EARTHQUAKE
    Create a massive ground shockwave.
2. MOUNTAIN RISE
    Summon enormous stone pillars.
3. STONE PRISON
    Trap targets inside an enormous stone structure.
4. TECTONIC SLAM
    Slam the ground and create giant cracks.
5. WORLDBREAKER
    Summon falling mountain-sized rocks.
6. TITAN’S FIST
    Summon a gigantic stone fist from underground.

ULTIMATE — THE FALL OF THE WORLD

The ground splits apart, enormous mountains rise into the sky, and a massive stone meteor crashes down.

SECTION 9 — GOD OF AIR

Title: HEAVEN’S REQUIEM.

APPEARANCE

* Silver, white, and blue armor.
* Glowing wind crown.
* Floating hair and cloth animations.
* Transparent wind wings.
* Swirling atmospheric aura.
* Custom wind particles.

WEAPON

HEAVEN’S REQUIEM — DIVINE TWIN BLADES.

Two celestial blades with wind trails and custom animations.

ABILITIES

1. WIND CUTTER
    Fire enormous blades of compressed air.
2. CYCLONE
    Create a gigantic tornado.
3. SKYBREAKER
    Send a massive pressure wave downward.
4. WINDSTEP
    Teleport through a burst of wind.
5. PRESSURE COLLAPSE
    Compress air around a target.
6. TEMPEST
    Summon a massive hurricane.

ULTIMATE — WRATH OF THE ATMOSPHERE

The god rises into the air. A gigantic tornado forms, pulling clouds and debris into a spinning vortex before releasing an enormous pressure explosion.

SECTION 10 — DIVINE SUBJECT SYSTEM

Every god must be able to select their own mortal subjects.

Subjects are real players.

Each god has their own subject list.

Gods can:

* Select subjects.
* Grant abilities.
* Remove abilities.
* Promote subjects.
* Demote subjects.
* Give custom weapons.
* Give custom armor.
* Assign missions.
* Send divine messages.
* Grant blessings.
* Revoke blessings.
* View subject information.

Create three subject ranks:

1. DIVINE FOLLOWER — Basic god-granted abilities.
2. DIVINE CHAMPION — Advanced abilities and custom weapons.
3. DIVINE ASCENDANT — Maximum subject rank with a powerful ultimate.

Each god must have a different subject progression tree based on their element.

The God of Stars can have the strongest subject progression.

Subjects can use their powers in normal mortal gameplay, subject to normal server combat rules.

SECTION 11 — DIVINE BOOK SYSTEM

Create a custom book interface for each god.

The book must allow:

* Selecting subjects.
* Granting powers.
* Removing powers.
* Promoting subjects.
* Sending divine messages.
* Creating missions.
* Giving blessings.
* Viewing subject information.
* Reviewing divine history.

Create a separate punishment-book system.

The god can select a subject, choose an approved punishment, review it, and confirm submission.

After confirmation, the punishment executes immediately.

Include punishment logs, permission checks, and configurable punishment types.

Never execute arbitrary commands written by players.

Provide Bedrock-friendly inventory or form interfaces for players who cannot use the same Java book interactions.

SECTION 12 — DIVINE AUTHORITY SYSTEM

The God of Stars has supreme authority.

The God of Stars can:

* Appoint elemental gods.
* Remove elemental gods.
* View every god.
* View all subjects.
* Create divine events.
* Send announcements.
* Establish divine laws.
* Manage the divine hierarchy.

Elemental gods can manage their own subjects and abilities but cannot override the Supreme God’s authority.

The God of Stars should not automatically control every elemental god’s abilities unless explicitly configured.

SECTION 13 — NO MORTAL INTERFERENCE RULE

THIS IS A CRITICAL SERVER RULE.

Gods cannot directly interfere in mortal fights or conflicts.

No god can:

* Attack players during ordinary mortal PvP.
* Heal or shield a player during mortal PvP.
* Teleport players out of a fight.
* Interrupt mortal wars.
* Change the result of raids or duels.
* Use divine abilities to give one side an advantage.
* Kill or protect players during active mortal conflicts.

Implement a strict Mortal Conflict Detection system.

Use combat tags, registered war events, duel systems, and configurable protected regions.

Apply the restriction to all gods, abilities, weapons, ultimates, and divine interactions.

Create an administrator-controlled Divine Arena system where gods can use their full powers during approved divine events and against approved supernatural bosses.

Gods may still manage subjects, send messages, grant powers, and perform permitted cosmetic or travel abilities outside prohibited conflicts.

Subjects are not gods and may participate in mortal conflicts using their granted abilities, according to ordinary server combat rules.

SECTION 14 — GOD VERSUS GOD SYSTEM

Create a separate divine conflict system.

Gods can fight other gods only during administrator-approved divine battles or designated divine events.

During these battles:

* Enable divine abilities.
* Allow ultimate abilities.
* Enable divine health bars.
* Display custom boss bars.
* Track divine damage.
* Display cinematic transformations.
* Announce the battle to the server.

The God of Stars should have an advantage over the four elemental gods, but divine battles should still be entertaining.

Do not allow divine battles to affect ordinary mortal conflicts.

SECTION 15 — CUSTOM RESOURCE PACK

Create a complete resource pack.

Include:

* Five unique armor sets.
* Five unique weapons.
* Six celestial wings for the God of Stars.
* Custom cosmic skull.
* Custom cosmic blaster.
* Custom projectiles.
* Animated textures.
* Unique ability icons.
* Custom sounds.
* Custom transformation effects.
* Elemental particle textures.
* Unique weapon trails.

Create original assets inspired by fantasy and cosmic themes. Do not rip Undertale’s copyrighted sprites, music, or sounds.

Java and Bedrock may need separate model implementations.

SECTION 16 — VISUAL QUALITY

Visual quality is one of the highest priorities.

I want:

* Cinematic ability activations.
* Custom projectile trails.
* Massive explosions.
* Giant summoned entities.
* Animated weapons.
* Animated wings.
* Custom sounds.
* Glowing runes.
* Unique transformations.
* Screen effects where supported.
* Custom boss bars.
* Unique ability cooldown indicators.

Do not make all five gods look or feel the same.

Every element needs its own color palette, visual identity, sound design, and attack style.

SECTION 17 — TECHNICAL ARCHITECTURE

Use modular Java classes:

* FiveGodManager
* DivineHierarchyManager
* GodAuthorityManager
* GodTransformationManager
* DivineAbilityManager
* ElementalAbilityManager
* ProjectileManager
* CelestialEffectManager
* SubjectManager
* DivineWeaponManager
* MortalConflictManager
* DivineBattleManager
* DivineArenaManager
* DivineEventManager
* DivineBookManager
* PunishmentManager
* CooldownManager
* ResourcePackManager
* DataManager

Use persistent storage so god and subject information survives server restarts.

Include:

* plugin.yml.
* Java source code.
* Configuration files.
* Resource-pack source files.
* Commands.
* Permissions.
* Installation instructions.
* Testing instructions.
* Admin documentation.

Use efficient particle and entity management. Prevent duplication, cooldown bypasses, projectile exploits, and excessive entity spawning.

Make all ability damage, cooldowns, ranges, and visual settings configurable.

SECTION 18 — COMMANDS

Create commands for:

* /god
* /god info
* /god transform
* /god abilities
* /god subjects
* /god book
* /god ultimate
* /divine gods
* /divine appoint
* /divine remove
* /divine event
* /divine arena
* /subject info
* /subject abilities

Include administrator commands for assigning gods, changing configuration, managing conflicts, and testing abilities.

FINAL DEVELOPMENT REQUIREMENTS

Build a complete working Five Gods plugin for Paper/Purpur 1.21.11.

The God of Stars must be the strongest god.

The four elemental gods must have unique identities and powerful abilities.

All gods must be actual players.

Every god must have their own subjects, weapons, transformations, abilities, and ultimates.

The divine hierarchy must be enforced.

Gods must never interfere directly in mortal fights or conflicts.

The visual quality must be extremely high.

The resource pack must be included.

Bedrock compatibility must be considered from the beginning.

Do not just provide a design document or pseudocode. Implement the plugin in working modules, compile it, test it, and provide the complete source code and installation instructions.

If a feature cannot be implemented exactly as requested, explain the limitation and provide the closest reliable alternative.

This plugin should be the foundation of a large-scale, cinematic, supernatural Minecraft God SMP
Kodari AI
KodariOct 30 at 6:13 pm 2
DivineRealmsFiveGods
A comprehensive Minecraft God SMP plugin for Paper/Purpur 1.21.11 featuring five playable gods with unique abilities, transformations, weapons, and ultimates. The God of Stars holds supreme power with three transformation stages, while four elemental gods (Lightning, Fire, Earth, Air) each have distinct power sets. Includes divine subject management, mortal conflict prevention, god-versus-god battles, custom resource pack support, Bedrock compatibility via Geyser/Floodgate, and persistent data storage. Features modular architecture with managers for abilities, transformations, subjects, punishments, and divine hierarchy, all configurable through YAML files.
  1. Set up the Paper 1.21.11 plugin, configuration, persistent god/subject data, and commands.

  2. Add divine abilities, transformations, weapons, GUI books, arena battles, and mortal-conflict protections.

  3. Include admin guidance and document the resource-pack/model limitation.

Created a Paper/Purpur 1.21.11 plugin foundation with persistent god and subject data, all five gods’ ability names, configurable cooldowns and damage, transformations, weapons, a subject-management and punishment book, and hierarchy commands.

The mortal-conflict protections cover combat tags, configured protected worlds, admin conflict tagging, and approved arenas for god-versus-god battles. Bedrock players can use the inventory-based Codex and commands.

Limitations: This is not the full cinematic feature set. Abilities use shared particle and area/projectile mechanics; bespoke animated models, wings, textures, sounds, sky effects, boss bars, terrain-changing attacks, and external war/duel integrations are not included. Kodari Studio is disabled for this project, so custom 3D assets and textures can’t be generated here. Enable Generation via this project’s Settings → Generation, or for all projects at https://kodari.ai/settings?tab=features. Admin setup, commands, and a manual test checklist are in README.md.

I haven’t verified a compiled build in this turn. To compile in Kodari: click Compile in the desktop top bar, or ⋮ → Compile Project on phone; click Compile in the window, then Download when it succeeds. If it fails, use Auto-fix in chat or Fix in the build window.

Xarel Brown

Make the 3d models now

Kodari AI
KodariOct 30 at 6:20 pm 1

Which 3D models should I make? Tell me what each one should look like, or name the feature they’re for.

Xarel Brown

All of them for the plugin

Kodari AI
KodariOct 30 at 6:21 pm 1

There are no 3D models referenced or required by this plugin. Its visuals use particles, and its optional resource pack is only delivered by URL; there are no model files or model-loading code to build models for.

Tell me what you want modeled and what plugin feature it belongs to (for example, a pet, boss, or custom item), and I can create it.

Xarel Brown

So make a particle form for each god so they can spectate their subjects and talk to them through words on their screen which is a simple gui which the gods to use to tell their subjects what they want

Kodari AI
KodariOct 30 at 6:29 pm 3
  1. Find how gods and their subjects are represented, then add each god’s particle form.

  2. Add a way for gods to spectate subjects and send them on-screen messages through a simple GUI.

  1. Added five animated particle forms for the gods; each can follow a subject while its god spectates.

  2. Next I’m wiring a subject-selection GUI, spectator controls, and an in-game message form for gods.

Implemented the god subject-vision feature:

  • Each god has a distinct animated particle form that circles the subject during spectating.

  • /god subjects opens a GUI of online subjects. Select one to spectate or send divine words.

  • Divine words appear on the subject’s screen and in chat. Use /god spectate stop to return to your previous game mode; spectating also ends if either player leaves or the subject dies.

Xarel Brown

What else should I do

Kodari AI
KodariOct 30 at 6:29 pm 1

The best next step is to make divine messages lead to gameplay:

  1. Divine quests: Gods send a task through the GUI; subjects can accept it, track progress, and report completion.

  2. Faith or favor: Subjects earn favor by completing divine tasks, unlocking blessings or titles.

  3. Blessings and trials: Give gods a small, balanced set of powers they can grant or trigger, with cooldowns and clear feedback.

  4. History and safeguards: Keep a record of divine messages and actions, and add limits so the powers can’t be spammed.

I’d start with divine quests—they give the spectating and messaging features a purpose.

Xarel Brown

Make it so gods can possess their subjects and give them some of their power for a few minutes but after that the god has to go to a prison in a dark realm hanging over the void in a cage for a hour if they do so

Kodari AI
KodariOct 30 at 6:41 pm 2
  • Add a persistent possession timer and temporary access to the god’s non-ultimate abilities.

  • After three minutes, end the borrowed power and confine the god for one hour.

  • Create a dark void world with a protected hanging cage; restore timers and confinement after restarts.

  • Add a “Possess & empower” option to the subject GUI.

Added Possess & empower to the subject GUI. It lends a subject their god’s non-ultimate abilities for 3 minutes, then removes the borrowed powers and imprisons the god for 1 hour in a caged Dark Realm above the void. Possession and prison timers persist across server restarts.

Both durations and the prison world name can be changed under possession in config.yml.

Xarel Brown

How do I make myself a god

Kodari AI
KodariOct 30 at 6:54 pm 1

An admin can make you a god with:

/divine appoint <yourname> <stars|lightning|fire|earth|air>

For example: /divine appoint Steve stars

If you don’t have admin permission (divinerealms.admin, default: OP), ask an admin. The God of Stars can appoint elemental gods; the god role you choose must be vacant. Once appointed, use /god to see your god options.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
README.md
Code
28 3,213
src/main/java/com/kodari/divinerealms/DivineRealmsPlugin.java
package com.kodari.divinerealms;

import org.bukkit.Bukkit;
import org.bukkit.plugin.java.JavaPlugin;

public final class DivineRealmsPlugin extends JavaPlugin {
    private DataManager dataManager;
    private FiveGodManager fiveGodManager;
    private SubjectManager subjectManager;
    private DivineArenaManager arenaManager;
    private DivineBattleManager battleManager;
    private MortalConflictManager conflictManager;
    private GodAuthorityManager authorityManager;
    private GodTransformationManager transformationManager;
    private DivineAbilityManager abilityManager;
    private DivineWeaponManager weaponManager;
    private DivineEventManager eventManager;
    private PunishmentManager punishmentManager;
    private ResourcePackManager resourcePackManager;
    private DivineBookManager bookManager;
    private GodFormManager godFormManager;
    private GodSubjectGuiManager godSubjectGuiManager;
    private PossessionManager possessionManager;

    @Override
    public void onEnable() {
        saveDefaultConfig();
        dataManager = new DataManager(this);
        fiveGodManager = new FiveGodManager(dataManager);
        subjectManager = new SubjectManager(dataManager);
        arenaManager = new DivineArenaManager();
        battleManager = new DivineBattleManager();
        conflictManager = new MortalConflictManager(this, arenaManager);
        authorityManager = new GodAuthorityManager(fiveGodManager);
        transformationManager = new GodTransformationManager(dataManager, fiveGodManager, conflictManager);
        possessionManager = new PossessionManager(this, dataManager, fiveGodManager, subjectManager, conflictManager);
        abilityManager = new DivineAbilityManager(this, fiveGodManager, subjectManager, conflictManager,
                arenaManager, battleManager, transformationManager, new CooldownManager(), possessionManager);
        weaponManager = new DivineWeaponManager(this, fiveGodManager, conflictManager);
        eventManager = new DivineEventManager(dataManager);
        punishmentManager = new PunishmentManager(dataManager, subjectManager);
        resourcePackManager = new ResourcePackManager(this);
        bookManager = new DivineBookManager(this, fiveGodManager, subjectManager, authorityManager, dataManager, punishmentManager, conflictManager);
        godFormManager = new GodFormManager(this);
        godSubjectGuiManager = new GodSubjectGuiManager(this, fiveGodManager, subjectManager, conflictManager, godFormManager, possessionManager);

        Bukkit.getPluginManager().registerEvents(new DivineListener(fiveGodManager, conflictManager, battleManager, resourcePackManager), this);
        Bukkit.getPluginManager().registerEvents(bookManager, this);
        Bukkit.getPluginManager().registerEvents(godSubjectGuiManager, this);
        Bukkit.getPluginManager().registerEvents(possessionManager, this);
        getCommand("god").setExecutor(new GodCommand(fiveGodManager, subjectManager, abilityManager,
                transformationManager, weaponManager, bookManager, godSubjectGuiManager));
        getCommand("divine").setExecutor(new DivineCommand(this, dataManager, fiveGodManager, subjectManager,
                authorityManager, conflictManager, arenaManager, battleManager, eventManager, punishmentManager, weaponManager));
        getCommand("subject").setExecutor(new SubjectCommand(fiveGodManager, subjectManager, abilityManager));
        getLogger().info("Divine Realms is ready. God assignment, subject data, and history persist in data.yml.");
    }

    @Override
    public void onDisable() {
        if (godSubjectGuiManager != null) {
            godSubjectGuiManager.stopAllSpectating();
        }
        if (godFormManager != null) {
            godFormManager.stopAll();
        }
        if (possessionManager != null) {
            possessionManager.shutdown();
        }
    }

    public DataManager getDataManager() {
        return dataManager;
    }

    public FiveGodManager getFiveGodManager() {
        return fiveGodManager;
    }

    public SubjectManager getSubjectManager() {
        return subjectManager;
    }

    public DivineArenaManager getArenaManager() {
        return arenaManager;
    }

    public DivineBattleManager getBattleManager() {
        return battleManager;
    }

    public MortalConflictManager getConflictManager() {
        return conflictManager;
    }

    public GodAuthorityManager getAuthorityManager() {
        return authorityManager;
    }

    public GodTransformationManager getTransformationManager() {
        return transformationManager;
    }

    public DivineAbilityManager getAbilityManager() {
        return abilityManager;
    }

    public DivineWeaponManager getWeaponManager() {
        return weaponManager;
    }

    public DivineEventManager getEventManager() {
        return eventManager;
    }

    public PunishmentManager getPunishmentManager() {
        return punishmentManager;
    }

    public ResourcePackManager getResourcePackManager() {
        return resourcePackManager;
    }

    public GodFormManager getGodFormManager() {
        return godFormManager;
    }
}