itselixir83
📎 1 file 4,875 chars
📄
pasted-code-1772012521594.txt
txt 230 lines
▶
Create a Minecraft Paper/Spigot 1.21.11 plugin called “Sin Plugin” for a cinematic YouTube SMP.

Theme:
Deal with the Devil for Power in Exchange of Life.
Dark. Dramatic. Cinematic. Powerful.

━━━━━━━━━━━━━━━━━━━━━━
🧠 CORE RULES
━━━━━━━━━━━━━━━━━━━━━━

• 3 Sins: Wrath, Envy, Greed  
• Only ONE of each Sin user can exist at a time  
• If a Sin holder dies → Permanent Ban  
• Ritual requires minimum 10 players online  
• Cannot craft a Sin if someone already owns it  

Main ability command:
/ability

Envy second ability:
/envy swap 

Admin ritual command:
/alter spawn

━━━━━━━━━━━━━━━━━━━━━━
🤝 SIN TRUST SYSTEM
━━━━━━━━━━━━━━━━━━━━━━

Sin holders can protect specific players from their abilities.

Add trust:
/sin trust 

Remove trust:
/sin untrust 

List trusted players:
/sin trustlist

TRUST RULES:

• Only Sin holders can use trust commands  
• Trusted players are immune to the Sin holder’s abilities  
• They still see effects but take NO damage  
• Trust resets if Sin holder dies or Sin transfers  

Wrath:
- Trusted players do not take explosion damage
- Do not burn from fire

Envy:
- Immune to Genjutsu
- Cannot be targeted with swap

When trusting:
Message: “You have bound  under your Sin protection.”
Sound: Beacon activate

When untrusting:
Message: “You have removed  from your Sin protection.”
Sound: Anvil break

━━━━━━━━━━━━━━━━━━━━━━
🔥 WRATH
━━━━━━━━━━━━━━━━━━━━━━

Passive:
• Permanent Strength I

Active (/ability)
Cooldown: 5 minutes

Effect:
• TNT-style explosion at player location
• Breaks blocks
• Sets nearby area on fire
• User immune to explosion
• Strength III (2 min)
• Speed II (2 min)
• Fire Resistance (30 sec)

After 2 minutes:
• Weakness I (1 min)
• Slowness II (1 min)
Title:
“You Are Exhausted.”

After exhaustion ends:
Passive restored.

Theme:
Rage mode, loud explosion, fire sounds, demonic growl.

━━━━━━━━━━━━━━━━━━━━━━
👁 ENVY
━━━━━━━━━━━━━━━━━━━━━━

Ability 1 – Genjutsu (/ability)
Cooldown: 5 minutes
Range: 10 blocks AoE

Enemies:
• Cannot move
• Cannot jump
• Blindness
Title:
“You Are Under Genjutsu.”

Dark illusion particles + eerie sounds.

Ability 2 – Swap (/envy swap )
Cooldown: 1 hour

• Target sees glitching title:
  “Someone is swapping places with you...”
• Text slowly fixes over 10 seconds
• After 10 seconds → positions swap
• Enderman teleport sound

━━━━━━━━━━━━━━━━━━━━━━
💰 GREED
━━━━━━━━━━━━━━━━━━━━━━

Passive:
• Fast block breaking (custom, not Haste)
• Hero of the Village

Active – Gambling Spin (/ability)
Cooldown: 5 minutes

Casino-style spinning UI with sound effects.

Chances:
45% WIN:
• Duplicate item in hand
• Insta break blocks
• Villagers trade anything for 1 emerald
• Duration: 2 minutes

44% LOSE:
• Item in hand deleted
• Mining Fatigue
• Villagers refuse trades
• Duration: 2 minutes

1% JACKPOT:
• Immortal for 2 minutes

Spinning sound + dramatic stop + jackpot fireworks.

━━━━━━━━━━━━━━━━━━━━━━
🕯 RITUAL SYSTEM
━━━━━━━━━━━━━━━━━━━━━━

Admin runs:
/alter spawn

• Spawns indestructible crafting table (The Alter)
• 100x100 ritual radius
• Right-click opens crafting INVENTORY GUI
• Crafting time: 10 minutes (boss bar drains slowly)

During crafting:
• Crafter glows
• Everyone sees who is crafting
• If crafter leaves area:
  “Return to the ritual area in 10 seconds.”
• If not returned → nearest player becomes crafter
• If crafter dies → killer becomes crafter
• King of the Hill mechanic

When timer ends:
• Crafter levitates
• Sin-themed particles circle player
• Invincible during animation
Title:
“The Devil Grants You the Sin of ”
• Falls safely
• Gains abilities

━━━━━━━━━━━━━━━━━━━━━━
🧪 RECIPES
━━━━━━━━━━━━━━━━━━━━━━

WRATH:
• 4 End Crystal
• 4 Netherite Ingot
• Wrath Relic (center)
Spawn:
10% Nether Fortress chest
4% Bastion chest

ENVY:
• 4 Ender Pearl
• 4 Crying Obsidian
• Envy Relic (center)
Spawn:
30% End Ship chest
End Cities

