You are a professional Minecraft plugin developer. Create a single all-in-one SMP plugin named Relic Realm for 1.21.11 version. The plugin must work perfectly for Java Edition (Paper/Spigot) and Bedrock Edition via Geyser + Floodgate. Gameplay must be identical, smooth, and visually clear for both platforms. Players gain powers via Relics. Relics exist only in INVENTORY GUI, never in inventory. Tokens exist only in INVENTORY GUI/Profile. PvP is enabled but no grind from PvP. Relics can be active (manual) or passive (automatic). Progression uses tokens for buying relics, upgrading relics, and unlocking relic slots. ✴️Starter inventory items: ◾️Nether star called Relic Controller: ▪️Opens the Relic INVENTORY GUI on right-click or hold. ▪️In that INVENTORY GUI there will be a gold nugget in top left corner which shows token balance on hover. ▪️Top right corner will have 1 chest which shows slots price and owned slots and on clicking on that icon open a single chest INVENTORY GUI where will be 7 glass panels icons in the center, glass panel will red if it's not owned by player and green if its owned by player and clicking on any red glass panel player will purchase that slot. ▪️On top center there will be 1 Steve Head and on clicking it opens a INVENTORY GUI which shows player stats, token count and equipped relics. ▪️In the Relic Controller INVENTORY GUI it shows all relic and on hovering on relic it shows lore of relic and on clicking on relic it opens a INVENTORY GUI showing slots and relics can be equipped on slots by clicking the slots. ▪️ In bottom centre there will be one smiting table icon and on clicking that opens a INVENTORY GUI showing all owned relics and on clicking any Relic it upgrades the Relic. ▪️ It is fixed in inventory, glowing, and cannot be dropped, moved, stored, or lost on death. ✴️Relic slot system: There are seven total relic slots. Slot 1 is an active slot and unlocked by default. Slots 2 through 7 are passive slots and locked initially. Players can unlock them using tokens. Unlock costs are: Slot 2 costs 2,000 tokens, Slot 3 costs 6,000 tokens, Slot 4 costs 12,000 tokens, Slot 10 costs 30,000 tokens, Slot 6 costs 40,000 tokens, and Slot 7 costs 50,000 tokens. Only one active relic may be equipped at a time. Active relics cannot be placed into passive slots. Passive relics can be placed in the active slot. INVENTORY GUI must block invalid placement and show a clear message. INVENTORY GUI shows slot status, relic type, cooldowns, and unlock cost. Tokens are used to buy slots. ✴️Active relics are activated manually with Shift plus Right Click. On Bedrock, players crouch and hold/use. Abilities trigger instantly and start their cooldowns. Cooldowns are displayed via an action bar counting cooldown above hot bar of player. Passive relics activate automatically with optional internal cooldowns, cooldowns of passive relics are not displayed via action bar. Passive relics are triggered by combat, movement, or conditions such as low HP, taking damage, or standing still. ✴️Relics: ▪️Zombie Relic Type: Passive Ability: It gives night vision to player always.
Effect: Night Vision potion effect Cooldown: None ▪️Skeleton Relic Type: Passive Ability: 30% chance to shoot 3 rapid arrows at the nearby mob or any other player who is hitting the Ability user or being hit by ability user.
Effect: Deals ranged damage (3–5 hearts per arrow) Cooldown: 4 seconds ▪️Creeper Relic Type: Active Ability: launches a TNT forward, which explode dealing 4-6 hearts damage Activation: Shift + Right Click Cooldown: 45 seconds ▪️Spider Relic Type: Passive Ability: 15% chance to apply Slowness II and weakness II to the mob or player who is being hit by ability user for 4 seconds.
Effect: Slows enemies to make them easier to hit Cooldown: 15 seconds ▪️Enderman Relic Type: Active Ability: Throws a enderpearl forward Activation: Shift + Right Click Cooldown: 45 seconds ▪️Blaze Relic Type: Active Ability: Launch 3 fireballs forward and burn enemies like blaze.
Activation: Shift + Right Click Cooldown: 45 seconds ▪️Iron Golem Relic Type: Passive Ability: Reduce incoming melee damage by 25% Effect: Defensive, reduces damage taken Cooldown: None ▪️Slime Relic Type: Passive Ability: 20% chance to give knockback V melee attackers and slow enemies for 3 seconds Cooldown: 10 seconds ▪️Witch Relic Type: Active Ability: Throw splash harmful potion forward (Harming III) Activation: Shift + Right Click Cooldown: 45 seconds ▪️Wither Skeleton Relic Type: Active Ability: Apply Wither II to all mobs or other player who is hitting the Ability user or being hit by ability user within 5 blocks for 2 seconds Activation: Shift + Right Click Cooldown: 45 seconds ▪️Bat Relic Type: Passive Ability: reduces fall damage by 80% Cooldown: None ▪️Phantom Relic Type: Active Ability: Fly upward 10 blocks instantly and gives no damage on falling, gain Speed II for 5 seconds Activation: Shift + Right Click Cooldown: 30 seconds ▪️Silverfish Relic Type: Active Ability: gives poison effect for 3 seconds to mobs or player who is hitting the Ability user or being hit by ability user in 4 block radius Activation: Shift + Right Click Cooldown: 30 seconds ▪️Villager Relic Type: Passive Ability: Generates 10 token automatically every 1 minutes Cooldown: None ▪️Pig Relic Type: Passive Ability: 20% chance to heal 4-5 hearts per second while moving Cooldown: None ▪️Magma Cube Relic Type: Passive Ability: Reduces fire damage by 50%, applies 4-second fire to attackers every 10 seconds Cooldown: 10 seconds ▪️Ghast Relic Type: Active Ability: Shoot a fireball forward dealing 10–15 damage with knockback Activation: Shift + Right Click Cooldown: 45 seconds ✴️ Relic Lore: Every Relic should have Simple by detailed (4-5 lines) lore about there abilities, cooldowns and features. ✴️Token system: Tokens exist only in INVENTORY GUI/Profile and are never visible in chat, commands, or items. Players earn tokens automatically from playtime and activities. Playtime tokens: 38 tokens every 5 minutes of active play, with AFK detection preventing gains. Activity tokens: mining ores earns 5 for coal, 10 for iron, 16 for gold, 25 for diamond. Farming crops earns 8 tokens per harvested block (harvesting of only half or full grown crops are counted). Cutting trees earns 8 tokens per log. Killing mobs grants 15 tokens for passive mobs and 30 for hostile mobs. Exploring new chunks grants 4 tokens per new chunk. Breeding animals grants 25 tokens per breed. Bonus tokens: daily login streak gives 250 tokens, first-time join bonus gives 650 tokens. Tokens are only visible in the Relic INVENTORY GUI and Profile INVENTORY GUI, with optional floating animation or particle effect when earned. ✴️Relic purchase: Passive relics cost 1000 to 7000 tokens. Active relics cost 7000 to 14000 tokens. INVENTORY GUI shows price, type, and slot restrictions. Relic upgrade: level 1 to 2 costs 1000 tokens, level 2 to 3 costs 3000 tokens, level 3 to 4 costs 5000 tokens, level 4 to 5 costs 10000 tokens. Level upgrades increase ability effectiveness, strength and decrease cooldown. ✴️INVENTORY GUI system: Relic INVENTORY GUI displays token count, slot count, owned relics, active slot highlighted, buy relics button, unlock slots button. Profile INVENTORY GUI displays token balance, equipped relics, active cooldowns, slot unlock progress, and relic levels. INVENTORY GUI is touch-friendly for Bedrock players. Relic Upgrader has INVENTORY GUI same as Relic INVENTORY GUI but on clicking Relic it Upgrades. ✴️Also Give a Book to the player who joins the server for the first time. And in the book there should written about everything of Relic Realm. ✴️Commands: Player commands: /relics opens Relic INVENTORY GUI, /profile opens Profile INVENTORY GUI, /relic help shows guide , /token transfer <playername> count. Admin commands: /relic give , /relic setlevel , /relic reload ,/token give ,/relic give <playername> all ✴️Player flow: First join receives one random relic and the active slot unlocked. Players earn tokens via playtime and activity. Players open Relic INVENTORY GUI to equip relics (one active, multiple passive). Players upgrade relics using tokens. Players unlock additional slots using tokens. Active relics are used with Shift + Right Click or crouch + hold/use on Bedrock. Passive relics activate automatically. When active relic is on cooldown make sure that the player can use Shift + Right-Click normally to place blocks or use ✴️Final goal: Deliver a polished, visually clear, fully working relic plugin with full INVENTORY GUI system, strict active/passive rules, tokens visible only in INVENTORY GUI, enforces slot rules, balanced high-value economy, compatible with Java and Bedrock, easy for players, minimal admin effort.
Make Sure that every feature, function and abilities work properly