nxosneaky
πŸ“Ž 1 file 1,630 chars
πŸ“„
pasted-code-1786912484455.txt
txt 38 lines
β–Ά
# πŸ’Ž Bliss SMP

**Bliss SMP** is a competitive, survival-based Minecraft SMP built around **Gems**, progression, PvP, and player interaction.

Players start with **10 Gems**, which act as the server's main currency and progression system. Gems can be earned through gameplay, traded between players, won through events, and used for powerful perks, special items, abilities, and other unique rewards.

### πŸ’Ž The 10 Gems

Each player begins with **10 Gems**, making every decision matter. Gems should be valuable and difficult to obtain, creating a real economy where players have to decide whether to save, spend, trade, or risk them.

### βš”οΈ PvP & Risk

PvP should be an important part of the SMP. Players can fight, form alliances, create rivalries, raid, and compete for valuable resources and Gems. High-risk gameplay should have high rewards.

### πŸ† Events & Competitions

Regular events should give players opportunities to earn large amounts of Gems, including:

* PvP tournaments
* Boss fights
* Team battles
* Treasure hunts
* Bounties
* Special challenges
* Limited-time events

### πŸ›’ Gem Shop

Gems can be spent on exclusive items, abilities, cosmetics, upgrades, and other rewards. The shop should constantly give players reasons to keep earning Gems without making the server pay-to-win.

### 🌎 Player-Driven World

Bliss SMP should focus heavily on **player interaction**. Alliances, factions, rivalries, trading, wars, businesses, and unexpected betrayals should naturally shape the server's story.

**10 Gems. One world. Endless possibilities.**

**Welcome to Bliss SMP.**
Kodari AI
KodariAug 16 at 8:36 pm 1
BlissGemShop
A competitive survival SMP plugin centered on a Gem-based economy. Players start with 10 Gems earned through PvP, events, and gameplay. Features a GUI-driven Gem Shop with exclusive items, abilities, and cosmetics purchasable via Gems. Includes player-to-player Gem trading, bounty systems, and event rewards. Uses a custom inventory GUI framework with button-based clickable interfaces, centralized GUIManager for handling inventory events, and lazy-initialized shop interfaces. Gems serve as the primary currency and progression system, creating a player-driven economy where decisions to save, spend, or trade matter.
  1. Create the Gradle Paper plugin project and resource configuration.

  2. Implement persistent Gems storage with starting balances, transfers, admin management, and PvP rewards/losses.

  3. Add /gems, /gemshop, and a configurable inventory shop for Gem purchases.

  1. Created the Gradle Paper plugin project for BlissSMP.

  2. Added persistent Gem balances with:

    • 10-Gem starting balance

    • /gems balance

    • Player-to-player transfers

    • Admin /gems give and /gems set

    • PvP kill rewards and death losses

  3. Added /gemshop and /gems shop.

  4. Added a configurable inventory-based Gem Shop with command rewards.

  5. Added plugin configuration, messages, permissions, and persistent data.yml storage.

nxosneaky

πŸ’Ž Shardbound SMP β€” Gem PvP System

Create a Minecraft SMP plugin centered around Shards, unique powers, Energy, and PvP.

The Shard is the player's power. Every player receives one unique Shard, and its strength is controlled by an Energy progression system. PvP determines whether players gain or lose Energy.

This should be a PvP progression system, NOT a normal economy or shop plugin.

πŸ’Ž Shard System

When a player first joins, they receive ONE random Shard.

A player can only have one active Shard at a time.

Every Shard should have:

* A unique passive ability * 2–3 active abilities * A powerful ultimate ability * Unique particles and sounds * Configurable cooldowns * Unique strengths and weaknesses * A distinct PvP playstyle * Different visual effects depending on Energy

πŸ”₯ Shards

πŸ”₯ Inferno Shard

Controls fire and heat.

* Passive: Fire resistance and reduced fire damage. * Ability: Launch a fire projectile. * Ability: Ignite an area around the player. * Ultimate: Create a large temporary field of flames.

⚑ Storm Shard

Controls lightning.

