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.
Data Storage must be done properly, no data lost of player's on reload, rejoin and etc. 🔷️Anti-Exploit & AFK Protection ▪️AFK detection (60s no activity) ▪️AFK players earn no tokens ▪️Villager relic paused while AFK 🔷️Death & Combat Handling ▪️Relics and tokens are NOT lost on death ▪️Passive relics re-apply on respawn ▪️Active cooldowns continue after death 🔷️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 named buy slots which shows slots price and owned slots on hovering 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. In bottom right corner of this INVENTORY GUI will have 1 arrow which is a back button and on clicking that the player will return to main INVENTORY GUI. ◾️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 bottom right corner of this INVENTORY GUI will have 1 arrow which is a back button and on clicking that the player will return to main INVENTORY GUI. ◾️In the Relic Controller INVENTORY GUI it shows relic owned by player 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 right corner of relic equipping INVENTORY GUI will have 1 arrow which is a back button and on clicking that the player will return to main INVENTORY GUI. ◾️ In bottom centre there will be one smiting table named upgrade relics and on clicking that opens a INVENTORY GUI showing all owned relics and on clicking any Relic it upgrades the Relic. When player clicks on the Relic in upgrade INVENTORY GUI open a INVENTORY GUI showing 2 options gold ingot named Upgrade by tokens and xp bottle named Upgrade by relic xp. In bottom right corner of this INVENTORY GUI will have 1 arrow which is a back button and on clicking that the player will return to main INVENTORY GUI. ◾️In the Bottom left corner there will be 1 Wooden Sword anmed buy relics and on clicking on that opens a INVENTORY GUI shows relics not owned by player and shows lore of relic on hovering, when player clicks on a relic he will buy the relics by tokens and relic will be removed from buying INVENTORY GUI. In bottom right corner of this INVENTORY GUI will have 1 arrow which is a back button and on clicking that the player will return to main INVENTORY GUI. ◾️In the bottom right corner of the Relic Controller INVENTORY GUI there will be 1 diamond named sell and buy items ,on clicking on that opens a INVENTORY GUI showing gold in the left named sell items and iron in the right named buy items.
◾️Sell items INVENTORY GUI: ▪️when player clicks that opens a double chest INVENTORY GUI where player can put there stuff they want sell. In bottom right corner there will be a Book named show selling item and on clicking on that opens a double chest INVENTORY GUI with showing categories of items (by a button showing any block or item of that category and all categories will be named) selling and on clicking any category it open a INVENTORY GUI showing items or blocks of that category which players can sell. I will tell you selling price of all items later to expand. There will be 1 gold nugget in the bottom right corner of the sell items INVENTORY GUI named Show prices and on clicking on that player will see the total prices of the items player put in the INVENTORY GUI. In the bottom centre of the sell items INVENTORY GUI named Sell or close and on clicking on that opens a single chest INVENTORY GUI showing a gold ingot in left named sell and arrow in the right named don't sell. on clicking sell items will be sold and player will return to sell items INVENTORY GUI. when player clicks don't sell player will return to sell items INVENTORY GUI and items will not sold and comes back in player inventory. ◾️Buy Items INVENTORY GUI: ▪️when player clicks on the the buy items INVENTORY GUI opens a INVENTORY GUI which shows category of items (by a button showing any block or item of that category and all categories will be named) which are selling. there will be 1 arrow in the bottom centre named close and on clicking on that player returns back. on clicking any category opens a INVENTORY GUI showing prices of items of that category which player can buy. and on clicking on any item player will buy that item and tokens will be deducted as per item cost.
▪️on clicking any stackable item which player wants to buy, opens a INVENTORY GUI which shows quantity of that item player can buy. there are five quantities numbering from left (1, 5, 15, 35, 64). on hovering any quantity it shows total price of that quantity and and unit price of that item. on clicking any quantity player will buy that quantity of that item and tokens will be deducted as per quantity of item. when player buys item don't close the INVENTORY GUI so that player can buy more. there will be 1 arrow in the bottom centre named close and on clicking on that player returns back.
▪️I will tell you prices of all items later to expand.
◾️when the INVENTORY GUI is full of items and there are more items left to list, add a Book in the bottom right corner named next pages which opens a INVENTORY GUI showing items left to list. also add a Book in bottom left (if the player is on 2nd page or any page after second page) named previous page and on clicking on player will back to previous INVENTORY GUI showing items. ◾️The Relic Controller will be fixed in inventory, glowing, and cannot be dropped, moved, stored, or lost on death. it will be in our inventory after 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. When a relic is already equipped and player tries to equip it again block that invalid placement and show clear message.INVENTORY GUI shows slot status, relic type, cooldowns, and unlock cost. Tokens are used to buy slots. 🔷MARKET SYSTEM ◾️Add a player command /market which opens a INVENTORY GUI showing items listed for selling by players. Items prices and seller name will show in item lore. In the bottom centre there will be 1 arrow named back and on clicking on that player returns back. ◾️when the INVENTORY GUI is full of items and there are more items left to list, add a Book in the just right next to arrow in the bottom centre. the centre. named next pages which opens a INVENTORY GUI showing items left to list. also add a Book in just left next to arrow in the bottom centre (if the player is on 2nd page or any page after second page) named previous page and on clicking on player will back to previous INVENTORY GUI showing items. ◾️Your listings INVENTORY GUI:
In the bottom left corner of market INVENTORY GUI there will be one book named your listings and on clicking on that opens a INVENTORY GUI where player see the previous listed item by them. On clicking any item listed by player but not sold yet player will unlist the item. In the bottom centre there will be 1 arrow named back and on clicking on that player returns back to previous INVENTORY GUI. ▪️In the bottom right corner of the your listings INVENTORY GUI there will be 1 wooden sign board named list item and on clicking on that opens a INVENTORY GUI where player can put 1 item at a time. In the centre there will be 1 wooden sign board named set price and on clicking on that opens a wooden sign board where player will write amount of tokens for which they want to sell the item. After adding price INVENTORY GUI returns back ND the item will be listed at that given prices and shows in the market. There will be 1 arrow in the list item INVENTORY GUI named don't list and back and on clicking on that player returns back to your listings INVENTORY GUI. ◾️In the bottom right corner of the market guithere will be 1 glowstone dust named your expired and unlisted items and on clicking on that opens a INVENTORY GUI where shows the items that are Expired or player unlisted that item and player can take the item in their inventory. ◾️Fixed-price player listings ◾️Expire automatically after 7 days ◾️Only 3 items listing allowed at a time. 🔷RELIC XP SYSTEM ◼️Relics earn Relic XP (RXP) from: ▪️Relic Xp are shown on Hovering the relic. ▪️Combat: Passive mobs 10 RXP, Hostile mobs 20 RXP ▪️Mining: Coal 7, Iron 12, Gold 18, Diamond 25, Ancient Debris 50 ▪️Farming: Crops 8 per harvested block (fully grown only) ▪️Cutting trees: 8 per log▪️Using relic ability: 5 RXP per use ▪️Buying or selling items from sell and buy items or market. ▪️Quests: 20–200 RXP depending on difficulty 🔷️Quest INVENTORY GUI Add a player command (/quest). When player uses this command opens a INVENTORY GUI showing a Book in bottom left corner of INVENTORY GUI named ongoing quests. The INVENTORY GUI also shows books in the centre of the INVENTORY GUI named daily quests and weekly quests and on clicking any of these opens a INVENTORY GUI showing quests by item or block related to quest as quests on Hovering it shows quest lore + reward details. on clicking the quest quest will ne removed from the INVENTORY GUI and adds to ongoing quest INVENTORY GUI showing the progress how much needed and how much remaining to complete quest. it also shows quest details shows in lore. quests in INVENTORY GUI opened by clicking a book in bottom left corner of quest INVENTORY GUI. These INVENTORY GUI have 1 arrow in the bottom centre named close and on clicking on that it returns to previous INVENTORY GUI. ◾️After completion of quest player will automatically get reward according to quest and shows quest completed and reward obtained in chat. The quest will be removed from ongoing quest after completing. ◾️The daily quests will Expire and remove from the INVENTORY GUI after adding new quests in daily quests and weekly quests will Expire and remove from the INVENTORY GUI after adding new quests in weekly quests. ◾️INVENTORY GUI-based quests ◾️Types: Daily, Weekly ◾️Rewards: (20 to 200)Tokens + (20 to 200)Relic XP ◾️I will give you Daily Quest List and weekly quest list later to expand. ◾️Daily quest changes every day and weekly quest changes every week. ◾️Give 3 Daily quests and 5 weekly quests. ◾️Don't give Same quests to every player. ◾️Weekly Relic refresh on Sunday 12 am and Daily quest refresh on 12 am daily. ◾️Quests can't be tracked until it is activated. ◾️Give quest to player depending on capability level of player. 🔷️Add a player command /relicxp give <relicname/all> amount 🔷️Fused Relic Xp: ◼️Relics earn Relic XP (RXP) from: ▪️Fused Relic Xp are shown on Hovering the relic. ▪️Combat: Passive mobs 10 RXP, Hostile mobs 20 RXP ▪️Mining: Coal 7, Iron 12, Gold 18, Diamond 25, Ancient Debris 50 ▪️Farming: Crops 8 per harvested block (fully grown only) ▪️Cutting trees: 8 per log▪️Using relic ability: 5 RXP per use ▪️Buying or selling items from sell and buy items or market. ▪️Quests: 20–200 RXP depending on difficulty 🔷️When Two relics are Fused the abilities of relics in Fusion will be max level abilities of individual relic. 🔷️Fused relics can not be Fused with other relics. 🔷️Add a small score board on the rightmost centre of the screen showing Relic Realm at top, player name, deaths, kills, token balance in a very colorful rgb and animated way like big servers. 🔷️Lore of of Fused Relics: Simple by detailed (4-5 lines) lore about there abilities, cooldowns and features.
Also show Fused relic in relic upgrade INVENTORY GUI. Fused Relics have 3 levels. Level 1 to 2- 5000 tokens/10000 Fused Relic Xp, Level 2 to 3 15000/20000 Fused relic xp. 🔷️Relics XP or Fused Relics Xp earned will be given all equipped relics or Fused Relics example: if player earns 40 xp all relics will get 40 xp. 🔷️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. When a player uses any active relic (like Ghast Relic, Creeper Relic, Blaze Relic, Enderman Relic, etc.)the Ability user will not take any damage although if he uses the Ability near to himself/herself. 🔷️Relics: ▪️Dolphin Relic Type: Passive Ability: Give water breathing effect in water.
Level 3 Bonus Ability: Give Haste I to player with water breathing in water. Gives Haste II in water Cooldown: None ▪️Rabbit Relic Type: Passive Ability: Give Jump Boost I. On upgrading to level 3 gives Jump Boost II effect.
Level 5 bonus Ability: Reduce Projectile Damage by 40% Cooldown: None ▪️Zombie Relic Type: Passive Ability: It gives night vision to player always.
Effect: Night Vision potion effect Level 3 bonus Ability: Speed I effect in night or in caves. gives Speed II in night or in caves when upgraded to level 5.
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% Level 3 Bonus Ability: Gives 30% knockback Resistance to player. Gives 50% Knockback Resistance to player on level 5.
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 ▪️Axolotl Relic Type: Passive Ability: Give Regeneration I when someone hits the player.
Level 3 Bonus Ability: Gives Regeneration II.
Level 5 Bonus Ability: Gives Strength II effect when someone hits the player. ▪️Ghast Relic Type: Active Ability: Shoot a fireball forward dealing 10–15 damage with knockback Activation: Shift + Right Click Cooldown: 45 seconds 🔷RELIC FUSION ◼️By player Command: /fuse opens Fusion INVENTORY GUI ◼️INVENTORY GUI Design: ▪️Opens a double chest INVENTORY GUI showing 2 spaces in the top where player will put relics to combine by clicking on relics showing in the INVENTORY GUI. There will be 1 space where player can see the Fused relic and on Clicking on that player will fuse the Relic. ▪️Player can see the ability and features of combined relic on hovering on the combined relic. ▪️player will not see the Fused relic to fuse in the INVENTORY GUI. ▪️only 3 fusions max per player is allowed. ▪️Relic combining cost 5000 relic xp of each relic. ▪️On combining relic player will get the ability of both two relics in one. with same cooldown as before. ▪️Only passive relics can be combined. ▪️Relics which are combined are not disappeared or destroyed. It can be equipped as before only if the combination of these relic is not equipped. ▪️Fused Relics Are shown by Enchanted Books in the INVENTORY GUI. 🔷️Relic Lore: Every Relic should have Simple by detailed (4-5 lines) lore about there abilities, cooldowns, how to use it (if active) and features. On upgrading relics also update lore of relics according to new cooldowns, effects, strength and features. 🔷️Token system: Tokens exist only in INVENTORY GUI/Profile and are never visible in chat, commands, action bar ,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 7 for coal, 12 for iron, 18 for gold, 25 for diamond, 50 for ancient debris. 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 5 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 8000 tokens. Active relics cost 8000 to 20000 tokens. INVENTORY GUI shows price, type, and slot restrictions. Relic upgrade: level 1 to 2 costs 1000 tokens/2000 relic xp, level 2 to 3 costs 3000 tokens/5000 relic xp, level 3 to 4 costs 5000 tokens/8000 relic xp, level 4 to 5 costs 10000 tokens/11000 relic xp. Level upgrades increase ability effects, strength, rewards (like villager relic) and decrease a little cooldown. 🔷️INVENTORY GUI system: INVENTORY GUI must be touch-friendly for Bedrock players. Icon of everything in INVENTORY GUI must be clearly visible. 🔷️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. Also write Creator name as DemonLord . 🔷️Commands: Player commands: /relics opens Relic Controller, /relic help shows guide , /token transfer count. Admin commands: /relic give , /relic setlevel , /relic reload ,/token give ,/relic give 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. don't cancel block placing or using by Shift + Right-Click when active relic is on cooldown. 🔷️Some important notes given below: ▪️when a player is launched by Phantom Relic then the player will deal 0 fall damage. If the player is falling but does not launched by Phantom Relic will deal damage. ▪️when player switches the active during cooldown the cooldown will reset to 0, so that player can use that relic immediately. ▪️All relics are displayed by items related to them (like rotten flesh for zombie relic, bone for Skeleton Relic, etc) not by Eggs. ▪️relics should be arranged in centre of INVENTORY GUI (7 in a horizontal row). ▪️every item, button in sell and buy items INVENTORY GUI, sell items INVENTORY GUI, show prices INVENTORY GUI, buy items INVENTORY GUI, buy quantity INVENTORY GUI should be properly visible. ▪️show equipped slots by yellow, Unequiped slots by green and unlocked slots by red glass panels. ▪️make sure that passive relics can be equipped in active slot. ▪️When opens the INVENTORY GUI for equipping relics also show the Relic, the player is equipping on the top of the INVENTORY GUI. ▪️all the items, button, relics and everything should be properly visible and working. ▪️The Relic Controller should not be dropped on death or from inventory and cannot be transfered to any other block. ▪️All the active relics which Blast like blaze relics , etc will notq deal any damage to the Ability user on exploding near to them. ▪️If the player has bought all relics from buy relics INVENTORY GUI and back, replace the Sword and add enchantment book in bottom left corner named fused relics and on clicking on that opens a INVENTORY GUI showing all fused relics and on clicking any fused relic it can be equipped as normal in slots. Player can can also see their fused relic by player command /fusedrelics or by /fr 🔷️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. Don't make sounds of earning tokens via activity when player buy relics, slots or sell items make a sound of earning xp, and when player upgrade relics make a sound of enchanting something in anvil.
Make Sure that every feature, function, relic and their abilities should work properly.
Complete every feature.
Make it in one go 🔥☠️💀☠️🔥
No files in this session