Nepali Siddu Gamer

Create a professional Minecraft Paper 1.21.11 plugin called ArtifactSMP.

The plugin should feel like a vanilla Minecraft feature rather than a mod. Every mechanic, message, sound, cooldown, particle effect, and GUI should match Minecraft's design philosophy. Avoid flashy MMO-style effects, excessive particles, boss bars everywhere, or overpowered abilities.

Core Concept

The world contains rare magical Artifacts.

Each Artifact grants a unique ability.

Artifacts have limited charges.

Every use consumes one charge.

When an Artifact reaches 0 charges, its ability can no longer be used until recharged.

Players must find rare Artifact Cores to restore charges.

The plugin should be designed for a scripted SMP and support multiplayer PvP situations.

Technical Requirements

* Paper 1.21.11 * Java 21 * Fully configurable through YAML files * Clean package structure * No hardcoded values * Proper cooldown management * Persistent item data storage * Supports server restarts * No memory leaks * No console errors * Reload-safe * Supports future artifact additions without code rewrites

Resource Pack Support

Use Minecraft's modern item model system.

Every Artifact must have:

* unique item identifier * custom model support * custom texture support * custom display name * custom lore

The plugin should expose a model ID value in config so resource pack creators can easily assign custom models.

Do NOT generate textures.

Simply make the plugin fully compatible with future custom models and textures.

Artifact Discovery

Artifacts should be obtainable through:

* Ancient Cities * Trial Chambers * Bastions * Woodland Mansions * Buried Treasure * Configurable custom loot tables

Artifacts must feel rare.

Default spawn rates should be very low.

Charge System

Every artifact has:

* max charges * current charges

Example:

Blink Orb Current Charges: 5/8

Displayed directly in item lore.

Using an ability removes one charge.

When charges reach zero:

* item remains * ability becomes unusable * player receives feedback

Artifact Core

Special item used for recharging.

Right-click artifact while holding an Artifact Core.

Configurable recharge amount.

Default: +2 charges

Cannot exceed maximum charges.

Artifacts

Blink Orb

Material: Ender Pearl

Ability:

Teleport player 12 blocks forward.

Maximum Charges: 8

Cooldown: 15 seconds

Effects:

Enderman teleport sound small portal particles

Guardian Shield

Material: Shield

Ability:

Blocks next incoming damage completely.

Maximum Charges: 3

Cooldown: 30 seconds

Effects:

Shield block sound

Shadow Dagger

Material: Iron Sword

Ability:

Invisibility for 7 seconds.

Attacking instantly removes invisibility.

Maximum Charges: 4

Cooldown: 45 seconds

Effects:

Dark smoke particles

Berserker Axe

Material: Iron Axe

Ability:

Strength II Speed II

Duration: 8 seconds

Maximum Charges: 5

Cooldown: 60 seconds

Effects:

Subtle red particles

Seeker Eye

Material: Eye of Ender

Ability:

Temporarily reveals nearby players within 40 blocks.

Duration: 5 seconds

Maximum Charges: 5

Cooldown: 45 seconds

Effects:

Glow effect only

Death Coin

Material: Gold Nugget

Passive Artifact

If player would die:

* consume one charge * prevent death * set health to 1 heart * grant brief resistance

Maximum Charges: 1

Cooldown:

None

Automatically activates.

Vanilla Design Philosophy

Everything should feel like Mojang designed it.

Use:

* vanilla sounds * vanilla particles * vanilla GUI style * vanilla naming conventions

Avoid:

* holograms * floating text * giant ability messages * excessive action bars * custom inventories unless necessary

Commands

/artifact give <player> <artifact>

/artifact recharge <player> <artifact> <amount>

/artifact core give <player> <amount>

/artifact reload

/artifact list

/artifact info <artifact>

Permissions

Provide permissions for all commands.

Configuration

Configurable:

* cooldowns * charge amounts * loot chances * artifact names * particle effects * sounds * model IDs * recharge values

Data Storage

Use persistent storage.

Artifacts must keep:

* owner information (optional) * charge counts * cooldowns * model IDs

Data must survive restarts.

Final Goal

The plugin should feel like an official Minecraft update feature. Players should immediately understand how artifacts work without reading documentation. Everything should be polished, balanced, multiplayer-friendly, and production-ready.