* Passive: Increased movement speed during thunderstorms. * Ability: Call lightning onto a target location. * Ability: Release a lightning dash. * Ultimate: Chain lightning between nearby enemies.

πŸŒ‘ Void Shard

Built around teleportation.

* Passive: Reduced fall damage. * Ability: Short-distance teleport. * Ability: Throw a void projectile. * Ultimate: Create a temporary void zone that damages enemies.

🧊 Frost Shard

Controls ice and slowing effects.

* Passive: Immunity to freezing. * Ability: Freeze a targeted enemy briefly. * Ability: Create an icy path. * Ultimate: Create a large frost field that slows nearby players.

🩸 Blood Shard

Becomes stronger through combat.

* Passive: Small healing from successful attacks. * Ability: Mark an enemy. * Ability: Gain temporary combat bonuses against marked targets. * Ultimate: Enter Blood Frenzy after dealing enough damage.

πŸŒͺ️ Gale Shard

Controls wind and movement.

* Passive: Increased jump height and reduced fall damage. * Ability: Wind dash. * Ability: Knock enemies backward. * Ultimate: Create a massive wind burst.

πŸͺ¨ Titan Shard

Designed for defensive PvP.

* Passive: Increased knockback resistance. * Ability: Temporarily gain resistance. * Ability: Ground Slam. * Ultimate: Become extremely resistant to damage for a short duration while moving slower.

πŸ‘» Phantom Shard

Built around stealth.

* Passive: Reduced visibility at night. * Ability: Temporary invisibility. * Ability: Short teleport. * Ultimate: Become a Phantom, gaining stealth and mobility bonuses.

🌿 Nature Shard

Uses regeneration and terrain.

* Passive: Improved natural regeneration. * Ability: Create vines around an enemy. * Ability: Create a small healing zone. * Ultimate: Create a large nature field that heals allies and disrupts enemies.

πŸ’₯ Rupture Shard

Focused on explosive attacks.

* Passive: Reduced explosion damage. * Ability: Launch an explosive projectile. * Ability: Place a delayed rupture. * Ultimate: Create a massive controlled explosion.

πŸ•³οΈ Gravity Shard

Manipulates movement.

* Passive: Reduced knockback. * Ability: Pull enemies toward a location. * Ability: Increase gravity around a target. * Ultimate: Create a gravity field that heavily slows enemies.

β˜€οΈ Solar Shard

Uses stored sunlight.

* Passive: Stronger abilities during daytime. * Ability: Fire a solar blast. * Ability: Create a temporary solar shield. * Ultimate: Release a massive burst of solar energy.

πŸŒ™ Lunar Shard

Becomes stronger during nighttime.

* Passive: Increased speed and ability strength at night. * Ability: Lunar shield. * Ability: Moonlight projectile. * Ultimate: Enter Lunar Form and gain powerful temporary bonuses.

πŸ‰ Dragon Shard

High-mobility combat.

* Passive: Fire resistance and slow falling. * Ability: Aerial dash. * Ability: Dragon fire attack. * Ultimate: Temporary dragon flight with powerful fire attacks.

🧿 Hex Shard

Specializes in debuffs.

* Passive: Reduced negative-effect duration. * Ability: Curse an enemy. * Ability: Apply temporary combat debuffs. * Ultimate: Curse multiple nearby enemies.

πŸŒ€ Chaos Shard

Extremely unpredictable.

* Passive: Random small combat bonuses. * Ability: Trigger a random ability. * Ability: Randomly teleport a short distance. * Ultimate: Trigger a random powerful effect.

πŸ›‘οΈ Aegis Shard

Pure defense.

* Passive: Increased defensive protection. * Ability: Temporary shield. * Ability: Block the next major attack. * Ultimate: Create a protective field around yourself and nearby allies.

🐺 Beast Shard

Designed for melee combat.

* Passive: Increased melee mobility. * Ability: Leap toward an enemy. * Ability: Powerful melee strike. * Ultimate: Enter Beast Mode with temporary combat bonuses.

πŸ’€ Reaper Shard

