📄
WorldHatesMe_Final_Prompt.txt
txt
182 lines
▶
COMPLETE AI PROMPT — WorldHatesMe (FINAL)
Create a high-performance Minecraft Paper/Spigot plugin (version 1.20+ and compatible with latest versions) called WorldHatesMe designed for multiplayer survival challenge videos.
The plugin must be optimized, safe, and production-ready.
CORE MECHANIC
- Every configurable interval (default: 60 seconds), trigger a random event for each online player.
- Event chances:
- 90% negative event
- 10% positive event
- Events must NEVER instantly kill players unfairly.
- Fully support multiplayer environments.
- All values configurable in config.yml.
- Prevent event spam and overlapping triggers.
BOSS BAR COUNTDOWN
Implement a global boss bar countdown visible to all players.
Requirements:
- Display at top of screen like Ender Dragon bar.
- Default text: "Next Curse Incoming…"
- Bar smoothly counts down to next event.
- Color configurable (default: red).
- Updates in real time.
- Resets after each event.
- Must be lightweight and not spam packets.
- Optional: change color when <10 seconds remaining and play warning sound.
NEGATIVE EVENTS (IMPLEMENT ALL)
1. Lightning Strike Near Player
- Strike within 2–5 blocks of player.
- Must not directly hit player every time.
- Damage survivable.
2. Safe Random Teleport
- Teleport player randomly 10–20 blocks horizontally.
- Must include full safety checks:
- No teleport into blocks
- No lava
- No void
- No suffocation
- Find safe ground
- Retry safe location configurable attempts.
3. Hostile Mob Ambush
- Spawn 2–4 hostile mobs within 6 blocks.
- Must not spawn inside blocks.
- Respect world difficulty scaling.
4. Negative Potion Effect
Duration: 8–15 seconds.
Pool:
- Blindness
- Slowness
- Weakness
- Mining Fatigue
- Poison (non-lethal only)
- Hunger
- Nausea
- Darkness
5. Ground Collapse Trap
- Remove 5–10 blocks below player in small patch.
- Guarantee:
- No lava below
- No void drop
- Fall damage survivable
- Replace with air safely.
6. Nearby Lava Hazard
- Place 1–2 lava source blocks 3–5 blocks away.
- Never place directly on player.
7. Hotbar Shuffle
- Randomly shuffle hotbar slots only.
- Preserve items.
8. Mob Rage Pulse
- Hostile mobs within 15 blocks gain Speed I for 10 seconds.
9. Darkness Scare
- Apply Darkness or Blindness briefly.
- Play scary sound.
10. Mini Explosion
- Small explosion 3–6 blocks away.
- Minimal or no terrain damage (configurable).
- Must not instantly kill player.
POSITIVE EVENTS (10% TOTAL)
1. Resource Gift
- Give small helpful items (iron, food, arrows, small ores).
- Must be balanced.
2. Temporary Buff
Duration: 10–20 seconds.
Effects pool:
- Speed
- Regeneration
- Strength I
- Haste
3. Lucky Chest
- Spawn chest within 4 blocks.
- Fill with modest loot.
- Ensure safe placement.
DEATH TRACKING SYSTEM
- Track deaths per player.
- Persistent storage.
- Update instantly on death.
- Multiplayer compatible.
Scoreboard Sidebar must show:
- Player death count
- Top death leader
- Plugin title header
- Must be clean and non-flickering.
COMMANDS
/worldhatesme start
- Starts event system
- Starts boss bar
- Enables tracking
/worldhatesme stop
- Stops events
- Removes boss bar
- Pauses system safely
/worldhatesme restart
- Restarts timer cleanly
- Resets boss bar countdown
- Does NOT wipe death stats
/worldhatesme resetdeaths
- Resets all stored death stats
- Updates scoreboard immediately
/worldhatesme stats
- Shows sorted death leaderboard in chat
/worldhatesme reload
- Reloads config safely
CONFIG.YML REQUIREMENTS
Include configurable options:
- event interval
- positive chance (default 10%)
- teleport min/max distance (default 10–20)
- mob counts
- potion durations
- boss bar text/color
- enable/disable specific events
- safety retry attempts
- explosion block damage toggle
PERFORMANCE & SAFETY
Plugin MUST:
- Support multiplayer servers
- Be compatible with Paper 1.20+ and latest versions
- Use efficient schedulers
- Prevent event overlap/spam
- Avoid unsafe teleports
- Avoid memory leaks
- Avoid heavy tick lag
- Handle player join/quit properly
- Be clean, readable, and well-commented
OPTIONAL POLISH
- Action bar warning before events
- Sound effects for drama
- Per-player toggle permission
- Lightweight metrics
End of specification.
I’ll create a comprehensive WorldHatesMe plugin with all requested features.
All files created successfully! The WorldHatesMe plugin is now complete with:
Core Features:
10 negative events (lightning, teleport, mobs, potions, collapse, lava, shuffle, rage, darkness, explosion)
3 positive events (gifts, buffs, lucky chest)
Boss bar countdown with configurable colors and warning system
Death tracking with persistent storage
Scoreboard display showing death counts
Full command system (start/stop/restart/resetdeaths/stats/reload)
Comprehensive configuration options
Safety checks for teleports and hazards
Multiplayer support with proper event handling
update the plugin with the instruction from the file attached
📄
WorldHatesMe_V2_Upgrade_Instructions.txt
txt
296 lines
▶
WORLDHATESME — UPGRADE INSTRUCTION FILE (V2 IMPROVEMENT PATCH)
PURPOSE:
This file instructs the AI to IMPROVE the existing WorldHatesMe plugin while keeping working systems intact. The plugin already functions, so focus on fixing issues, improving balance, expanding effect pools, and enhancing gameplay clarity and variety.
==================================================
KEEP THESE WORKING FEATURES (DO NOT BREAK)
==================================================
The following systems are confirmed working and must remain stable:
- Death scoreboard system
- Boss bar countdown system
- Basic event triggering framework
- Safe teleport base logic
- Positive reward messaging (already partially working)
Only improve where specified. Do NOT rewrite working systems unnecessarily.
==================================================
CRITICAL FIXES REQUIRED
==================================================
1) NO EMPTY EVENTS
- The system must NEVER produce an empty event.
- If an event fails safety checks or produces no visible outcome, immediately reroll another event.
- Every cycle must visibly affect the player.
--------------------------------------------------
2) ANTI-REPEAT SYSTEM
Implement strong variety control:
- Do NOT allow the same event twice in a row.
- Do NOT allow the same event within the last 3 events.
- Maintain a rolling history queue.
- Hotbar Shuffle cannot occur within the last 4 events.
- Explosion and Teleport should not dominate the rotation.
Goal: events must feel varied and intentional.
--------------------------------------------------
3) EVENT CHAT FEEDBACK (REQUIRED)
Every event must announce clearly in chat.
Examples (use similar dramatic style):
NEGATIVE:
- ⚡ Lightning strikes nearby!
- 💀 Hostile mobs ambush you!
- 🌋 Lava forms dangerously close!
- 🕳 The ground collapses beneath you!
- 💥 Explosion erupts ahead!
- ☠ Cursed gear appears in your inventory!
POSITIVE:
- ✨ You received helpful supplies!
- 💪 You feel empowered!
- 🎁 A lucky chest appears!
- 🔮 Fortune smiles upon you!
Messages must be configurable and color formatted.
--------------------------------------------------
4) BOSS BAR COLOR IMPROVEMENT
Boss bar must:
- GREEN when timer > 5 seconds
- RED when timer ≤ 5 seconds
- Smooth progress update
- No flicker
- Proper cleanup on stop/restart
--------------------------------------------------
5) POSITIVE EVENT DISTRIBUTION (IMPORTANT)
Replace pure RNG with balanced system:
- Guarantee at least 1 positive event every 7 total events globally.
- Still keep randomness within that window.
- Prevent long negative-only streaks.
--------------------------------------------------
==================================================
NEGATIVE EVENT IMPROVEMENTS
==================================================
MOB AMBUSH (BUFFED)
- Spawn exactly 5 hostile mobs.
- Spawn in circle radius 4–6 blocks.
- MUST include:
- 1 Skeleton
- 1 Creeper
- Remaining 3 random hostile mobs.
Optional hostile pool:
- Zombie
- Spider
- Husk
- Stray
- Drowned
- Wither Skeleton (rare)
- Nether mobs allowed via config
Must not spawn inside blocks or directly on player.
--------------------------------------------------
EXPLOSION EVENT (FIX DIRECTION)
Explosion must:
- Spawn in FRONT of player's facing direction.
- Distance: 3–5 blocks ahead.
- Moderate damage.
- Minimal terrain damage (configurable).
- Must never spawn behind player.
--------------------------------------------------
GROUND COLLAPSE (FIX DEPTH)
Current behavior is too weak.
New requirements:
- Break 3×3 area under player.
- Depth: 5–10 vertical blocks downward.
- Must scan for safety:
- no lava below
- no void
- survivable fall
- If unsafe → reroll event.
--------------------------------------------------
DARKNESS / BLINDNESS FIX
- Minimum duration: 8 seconds.
- Configurable.
- Must not instantly clear.
- Play Warden-style sound.
--------------------------------------------------
CURSED GEAR EVENT (NEW NEGATIVE)
Add new negative possibility:
Player may receive cursed equipment such as:
- Helmet with Curse of Binding
- Tool with Curse of Vanishing
- Armor with negative enchantments
- Weak enchanted gear with drawbacks
Balance rules:
- Gear should be annoying but not game-ending.
- Durability may be partially used.
- Do NOT overwrite existing equipped gear automatically.
Chance should be moderate within negative pool.
--------------------------------------------------
==================================================
POSITIVE EVENT EXPANSION (BALANCED)
==================================================
Positive rewards must feel helpful but NOT overpowered.
--------------------------------------------------
RESOURCE GIFT (UPDATED)
Give moderate loot such as:
Common examples:
- Iron ingots (2–6)
- Cooked food (4–10)
- Arrows (6–16)
- Coal
- Small ore bundles
RARE JACKPOT (VERY LOW CHANCE — ~1%):
May give ONE of:
- 1 Diamond
- Small enchanted iron tool
- Very small chance for Netherite scrap or gear
Important: jackpot must be extremely rare.
--------------------------------------------------
ENCHANTED GEAR REWARD (NEW POSITIVE)
Possible positive event:
Give randomly enchanted gear:
Examples:
- Iron sword with Sharpness I–II
- Iron pickaxe with Efficiency I–II
- Bow with Power I
- Armor with Protection I
Balance rules:
- No overpowered enchant levels.
- No full diamond sets.
- Must remain early-to-mid game strength.
--------------------------------------------------
TEMPORARY BUFFS (EXPANDED POOL)
Positive effect pool may include:
- Speed
- Regeneration
- Strength I
- Haste
- Resistance I
- Jump Boost
- Fire Resistance (short)
Duration: 12–20 seconds.
--------------------------------------------------
==================================================
EFFECT PERSISTENCE SYSTEM (NEW BEHAVIOR)
==================================================
IMPORTANT NEW RULE:
Potion effects and certain status effects should usually persist between events.
Behavior:
- At ~2–5 seconds before next event, system checks whether to clear effects.
- 99% chance → DO NOT clear existing effects.
- 1% chance → clear active effects.
Goal: effects stack and create escalating chaos.
Must be configurable.
--------------------------------------------------
==================================================
PERFORMANCE REQUIREMENTS (KEEP STRONG)
==================================================
Plugin must continue to:
- Support multiplayer
- Avoid event overlap
- Use efficient scheduler
- Clean boss bars properly
- Handle player join/quit safely
- Avoid memory leaks
- Remain Paper 1.20+ compatible
--------------------------------------------------
OPTIONAL HIGH-VALUE IMPROVEMENT
If performance allows:
PRE-CURSE WARNING
At 3 seconds remaining:
- Play warning sound
- Slight boss bar flash
This improves video tension.
==================================================
END OF UPGRADE INSTRUCTIONS
==================================================
I’ll read the existing plugin files to understand the current implementation, then apply the upgrade instructions.
I’ll now implement all the V2 upgrade instructions while maintaining the working systems.
Implementation Plan:
Update ConfigManager with new settings
Update config.yml with new options and chat messages
Enhance EventManager with anti-repeat, reroll, positive distribution, and effect persistence
Improve BossBarManager with dynamic color changes
Create new events: CursedGearEvent and EnchantedGearRewardEvent
Update all existing events with chat feedback and improvements
Enhance specific negative events per instructions
All V2 upgrade instructions have been successfully implemented:
✅ Critical Fixes:
NO EMPTY EVENTS: Reroll system with 3 attempts
ANTI-REPEAT SYSTEM: Tracks last 4 events, prevents same event twice in a row, special 4-event rule for hotbar shuffle
EVENT CHAT FEEDBACK: All events now announce via configurable colored messages
BOSS BAR COLOR: GREEN when > 5s, RED when ≤ 5s
POSITIVE DISTRIBUTION: Guarantees at least 1 positive every 7 events
✅ Enhanced Negative Events:
Mob Ambush: Exactly 5 mobs in circle (4-6 radius), always 1 skeleton + 1 creeper
Explosion: Spawns 3-5 blocks AHEAD in facing direction
Ground Collapse: 3×3 area, 5-10 blocks deep with safety checks
Darkness: Minimum 8 seconds duration
NEW: Cursed Gear Event with binding/vanishing curses
✅ Enhanced Positive Events:
Resource Gift: Updated with 1% jackpot chance for diamonds/netherite
NEW: Enchanted Gear Reward with configurable enchant levels
Temporary Buffs: Expanded pool (7 types) with 12-20 second duration
✅ Effect Persistence: 99% chance effects persist, 1% chance to clear ✅ Pre-Warning: Optional 3-second warning message before events
update this using new txt
📄
WorldHatesMe_V3_Master_Prompt.txt
txt
262 lines
▶
WORLDHATESME — FINAL MASTER PROMPT (V3)
Create an upgraded, production-ready Minecraft Paper/Spigot plugin (1.20+ latest compatible) called WorldHatesMe.
IMPORTANT: This is an IMPROVEMENT of an existing working plugin. Preserve working systems (boss bar, scoreboard, commands, basic structure) and upgrade behavior as specified.
==================================================
CORE SYSTEM RULES
==================================================
• Multiplayer supported
• No empty events EVER
• Anti-repeat system:
- Do NOT allow same event twice in a row
- Do NOT allow same event within last 4 events
• Event timer configurable
• Boss bar countdown must remain
• Warning sounds at 5 seconds (no chat spam)
• All chat messages listed below must be used EXACTLY
==================================================
POSITIVE / NEGATIVE DISTRIBUTION
==================================================
Maintain counter of consecutive negatives.
IF consecutiveNegativeEvents >= 9:
next event MUST be positive
reset counter
ELSE:
choose negative
increment counter
==================================================
UNIVERSAL NEGATIVE LETHAL RULE
==================================================
ALL negative events must:
• Roll 1% instant kill chance BEFORE normal logic
• Be configurable
• Update death scoreboard properly
==================================================
ENCHANTED MOB GLOBAL RULE
==================================================
Any spawned mob may have a chance to spawn with:
• enchanted weapons
• enchanted armor
• partial gear
Must remain balanced and survivable.
==================================================
FALLING OBJECT TARGETING RULE
==================================================
For Anvil Rain and Falling Block Storm:
• Each falling object targets player's position AT SPAWN TIME
• Must NOT track player mid-air
• If player moves → they can dodge
• Use vanilla falling physics
==================================================
NEGATIVE EVENTS (27 TOTAL)
==================================================
Implement ALL of the following.
1. Lightning Strike
Chat: ⚡ Lightning strikes from above!
• Strike within 2 blocks
• EXACT 50/50:
- 50% hit player
- 50% hit nearby
2. Safe Teleport
Chat: 🌀 Space violently warps around you!
• 10–20 blocks safe teleport
3. Mob Ambush Circle
Chat: 💀 Hostile mobs swarm around you!
• Spawn 5–10 mobs
• Always include skeleton + creeper
• Rare charged creeper chance
4. Charged Creeper Drop
Chat: ☢️ A charged creeper has come for you!
• Spawn charged creeper at player
5. Negative Potion Effect
Chat: 🧪 A crippling status effect takes hold!
• Duration ≥10s
• Equal weight pool (Wither slightly lower)
6. Ground Collapse
Chat: 🕳 The ground collapses beneath your feet!
• 3x3 area, depth 5–10
7. Lava Hazard
Chat: 🌋 Lava suddenly erupts nearby!
• On-player → 1 lava
• Nearby → 1–3 lava
8. Full Inventory Shuffle
Chat: 🔀 Your inventory has been completely shuffled!
9. Mob Rage Pulse
Chat: 🧟 Nearby creatures fly into a frenzy!
• If none nearby → spawn 2 zombies
• Passive mobs become hostile
10. Darkness Jump Scare
Chat: 🌑 Supernatural darkness engulfs you…
• Duration ≥10s
• Horror sounds
11. Explosion Event
Chat: 💥 A violent blast detonates nearby!
• TNT or invisible explosion in front/above
12. Cursed Armor Override
Chat: ☠️ Cursed armor has forcibly equipped itself onto you!
• Remove worn armor → move to inventory
• Equip cursed armor
13. Hunger Drain
Chat: 🍗 Your hunger is suddenly drained!
• Reduce 6–10
• Rare full drain allowed
14. Random Item Drop
Chat: 🎒 You fumble and drop an item!
• Drop random inventory item
15. Slowness Field
Chat: 🐌 A heavy slowing force grips you!
• Slowness II + particles
16. Weakness Surge
Chat: 💪 A surge of weakness overtakes your body!
• Weakness II + particles
17. Skeleton Sniper
Chat: 🏹 A distant sniper locks onto you!
18. Cobweb Trap
Chat: 🕸 Sticky cobwebs suddenly bind your feet!
• ≥10s duration
19. Fire Burst
Chat: 🔥 You are suddenly set ablaze!
• 2–3 seconds
20. Inventory Scramble (rare)
Chat: 📦 Your inventory descends into total chaos!
21. Phantom Screech
Chat: 👻 A terrifying phantom shriek pierces the air…
22. Gravity Jolt
Chat: 🪂 You are suddenly launched upward!
• Launch 3–5 blocks safely
23. Full Inventory Drop (rare)
Chat: 🧨 Your entire inventory spills onto the ground!
24. Inventory Swap With Player
Chat: 🔄 Your inventory has been mysteriously altered!
• If ≥2 players → swap inventories
• If solo → randomize each slot into mid-tier items
25. Anvil Rain
Chat: 🪨 Anvils rain from the sky!
• 5 seconds
• 1 per second
• Target player position
26. Falling Block Storm
Chat: 🌧 Dangerous debris rains from the sky!
• 4–6 seconds
• random falling blocks
27. Gravity Shift
Chat: 🌍 Gravity violently shifts around you!
• Random low/high gravity
• Visual + sound effects
==================================================
POSITIVE EVENTS (13 TOTAL)
==================================================
Theme: mysterious helper aiding the player.
Apply global rarity tiers and netherite rule (~1%).
1. Resource Gift
Chat: ✨ A mysterious force sends you supplies…
2. Emergency Food Drop
Chat: 🍖 Someone seems to be feeding you…
3. Advanced Arrow Bundle
Chat: 🏹 Specialized arrows appear in your pack…
4. Gear Assistance
Chat: 🛡️ An unknown ally equips you…
5. Healing Pulse
Chat: ❤️ A warm energy restores you…
6. Protective Blessing
Chat: 🌟 A protective aura surrounds you…
7. Swift Escape
Chat: ⚡ You feel unnaturally swift…
8. Repair Touch
Chat: 🔧 Your gear is mysteriously repaired…
9. Lucky Chest
Chat: 🎁 A mysterious chest appears nearby…
10. Lucky Ore Drop
Chat: 🎲 Fortune briefly smiles upon you…
11. Rare Fortune (jackpot)
Chat: 💎 The mysterious force greatly favors you…
12. Mysterious Potion Supply
Chat: 🧪 A mysterious brew appears in your hands…
• Give 1–3 potions
• Vanilla duration tiers:
- short 50%
- medium 30%
- long 20%
13. (Reserved slot for future expansion — keep system extensible)
==================================================
PERFORMANCE REQUIREMENTS
==================================================
Plugin MUST:
• Support multiplayer safely
• Prevent event overlap
• Never produce empty events
• Clean boss bars properly
• Handle player join/quit
• Avoid memory leaks
• Paper 1.20+ compatible
• Configurable values in config.yml
==================================================
END OF V3 MASTER SPEC
==================================================
I’ll analyze the current plugin structure and upgrade it according to the V3 specifications.
I’ll upgrade the plugin to V3 specifications with all 27 negative and 13 positive events, anti-repeat system, universal lethal rule, and exact chat messages.
Plan:
Update config with correct messages and settings (9 negative guarantee, lethal chance)
Fix anti-repeat system to check last 4 events for ALL events
Add universal 1% lethal rule to all negative events
Create 16 new negative events
Create 9 new positive events
Update existing events (Lightning 50/50, Mob Ambush always has skeleton+creeper, etc.)
Add enchanted mob spawning utility
Now I’ll create all the remaining files:
Now I’ll create all the new negative event files:
All negative events created. Now creating positive events:
All files have been created and updated. The plugin now includes:
✅ Completed:
27 negative events with universal 1% lethal rule
13 positive events with netherite chances (~1%)
Anti-repeat system (no same event twice in a row, no same event within last 4)
Consecutive negative counter (9 negatives → force positive)
Exact chat messages from spec
Warning sound at 5 seconds (no chat spam)
Enchanted mob spawning utility
Lightning 50/50 hit logic
Mob Ambush always spawns skeleton + creeper
Falling object targeting (spawns at player position, doesn’t track)
All config values properly integrated
Boss bar countdown preserved
Scoreboard system preserved
Death tracking preserved
Multiplayer support maintained
update plugin with the new patch
📄
WorldHatesMe_V3.1_Upgrade_Patch.txt
txt
326 lines
▶
WORLDHATESME — V3.1 PRECISION UPGRADE PATCH
(APPLY ON TOP OF EXISTING V3 — DO NOT REWRITE FROM SCRATCH)
PURPOSE:
Increase fear factor, fix weak events, improve command UX, and enhance event intelligence.
Preserve all working systems from V3.
==================================================
CONFIG DEFAULT CHANGE (TESTING QUALITY OF LIFE)
==================================================
Set default in config.yml:
event-interval-seconds: 10
IMPORTANT:
• Must remain configurable
• Do NOT hardcode in Java
• Only change the default value
==================================================
HEARTBEAT WARNING SYSTEM (REPLACE OLD WARNING)
==================================================
REMOVE any chat warning like:
❌ "Next curse is coming"
KEEP boss bar.
IMPLEMENT heartbeat countdown:
At remaining time:
• 3 seconds → faint heartbeat
• 2 seconds → medium heartbeat
• 1 second → strong heartbeat
Requirements:
• Use deep heartbeat-like sound (warden heartbeat preferred)
• Volume/pitch must increase each second
• Play per-player (not global spam)
• Must not stack or overlap
==================================================
EVENT FRESHNESS INTELLIGENCE (MAJOR FIX)
==================================================
Current issue: some events rarely appear.
IMPLEMENT freshness bias system:
Maintain:
• set of events that have occurred this session
Selection rules:
1. Prefer events that have NOT yet occurred
2. Once all events seen → revert to normal weighted random
3. Still respect anti-repeat rules
4. Still respect positive/negative distribution
Goal:
• Every event should appear at least once over time
• Reduce repetition patterns
==================================================
GLOBAL MOB BUFF LAYER (ALL SPAWN EVENTS)
==================================================
For ANY event that spawns mobs:
Each mob gets independent chance for buffs:
Possible buffs (low levels):
• Speed I
• Strength I
• Resistance I
Rules:
• Chance must be moderate (not guaranteed)
• Must remain survivable
• Must not stack excessively
• Apply after spawn
==================================================
MOB AMBUSH — HARDENED
==================================================
FIX bug where too few mobs spawn.
NEW REQUIREMENTS:
• ALWAYS spawn between 5–10 mobs
• NEVER spawn fewer than 5
• ALWAYS include:
- 1 skeleton
- 1 creeper
• Rare charged creeper chance remains
Add mob buff layer.
==================================================
SKELETON SNIPER — MAJOR BUFF
==================================================
OLD: single skeleton (too weak)
NEW:
• Spawn 5 skeletons
• All target player
• Each skeleton has chance for:
- enchanted bow (Power/Flame/Punch low level)
- partial enchanted armor
Must remain survivable but threatening.
==================================================
COBWEB TRAP — RELIABILITY FIX
==================================================
OLD: too easy to dodge.
NEW:
• ALWAYS spawn directly under player feet
• Spawn minimum 3 cobweb blocks (clustered)
• Apply Weakness effect (≥10s)
• Duration ≥10 seconds
• Must reliably trap moving players
==================================================
LAVA HAZARD — INTENSITY BUFF
==================================================
NEW RULES:
• ALWAYS spawn MORE THAN 3 lava sources
• Minimum: 4 lava
• May be clustered OR slightly spread
• Must remain survivable but dangerous
==================================================
ANVIL RAIN — FEAR BUFF
==================================================
OLD: too weak.
NEW:
• Total anvils per event: 7–10
• Faster drop cadence (~every 0.4–0.6s)
• Each anvil targets player position at spawn
• Must NOT track mid-air
• Use vanilla falling physics
==================================================
FALLING BLOCK STORM — FEAR BUFF
==================================================
NEW:
• Total falling objects: 7–10
• Faster cadence (~0.4–0.6s)
• Equal weight among block types
• Each targets player position at spawn
• Must remain dodgeable by movement
==================================================
PHANTOM EVENT — CONVERT TO SWARM
==================================================
REPLACE weak phantom spawn.
NEW: Phantom Swarm
• Spawn 4–8 phantoms above player
• Immediately aggressive
• Each phantom may receive mob buff
• Optional brief darkness pulse (2–4s)
Keep existing chat message.
==================================================
NEW NEGATIVE EVENTS (ADD — DO NOT REMOVE OTHERS)
==================================================
--------------------------------
1. Curse of Nightfall
--------------------------------
Behavior:
• Set time to night
• Overworld only
Chat:
🌑 Darkness spreads across the world…
--------------------------------
2. Storm Curse
--------------------------------
Behavior:
Random:
• heavy rain OR
• thunderstorm
Chat:
⛈ The skies turn hostile…
--------------------------------
3. Enderman Stalkers
--------------------------------
Behavior:
• Spawn 2–4 Endermen near player
• Immediately aggressive
• Respect safe spawn checks
Chat:
👁 The Endermen are watching you…
--------------------------------
4. Nether Rift
--------------------------------
Behavior:
Spawn 2–5 Nether mobs from pool:
• Wither Skeleton
• Blaze (rare)
• Magma Cube
• Zombified Piglin
• Piglin Brute (very rare, careful)
Apply mob buff layer.
Chat:
🔥 The Nether is angered…
--------------------------------
5. Flash Flood
--------------------------------
Behavior:
• Spawn water under player
• Area: 3x3 or 5x5
• Must allow escape
Chat:
🌊 Water bursts from the ground!
==================================================
COMMAND TAB COMPLETION FIX
==================================================
IMPLEMENT TabCompleter.
Commands:
/worldhatesme
/whm
Suggestions must include:
• start
• stop
• restart
• reload (if exists)
Requirements:
• No player-name fallback suggestions
• Works for both root commands
• Case-insensitive
==================================================
SCOREBOARD THEME UPDATE
==================================================
UPDATE wording:
Scoreboard title:
☠ Cursed by the World
Stat label:
Cursed Deaths
Do NOT change underlying tracking logic.
==================================================
PERFORMANCE SAFETY
==================================================
Ensure:
• No event overlap
• No memory leaks
• Proper cleanup on stop/restart
• Multiplayer safe
• Paper 1.20+ compatible
==================================================
END OF V3.1 PATCH
==================================================
package com.worldhatesme;
import com.worldhatesme.command.WorldHatesMeCommand;
import com.worldhatesme.config.ConfigManager;
import com.worldhatesme.listener.DeathListener;
import com.worldhatesme.manager.BossBarManager;
import com.worldhatesme.manager.DeathTracker;
import com.worldhatesme.manager.EventManager;
import com.worldhatesme.manager.ScoreboardManager;
import lombok.Getter;
import org.bukkit.Bukkit;
import org.bukkit.plugin.java.JavaPlugin;
@Getter
public class WorldHatesMe extends JavaPlugin {
private ConfigManager configManager;
private EventManager eventManager;
private BossBarManager bossBarManager;
private DeathTracker deathTracker;
private ScoreboardManager scoreboardManager;
@Override
public void onEnable() {
saveDefaultConfig();
this.configManager = new ConfigManager(this);
this.deathTracker = new DeathTracker(this);
this.scoreboardManager = new ScoreboardManager(this);
this.bossBarManager = new BossBarManager(this);
this.eventManager = new EventManager(this);
getCommand("worldhatesme").setExecutor(new WorldHatesMeCommand(this));
Bukkit.getPluginManager().registerEvents(new DeathListener(this), this);
getLogger().info("WorldHatesMe has been enabled!");
}
@Override
public void onDisable() {
if (eventManager != null) {
eventManager.stop();
}
if (bossBarManager != null) {
bossBarManager.removeAll();
}
getLogger().info("WorldHatesMe has been disabled!");
}
}