royalkiller77
📎 1 file 3,377 chars
📄
pasted-code-1772277105760.txt
txt 230 lines
▶
🧿 Blessing & Curse Network (SMP Plugin)

A hidden fate system where players, land, and deaths spread fortune or misfortune in Minecraft.

No GUIs. No stats. No commands for players.

🔑 CORE CONCEPT

Each player has:

0–2 Blessings

0–2 Curses

They:

Trigger occasionally, not constantly

Transfer through interaction

Can bind to land

Can pass on death

The server becomes a web of consequences.

🧿 SYSTEM 1: Blessings & Curses (Simple Set)
Blessings (Examples)
Name	Effect
Fleetstep	Short speed burst in danger
Gentle Hand	Tools lose less durability sometimes
Quiet Ground	Fewer hostile mobs nearby
Second Wind	Rarely avoid lethal damage
Curses (Examples)
Name	Effect
Heavy Step	Random slowness
Fracture	Tools randomly lose extra durability
Attracted	Mobs target you more
Whispering Dark	Fake sounds/particles

👉 Effects are randomized + cooldown-based so players can’t predict them.

⏳ SYSTEM 2: Trigger Logic

Each effect has:

minInterval (e.g. 20–60 mins)

activationChance (e.g. 5–15%)

conditions:

Low health

Night

Alone

Combat

Underground

This keeps it subtle and creepy.

🔁 SYSTEM 3: Transfer Mechanics (IMPORTANT)

Blessings/curses can jump players via:

Transfer Events
Event	Chance
Kill another player	30%
Save a player from death	25%
Trade repeatedly	10%
Sleep near same player often	10%
Transfer Rules

Only one effect transfers

Effect may mutate

Original holder may lose or weaken it

This creates SMP drama without PvP forcing.

☠️ SYSTEM 4: Death Inheritance

On death:

40% chance → effect jumps to killer

30% chance → effect anchors to nearby chunk

30% chance → effect fades

No guaranteed punishment.

🌍 SYSTEM 5: Area Infection (Cursed Land)

Chunks store curse energy.

Effects of Cursed Areas

Slightly higher mob spawn chance

Crops grow unevenly

Tools decay faster

Ambient creepy sounds

Spread Rules

Curse energy grows if:

Multiple cursed players linger

Repeated deaths occur

Curse energy decays over real time

🛡️ SYSTEM 6: Blessed Safe Zones

Blessings can anchor to land.

How Safe Zones Form

Blessed player stays in area long-term

Builds & beds present

No recent PvP

Effects

Fewer hostile mobs

Faster natural regen

Slight luck boost

Curse decay nearby

Safe zones are earned, not claimed.

🔍 SYSTEM 7: Discovery (No UI)

Players are never told directly.

Hints only:

Rare chat messages
“You feel lighter.”

NPC gossip

Strange book spawns

Environmental cues

This keeps mystery alive.

⚖️ BALANCE RULES (ANTI-RAGE)

No curse blocks progress

No blessing guarantees success

All effects decay naturally

Admins can disable individual effects easily

🧩 TECHNICAL IMPLEMENTATION (Paper)
Core Data Models
PlayerFateProfile {
  UUID playerId;
  Set blessings;
  Set curses;
}

ChunkFateData {
  double curseLevel;
  double blessingLevel;
}
Event Listeners

PlayerDeathEvent

EntityDamageEvent

PlayerInteractEvent

PlayerMoveEvent

ChunkLoadEvent

Scheduled task (every few minutes)

Trigger Scheduler

No ticking every second

Use delayed randomized checks

Extremely lightweight

📦 CONFIG FILE (Example)
maxBlessings: 2
maxCurses: 2
transferChance:
  kill: 0.3
  save: 0.25
curseDecayPerHour: 0.05
blessingAnchorRadius: 6
🧪 MVP VERSION (VERY DOABLE)

Week 1 build includes:

4 blessings

4 curses

Kill-based transfer

Death inheritance

Chunk infection

Safe zones

Already fun as hell.
Kodari AI
KodariFeb 28 at 11:14 am 5,207 (v2)

I’ll create a hidden fate system plugin for your SMP where blessings and curses spread through player interactions and bind to land.

FateNetwork
A mysterious fate system for SMP servers where players unknowingly carry blessings and curses that trigger randomly based on conditions, transfer through kills and interactions, bind to chunks creating cursed or blessed lands, and pass through death. No GUIs, no commands, only subtle environmental hints and consequences that create a web of fortune and misfortune across the server.

Now I’ll create the complete plugin structure:

FateNetwork plugin

[Generation stopped]

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
Code
26 1,633
src/main/java/com/fatenetwork/FateNetworkPlugin.java
package com.fatenetwork;

import com.fatenetwork.listener.*;
import com.fatenetwork.manager.ChunkFateManager;
import com.fatenetwork.manager.EffectRegistry;
import com.fatenetwork.manager.FateManager;
import com.fatenetwork.manager.TransferManager;
import com.fatenetwork.scheduler.EffectTriggerTask;
import com.fatenetwork.storage.DataStorage;
import lombok.Getter;
import org.bukkit.Bukkit;
import org.bukkit.plugin.java.JavaPlugin;

@Getter
public class FateNetworkPlugin extends JavaPlugin {
    private DataStorage dataStorage;
    private FateManager fateManager;
    private ChunkFateManager chunkFateManager;
    private TransferManager transferManager;
    private EffectRegistry effectRegistry;
    private EffectTriggerTask triggerTask;

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

        this.effectRegistry = new EffectRegistry(this);
        this.effectRegistry.registerAllEffects();

        this.dataStorage = new DataStorage(this);
        this.fateManager = new FateManager(this);
        this.chunkFateManager = new ChunkFateManager(this);
        this.transferManager = new TransferManager(this);

        this.dataStorage.loadAll();

        registerListeners();
        startScheduler();

        getLogger().info("FateNetwork enabled - The web of fate begins...");
    }

    @Override
    public void onDisable() {
        if (this.triggerTask != null) {
            this.triggerTask.cancel();
        }

        if (this.dataStorage != null) {
            this.dataStorage.saveAll();
        }

        getLogger().info("FateNetwork disabled - The fates rest...");
    }

    private void registerListeners() {
        Bukkit.getPluginManager().registerEvents(new PlayerDeathListener(this), this);
        Bukkit.getPluginManager().registerEvents(new PlayerDamageListener(this), this);
        Bukkit.getPluginManager().registerEvents(new PlayerInteractListener(this), this);
        Bukkit.getPluginManager().registerEvents(new PlayerMoveListener(this), this);
        Bukkit.getPluginManager().registerEvents(new ChunkListener(this), this);
    }

    private void startScheduler() {
        int intervalMinutes = getConfig().getInt("effectTrigger.checkIntervalMinutes", 5);
        long intervalTicks = intervalMinutes * 60 * 20L;

        this.triggerTask = new EffectTriggerTask(this);
        this.triggerTask.runTaskTimer(this, intervalTicks, intervalTicks);
    }
}