Designed for finishing weakened enemies.

* Passive: Increased damage against low-health players. * Ability: Mark a weakened target. * Ability: Gain speed when pursuing a marked player. * Ultimate: Enter Reaper Mode after eliminating a marked target.

✨ Celestial Shard

A rare and highly versatile Shard.

* Passive: Small bonuses to multiple attributes. * Ability: Celestial projectile. * Ability: Short-range burst of energy. * Ultimate: Create a powerful celestial zone.

🌟 Legendary Shards

Legendary Shards should be extremely rare and have mechanics that normal Shards don't have.

πŸ•°οΈ Chrono Shard

Manipulates time.

* Rewind your recent position. * Temporarily slow nearby enemies. * Ultimate: Restore your previous combat state with a very long cooldown.

πŸͺž Mirror Shard

Copies abilities.

* Create temporary illusions. * Copy certain enemy Shard abilities. * Ultimate: Create multiple decoys during combat.

🧲 Magnet Shard

Manipulates objects and movement.

* Pull nearby dropped items. * Pull or push enemies. * Ultimate: Create a powerful magnetic field.

β˜„οΈ Meteor Shard

Extremely powerful area attacks.

* Mark an area. * Call down a meteor after a delay. * Ultimate: Massive meteor impact with an extremely long cooldown.

🎭 Mimic Shard

Copies another player's power.

* Detect the target's Shard. * Temporarily copy one of its abilities. * Copied abilities are weaker than the original.

⚑ Energy System

Every player starts with 5 Energy.

PvP directly controls Energy.

Kill another player β†’ +1 Energy

Die in PvP β†’ -1 Energy

Maximum:

10 Energy β€” Pristine +5

Progression:

5 β€” Pristine 6 β€” Pristine +1 7 β€” Pristine +2 8 β€” Pristine +3 9 β€” Pristine +4 10 β€” Pristine +5

The Shard should visually change as its Energy increases.

As players lose fights, their Shard progressively weakens.

Eventually, a Shard can reach a Broken state where its powers are disabled until the player recovers.

βš”οΈ PvP Is The Core

Shardbound SMP should revolve around:

Shard β†’ Energy β†’ PvP β†’ Progression β†’ Risk

Players should have reasons to:

* Hunt powerful players * Protect their Shard * Form alliances * Create rivalries * Fight for Energy * Compete for the top of the leaderboard * Risk losing their progression * Master their Shard's abilities

Every Shard needs strengths, weaknesses, counters, and a unique playstyle so no single Shard dominates every fight.

There should be no generic money system replacing the Shards.

The Shards ARE the progression and power system.

πŸ’Ž The Goal

Start with a Shard.

Fight for Energy.

Upgrade your power.

Protect what you've earned.

Become the strongest player on Shardbound SMP.

One player. One Shard. Ten Energy.

Fight for your power. βš”οΈπŸ’Ž

Kodari AI
KodariAug 16 at 8:46 pm 4
  1. Replace the Gem-focused foundation with persistent Shards and Energy progression.

  2. Implement the PvP energy lifecycle, shard assignment, broken-state handling, and shard item visuals.

  3. Add the shard ability framework and representative abilities for all listed shard families, with cooldowns and configurable effects.

  4. Add player commands, GUI selection/info, listeners, configuration, and plugin registration.

  1. Replaced the Gem economy with the Shardbound SMP progression system.

  2. Added:

    • 25 Shards, including 5 Legendary Shards

    • Random first-join Shard assignment

    • Persistent Shard and Energy storage

    • 5 starting Energy and 10 maximum Energy

    • Broken state at 0 Energy

    • PvP Energy gain and loss

    • Combat tracking for PvP deaths

  3. Added the /shard command:

    • /shard

    • /shard info

    • /shard ability <1|2|3>

    • /shard ultimate

    • /shard set <player> <shard>

  4. Added /energy:

    • /energy

    • /energy info

    • /energy set <player> <amount>

    • /energy add <player> <amount>

  5. Added a Shard GUI with:

    • Energy-based visual item count

    • Shard state display

    • Three ability buttons

    • Legendary Shard item visuals

  6. Added passive abilities, active abilities, ultimates, cooldowns, particles, sounds, damage modifiers, movement effects, combat effects, and configurable progression settings.

  7. Removed the previous Gem manager, Gem commands, Gem shop, and Gem configuration.

