Abhimanyu
๐Ÿ“Ž 1 file 11,688 chars
๐Ÿ“„
pasted-code-1793880321392.txt
txt 99 lines
โ–ถ
ROLE
You are a senior Minecraft plugin developer. Build a complete, working plugin called "Gems SMP" (plugin name: GemsSMP) for a Paper server.

ENVIRONMENT (fill in before sending)
- Paper version: [exact version, from /version on your server]
- Java version: [the one that Paper version requires]
- Build tool: [Maven or Gradle]
- Base package: [e.g. com.yourname.gemssmp]
- Paper API only (Adventure/MiniMessage, PersistentDataContainer). No NMS, ProtocolLib, or other plugin dependencies.

DELIVERABLES
1. File tree.
2. Complete source for every file: build file, plugin.yml (api-version, commands, permissions), config.yml, messages.yml, all Java classes. No TODOs, stubs, "..." or placeholder methods.
3. Exact build command, JAR output path, installation steps, config locations, commands and permissions.
4. Manual test checklist covering every ability, the first-join spin, the Gem Trader flow, and every exploit vector under ITEM PROTECTION.
5. Short list of assumptions and known limitations.

HOW TO DELIVER
- This is a large plugin: give the file tree and a brief architecture overview first, then the files in order. If you're about to run out of space, stop at a file boundary and tell me where to continue. Never shorten code or leave stubs to fit.
- Include a compiled JAR only if you can actually run the build. Otherwise say so and give me the build commands. Never claim code was compiled or tested unless you did it.
- Don't stop to ask questions. Where something is ambiguous, pick the safest reasonable default, make it configurable, and list it under assumptions.
- Priorities if requirements conflict: no item loss or duplication > requirements as written > visual polish > brevity.
- Before finishing, re-check every requirement and confirm every API call exists in Paper for my version.

ARCHITECTURE
- Identify gems and the Gem Trader only by PersistentDataContainer tags (never name, lore, or material) so renamed or lore-copied items can't pass as real.
- Each player owns exactly one gem at a time (trading swaps them). The 7 gems are types; several players can hold the same type.
- The saved ownership record is the source of truth and the inventory item mirrors it: on join, respawn, trade, and in a periodic safety check, make sure the player holds exactly one matching gem item (restore if missing, remove extras).
- One class per gem behind a shared interface; separate managers for cooldowns, data, and trading. Bukkit API on the main thread only. On quit, death, and disable, clean up all tasks, temporary entities, and per-player map entries.

