Aditya Biranjan
📎 1 file 1,494 chars
📄
pasted-code-1790510001826.txt
txt 82 lines
▶
:crossed_swords: GRIMWAR — Simple Concept

GRIMWAR is a Minecraft anime-style magic SMP where every player gets a magical Grimoire, receives a magic type, learns spells, becomes stronger, joins a magic squad, and unlocks powerful transformations.

:book: 1. Grimoires

Every player gets their own Grimoire containing:

Magic type
Spells
Level
Mastery
Upgrades
Transformations
:fire: 2. Magic Types

Start with only:

:fire: Flame
:zap: Storm
:ocean: Tide
:snowflake: Frost
:herb: Nature
:new_moon: Void

More can be added later.

:sparkles: 3. Spells

Each magic has around 5 high-quality spells.

Example: Flame

Q — Flame Bullet
E — Flame Dash
R — Flame Dragon
F — Flame Explosion
Ultimate — Inferno

Quality > quantity.

:clapper: 4. Amazing Animations

This is one of the main priorities.

Every spell should have:
Cast animation → particles → magic circle → projectile/effect → impact → sound → camera effect

So combat actually feels like an anime.

:closed_book: 5. Grimoire Evolution

Common → Awakened → Ancient → Ascended

Evolution unlocks stronger spells and better visuals.

:zap: 6. Transformations

Players can eventually awaken their magic.

Example:

Void Magic → Void Awakening

The player gets:

New aura
New particles
New effects
Stronger abilities
New visual appearance
:crossed_swords: 7. PvP Combat

The main combat is player vs player.

Simple controls:

Q / E / R / F → Spells
Ultimate → Powerful ability

Players fight using their magic, movement and transformations.
Kodari AI
KodariSep 27 at 11:55 am 1
GrimoireMagic
A Bukkit plugin delivering anime-style magic combat. Each player receives a personal Grimoire with a magic type (Flame, Storm, Tide, Frost, Nature, Void), five unique spells per element, and an ultimate ability. Features animated spell casting with particles, magic circles, projectiles, impacts, and sound effects. Grimoires evolve through Common, Awakened, Ancient, and Ascended tiers, unlocking stronger spells and enhanced visuals. Players can awaken their magic for transformations with new auras, particles, and abilities. PvP-focused combat uses simple keybind controls (Q/E/R/F) for spells and a powerful ultimate, creating an immersive anime battle experience.
  1. Establish the Paper plugin build and Grimwar metadata.

  2. Add persistent grimoires, six magic types, ranked spell progression, and awakenings.

  3. Implement spell effects, grimoire GUI, commands, and Q/F/right-click controls.

Created a playable Grimwar plugin foundation with six randomly assigned magic types, persistent grimoires, five spells per type, level-based spell unlocks and grimoire evolution, awakenings, spell effects, and a grimoire GUI.

Players can cast with Q (slot 1), F (slot 4), right-click their Grimoire (selected spell), or /grim cast <1-5>. Minecraft’s standard server API can’t detect E and R key presses, so those slots use the command.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
settings.gradle
Code
15 867
src/main/java/com/grimwar/GrimwarPlugin.java
package com.grimwar;

import com.grimwar.command.GrimCommand;
import com.grimwar.grimoire.GrimoireListener;
import com.grimwar.grimoire.GrimoireManager;
import com.grimwar.grimoire.GrimoireMenu;
import com.grimwar.spell.SpellService;
import org.bukkit.Bukkit;
import org.bukkit.NamespacedKey;
import org.bukkit.plugin.java.JavaPlugin;

public final class GrimwarPlugin extends JavaPlugin {
    private GrimoireManager grimoireManager;
    private SpellService spellService;
    private NamespacedKey grimoireItemKey;

    @Override
    public void onEnable() {
        this.grimoireItemKey = new NamespacedKey(this, "grimoire");
        this.grimoireManager = new GrimoireManager(this);
        this.spellService = new SpellService(this, grimoireManager);

        GrimoireMenu grimoireMenu = new GrimoireMenu(this, grimoireManager);
        GrimCommand command = new GrimCommand(this, grimoireManager, spellService, grimoireMenu);
        getCommand("grim").setExecutor(command);
        getCommand("grim").setTabCompleter(command);
        getCommand("cast").setExecutor(command);

        Bukkit.getPluginManager().registerEvents(grimoireMenu, this);
        Bukkit.getPluginManager().registerEvents(new GrimoireListener(this, grimoireManager, spellService), this);
        Bukkit.getOnlinePlayers().forEach(player -> grimoireManager.getOrCreate(player));
    }

    @Override
    public void onDisable() {
        if (grimoireManager != null) {
            grimoireManager.saveAll();
        }
    }

    public NamespacedKey getGrimoireItemKey() {
        return grimoireItemKey;
    }
}