Create a complete, error-free Skript (.sk) file for Minecraft Java Edition (latest compatible Skript version).
Add the following custom items and mechanics:
- BASEBALL BAT
- Item: Enchanted Blaze Rod
- Custom Name: Baseball Bat
- Obtained from Ominous Vaults
- Has only 5 uses before breaking
- When hitting a player or mob, applies extremely high knockback equivalent to Knockback 10
- Display remaining uses in lore if possible
- Custom lore explaining the item
- HEART STAFF
- Item: Lightning Rod
- Custom Name: Heart Staff
- Obtained only by killing the Warden
- When a player obtains it, broadcast to the entire server:
"<player> has obtained the legendary Heart Staff!"
- While held in the OFFHAND:
- Grants 10 temporary absorption hearts (20 extra health)
- When removed from the offhand:
- The absorption hearts are removed
- The item MUST NEVER be placeable on the ground
- Custom lore explaining the item
- TNT BOW
- Item: Custom Bow
- Found in End City chests
- Only a 3% chance to generate
- Cannot be enchanted through anvils, enchanting tables, grindstones, commands, or any other method
- Every 5th arrow fired from the bow launches a primed TNT block instead
- Track arrow count per player
- TNT behaves normally and explodes after its fuse
- Custom lore explaining the item
- POGO STICK
- Item: Enchanted Blaze Rod
- Custom Name: Pogo Stick
- Obtained from Trial Vaults
- Has only 3 uses before breaking
- Right-click launches the player approximately 70 blocks upward
- Player takes absolutely NO fall damage from launches caused by the Pogo Stick
- Fall damage immunity should only apply to the Pogo Stick launch
- Display remaining uses in lore if possible
- Custom lore explaining the item
ADMIN COMMANDS
Add a command:
/weapon <item>
Permission:
- weapon.admin
- OPs automatically have access
Examples:
- /weapon baseballbat
- /weapon heartstaff
- /weapon tntbow
- /weapon pogostick
The command should give the player the correct custom item with all custom NBT, lore, uses, and properties already applied.
GENERAL REQUIREMENTS
- Use modern Skript syntax only.
- Include comments explaining every section.
- Prevent exploits, duplication glitches, and unintended behavior.
- Reliably identify custom items using NBT tags or Skript identifiers.
- Save all item data through server restarts.
- Ensure loot generation works correctly.
- Ensure the script loads with zero errors on the latest Skript version.
- Include all variables needed.
- Optimize performance.
- Output ONLY the complete .sk file code.
Should this be for a new Minecraft Skripts project, or an existing project you’ll add to this workspace?
yes
Do you mean you want me to create a new Minecraft Skripts project, or add an existing project to this workspace?
new
I’ve started the custom weapons Skript, including the items, mechanics, loot handling, and /weapon admin command. The script will be added to the new project.
wait make the pogo stick enchanted breeze rod not blaze rod
I’ve asked the project developer to change the Pogo Stick to an enchanted Breeze Rod, leaving the Baseball Bat unchanged.
Place weapons.sk in plugins/Skript/scripts/, then run /sk reload weapons.
Updated weapons.sk: the Pogo Stick is now an enchanted Breeze Rod, while the Baseball Bat remains an enchanted Blaze Rod. The updated file is in the WeaponForge project.
No files in this session