GENERAL RULES
- Items: each gem has its own non-placeable, non-consumable material, enchant glint, and colored name. Lore lists the gem name, passive (or "None"), both abilities with click combo, and both cooldowns, generated from config.
- Passives: active only while the gem is anywhere in the player's inventory (hotbar and off-hand included). Re-apply on a repeating task with hidden particles, remove promptly when the gem leaves, and never overwrite a stronger effect the player already has (ability-granted Strength III must not fall back to Strength I). Effect levels are Roman numerals as shown in game (Speed V = amplifier 4).
- Triggers: only while sneaking with the gem in the main hand. Shift + Left Click = first ability (60 s cooldown); Shift + Right Click = second ability (40 s cooldown). Fire once per click (ignore the off-hand duplicate event). Cancel all vanilla interactions made with a gem in hand (placing, using on blocks or entities, breaking), sneaking or not.
- Cooldowns: per player + gem type + ability, saved across relogs and restarts (so trading can't reset them). If used too early, show the remaining time in the action bar. A cooldown starts only when the ability actually runs: area abilities with no targets still start it; EnderGem's teleport doesn't when there's no safe destination.
- Targets: other players only, never mobs. Valid = online, alive, same world, Survival/Adventure, not an NPC, without the gems.bypass permission; skip all if world PvP is off. Apply damage with the holder as source so PvP-protection plugins can cancel it and kills are credited.
- Self-safety: the holder is never damaged, ignited, slowed, knocked back, trapped, or otherwise harmed by their own abilities, including their own fireballs and explosions (Fire Resistance doesn't stop explosions, so handle them explicitly).
- Config: every number (cooldowns, radii, durations, damage, levels, velocities, ranges, expiry times) in config.yml, with defaults generated on first run; all player-facing text in messages.yml (MiniMessage); /gems reload.
- Visuals: every ability needs a custom animation built from math-driven particles (spirals, rings, helixes, beams, DustOptions), layered sounds, and Display entities where the version supports them, not just a potion swirl. Suggested themes: Strength red shockwaves, Health pulsing hearts, Ender purple portal vortex, Fire flame rings, Water swirling bubbles, Wind white spiral gusts, Speed cyan streaks. Cap particles per tick and make every animation task end itself.

GEMS (both abilities each, cooldowns as above)
1. StrengthGem
- Passive: Strength I.
- Shift + Left: Weakness I on valid players within 10 blocks for 15 s.
- Shift + Right: holder gets Strength III for 30 s.
2. HealthGem
- Passive: Regeneration I.
- Shift + Left: exactly 3 hearts (6.0 HP) of damage to valid players within 10 blocks; armor doesn't reduce it (configurable).
- Shift + Right: holder gets Regeneration III for 15 s.
3. EnderGem
- Passive: none.
- Shift + Left: teleport the holder to the block they're looking at (raycast, max 30 blocks). Safe-location check: two free blocks for feet and head, solid ground, no lava, fire, void, or other damaging blocks, inside the world border. If unsafe, nudge to the nearest safe spot or cancel with a message.
- Shift + Right: holder gets Invisibility for 15 s.
4. FireGem
- Passive: Fire Resistance.
- Shift + Left: launch 3 fireballs at once in a narrow fan. By default they must not break or ignite blocks (config option).
- Shift + Right: blast on valid players within 10 blocks: sets them on fire for 5 s and deals 10.0 HP (5 hearts), slightly above a normal explosion. The holder takes no damage and doesn't burn.
5. WaterGem
- Passive: Water Breathing.
- Shift + Left: water tornado of 10-block radius around the holder for 6 s; valid players inside take 1 heart (2.0 HP) per second.
- Shift + Right: 20x20-block water zone centered on the holder for 10 s. Valid players inside cannot move (position locked, can still look around, teleports blocked) until it ends. The holder moves freely. Visual only: don't change real blocks.
6. WindGem
- Passive: none.
- Shift + Left: launch valid players within 10 blocks about 20 blocks upward (tune the velocity; they take normal fall damage).
- Shift + Right: launch the holder about 10 blocks upward, with fall damage from it disabled for the holder for 10 s.
7. SpeedGem
- Passive: Speed I.
- Shift + Left: holder gets Speed V for 15 s.
- Shift + Right: for 10 s, a repulsion field of 10-block radius around the holder continuously pushes valid players away. The holder is unaffected.

FIRST JOIN
- The first time a player ever joins, give one random gem (equal chance for each) with a gem-spin animation: a chest GUI that cycles through the 7 gem icons, slows down, and lands on the result, with sounds and a particle or firework finale. Start it about 2 s after joining so the client has loaded, and block taking items out of it.
- Choose the result on the server and save "first join done + owned gem" BEFORE the animation starts. If the player closes the GUI or quits mid-spin, they still get that gem (deliver it on close or next join): never a second roll, never a lost gem. Rejoining never spins or gives anything again.

GEM TRADER
- Item: an enchanted-looking stone block (stone-type material + enchant glint, custom name and lore, tagged). Never placeable; only usable while held in the hand. Same container and entity restrictions as gems (no chests, hoppers, item frames, etc.), but it can be dropped and drops on death normally.
- Recipe: full 3x3 grid of Totems of Undying -> 1 Gem Trader (register on enable, remove on disable).
- Right-click while holding it: open a 6-row GUI of online players as player heads (user excluded), paginated past 45 players; cancel all clicks and drags inside it. Only a left-click on a head sends a request.
- The target gets a chat message from the sender with clickable [Confirm] and [Cancel] (Adventure click events with an unguessable request ID; typed commands also work). Requests expire after 30 s (configurable). One pending request per sender.
- On Confirm, re-validate everything: request pending and unexpired, both online, sender still has a Trader, both own a gem and actually hold the matching item, and the gems are different types (else reject and consume nothing). Then swap atomically on the main thread (remove both gems, give each the other's, update both records, consume exactly one Trader, save). If any step fails, roll everything back so nobody loses or duplicates anything. Complete each request exactly once, so double clicks or repeated commands do nothing.
- On Cancel, expiry, or either player quitting or dying: nothing changes, the Trader is kept, both are notified.

ITEM PROTECTION (gems; the Gem Trader too, except dropping)
Block every way for a gem to leave the player's own inventory or be duplicated:
- Dropping: Q / Ctrl+Q, clicking outside the window, with any screen open.
- Moving into any non-player inventory or slot (chests, ender chests, barrels, shulker boxes, hoppers, droppers, dispensers, furnaces, brewing stands, anvils, grindstones, smithing/stonecutter/loom/cartography tables, enchanting tables, crafting grids, beacons, villager trades, mount inventories, chest boats and minecarts, bundles, decorated pots) via normal click, shift-click, number-key swap, off-hand swap, drag, and double-click collect.
- Entities and blocks that take items: item frames, armor stands, allays, and hoppers, droppers, or dispensers pulling or ejecting items.
- Creative-mode cloning (middle-click, InventoryCreativeEvent).
- Death: remove gems from the drops, restore them on respawn exactly once, respect keepInventory, and don't duplicate if other plugins change the drops.
- Cursor item when a screen closes or the player disconnects; rapid relogging, world changes, and lag-timing tricks; trade abuse (double confirm, confirm after logout, Trader moved away mid-request).
- Last safety net: cancel item-spawn and item-pickup events for gem items, and let the periodic check remove extras.
In the notes, include a table mapping each vector above to the handler that blocks it.

PERSISTENCE
- Save per player (UUID): owned gem, first-join-done flag, and cooldown expiry times. Load on enable; save on every change, on quit, and on disable. Write atomically (temp file, then rename). If the file is missing or corrupt, back it up and carry on without crashing or losing other players' data.

COMMANDS AND PERMISSIONS
- Permission-gated /gems admin commands with tab completion: give or replace a player's gem, give a Gem Trader, reset a player's first-join status, show a player's gem and cooldowns, reload config. By default, players can use gems, craft the Trader, and trade.
- Handle bad input cleanly (offline players, unknown gem names, missing permission) with clear, configurable messages. An exception must never break a player's inventory or leave a task running.
Kodari AI
KodariNov 5 at 12:53 pm 18
GemsSMP
GemsSMP is a Paper plugin introducing seven magical gems, each granting a passive effect and two active abilities triggered by shift-click combos. Players receive a random gem on first join via an animated spin GUI. A Gem Trader item enables player-to-player gem swapping through a GUI and confirmation system. The plugin features persistent cooldowns, particle-based animations, comprehensive item protection against duplication and loss, and full configuration through YAML files.
  1. Build GemsSMP for Paper 1.21.4 / Java 21 with configurable MiniMessage text and per-player atomic persistence.

  2. Implement seven gem abilities, passives, cooldowns, visuals, safe teleporting, and the first-join spin.

  3. Add tagged-item protection, the paginated Gem Trader, atomic swaps, admin commands, and cleanup.

  4. Provide install, manual test, assumptions, and limitation notes.

Created GemsSMP for Paper 1.21.4 / Java 21, using Gradle and the base package com.kodari.gemssmp.

Architecture

GemsSMP wires the seven gem implementations, PDC-tagged item handling, per-player atomic YAML persistence, cooldowns, abilities, visuals, first-join spin, trader transactions, listeners, and admin commands. Gem and Trader identity is checked by PDC tags, not item names, lore, or materials. XSeries is used as the standard helper for material, potion, particle, and sound lookups; there are no other server-plugin API dependencies.

File tree

Plain Text
build.gradle
settings.gradle
src/main/resources/
โ”œโ”€โ”€ config.yml
โ”œโ”€โ”€ messages.yml
โ””โ”€โ”€ plugin.yml
src/main/java/com/kodari/gemssmp/
โ”œโ”€โ”€ GemsSMP.java
โ”œโ”€โ”€ command/GemsCommand.java
โ”œโ”€โ”€ gem/
โ”‚   โ”œโ”€โ”€ Gem.java
โ”‚   โ”œโ”€โ”€ EnderGem.java
โ”‚   โ”œโ”€โ”€ FireGem.java
โ”‚   โ”œโ”€โ”€ HealthGem.java
โ”‚   โ”œโ”€โ”€ SpeedGem.java
โ”‚   โ”œโ”€โ”€ StrengthGem.java
โ”‚   โ”œโ”€โ”€ WaterGem.java
โ”‚   โ””โ”€โ”€ WindGem.java
โ”œโ”€โ”€ listener/
โ”‚   โ”œโ”€โ”€ AbilityListener.java
โ”‚   โ”œโ”€โ”€ PlayerListener.java
โ”‚   โ””โ”€โ”€ ProtectionListener.java
โ”œโ”€โ”€ manager/
โ”‚   โ”œโ”€โ”€ AbilityManager.java
โ”‚   โ”œโ”€โ”€ AnimationManager.java
โ”‚   โ”œโ”€โ”€ CooldownManager.java
โ”‚   โ”œโ”€โ”€ DamageManager.java
โ”‚   โ”œโ”€โ”€ DataManager.java
โ”‚   โ”œโ”€โ”€ EffectManager.java
โ”‚   โ”œโ”€โ”€ FirstJoinManager.java
โ”‚   โ”œโ”€โ”€ ItemManager.java
โ”‚   โ”œโ”€โ”€ MessageManager.java
โ”‚   โ”œโ”€โ”€ TargetManager.java
โ”‚   โ”œโ”€โ”€ TaskManager.java
โ”‚   โ”œโ”€โ”€ TraderManager.java
โ”‚   โ””โ”€โ”€ WaterZoneManager.java
โ””โ”€โ”€ model/
    โ”œโ”€โ”€ GemType.java
    โ””โ”€โ”€ PlayerData.java

Build, installation, and configuration

I did not run a build or manual server tests here, so there is no compiled JAR attached. The Gradle archive target is build/libs/GemsSMP-1.0.0.jar.

To compile in Kodari: on desktop click Compile in the top bar; on phone use โ‹ฎ โ†’ Compile Project. Click Compile in the window, then Download on the successful build. Install the downloaded JAR in your Paper serverโ€™s plugins/ folder and restart.

The plugin generates plugins/GemsSMP/config.yml and plugins/GemsSMP/messages.yml on first run. Player records are stored as plugins/GemsSMP/players/<uuid>.yml; corrupt records are backed up individually.

Commands and permissions

Command
Permission
/gems give <player> <gem>
gemssmp.admin.give
/gems replace <player> <gem>
gemssmp.admin.give
/gems trader <player>
gemssmp.admin.trader
/gems reset <player>
gemssmp.admin.reset
/gems info <player>
gemssmp.admin.info
/gems reload
gemssmp.admin.reload
/gems confirm <request-id>
/
/gems cancel <request-id>
Available to players

gemssmp.admin grants the admin sub-permissions and defaults to op. gemssmp.use, gemssmp.trade, and gemssmp.trader.craft default to true. gems.bypass defaults to false.

Manual test checklist

  • First join: use a fresh player record; confirm the spin starts after its delay, cycles icons, blocks clicks/drags, and delivers the saved result on completion. Close or quit mid-spin and rejoin; verify there is no second roll and no lost or duplicated gem.

  • Strength: verify Strength I passive; sneaking left applies Weakness I within 10 blocks for 15 seconds; sneaking right grants Strength III for 30 seconds.

  • Health: verify Regeneration I passive; left ability deals 6 HP within 10 blocks with armor bypass enabled; right grants Regeneration III for 15 seconds.

  • Ender: verify teleport range and safe-location nudging; test lava, fire, void, border, and no-target cases. An unsafe/no-destination attempt must not start cooldown. Test Invisibility for 15 seconds.

  • Fire: verify Fire Resistance passive; left launches three fireballs and, by default, neither breaks nor ignites blocks. Test configured hit damage and self-immunity. Right ability should damage valid targets and ignite them for five seconds.

  • Water: verify Water Breathing passive; tornado affects valid players in range once per second for six seconds. The 20ร—20 zone should lock target positions for ten seconds while allowing looking and blocking teleports; confirm the holder remains free.

  • Wind: verify the first ability launches nearby valid players and leaves normal fall damage enabled. The second launches the holder and suppresses their fall damage for ten seconds.

  • Speed: verify Speed I passive; first ability grants Speed V for 15 seconds; second repels valid players within range for ten seconds without affecting the holder.

  • Cooldowns and targets: check 60/40-second cooldowns, action-bar remaining time, persistence across relog/restart/trade, stronger-effect preservation, PvP-off worlds, bypass permission, gamemodes, NPCs, and mob exclusion.

  • Trader flow: craft using a full 3ร—3 Totem grid; test pagination, left-click requests, clickable and typed confirm/cancel commands, expiry, same-gem rejection, logout/death cancellation, missing gem/Trader rejection, successful swap, exactly-one-Trader consumption, and unchanged type-specific cooldowns.

Protection vector
Handler
Q/Ctrl+Q, outside-window clicks, cursor on close/disconnect
PlayerDropItemEvent
,
InventoryClickEvent
,
InventoryCloseEvent
,
PlayerQuitEvent
Normal/shift clicks, number-key swaps, drags, off-hand swaps
InventoryClickEvent
,
InventoryDragEvent
,
PlayerSwapHandItemsEvent
Double-click collect; chests, crafting, anvils, furnaces, villager/mount/container inventories
InventoryAction.COLLECT_TO_CURSOR
and generic inventory click/drag handlers
Bundles and block interactions such as decorated pots
Inventory handlers and
PlayerInteractEvent
Item frames, armor stands, allays, and vanilla attacks with a protected item
PlayerInteractEntityEvent
,
PlayerArmorStandManipulateEvent
,
EntityPickupItemEvent
,
EntityDamageByEntityEvent
Hopper transfers and dispenser/dropper ejection
InventoryMoveItemEvent
,
BlockDispenseEvent
Creative cloning
InventoryCreativeEvent
and
InventoryClickEvent
Death, keepInventory, respawn, or other plugins altering drops
PlayerDeathEvent
,
ItemSpawnEvent
,
PlayerRespawnEvent
, periodic reconciliation
Final item-entity spawn/pickup safety net
ItemSpawnEvent
,
EntityPickupItemEvent
Duplicate/expired trade confirms, logout/death, or Trader moved away
TraderManager
request state, expiry, revalidation, and transactional swap

The Gem Trader is intentionally exempt from the gem drop cancellation and retains normal death drops.

Assumptions and limitations

  • The unspecified environment is set to Paper 1.21.4, Java 21, Gradle, and com.kodari.gemssmp.

  • Fireball direct-hit damage defaults to 5 HP because the prompt did not specify it; it is configurable. Wind launch velocities are configurable tuning defaults.

  • The water zone is treated as a horizontal 20ร—20 area without a vertical limit.

  • NPC filtering uses the common NPC metadata/scoreboard tag convention; NPC plugins using another convention may need adaptation.

  • Admin give/replace/reset/info commands require the target to be online.

  • The project has not been compiled or tested on a live server in this chat.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
settings.gradle
Code
33 3,458
src/main/java/com/kodari/gemssmp/GemsSMP.java
package com.kodari.gemssmp;

import com.kodari.gemssmp.command.GemsCommand;
import com.kodari.gemssmp.gem.EnderGem;
import com.kodari.gemssmp.gem.FireGem;
import com.kodari.gemssmp.gem.HealthGem;
import com.kodari.gemssmp.gem.SpeedGem;
import com.kodari.gemssmp.gem.StrengthGem;
import com.kodari.gemssmp.gem.WaterGem;
import com.kodari.gemssmp.gem.WindGem;
import com.kodari.gemssmp.listener.AbilityListener;
import com.kodari.gemssmp.listener.PlayerListener;
import com.kodari.gemssmp.listener.ProtectionListener;
import com.kodari.gemssmp.manager.AbilityManager;
import com.kodari.gemssmp.manager.AnimationManager;
import com.kodari.gemssmp.manager.CooldownManager;
import com.kodari.gemssmp.manager.DamageManager;
import com.kodari.gemssmp.manager.DataManager;
import com.kodari.gemssmp.manager.EffectManager;
import com.kodari.gemssmp.manager.FirstJoinManager;
import com.kodari.gemssmp.manager.ItemManager;
import com.kodari.gemssmp.manager.MessageManager;
import com.kodari.gemssmp.manager.TargetManager;
import com.kodari.gemssmp.manager.TaskManager;
import com.kodari.gemssmp.manager.TraderManager;
import com.kodari.gemssmp.manager.WaterZoneManager;
import com.kodari.gemssmp.model.GemType;
import org.bukkit.NamespacedKey;
import org.bukkit.entity.Player;
import org.bukkit.scheduler.BukkitTask;
import org.bukkit.plugin.java.JavaPlugin;

public final class GemsSMP extends JavaPlugin {
    private NamespacedKey gemKey;
    private NamespacedKey traderKey;
    private NamespacedKey projectileKey;
    private MessageManager messages;
    private DataManager dataManager;
    private ItemManager itemManager;
    private CooldownManager cooldownManager;
    private TargetManager targetManager;
    private TaskManager taskManager;
    private EffectManager effectManager;
    private DamageManager damageManager;
    private AnimationManager animationManager;
    private WaterZoneManager waterZoneManager;
    private AbilityManager abilityManager;
    private TraderManager traderManager;
    private FirstJoinManager firstJoinManager;
    private BukkitTask safetyTask;
    private boolean shuttingDown;

    @Override
    public void onEnable() {
        saveDefaultConfig();
        messages = new MessageManager(this);
        gemKey = new NamespacedKey(this, "gem_type");
        traderKey = new NamespacedKey(this, "gem_trader");
        projectileKey = new NamespacedKey(this, "ability_projectile_owner");

        dataManager = new DataManager(this);
        dataManager.load();
        itemManager = new ItemManager(this);
        cooldownManager = new CooldownManager(this);
        targetManager = new TargetManager();
        taskManager = new TaskManager(this);
        effectManager = new EffectManager(this);
        damageManager = new DamageManager();
        animationManager = new AnimationManager(this);
        waterZoneManager = new WaterZoneManager(this);
        abilityManager = new AbilityManager(this);
        traderManager = new TraderManager(this);
        firstJoinManager = new FirstJoinManager(this);

        getServer().getPluginManager().registerEvents(new AbilityListener(this), this);
        getServer().getPluginManager().registerEvents(new ProtectionListener(this), this);
        getServer().getPluginManager().registerEvents(new PlayerListener(this), this);
        getServer().getPluginManager().registerEvents(damageManager, this);
        getServer().getPluginManager().registerEvents(waterZoneManager, this);
        getServer().getPluginManager().registerEvents(traderManager, this);
        getServer().getPluginManager().registerEvents(firstJoinManager, this);
        traderManager.registerRecipe();

        GemsCommand command = new GemsCommand(this);
        if (getCommand("gems") != null) {
            getCommand("gems").setExecutor(command);
            getCommand("gems").setTabCompleter(command);
        } else {
            getLogger().severe("The /gems command is missing from plugin.yml.");
        }
        restartSafetyTask();
    }

    @Override
    public void onDisable() {
        shuttingDown = true;
        if (safetyTask != null) {
            safetyTask.cancel();
        }
        if (firstJoinManager != null) {
            firstJoinManager.shutdown();
        }
        if (traderManager != null) {
            traderManager.shutdown();
        }
        if (taskManager != null) {
            taskManager.cancelAll();
        }
        if (waterZoneManager != null) {
            waterZoneManager.releaseAll();
        }
        if (effectManager != null) {
            effectManager.clearAll();
        }
        if (dataManager != null) {
            dataManager.saveAll();
        }
    }

    public void reloadPluginConfiguration() {
        reloadConfig();
        messages.reload();
        restartSafetyTask();
    }

    public void restartSafetyTask() {
        if (safetyTask != null) {
            safetyTask.cancel();
        }
        long interval = Math.max(1L, getConfig().getLong("checks.safety-interval-ticks", 20L));
        safetyTask = getServer().getScheduler().runTaskTimer(this, () -> {
            for (Player player : getServer().getOnlinePlayers()) {
                if (firstJoinManager.isPending(player.getUniqueId())) {
                    continue;
                }
                reconcilePlayer(player);
            }
        }, interval, interval);
    }

    public void reconcilePlayer(Player player) {
        itemManager.reconcile(player, dataManager.get(player.getUniqueId()));
        effectManager.refreshPassive(player);
    }

    public NamespacedKey getGemKey() {
        return gemKey;
    }

    public NamespacedKey getTraderKey() {
        return traderKey;
    }

    public NamespacedKey getProjectileKey() {
        return projectileKey;
    }

    public MessageManager getMessages() {
        return messages;
    }

    public DataManager getDataManager() {
        return dataManager;
    }

    public ItemManager getItemManager() {
        return itemManager;
    }

    public CooldownManager getCooldownManager() {
        return cooldownManager;
    }

    public TargetManager getTargetManager() {
        return targetManager;
    }

    public TaskManager getTaskManager() {
        return taskManager;
    }

    public EffectManager getEffectManager() {
        return effectManager;
    }

    public DamageManager getDamageManager() {
        return damageManager;
    }

    public AnimationManager getAnimationManager() {
        return animationManager;
    }

    public WaterZoneManager getWaterZoneManager() {
        return waterZoneManager;
    }

    public AbilityManager getAbilityManager() {
        return abilityManager;
    }