Lucas Ablitt

Create a complete, error-free Skript (.sk) file for Minecraft Java Edition (latest compatible Skript version).

Add the following custom items and mechanics:

  1. 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
  1. 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
  1. 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
  1. 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.
Kodari AI
KodariOct 31 at 5:03 am 1

Should this be for a new Minecraft Skripts project, or an existing project you’ll add to this workspace?

Lucas Ablitt

yes

Kodari AI
KodariOct 31 at 5:03 am 1

Do you mean you want me to create a new Minecraft Skripts project, or add an existing project to this workspace?

Lucas Ablitt

new

Kodari AI
KodariOct 31 at 5:04 am 1
Created Custom Weapons SkriptSkripts
Delegated to Custom Weapons Skript Running
Create and save a complete, commented Skript file (.sk) implementing the requested custom weapons for latest compatible Minecraft Java/Skript. This is a new, empty Minecraft Skripts project; inspect its project structure first, then add the actual script file. No unit tests or test scripts. Implement these features as robustly as possible using modern Skript syntax: 1) Baseball Bat: enchanted blaze rod named Baseball Bat, unique reliable identification, 5 uses, decrement only on successful melee hits against players/mobs and remove at zero; apply very strong knockback approximating Knockback X; lore includes instructions and remaining uses. Obtain from Ominous Vault loot. 2) Heart Staff: lightning rod, unique identification, obtained only as a Warden kill drop; broadcast exactly '<player> has obtained the legendary Heart Staff!' on acquisition. While in offhand give 20 absorption health, immediately remove only the absorption granted by this staff when it leaves offhand; avoid removing unrelated absorption effects/health. Absolutely prevent placing it as a block. Lore included. 3) TNT Bow: bow, uniquely identified, 3% chance added to End City chest loot. Track per-player arrow count persistently across restarts and replace every fifth shot from this bow with a primed TNT entity with a normal fuse/explosion. Prevent this bow from gaining enchantments through applicable Skript events (enchanting table, anvil, grindstone, and direct command paths where interceptable); preserve unrelated items. Lore included. 4) Pogo Stick: enchanted blaze rod, uniquely identified, 3 uses; right click launches holder about 70 blocks upward, decrement uses and break at zero; prevent fall damage only from that particular launch, with a bounded/expiring per-player launch flag and cleanup on landing, logout/world change/death. Lore includes remaining uses and explanation. Obtain from Trial Vault loot. 5) /weapon <baseballbat|heartstaff|tntbow|pogostick>, permission weapon.admin with OP access, grants correct fully initialized item and gives helpful usage/error messages. Include safeguards against duplication/exploits, handle offhand transitions and item movement reliably, persist relevant variables across restarts, and ensure all sections/comments are clear. Use item metadata/tags only if supported by the actual Skript version in this project; otherwise choose the most reliable built-in Skript identification method and document limitations in script comments. Do not silently invent unsupported event names or syntax: inspect available project files/docs if present and target the latest Skript version supported by the project. Loot generation must be genuinely implemented for Ominous Vaults, Trial Vaults, and End City chests using supported Skript events; if vanilla Skript cannot intercept a loot source reliably, implement the closest robust supported method and explain that limitation in a concise comment rather than adding an incompatible dependency. Do not claim impossible absolute protection against other plugins/console commands; intercept every relevant supported method. Ensure the script is deployable as a .sk file and include any required addon dependency only if genuinely necessary and supported by the project.

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.

Lucas Ablitt

wait make the pogo stick enchanted breeze rod not blaze rod

Kodari AI
KodariOct 31 at 5:15 am 1
Delegated to WeaponForge Running
Make a narrowly scoped update to the existing `weapons.sk` custom weapons script. The user wants the Pogo Stick's base item changed from an enchanted Blaze Rod to an enchanted Breeze Rod. Inspect the current source first. Update `makePogoStick` so it creates a Breeze Rod (keep its existing custom name, enchantment/visual treatment, lore, identifier marker and 3-use behavior), and update `isPogoStick` to identify Breeze Rod rather than Blaze Rod. Do not change the Baseball Bat, which must remain an enchanted Blaze Rod, or alter any other mechanics. Ensure all Pogo Stick references and comments accurately reflect Breeze Rod. Save the updated deployable .sk file.

I’ve asked the project developer to change the Pogo Stick to an enchanted Breeze Rod, leaving the Baseball Bat unchanged.

Reports from 2 projects
TaskCreate and save a complete, commented Skript file (.sk) implementing the requested custom weapons for latest compatible Minecraft Java/Skript. This is a new, empty Minecraft Skripts project; inspect i...

Place weapons.sk in plugins/Skript/scripts/, then run /sk reload weapons.

WeaponForgeCompleted
TaskMake a narrowly scoped update to the existing `weapons.sk` custom weapons script. The user wants the Pogo Stick's base item changed from an enchanted Blaze Rod to an enchanted Breeze Rod. Inspect the ...
Kodari AI
KodariOct 31 at 5:18 am 1

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.

Kodari can make mistakes. Review important code before using.
Files

No files in this session

Code