Jatin Boiii

Create a Minecraft plugin that includes custom Crowns, with each Crown having its own unique specialties and abilities.

The plugin should have high-quality, visually impressive abilities. Every Crown must have: 1 Passive Skill 1 Active Skill The Passive Skills should include powerful effects such as Strength II or Strength III, depending on the Crown.

The Active Skills should contain visually impressive abilities inspired by things like:

A Warden-style sonic beam A Blaze-style fire charge/fireball attack Powerful Lightning Strikes A Lightning Beam A large Water Square/Box ability And many other powerful, unique, and visually impressive abilities.

Every Active Ability should have a 5-second cooldown.

When a player joins the server for the first time, they should automatically receive one random Crown. The Crown must be randomly selected for each player.

The plugin should also include several Operator/Admin commands for managing the Crown system.

Add a command such as: /giveallcrowns When an operator uses this command, all available Crowns should be given to the player's inventory, allowing the player to obtain/display every Crown.

Overall, make the plugin feel powerful, unique, visually impressive, and suitable for an OP-style Minecraft server.

Kodari AI
KodariSep 14 at 5:20 pm 2
CrownAbilities
A powerful OP-style Minecraft plugin introducing a Crown system where each Crown grants unique passive and active abilities. Players receive a random Crown on first join, each offering potent passives like Strength II or III. Active abilities feature visually impressive effects including Warden-style sonic beams, Blaze fire charges, devastating lightning strikes, lightning beams, and massive water box attacks, all with a 5-second cooldown. Includes operator commands like /giveallcrowns to distribute every Crown to a player's inventory for collection and display. Built on a robust GUI framework with centralized management, lazy initialization, and automatic event handling for seamless integration and high performance.
  1. Create the Gradle project and plugin descriptor.

  2. Add the Crown catalog and item/passive/ability manager.

  3. Add operator commands and wire registration in the main plugin class.

Created the CrownRealms Minecraft plugin from scratch.

Features included:

  • 8 unique Crowns:

    • Inferno

    • Storm

    • Warden

    • Tidal

    • Void

    • Frost

    • Nature

    • Celestial

  • Every Crown has:

    • Unique passive effects

    • Unique active ability

    • 5-second cooldown

    • Custom display name, lore, and persistent Crown identity

  • First-time players receive one randomly selected Crown.

  • Visual abilities include:

    • Warden sonic beam

    • Blaze fireball barrage

    • Lightning strike beam

    • Large water box effect

    • Void shockwave

    • Frost nova

    • Nature judgment

    • Celestial starfall

  • Passive abilities include Strength II, Strength III, Resistance, Speed, Regeneration, Fire Resistance, Water Breathing, and more.

  • Admin commands:

    • /giveallcrowns [player]

    • /givecrown <player> <crown>

    • /crownlist

    • /crownreload

  • Commands are restricted to operators through crown.admin.

  • Added Gradle build files and plugin descriptor.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
settings.gradle
Code
7 639
src/main/java/com/kodari/crowns/CrownPlugin.java
package com.kodari.crowns;

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

public final class CrownPlugin extends JavaPlugin {
    private CrownManager crownManager;

    @Override
    public void onEnable() {
        this.crownManager = new CrownManager(this);
        Bukkit.getPluginManager().registerEvents(crownManager, this);

        CrownCommand crownCommand = new CrownCommand(crownManager);
        registerCommand("giveallcrowns", crownCommand);
        registerCommand("givecrown", crownCommand);
        registerCommand("crownlist", crownCommand);
        registerCommand("crownreload", crownCommand);
    }

    private void registerCommand(String name, CrownCommand executor) {
        PluginCommand command = getCommand(name);
        if (command != null) {
            command.setExecutor(executor);
            command.setTabCompleter(executor);
        }
    }
}