Back to 9Minecraft
Wiki 9Minecraft Wiki 9Minecraft
Carpet Pvp Practice Wiki › Guides › Create Custom Training Scenarios with Scarpet Scripts

Create Custom Training Scenarios with Scarpet Scripts

What Scarpet Scripting Offers

The mod supports Scarpet, a scripting language for Carpet mod. This lets you automate complex training scenarios beyond basic bot fights—like spawning multiple bots, setting arena rules, or triggering specific combat situations.

Writing a Simple Script

Scarpet scripts run in your world and can:

  • Spawn bots at specific locations
  • Give them custom equipment loadouts
  • Trigger events (like bots attacking in waves)
  • Track your performance metrics
  • Reset the arena after each round

Getting Started

If you're new to Scarpet, start by studying existing scripts in the mod's documentation or community examples. Simple scripts might spawn a bot, equip it, and reset it after you defeat it. More advanced scripts can create tournament brackets, track win streaks, or simulate specific PvP scenarios.

Scarpet knowledge opens up endless customization—you're no longer limited to the mod's built-in commands.