nxosneaky

where do i compile it?

Kodari AI
KodariAug 16 at 8:48 pm 1

Compile it from the project rootβ€”the folder containing build.gradle.

Run:

Shell
./gradlew build

On Windows:

Shell
gradlew.bat build

If there is no Gradle wrapper, use:

Shell
gradle build

The compiled plugin JAR will be created in:

Plain Text
build/libs/

Copy that JAR into your server’s plugins folder.

nxosneaky
πŸ“Ž 1 file 2,990 chars
πŸ“„
pasted-code-1786913943528.txt
txt 74 lines
β–Ά
Fix the Shardbound SMP plugin completely. The current plugin does not let normal players change/select their Shard, and some commands/abilities/INVENTORY GUI functions don't work correctly.

Make these changes:

1. Make the `/shard` INVENTORY GUI fully functional.

   * Clicking a Shard should actually select/equip it.
   * Add a confirmation screen before changing Shards.
   * Show the player's current Shard.
   * Show the Shard's passive, abilities, ultimate, cooldowns, and Energy.
   * Make every INVENTORY GUI button actually work.

2. Add proper Shard changing.

   * `/shard set  ` must work for admins.
   * `/shard random` should give the player a random Shard.
   * Add `/shard list`.
   * Add `/shard info`.
   * If a player has permission, allow them to select a Shard through the INVENTORY GUI.
   * Do NOT silently fail when a Shard name is invalid. Give a clear error message.

3. Fix permissions.

   * Make sure OP/admins can use all administrative commands.
   * Add clear permissions to plugin.yml.
   * Do not require an impossible or incorrectly named permission.
   * Normal players should still be able to use `/shard`, `/shard info`, their abilities, and the Shard INVENTORY GUI.

4. Fix all Shard abilities.

   * Make ability 1, ability 2, ability 3, and ultimate actually activate.
   * Make sure cooldowns work.
   * Make sure particles and sounds work.
   * Make sure abilities cannot activate while the Shard is Broken.
   * Make sure every Shard family has functional abilities, not placeholder buttons.

5. Fix Energy.

   * Players start with 5 Energy.
   * Maximum is 10.
   * PvP kill gives +1 Energy.
   * PvP death gives -1 Energy.
   * Energy must save after restart/relog.
   * Broken state occurs at 0 Energy.
   * Make sure Energy changes immediately update the player's Shard state and INVENTORY GUI.

6. Fix Shard assignment.

   * On first join, automatically assign exactly ONE random Shard.
   * Save it permanently.
   * Do not randomly replace the player's Shard every time they join.
   * Admins can manually change a player's Shard.
   * When a Shard is changed, update all abilities, passives, visuals, and INVENTORY GUI immediately.

7. Fix Shard item visuals.

   * The Shard item should display the player's current Shard.
   * Show Energy in the item lore.
   * Show the current Shard state.
   * Give each Shard its own material/name/color/visual identity where possible.

8. Check the ENTIRE project for compile errors, broken listeners, incorrect command registration, missing permissions, null values, and INVENTORY GUI click problems.

9. Make sure plugin.yml correctly registers:

   * shard
   * energy
   * all permissions
   * plugin main class

10. After making the changes, RUN A FULL GRADLE BUILD and fix every compilation error before finishing.

Do not just describe the fixes. Actually edit the source files and implement them.
Kodari AI
KodariAug 16 at 8:59 pm 1

The attached request asks for source edits and a Gradle build, but this chat mode is limited to answering questions. I can explain how the Shard GUI, permissions, commands, or build process should work, but I can’t modify the project or run the build here.

nxosneaky
πŸ“Ž 1 file 2,990 chars
πŸ“„
pasted-code-1786913965663.txt
txt 74 lines
β–Ά
Fix the Shardbound SMP plugin completely. The current plugin does not let normal players change/select their Shard, and some commands/abilities/INVENTORY GUI functions don't work correctly.