GREED:
• 4 Emerald Block
• 4 Gold Block
• Greed Relic (center)
Spawn:
20% Ancient City chest

All Relics:
• Enchanted glow
• Custom dark lore
• Unique name formatting

━━━━━━━━━━━━━━━━━━━━━━
⚠ FINAL REQUIREMENTS
━━━━━━━━━━━━━━━━━━━━━━

• Heavy cinematic sound design
• Boss bars
• Titles
• Action bars
• Particle effects
• Dark devil aesthetic
• Optimized & modular
• Future sin expansion support
• Feels forbidden and dangerous

END OF PLUGIN SPECIFICATION.

make it so colour work means like &7name stuff and &l  codes things so sin name and lore and chat of plugin look cool and make it so admin dont need the 10 player requrment to start ritual and add /relic giveall command so admin can get all relics of all sin by using this command
Kodari AI
KodariFeb 25 at 9:46 am 33,339 (v2)

I’ll create a comprehensive Sin Plugin for your cinematic SMP with dark devil aesthetic, trust system, and all the requested features.

SinPlugin
A dark cinematic plugin for YouTube SMPs where players make deals with the devil. Features three powerful Sins (Wrath, Envy, Greed) with unique abilities, a King-of-the-Hill ritual system, trust-based protection, and permanent death consequences. Includes dramatic boss bars, particles, sounds, and a casino-style gambling system. Only one holder per Sin can exist at a time, creating intense competition and betrayal opportunities.

Now I’ll create the complete Sin Plugin with all features.

Complete Sin Plugin created with all requested features:

✅ Core Features: 3 Sins (Wrath, Envy, Greed) with one holder per sin, permanent ban on death, 10-player ritual requirement (bypassed for admins)

✅ Trust System: /sin trust/untrust/trustlist commands with protection from abilities, sounds on trust changes

✅ Wrath: Explosion ability with Strength III, Speed II, Fire Resistance, followed by exhaustion debuffs, passive Strength I

✅ Envy: Genjutsu immobilization + /envy swap with glitching animation over 10 seconds

✅ Greed: Casino gambling GUI with spinning animation, 45% win, 44% lose, 1% jackpot, passive insta-break and Hero of Village

✅ Ritual System: King-of-the-Hill mechanics with /alter spawn, 10-minute boss bar, levitation animation, particle effects

✅ Relics: Custom items with enchanted glow, spawn in specific chests, /relic giveall admin command

✅ Legacy Colors: All messages and items use & color codes (&4, &l, &7, etc.)

✅ Cinematic Effects: Heavy sound design, boss bars, titles, action bars, particles, dramatic animations

itselixir83

why i can craft sin in alter make it so by placeing diamonds and emarald in alter crafting INVENTORY GUI with relic in midel can craft greed and every sin can we craft in that why relic in midel and other items

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
Code
29 2,196
src/main/java/com/sinplugin/SinPlugin.java
package com.sinplugin;

import com.sinplugin.command.*;
import com.sinplugin.listener.*;
import com.sinplugin.manager.*;
import com.sinplugin.util.ColorUtil;
import lombok.Getter;
import org.bukkit.Bukkit;
import org.bukkit.plugin.java.JavaPlugin;

@Getter
public class SinPlugin extends JavaPlugin {
    
    private SinManager sinManager;
    private AbilityManager abilityManager;
    private RitualManager ritualManager;
    private RelicManager relicManager;
    private DataManager dataManager;
    
    @Override
    public void onEnable() {
        saveDefaultConfig();
        
        this.dataManager = new DataManager(this);
        this.sinManager = new SinManager(this);
        this.abilityManager = new AbilityManager(this);
        this.ritualManager = new RitualManager(this);
        this.relicManager = new RelicManager(this);
        
        dataManager.loadData();
        
        registerCommands();
        registerListeners();
        
        getLogger().info(ColorUtil.strip("&4Sin Plugin &7has been &aenabled&7. The Devil awaits..."));
    }
    
    @Override
    public void onDisable() {
        if (ritualManager != null) {
            ritualManager.cleanup();
        }
        if (dataManager != null) {
            dataManager.saveData();
        }
        getLogger().info(ColorUtil.strip("&4Sin Plugin &7has been &cdisabled&7."));
    }
    
    private void registerCommands() {
        getCommand("ability").setExecutor(new AbilityCommand(this));
        getCommand("envy").setExecutor(new EnvyCommand(this));
        getCommand("alter").setExecutor(new AlterCommand(this));
        getCommand("relic").setExecutor(new RelicCommand(this));
        getCommand("sin").setExecutor(new SinTrustCommand(this));
    }
    
    private void registerListeners() {
        Bukkit.getPluginManager().registerEvents(new PlayerDeathListener(this), this);
        Bukkit.getPluginManager().registerEvents(new RitualListener(this), this);
        Bukkit.getPluginManager().registerEvents(new ChestOpenListener(this), this);
        Bukkit.getPluginManager().registerEvents(new PassiveAbilityListener(this), this);
    }
}