Camcam Sixa

make Grimoires that has different abilities and make 9 of them

Kodari AI
KodariOct 10 at 6:19 am 1
GrimoireCollection
GrimoireCollection introduces nine unique magical tomes to Minecraft, each granting players distinct abilities when held. Players can discover, craft, and wield grimoires that provide combat enhancements, utility powers, elemental attacks, and defensive capabilities. The plugin includes a custom item system with glowing enchant effects, cooldown management for balanced ability usage, and configurable messages. Each grimoire features its own particle effects and sound cues, creating an immersive magical experience. The nine grimoires range from offensive spellbooks like the Fire Tome and Frost Codex to support tomes such as the Healing Tome and Teleportation Grimoire, offering diverse playstyles for all players.

I’ll add nine distinct Grimoire items with right-click abilities, per-player cooldowns, and an admin give/list command.

Added nine Grimoires with distinct right-click abilities: Ember, Frost, Storm, Verdant, Shadow, Tide, Earth, Wind, and Arcane. Each has its own cooldown.

Give one with /grimoire give <player> <name>; view names with /grimoire list. Both commands require operator permission by default.

Kodari can make mistakes. Review important code before using.
Files
src
Grimoires
Code
6 351
src/main/java/com/kodari/grimoires/GrimoiresPlugin.java
package com.kodari.grimoires;

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

public class GrimoiresPlugin extends JavaPlugin {
    private NamespacedKey grimoireKey;

    @Override
    public void onEnable() {
        grimoireKey = new NamespacedKey(this, "grimoire");
        Bukkit.getPluginManager().registerEvents(new GrimoireListener(this), this);

        PluginCommand command = getCommand("grimoire");
        if (command != null) {
            GrimoireCommand grimoireCommand = new GrimoireCommand(this);
            command.setExecutor(grimoireCommand);
            command.setTabCompleter(grimoireCommand);
        }
    }

    public NamespacedKey getGrimoireKey() {
        return grimoireKey;
    }
}