make a minecraft plugin that prevents me from dropping, storing, placing in chest/item frames these 21 custom items with the custom model data. just make it so we cant drop/store it
📄
pasted-code-1772008587898.txt
txt
83 lines
▶
# ᴇꜰʀᴇᴇᴛ ꜱᴘɪʀɪᴛ
on load:
set {spirit::Efreet::1} to nether star named "<#ff0000>&lEfreet &f&lSpirit &8[Sealed]" with lore " " and "&4&lɪɴꜰᴇʀɴᴀʟ ᴅᴀꜱʜ:" and "&c🌋 Explosive dash forward &7[Right Click]" with custom model data 1
set {spirit::Efreet::2} to nether star named "<#ff0000>&lEfreet &f&lSpirit &8[Unsealed]" with lore " " and "&4&lɪɴꜰᴇʀɴᴀʟ ᴅᴀꜱʜ:" and "&c🌋 Explosive dash forward &7[Right Click]" and "&4&lʙᴜʀɴɪɴɢ ᴀᴜʀᴀ:" and "&c🔥 Nearby enemies ignite &7[Shift+Right Click]" with custom model data 2
set {spirit::Efreet::3} to nether star named "<#ff0000>&lEfreet &f&lSpirit &8[Inverse]" with lore " " and "&4&lɪɴꜰᴇʀɴᴀʟ ᴅᴀꜱʜ:" and "&c🌋 Explosive dash forward &7[Right Click]" and "&4&lʙᴜʀɴɪɴɢ ᴀᴜʀᴀ:" and "&c🔥 Nearby enemies ignite &7[Shift+Right Click]" and "&4&lꜰɪʀᴇʙᴜʀꜱᴛ:" and "&c💥 Shoots a fireball &7[Left Click]" with custom model data 3
# ᴋɴᴏᴡʟᴇᴅɢᴇ ꜱᴘɪʀɪᴛ
on load:
set {spirit::Knowledge::1} to nether star named "<#adadad>&lKnowledge &f&lSpirit &8[Sealed]" with lore " " and "&f&lᴠᴇɪʟ ᴏꜰ ɪɴꜱɪɢʜᴛ:" and "<#adadad>📜 Shuffle enemy hotbar on hit &7[Right Click]" with custom model data 4
set {spirit::Knowledge::2} to nether star named "<#adadad>&lKnowledge &f&lSpirit &8[Unsealed]" with lore " " and "&f&lᴠᴇɪʟ ᴏꜰ ɪɴꜱɪɢʜᴛ:" and "<#adadad>📜 Shuffle enemy hotbar on hit &7[Right Click]" and "&f&lɪʟʟᴜᴍɪɴᴀᴛɪᴏɴ ᴏꜰ ᴛʀᴜᴛʜ:" and "<#adadad>✨ Nearby enemies glow &7[Shift+Right Click]" with custom model data 5
set {spirit::Knowledge::3} to nether star named "<#adadad>&lKnowledge &f&lSpirit &8[Inverse]" with lore " " and "&f&lᴠᴇɪʟ ᴏꜰ ɪɴꜱɪɢʜᴛ:" and "<#adadad>📜 Shuffle enemy hotbar on hit &7[Right Click]" and "&f&lɪʟʟᴜᴍɪɴᴀᴛɪᴏɴ ᴏꜰ ᴛʀᴜᴛʜ:" and "<#adadad>✨ Nearby enemies glow &7[Shift+Right Click]" and "&f&lʀᴇꜱᴛʀᴀɪɴᴛ:" and "<#adadad>⛓ Enemy can no longer jump or sprint &7[Left Click]" with custom model data 6
# ʟᴏᴄᴋ ꜱᴘɪʀɪᴛ
on load:
set {spirit::Lock::1} to nether star named "<#f4740b>&lLock &f&lSpirit &8[Sealed]" with lore " " and "&6&lɪᴛᴇᴍ ʟᴏᴄᴋ:" and "&e🔒 Disable enemy items for 6 seconds &7[Right Click]" with custom model data 7
set {spirit::Lock::2} to nether star named "<#f4740b>&lLock &f&lSpirit &8[Unsealed]" with lore " " and "&6&lɪᴛᴇᴍ ʟᴏᴄᴋ:" and "&e🔒 Disable enemy items for 6 seconds &7[Right Click]" and "&6&lɢʀᴀᴠɪᴛʏ ʟᴏᴄᴋ:" and "&e🧲 Freeze enemies mid-air &7[Shift+Right Click]" with custom model data 8
set {spirit::Lock::3} to nether star named "<#f4740b>&lLock &f&lSpirit &8[Inverse]" with lore " " and "&6&lɪᴛᴇᴍ ʟᴏᴄᴋ:" and "&e🔒 Disable enemy items for 6 seconds &7[Right Click]" and "&6&lɢʀᴀᴠɪᴛʏ ʟᴏᴄᴋ:" and "&e🧲 Freeze enemies mid-air &7[Shift+Right Click]" and "&6&lᴢᴏɴᴇ ʟᴏᴄᴋ:" and "&e🗝 Enemies can no longer break/place blocks &7[Left Click]" with custom model data 9
# ɴɪɢʜᴛᴍᴀʀᴇ ꜱᴘɪʀɪᴛ
on load:
set {spirit::Nightmare::1} to nether star named "<#2e2e2e>&lNightmare &f&lSpirit &8[Sealed]" with lore " " and "<#3b3b3b>&lᴛɪᴍᴇ ꜱᴋɪᴘ:" and "<#818181>⏳ Teleport back to your position 5 seconds ago &7[Right Click]" with custom model data 10
set {spirit::Nightmare::2} to nether star named "<#2e2e2e>&lNightmare &f&lSpirit &8[Unsealed]" with lore " " and "<#3b3b3b>&lᴛɪᴍᴇ ꜱᴋɪᴘ:" and "<#818181>⏳ Teleport back to your position 5 seconds ago &7[Right Click]" and "<#3b3b3b>&lꜱʜᴀᴅᴏᴡ ᴀꜱꜱᴀꜱꜱɪɴ:" and "<#818181>🕰 Turn fully invisible for 10 seconds &7[Shift+Right Click]" with custom model data 11
set {spirit::Nightmare::3} to nether star named "<#2e2e2e>&lNightmare &f&lSpirit &8[Inverse]" with lore " " and "<#3b3b3b>&lᴛɪᴍᴇ ꜱᴋɪᴘ:" and "<#818181>⏳ Teleport back to your position 5 seconds ago &7[Right Click]" and "<#3b3b3b>&lꜱʜᴀᴅᴏᴡ ᴀꜱꜱᴀꜱꜱɪɴ:" and "<#818181>🕰 Turn fully invisible for 10 seconds &7[Shift+Right Click]" and "<#3b3b3b>&lʟɪꜰᴇꜱᴘᴀɴ ᴅʀᴀɪɴ:" and "<#818181>💀 Heavily damage players around you &7[Left Click]" with custom model data 12
# ꜱᴛᴏʀᴍ ꜱᴘɪʀɪᴛ
on load:
set {spirit::Storm::1} to nether star named "<#0044ff>&lStorm &f&lSpirit &8[Sealed]" with lore " " and "&1&lᴛᴏʀɴᴀᴅᴏ ᴅᴀꜱʜ:" and "&9🌪 Dash forward &7[Right Click]" with custom model data 13
set {spirit::Storm::2} to nether star named "<#0044ff>&lStorm &f&lSpirit &8[Unsealed]" with lore " " and "&1&lᴛᴏʀɴᴀᴅᴏ ᴅᴀꜱʜ:" and "&9🌪 Dash forward &7[Right Click]" and "&1&lᴛᴏʀɴᴀᴅᴏ ʟᴇᴀᴘ:" and "&9🌪 Leap into the sky &7[Shift+Right Click]" with custom model data 14
set {spirit::Storm::3} to nether star named "<#0044ff>&lStorm &f&lSpirit &8[Inverse]" with lore " " and "&1&lᴛᴏʀɴᴀᴅᴏ ᴅᴀꜱʜ:" and "&9🌪 Dash forward &7[Right Click]" and "&1&lᴛᴏʀɴᴀᴅᴏ ʟᴇᴀᴘ:" and "&9🌪 Leap into the sky &7[Shift+Right Click]" and "&1&lʟɪɢʜᴛɴɪɴɢ ꜱᴛʀɪᴋᴇ:" and "&9🌩 Strike nearby players with lightning &7[Left Click]" with custom model data 15
# ꜱᴡᴏʀᴅ ꜱᴘɪʀɪᴛ
on load:
set {spirit::Sword::1} to nether star named "<#55008d>&lSword &f&lSpirit &8[Sealed]" with lore " " and "<#9900ff>&lʙʟᴀᴅᴇ ᴏᴜᴛʀᴀɢᴇ:" and "&d⚡ Knocks your enemies in the air &7[Right Click]" with custom model data 16
set {spirit::Sword::2} to nether star named "<#55008d>&lSword &f&lSpirit &8[Unsealed]" with lore " " and "<#9900ff>&lʙʟᴀᴅᴇ ᴏᴜᴛʀᴀɢᴇ:" and "&d⚡ Knocks your enemies in the air &7[Right Click]" and "<#9900ff>&lᴘᴀʀʀʏ ᴡɪɴᴅᴏᴡ:" and "&d🛡 Nullify nearby enemies &7[Shift+Right Click]" with custom model data 17
set {spirit::Sword::3} to nether star named "<#55008d>&lSword &f&lSpirit &8[Inverse]" with lore " " and "<#9900ff>&lʙʟᴀᴅᴇ ᴏᴜᴛʀᴀɢᴇ:" and "&d⚡ Knocks your enemies in the air &7[Right Click]" and "<#9900ff>&lᴘᴀʀʀʏ ᴡɪɴᴅᴏᴡ:" and "&d🛡 Nullify nearby enemies &7[Shift+Right Click]" and "<#9900ff>&lʀᴀɢᴇ ᴍᴏᴅᴇ:" and "&d🗡 Damage increases for 15 seconds &7[Left Click]" with custom model data 18
# ᴛʀɪᴄᴋꜱᴛᴇʀ ꜱᴘɪʀɪᴛ
on load:
set {spirit::Trickster::1} to nether star named "<#1eff00>&lTrickster &f&lSpirit &8[Sealed]" with lore " " and "&2&lᴅɪꜱɢᴜɪꜱᴇ:" and "&a🎭 Appear as another player &7[Right Click]" with custom model data 19
set {spirit::Trickster::2} to nether star named "<#1eff00>&lTrickster &f&lSpirit &8[Unsealed]" with lore " " and "&2&lᴅɪꜱɢᴜɪꜱᴇ:" and "&a🎭 Appear as another player &7[Right Click]" and "&2&lꜰᴀʟꜱᴇ ᴅᴀᴍᴀɢᴇ:" and "&a🌀 Take 0 damage for 5 seconds &7[Shift+Right Click]" with custom model data 20
set {spirit::Trickster::3} to nether star named "<#1eff00>&lTrickster &f&lSpirit &8[Inverse]" with lore " " and "&2&lᴅɪꜱɢᴜɪꜱᴇ:" and "&a🎭 Appear as another player &7[Right Click]" and "&2&lꜰᴀʟꜱᴇ ᴅᴀᴍᴀɢᴇ:" and "&a🌀 Take 0 damage for 5 seconds &7[Shift+Right Click]" and "&2&lᴍɪʀʀᴏʀ ᴡᴏʀʟᴅ:" and "&a🪞 Teleport your enemies into another universe &7[Left Click]" with custom model data 21
I’ll create a plugin to protect these 21 spirit items (nether stars with custom model data 1-21) from being dropped, stored, or placed.
Prevent dropping spirit items via PlayerDropItemEvent
Prevent storing in chests/containers via InventoryClickEvent
Prevent placing in item frames via PlayerInteractEntityEvent
Check for nether stars with custom model data 1-21
Plugin created! It blocks dropping, storing in containers (chests, barrels, hoppers, etc.), and placing in item frames for all 21 spirit items (nether stars with custom model data 1-21).
finish the plugin
I’ll read the existing files to understand what needs to be completed.
Looking at the plugin, it’s mostly complete but has one issue with direct EntityType enum usage. I’ll fix this to be version-safe.
Plugin is now complete with version-safe entity type checking using string comparison instead of direct enum references.
add configuration options so i can edit
can you make these soulboud and downgrade? when you die with inverse you get unsealed, when you die with unsealed you get sealed, when you die with sealed nohing happens you keep sealed and dont drop anything.
when you die with unsealed you drop this : drop 1 of amethyst shard with custom model data 101 named "&b&lStabilized Sephira Fragment" at victim's location
when you die with inverse you drop this : drop 1 of echo shard with custom model data 102 named "&5&lCorrupted Sephira Fragment" at victim's location,
📄
pasted-code-1772716639508.txt
txt
50 lines
▶
on load:
# ᴇꜰʀᴇᴇᴛ ꜱᴘɪʀɪᴛ
set {spirit::Efreet::1} to nether star named "<#ff0000>&lEfreet &f&lSpirit &8[Sealed]" with lore " " and "&b&lᴘᴏᴡᴇʀꜱ" and " " and "&4&lɪɴꜰᴇʀɴᴀʟ ᴅᴀꜱʜ:" and "&c🌋 Explosive dash forward &7[Right Click]" with custom model data 1
set {spirit::Efreet::2} to nether star named "<#ff0000>&lEfreet &f&lSpirit &8[Unsealed]" with lore " " and "&b&lᴘᴏᴡᴇʀꜱ" and " " and "&4&lɪɴꜰᴇʀɴᴀʟ ᴅᴀꜱʜ:" and "&c🌋 Explosive dash forward &7[Right Click]" and "&4&lʙᴜʀɴɪɴɢ ᴀᴜʀᴀ:" and "&c🔥 Nearby enemies ignite &7[Shift+Right Click]" with custom model data 2
set {spirit::Efreet::3} to nether star named "<#ff0000>&lEfreet &f&lSpirit &8[Inverse]" with lore " " and "&b&lᴘᴏᴡᴇʀꜱ" and " " and "&4&lɪɴꜰᴇʀɴᴀʟ ᴅᴀꜱʜ:" and "&c🌋 Explosive dash forward &7[Right Click]" and "&4&lʙᴜʀɴɪɴɢ ᴀᴜʀᴀ:" and "&c🔥 Nearby enemies ignite &7[Shift+Right Click]" and "&4&lꜰɪʀᴇʙᴜʀꜱᴛ:" and "&c💥 Shoots a fireball &7[Left Click]" with custom model data 3
# ᴋɴᴏᴡʟᴇᴅɢᴇ ꜱᴘɪʀɪᴛ
set {spirit::Knowledge::1} to nether star named "<#adadad>&lKnowledge &f&lSpirit &8[Sealed]" with lore " " and "&b&lᴘᴏᴡᴇʀꜱ" and " " and "&f&lɪʟʟᴜᴍɪɴᴀᴛɪᴏɴ ᴏꜰ ᴛʀᴜᴛʜ:" and "<#adadad>✨ Can See Other Player's Health &7[Passive]" with custom model data 4
set {spirit::Knowledge::2} to nether star named "<#adadad>&lKnowledge &f&lSpirit &8[Unsealed]" with lore " " and "&b&lᴘᴏᴡᴇʀꜱ" and " " and "&f&lɪʟʟᴜᴍɪɴᴀᴛɪᴏɴ ᴏꜰ ᴛʀᴜᴛʜ:" and "<#adadad>✨ Can See Other Player's Health &7[Passive]" and "&f&lᴠᴇɪʟ ᴏꜰ ɪɴꜱɪɢʜᴛ:" and "<#adadad>📜 Shuffle enemy hotbar on hit &7[Right Click]" with custom model data 5
set {spirit::Knowledge::3} to nether star named "<#adadad>&lKnowledge &f&lSpirit &8[Inverse]" with lore " " and "&b&lᴘᴏᴡᴇʀꜱ" and " " and "&f&lɪʟʟᴜᴍɪɴᴀᴛɪᴏɴ ᴏꜰ ᴛʀᴜᴛʜ:" and "<#adadad>✨ Can See Other Player's Health &7[Passive]" and "&f&lᴠᴇɪʟ ᴏꜰ ɪɴꜱɪɢʜᴛ:" and "<#adadad>📜 Shuffle enemy hotbar on hit &7[Right Click]" and "&f&lʀᴇꜱᴛʀᴀɪɴᴛ:" and "<#adadad>⛓ Enemy can no longer jump or sprint &7[Left Click]" with custom model data 6
# ᴢᴏᴅɪᴀᴄ ꜱᴘɪʀɪᴛ
set {spirit::Zodiac::1} to nether star named "<#f4740b>&lZodiac &f&lSpirit &8[Sealed]" with lore " " and "&b&lᴘᴏᴡᴇʀꜱ" and " " and "&6&lɪᴛᴇᴍ ʟᴏᴄᴋ:" and "&e🔒 Disable enemy items for 6 seconds &7[Right Click]" with custom model data 7
set {spirit::Zodiac::2} to nether star named "<#f4740b>&lZodiac &f&lSpirit &8[Unsealed]" with lore " " and "&b&lᴘᴏᴡᴇʀꜱ" and " " and "&6&lɪᴛᴇᴍ ʟᴏᴄᴋ:" and "&e🔒 Disable enemy items for 6 seconds &7[Right Click]" and "&6&lɢʀᴀᴠɪᴛʏ ʟᴏᴄᴋ:" and "&e🧲 Freeze enemies mid-air &7[Shift+Right Click]" with custom model data 8
set {spirit::Zodiac::3} to nether star named "<#f4740b>&lZodiac &f&lSpirit &8[Inverse]" with lore " " and "&b&lᴘᴏᴡᴇʀꜱ" and " " and "&6&lɪᴛᴇᴍ ʟᴏᴄᴋ:" and "&e🔒 Disable enemy items for 6 seconds &7[Right Click]" and "&6&lɢʀᴀᴠɪᴛʏ ʟᴏᴄᴋ:" and "&e🧲 Freeze enemies mid-air &7[Shift+Right Click]" and "&6&lᴢᴏɴᴇ ʟᴏᴄᴋ:" and "&e🗝 Enemies can no longer break/place blocks &7[Left Click]" with custom model data 9
# ɴɪɢʜᴛᴍᴀʀᴇ ꜱᴘɪʀɪᴛ
set {spirit::Nightmare::1} to nether star named "<#2e2e2e>&lNightmare &f&lSpirit &8[Sealed]" with lore " " and "&b&lᴘᴏᴡᴇʀꜱ" and " " and "<#3b3b3b>&lᴛɪᴍᴇ ꜱᴋɪᴘ:" and "<#818181>⏳ Teleport back 5s ago &7[Right Click]" with custom model data 10
set {spirit::Nightmare::2} to nether star named "<#2e2e2e>&lNightmare &f&lSpirit &8[Unsealed]" with lore " " and "&b&lᴘᴏᴡᴇʀꜱ" and " " and "<#3b3b3b>&lᴛɪᴍᴇ ꜱᴋɪᴘ:" and "<#818181>⏳ Teleport back 5s ago &7[Right Click]" and "<#3b3b3b>&lꜱʜᴀᴅᴏᴡ ᴀꜱꜱᴀꜱꜱɪɴ:" and "<#818181>🕰 Turn invisible for 10s &7[Shift+Right Click]" with custom model data 11
set {spirit::Nightmare::3} to nether star named "<#2e2e2e>&lNightmare &f&lSpirit &8[Inverse]" with lore " " and "&b&lᴘᴏᴡᴇʀꜱ" and " " and "<#3b3b3b>&lᴛɪᴍᴇ ꜱᴋɪᴘ:" and "<#818181>⏳ Teleport back 5s ago &7[Right Click]" and "<#3b3b3b>&lꜱʜᴀᴅᴏᴡ ᴀꜱꜱᴀꜱꜱɪɴ:" and "<#818181>🕰 Turn invisible for 10s &7[Shift+Right Click]" and "<#3b3b3b>&lʟɪꜰᴇꜱᴘᴀɴ ᴅʀᴀɪɴ:" and "<#818181>💀 Heavily damage players around you &7[Left Click]" with custom model data 12
# ꜱᴛᴏʀᴍ ꜱᴘɪʀɪᴛ
set {spirit::Storm::1} to nether star named "<#ff8c00>&lStorm &f&lSpirit &8[Sealed]" with lore " " and "&b&lᴘᴏᴡᴇʀꜱ" and " " and "<#ff8c00>&lᴛᴏʀɴᴀᴅᴏ ᴅᴀꜱʜ:" and "&e🌪 Dash forward &7[Right Click]" with custom model data 13
set {spirit::Storm::2} to nether star named "<#ff8c00>&lStorm &f&lSpirit &8[Unsealed]" with lore " " and "&b&lᴘᴏᴡᴇʀꜱ" and " " and "<#ff8c00>&lᴛᴏʀɴᴀᴅᴏ ᴅᴀꜱʜ:" and "&e🌪 Dash forward &7[Right Click]" and "<#ff8c00>&lᴀꜱᴛʀᴀʟ ʜᴀꜱᴛᴇ:" and "&e✨ Remove attack cooldown for 10s &7[Shift+Right Click]" with custom model data 14
set {spirit::Storm::3} to nether star named "<#ff8c00>&lStorm &f&lSpirit &8[Inverse]" with lore " " and "&b&lᴘᴏᴡᴇʀꜱ" and " " and "<#ff8c00>&lᴛᴏʀɴᴀᴅᴏ ᴅᴀꜱʜ:" and "&e🌪 Dash forward &7[Right Click]" and "<#ff8c00>&lᴀꜱᴛʀᴀʟ ʜᴀꜱᴛᴇ:" and "&e✨ Remove attack cooldown for 10s &7[Shift+Right Click]" and "<#ff8c00>&lᴊᴜᴅɢᴍᴇɴᴛ ʙᴏʟᴛ:" and "&e⚡ Strike nearby players with lightning &7[Left Click]" with custom model data 15
# ꜱᴡᴏʀᴅ ꜱᴘɪʀɪᴛ
set {spirit::Sword::1} to nether star named "<#55008d>&lSword &f&lSpirit &8[Sealed]" with lore " " and "&b&lᴘᴏᴡᴇʀꜱ" and " " and "<#9900ff>&lʙʟᴀᴅᴇ ᴏᴜʀᴀɢᴇ:" and "&d⚡ Knocks enemies in the air &7[Right Click]" with custom model data 16
set {spirit::Sword::2} to nether star named "<#55008d>&lSword &f&lSpirit &8[Unsealed]" with lore " " and "&b&lᴘᴏᴡᴇʀꜱ" and " " and "<#9900ff>&lʙʟᴀᴅᴇ ᴏᴜʀᴀɢᴇ:" and "&d⚡ Knocks enemies in the air &7[Right Click]" and "<#9900ff>&lᴘᴀʀʀʏ ᴡɪɴᴅᴏᴡ:" and "&d🛡 Nullify nearby enemies &7[Shift+Right Click]" with custom model data 17
set {spirit::Sword::3} to nether star named "<#55008d>&lSword &f&lSpirit &8[Inverse]" with lore " " and "&b&lᴘᴏᴡᴇʀꜱ" and " " and "<#9900ff>&lʙʟᴀᴅᴇ ᴏᴜʀᴀɢᴇ:" and "&d⚡ Knocks enemies in the air &7[Right Click]" and "<#9900ff>&lᴘᴀʀʀʏ ᴡɪɴᴅᴏᴡ:" and "&d🛡 Nullify nearby enemies &7[Shift+Right Click]" and "<#9900ff>&lʀᴀɢᴇ ᴍᴏᴅᴇ:" and "&d🗡 Damage increases for 15s &7[Left Click]" with custom model data 18
# ᴛʀɪᴄᴋꜱᴛᴇʀ ꜱᴘɪʀɪᴛ
set {spirit::Trickster::1} to nether star named "<#1eff00>&lTrickster &f&lSpirit &8[Sealed]" with lore " " and "&b&lᴘᴏᴡᴇʀꜱ" and " " and "&2&lᴅɪꜱɢᴜɪꜱᴇ:" and "&a🎭 Appear as another player &7[Right Click]" with custom model data 19
set {spirit::Trickster::2} to nether star named "<#1eff00>&lTrickster &f&lSpirit &8[Unsealed]" with lore " " and "&b&lᴘᴏᴡᴇʀꜱ" and " " and "&2&lᴅɪꜱɢᴜɪꜱᴇ:" and "&a🎭 Appear as another player &7[Right Click]" and "&2&lꜰᴀʟꜱᴇ ᴅᴀᴍᴀɢᴇ:" and "&a🌀 Take 0 damage for 5 seconds &7[Shift+Right Click]" with custom model data 20
set {spirit::Trickster::3} to nether star named "<#1eff00>&lTrickster &f&lSpirit &8[Inverse]" with lore " " and "&b&lᴘᴏᴡᴇʀꜱ" and " " and "&2&lᴅɪꜱɢᴜɪꜱᴇ:" and "&a🎭 Appear as another player &7[Right Click]" and "&2&lꜰᴀʟꜱᴇ ᴅᴀᴍᴀɢᴇ:" and "&a🌀 Take 0 damage for 5 seconds &7[Shift+Right Click]" and "&2&lᴍɪʀʀᴏʀ ᴡᴏʀʟᴅ:" and "&a🪞 Teleport enemies away &7[Left Click]" with custom model data 21
# ᴀɴɢᴇʟ ꜱᴘɪʀɪᴛ
set {spirit::Angel::1} to nether star named "<#ffffff>&lAngel &f&lSpirit &8[Sealed]" with lore " " and "&b&lᴘᴏᴡᴇʀꜱ" and " " and "&f&lᴛᴀᴄᴛɪᴄᴀʟ ꜱʜɪꜰᴛ:" and "&7✨ Teleport 15 blocks forward &7[Right Click]" with custom model data 22
set {spirit::Angel::2} to nether star named "<#ffffff>&lAngel &f&lSpirit &8[Unsealed]" with lore " " and "&b&lᴘᴏᴡᴇʀꜱ" and " " and "&f&lᴛᴀᴄᴛɪᴄᴀʟ ꜱʜɪꜰᴛ:" and "&7✨ Teleport 15 blocks forward &7[Right Click]" and "&f&lʜᴇᴀᴠᴇɴ’ꜱ ᴅᴇꜱᴄᴇɴᴛ:" and "&7🏹 Leap and rain arrows below &7[Shift+Right Click]" with custom model data 23
set {spirit::Angel::3} to nether star named "<#ffffff>&lAngel &f&lSpirit &8[Inverse]" with lore " " and "&b&lᴘᴏᴡᴇʀꜱ" and " " and "&f&lᴛᴀᴄᴛɪᴄᴀʟ ꜱʜɪꜰᴛ:" and "&7✨ Teleport 15 blocks forward &7[Right Click]" and "&f&lʜᴇᴀᴠᴇɴ’ꜱ ᴅᴇꜱᴄᴇɴᴛ:" and "&7🏹 Leap and rain arrows below &7[Shift+Right Click]" and "&f&lᴍᴇᴛᴀᴛʀᴏɴ:" and "&7❈ Shoot Arrow to Teleport to Enemy &7[Left Click]" with custom model data 24
# ʜᴇʀᴍɪᴛ ꜱᴘɪʀɪᴛ
set {spirit::Hermit::1} to nether star named "<#b0e0e6>&lHermit &f&lSpirit &8[Sealed]" with lore " " and "&b&lᴘᴏᴡᴇʀꜱ" and " " and "<#00fbff>&lꜱɪʀɪᴇʟ'ꜱ ᴅʀᴏᴡɴɪɴɢ:" and "<#defcff>🌊 Enemies take drowning damage within 20 blocks" and "<#defcff>radius for 10 seconds. &7[Right Click]" with custom model data 25
set {spirit::Hermit::2} to nether star named "<#b0e0e6>&lHermit &f&lSpirit &8[Unsealed]" with lore " " and "&b&lᴘᴏᴡᴇʀꜱ" and " " and "<#00fbff>&lꜱɪʀɪᴇʟ'ꜱ ᴅʀᴏᴡɴɪɴɢ:" and "<#defcff>🌊 Enemies take drowning damage within 20 blocks" and "<#defcff>radius for 10 seconds. &7[Right Click]" and "<#00fbff>&lꜰʀᴏᴢᴇɴ ᴛɪᴅᴇ:" and "<#defcff>🌊 Launches a wave of water forward, knocking back" and "<#defcff>all enemies and applying Slowness X for 10 seconds. &7[Shift+Right Click]" with custom model data 26
set {spirit::Hermit::3} to nether star named "<#b0e0e6>&lHermit &f&lSpirit &8[Inverse]" with lore " " and "&b&lᴘᴏᴡᴇʀꜱ" and " " and "<#00fbff>&lꜱɪʀɪᴇʟ'ꜱ ᴅʀᴏᴡɴɪɴɢ:" and "<#defcff>🌊 Enemies take drowning damage within 20 blocks" and "<#defcff>radius for 10 seconds. &7[Right Click]" and "<#00fbff>&lꜰʀᴏᴢᴇɴ ᴛɪᴅᴇ:" and "<#defcff>🌊 Launches a wave of water forward, knocking back" and "<#defcff>all enemies and applying Slowness X for 10 seconds. &7[Shift+Right Click]" and "<#00fbff>&lᴢᴀᴅᴋɪᴇʟ:" and "<#defcff>❈ Shot a Giant Snowball Doing 5 Hearts of damage" and "<#defcff>and Freezing them for 5 seconds. &7[Left Click]" with custom model data 27
# ᴅɪᴠᴀ ꜱᴘɪʀɪᴛ
set {spirit::Diva::1} to nether star named "<#7b68ee>&lDiva &f&lSpirit &8[Sealed]" with lore " " and "&b&lᴘᴏᴡᴇʀꜱ" and " " and "<#7b68ee>&lᴠᴏɪᴄᴇ ᴏꜰ ɪᴅᴏʟ:" and "<#c3b1e1>🎤 Hostile mobs no longer attack you for 120 seconds. &7[Shift+Right CLick]" with custom model data 28
set {spirit::Diva::2} to nether star named "<#7b68ee>&lDiva &f&lSpirit &8[Unsealed]" with lore " " and "&b&lᴘᴏᴡᴇʀꜱ" and " " and "<#7b68ee>&lᴠᴏɪᴄᴇ ᴏꜰ ɪᴅᴏʟ:" and "<#c3b1e1>🎤 Hostile mobs no longer attack you for 120 seconds. &7[Shift+Right Click]" and "<#7b68ee>&lʜʏᴍɴ ᴏꜰ ʀᴇɴᴇᴡᴀʟ:" and "<#c3b1e1>✨ Get Regeneration every critical hit for 5 seconds. &7[Right Click]" with custom model data 29
set {spirit::Diva::3} to nether star named "<#7b68ee>&lDiva &f&lSpirit &8[Inverse]" with lore " " and "&b&lᴘᴏᴡᴇʀꜱ" and " " and "<#7b68ee>&lᴠᴏɪᴄᴇ ᴏꜰ ɪᴅᴏʟ:" and "<#c3b1e1>🎤 Hostile mobs no longer attack you for 120 seconds. &7[Shift+Right Click]" and "<#7b68ee>&lʜʏᴍɴ ᴏꜰ ʀᴇɴᴇᴡᴀʟ:" and "<#c3b1e1>✨ Get Regeneration every critical hit for 5 seconds. &7[Right Click]" and "<#7b68ee>&lɢᴀʙʀɪᴇʟ ꜱᴏᴜɴᴅᴡᴀᴠᴇ:" and "<#c3b1e1>📡 Emit a high-frequency soundwave that does 7 hearts" and "<#c3b1e1>of damage. &7[Left Click]" with custom model data 30
package com.spiritprotection;
import com.spiritprotection.listener.SpiritProtectionListener;
import org.bukkit.plugin.java.JavaPlugin;
public class SpiritProtection extends JavaPlugin {
@Override
public void onEnable() {
getServer().getPluginManager().registerEvents(new SpiritProtectionListener(), this);
getLogger().info("SpiritProtection enabled - Protecting 36 spirit items");
}
@Override
public void onDisable() {
getLogger().info("SpiritProtection disabled");
}
}