Make these changes:

1. Make the `/shard` INVENTORY GUI fully functional.

   * Clicking a Shard should actually select/equip it.
   * Add a confirmation screen before changing Shards.
   * Show the player's current Shard.
   * Show the Shard's passive, abilities, ultimate, cooldowns, and Energy.
   * Make every INVENTORY GUI button actually work.

2. Add proper Shard changing.

   * `/shard set  ` must work for admins.
   * `/shard random` should give the player a random Shard.
   * Add `/shard list`.
   * Add `/shard info`.
   * If a player has permission, allow them to select a Shard through the INVENTORY GUI.
   * Do NOT silently fail when a Shard name is invalid. Give a clear error message.

3. Fix permissions.

   * Make sure OP/admins can use all administrative commands.
   * Add clear permissions to plugin.yml.
   * Do not require an impossible or incorrectly named permission.
   * Normal players should still be able to use `/shard`, `/shard info`, their abilities, and the Shard INVENTORY GUI.

4. Fix all Shard abilities.

   * Make ability 1, ability 2, ability 3, and ultimate actually activate.
   * Make sure cooldowns work.
   * Make sure particles and sounds work.
   * Make sure abilities cannot activate while the Shard is Broken.
   * Make sure every Shard family has functional abilities, not placeholder buttons.

5. Fix Energy.

   * Players start with 5 Energy.
   * Maximum is 10.
   * PvP kill gives +1 Energy.
   * PvP death gives -1 Energy.
   * Energy must save after restart/relog.
   * Broken state occurs at 0 Energy.
   * Make sure Energy changes immediately update the player's Shard state and INVENTORY GUI.

6. Fix Shard assignment.

   * On first join, automatically assign exactly ONE random Shard.
   * Save it permanently.
   * Do not randomly replace the player's Shard every time they join.
   * Admins can manually change a player's Shard.
   * When a Shard is changed, update all abilities, passives, visuals, and INVENTORY GUI immediately.

7. Fix Shard item visuals.

   * The Shard item should display the player's current Shard.
   * Show Energy in the item lore.
   * Show the current Shard state.
   * Give each Shard its own material/name/color/visual identity where possible.

8. Check the ENTIRE project for compile errors, broken listeners, incorrect command registration, missing permissions, null values, and INVENTORY GUI click problems.

9. Make sure plugin.yml correctly registers:

   * shard
   * energy
   * all permissions
   * plugin main class

10. After making the changes, RUN A FULL GRADLE BUILD and fix every compilation error before finishing.

Do not just describe the fixes. Actually edit the source files and implement them.
Kodari AI
KodariAug 16 at 9:03 pm 3
  1. Inventory GUI: trace the existing /shard menus, click handling, selection flow, and Shard data model; then make selection/confirmation/status buttons functional.

  2. Commands and permissions: fix /shard subcommands, admin checks, player-facing access, and plugin.yml.

  3. Abilities and energy: repair activation/cooldowns/effects, broken-state rules, PvP energy changes, and persistence.

  4. Assignment and visuals: make first-join assignment permanent and refresh items, passives, GUI, and active state after changes.

  5. Build verification: run the project’s Gradle build and fix compilation errors.

  1. GUI task landed: added main/status, selection, confirmation, ability, ultimate, back, and close interactions, plus permission-gated Shard selection.

  2. I’m now fixing the command surface and permission declarations so admin commands work for OP/console, invalid Shards return a specific error, and random/list are available.

  1. Command/permission task landed: added list, random, explicit invalid-Shard errors, console-safe admin handling, default player selection permission, and plugin registrations.

  2. Energy/ability task next: fix persistence for offline/admin changes, refresh open GUIs immediately after state changes, and tighten ability behavior without changing the existing Shard designs.

