frostyishere_.

❄️ Glacier SMP — Simple Concept

Glacier SMP is a PvP-based Minecraft SMP where every player receives a unique Glacier Core with two special abilities.

🧊 Core System

There are 20 different Glacier Cores.

When a player joins the server for the first time, they automatically receive 1 random Glacier Core.

The Core is permanently saved to the player.

If the player leaves and rejoins, they will NOT receive another Glacier Core.

Each player can have only one Glacier Core.

Admins can change a player's Core if needed.

⚡ Ability System

Every Glacier Core has 2 unique abilities:

🖱️ Right-Click → Ability 1

🖱️ Shift + Right-Click → Ability 2

⏳ Each ability has a cooldown.

🔋 Abilities use Glacier Energy.

❄️ 20 Glacier Cores

  1. Frost Core
  1. Blizzard Core
  1. Crystal Core
  1. Arctic Core
  1. Frozen Core
  1. Glacial Core
  1. Dark Frost Core
  1. Froststorm Core
  1. Sapphire Core
  1. Aurora Core
  1. Iceberg Core
  1. Frozen Tide Core
  1. Frostwind Core
  1. Royal Ice Core
  1. Diamond Frost Core
  1. Snowfall Core
  1. Mystic Frost Core
  1. Void Glacier Core
  1. Comet Ice Core
  1. Eternal Glacier Core

🎯 Main Goal

Players fight, use their unique Glacier abilities, collect resources, and become the strongest Glacier on the SMP.

No bosses — simple, clean, and PvP-focused. Paper 1.21.11

Kodari AI
KodariAug 14 at 3:58 am 2
GlacierCoreSMP
GlacierCoreSMP is a PvP-focused Minecraft SMP plugin where each player receives one of 20 unique Glacier Cores upon first join. Each core grants two distinct abilities triggered by right-click and shift-right-click, powered by Glacier Energy with individual cooldowns. Cores are permanently bound to players, with admin commands to reassign them. The plugin features a GUI-based core selection system for admins, persistent player data storage, and a comprehensive ability framework supporting diverse effects like frost damage, speed boosts, ice shields, and area denial. Players battle using their unique frost abilities to become the strongest Glacier on the server.
  1. Create the Paper 1.21.11 Gradle project and plugin metadata.

  2. Implement persistent one-core-per-player assignment, energy regeneration, and core items.

  3. Implement all 20 cores with two PvP abilities, cooldowns, and energy costs.

  4. Add join/interact listeners plus /glacier admin commands for core management.

Created the Glacier SMP Paper 1.21.11 plugin from scratch.

  • Added Gradle project setup, plugin.yml, and energy configuration.

  • Implemented all 20 Glacier Cores with unique names, materials, abilities, costs, and cooldowns.

  • Added permanent random core assignment for first-time players.

  • Added persistent core and energy storage.

  • Added core items with ability lore and persistent metadata.

  • Added right-click and shift-right-click ability activation.

  • Added cooldown handling and automatic energy regeneration.

  • Added PvP-focused effects including damage, freezing, knockback, debuffs, buffs, particles, and movement abilities.

  • Added /glacier commands:

    • /glacier

    • /glacier give <player> <core>

    • /glacier set <player> <core>

    • /glacier energy <player> <amount>

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
settings.gradle
Code
14 979
src/main/java/com/kodari/glaciersmp/GlacierSMP.java
package com.kodari.glaciersmp;

import lombok.Getter;
import org.bukkit.Bukkit;
import org.bukkit.plugin.java.JavaPlugin;

public class GlacierSMP extends JavaPlugin {
    @Getter
    private PlayerDataManager dataManager;
    @Getter
    private CoreItemFactory itemFactory;
    @Getter
    private CooldownManager cooldownManager;
    @Getter
    private AbilityService abilityService;

    @Override
    public void onEnable() {
        saveDefaultConfig();
        dataManager = new PlayerDataManager(this);
        dataManager.load();
        itemFactory = new CoreItemFactory(this);
        cooldownManager = new CooldownManager();
        abilityService = new AbilityService(dataManager, cooldownManager);

        Bukkit.getPluginManager().registerEvents(new GlacierListener(dataManager, itemFactory, abilityService), this);
        GlacierCommand command = new GlacierCommand(dataManager, itemFactory);
        getCommand("glacier").setExecutor(command);
        getCommand("glacier").setTabCompleter(command);

        long interval = Math.max(1L, getConfig().getLong("energy.regeneration-interval-ticks", 20L));
        Bukkit.getScheduler().runTaskTimer(this,
                () -> Bukkit.getOnlinePlayers().forEach(player -> dataManager.regenerate(player.getUniqueId())),
                interval, interval);
        getLogger().info("Glacier SMP enabled with " + CoreType.values().length + " Glacier Cores.");
    }

    @Override
    public void onDisable() {
        if (dataManager != null) {
            dataManager.save();
        }
    }
}