Kodari AI
KodariOct 3 at 1:45 pm 1
Created ArtifactSMPPlugins
Delegated to ArtifactSMP Running
Build the complete ArtifactSMP Paper plugin in this project. Target Paper 1.21.11 and Java 21. Read the starter project files first and adapt its build/plugin metadata. Implement, document, and configure the feature set below; do not attempt to run Gradle/Maven or compile (the workspace verifier does that). Deliver clean maintainable Java packages, no textures, and sensible vanilla defaults. FEATURES / DEFAULTS - Data-driven artifact definitions loaded from YAML so new artifacts can be added/edited without Java changes. Ship six defaults: blink_orb (ENDER_PEARL, max 8, 15s cooldown; teleport 12 blocks forward); guardian_shield (SHIELD, max 3, 30s cooldown; activate to negate next incoming damage completely); shadow_dagger (IRON_SWORD, max 4, 45s cooldown; invisibility 7s, attacking cancels it immediately); berserker_axe (IRON_AXE, max 5, 60s cooldown; Strength II + Speed II for 8s); seeker_eye (ENDER_EYE, max 5, 45s cooldown; reveal nearby players within 40 blocks for 5s using glowing); death_coin (GOLD_NUGGET, max 1, passive/no cooldown; prevent one otherwise-lethal hit, consume its charge, leave player at 2 health, brief resistance). All numeric values, messages, sounds, particles, durations, cooldowns, model identifiers, names/lore, loot chances, recharge amount, and applicable effect settings must be YAML configurable. Include safe defaults in shipped config(s), but no gameplay constants hard-coded in Java. Ensure sensible validation/fallbacks and document keys. - Artifacts are identifiable by stable plugin-owned namespaced item identifiers in PersistentDataContainer, never by display name/material alone. Store artifact ID and current charges on item PDC; include optional owner UUID, model ID and other required state where applicable. Show current/max charge directly in lore, e.g. “Charges: 5/8”, updating after use/recharge. Model support should use the modern 1.21 item-model/custom-model data approach supported by the chosen Paper API, expose a configurable model ID for each artifact, and retain compatibility with resource packs; do not generate textures. - Right-click abilities use normal interaction semantics, do not duplicate on offhand events, and consume a charge only when activation succeeds. At zero charges the item remains unusable with concise vanilla-style feedback. Proper per-player/per-artifact cooldown handling with clear remaining-time feedback; persistence of cooldowns across restarts is required. Cooldown and artifact state should be stored safely (e.g. SQLite or an equivalent robust persistent store), avoiding leaks and handling shutdown/reload. - Artifact Core: configurable custom item; right-click a core onto an artifact to restore configured default +2 charges, clamped to maximum, and consume the core only if recharge succeeds. Support `/artifact core give <player> <amount>`. - Discovery: very rare configurable artifact drops through Ancient Cities, Trial Chambers, Bastions, Woodland Mansions, Buried Treasure, plus configurable custom loot-table identifiers. Implement against supported Paper loot APIs or a safe loot-generation integration; avoid repeatedly injecting drops on every reload. Include low default chances and a config path per structure/table. Explain limitations in documentation. - Commands: `/artifact give <player> <artifact>`, `/artifact recharge <player> <artifact> <amount>`, `/artifact core give <player> <amount>`, `/artifact reload`, `/artifact list`, `/artifact info <artifact>`. Add tab completion, player feedback, console-safe handling, validation, and granular permissions for command actions (plus documented defaults). Define descriptor command/permissions. Reload must safely replace configuration/definitions and listeners/task state without duplicate listeners, stale scheduled tasks, or lost persistent data. - Vanilla presentation: vanilla sounds/particles, restrained particles, no holograms/bossbars/custom inventories/flashy MMO effects. Use actionbar/chat feedback sparingly and configurable feedback. Guardian Shield should have a configurable activation lifetime to prevent indefinite stored protection; ship a restrained sensible default. Death Coin must correctly intercept lethal player damage without reducing health below the requested 2 points, and avoid recursion. Shadow Dagger attack cancellation applies to attacks by the dagger owner while its invisibility is active. Seeker Eye should reveal only nearby online players in the same world; clean up effects safely after duration, respecting existing stronger/longer glow where possible. Prevent common PvP abuse and handle quit/death/world change/disable cleanup. PERSISTENCE / QUALITY - Charges travel with the physical item via PDC. Persist per-player cooldown timestamps and any necessary active state across server restarts; safely expire stale states. Handle item stacking/inventory movement/creative copies without corrupting charges. No long-lived player/entity references in maps or scheduler leaks. No external database dependency unless already available; SQLite/JDBC is acceptable only if included/configured appropriately. - Provide organized default YAML (plugin config plus artifact definitions as appropriate), plugin metadata, and a README with install/setup, resource-pack model mapping, permissions/commands, config examples, loot configuration, behavior details, and known compatibility limitations. Add appropriate messages/sounds/particle defaults and avoid unnecessary logging. - Ensure robust null/invalid-config handling, persistent keys namespaced to this plugin, and Paper 1.21.11 API usage. Do not invent features beyond what is necessary to implement this request. Finish by reporting implemented files/features and any unresolved limitation; workspace lead will compile and handle errors.

I’ve started building ArtifactSMP as a Paper plugin, including the six configurable artifacts, persistent charges and cooldowns, Artifact Cores, commands, and rare loot discovery. I also asked the project developer to include setup and resource-pack documentation.

Kodari can make mistakes. Review important code before using.
Files

No files in this session

Code