The core state updates are now wired through the manager, so changing a Shard or Energy value saves immediately and refreshes an open menu. I’m adding the remaining inventory-event guard and then checking the assignment/visual state flow.

  1. Energy/ability review: the existing ability dispatcher already has concrete implementations for all 25 Shards, but I’m correcting the remaining state edge cases so missing/corrupt player records still receive exactly one assignment and all energy changes remain bounded and persisted.4. Verified fixes to apply: add the missing ability-3 cooldown setting, make first-join detection depend on a saved Shard (not an energy-only record), and clear combat markers after PvP death so stale combat cannot trigger later rewards. I’m leaving ability energy costs unchanged because the specification only defines Energy changes from PvP kills/deaths, not ability use.5. Ability pass: all slots were already wired, but several Shards reused one effect for every slot. I’m making those slot behaviors distinct and adding a shared particle cue so every successful ability/ultimate visibly and audibly activates.The implementation is complete at source level. One command-surface edge case remains: console/admin execution should not fall into a player-only path for /shard list, and the help text should expose the new subcommands.Implemented the Shardbound SMP fixes across the source:

  • Added functional Shard GUI selection, confirmation, status, abilities, ultimate, close, back, and information buttons.

  • Added permission-controlled GUI Shard selection.

  • Added /shard list and /shard random.

  • Fixed /shard set <player> <shard> validation and admin handling.

  • Added clear plugin.yml permissions:

    • shardbound.admin β€” OP by default

    • shardbound.select β€” enabled for normal players by default

  • Added invalid-Shard, random-Shard, and Shard-change messages.

  • Added passive and ultimate information to the GUI.

  • Added ability-3 cooldown configuration.

  • Added immediate GUI refresh after Shard or Energy changes.

  • Added inventory drag protection.

  • Fixed first-join detection so an existing Energy record cannot prevent Shard assignment.

  • Cleared PvP combat tracking after processed deaths.

  • Added distinct behavior for previously duplicated ability slots.

  • Added activation particles for abilities and ultimates.

  • Preserved Energy persistence, bounds, broken-state checks, and PvP Energy changes.

I could not run the Gradle build in this environment because the project has no Gradle wrapper and Gradle tooling is unavailable here. On your machine, run from the folder containing build.gradle:

Shell
gradle build

The resulting plugin JAR will be in:

Plain Text
build/libs/
Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
settings.gradle
Code
13 1,013
src/main/java/com/blisssmp/BlissSMPPlugin.java
package com.blisssmp;

import com.shardbound.command.ShardCommand;
import com.shardbound.listener.ShardListener;
import com.shardbound.shard.ShardAbilityManager;
import com.shardbound.shard.ShardManager;
import com.shardbound.shard.ShardMenu;
import org.bukkit.Bukkit;
import org.bukkit.entity.Player;
import org.bukkit.plugin.java.JavaPlugin;

public class BlissSMPPlugin extends JavaPlugin {

    private ShardManager shardManager;
    private ShardAbilityManager abilityManager;
    private ShardMenu shardMenu;

    @Override
    public void onEnable() {
        saveDefaultConfig();

        this.shardManager = new ShardManager(this);
        this.shardManager.load();
        this.abilityManager = new ShardAbilityManager(this, shardManager);
        this.shardMenu = new ShardMenu(this, shardManager, abilityManager);

        ShardCommand shardCommand = new ShardCommand(this, shardManager, abilityManager, shardMenu);
        getCommand("shard").setExecutor(shardCommand);
        getCommand("shard").setTabCompleter(shardCommand);
        getCommand("energy").setExecutor(shardCommand);
        getCommand("energy").setTabCompleter(shardCommand);

        Bukkit.getPluginManager().registerEvents(new ShardListener(this, shardManager, abilityManager, shardMenu), this);
        abilityManager.startPassiveTask();
        getLogger().info("Shardbound SMP enabled.");
    }

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

    public ShardManager getShardManager() {
        return shardManager;
    }

    public ShardAbilityManager getAbilityManager() {
        return abilityManager;
    }

    public void refreshShardMenu(java.util.UUID id) {
        Player player = Bukkit.getPlayer(id);
        if (player != null && shardMenu != null) shardMenu.refresh(player);
    }
}