cublessplayzz

Plugin Development Prompt: “7 Cubes System”

Create a Minecraft plugin that introduces 7 unique ability-based cubes, each with special powers, effects, and cooldown mechanics. The plugin should be optimized, configurable, and compatible with modern Minecraft versions (Paper/Spigot).

Core Features:

Total 7 Cubes, each with distinct abilities Custom crafting recipes OR admin-given items Cooldown system for each cube ability Action bar / title feedback when abilities are used Config file to enable/disable cubes and tweak abilities Permissions support for each cube Cubes & Abilities:

  1. Elytra Cube

Grants temporary flight (like creative/elytra boost) Boost ability with right-click Fall damage immunity while active

  1. Herobrine Cube

Gives strength, speed, and resistance buffs Chance to summon lightning on nearby enemies Dark aura particles for effect

  1. (Add 5 More Cubes – Example Ideas)
  1. Speed Cube

High speed boost + jump boost

  1. Time Cube

Slows nearby players (time-warp effect)

  1. Fire Cube

Shoots fireballs / sets enemies on fire

  1. Shadow Cube

Temporary invisibility + teleport behind enemy

  1. Earth Cube

Extra defense + knockback resistance Additional Requirements:

Abilities triggered by right-click Cooldowns shown in action bar Particle & sound effects for each cube Fully optimized (no lag) Clean, modular code structure

Kodari AI
KodariMay 3 at 12:30 pm 17,076 (v2)

I’ll create a comprehensive 7 cubes plugin with unique abilities, cooldowns, and particle effects.

SevenCubesPlugin
An ability-based item system featuring 7 unique cubes with special powers. Includes Elytra flight boost, Herobrine strength buffs with lightning strikes, Speed enhancements, Time manipulation to slow enemies, Fire projectiles, Shadow stealth with teleportation, and Earth defense boosts. Each cube has custom cooldowns, particle effects, sound feedback, and configurable permissions. Features action bar notifications, fall damage immunity, and optimized performance.

Now I’ll create the remaining core files for the plugin:

All core files have been created! The plugin features:

7 Unique Cubes:

  • Elytra Cube - Temporary flight with fall damage immunity

  • Herobrine Cube - Strength/speed/resistance buffs + lightning strikes on enemies

  • Speed Cube - Extreme speed and jump boost

  • Time Cube - Slows nearby players in radius

  • Fire Cube - Launches fireballs that ignite enemies

  • Shadow Cube - Invisibility + teleport behind nearest enemy

  • Earth Cube - High resistance + absorption hearts

Features:

  • Cooldown system with action bar feedback

  • Particle effects for each ability

  • Sound effects using XSeries

  • Persistent data container for cube identification

  • Configurable durations, cooldowns, and ability strengths

  • Permission system for each cube

  • Admin command to give cubes

  • Tab completion support

  • Fall damage immunity during Elytra flight

The plugin is fully optimized, modular, and ready to use!

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
manifest.kod
Code
20 1,054
src/main/java/com/sevencubes/SevenCubesPlugin.java
package com.sevencubes;

import com.sevencubes.command.CubeCommand;
import com.sevencubes.config.ConfigManager;
import com.sevencubes.cube.CooldownManager;
import com.sevencubes.listener.CubeListener;
import com.sevencubes.listener.FallDamageListener;
import lombok.Getter;
import org.bukkit.Bukkit;
import org.bukkit.plugin.java.JavaPlugin;

@Getter
public class SevenCubesPlugin extends JavaPlugin {
    
    private ConfigManager configManager;
    private CooldownManager cooldownManager;
    
    @Override
    public void onEnable() {
        saveDefaultConfig();
        
        this.configManager = new ConfigManager(this);
        this.cooldownManager = new CooldownManager();
        
        registerListeners();
        registerCommands();
        
        getLogger().info("SevenCubes plugin enabled!");
    }
    
    @Override
    public void onDisable() {
        this.cooldownManager.clearAll();
        getLogger().info("SevenCubes plugin disabled!");
    }
    
    private void registerListeners() {
        Bukkit.getPluginManager().registerEvents(new CubeListener(this), this);
        Bukkit.getPluginManager().registerEvents(new FallDamageListener(this), this);
    }
    
    private void registerCommands() {
        getCommand("cube").setExecutor(new CubeCommand(this));
    }
}