Logo
MINECRAFTBIBLE
Items
Items

All game items

Blocks
Blocks

Building blocks

Mobs
Mobs

Creatures & monsters

Biomes
Biomes

World biomes

Structures
Structures

Generated structures

Recipes
Recipes

Crafting guides

Advancements
Advancements

Achievements

Loot Tables
Loot Tables

Drop rates

Tags
Tags

Item groupings

All Versions
View all data →
Capes
Cape ArchiveNEW

Browse rare Minecon capes, OptiFine capes, and custom capes from players worldwide

Browse

Player Database
Player DatabasePopular

Search any player

Skin Browser
Skin Browser

Browse & download skins

Cape Gallery
Cape GalleryNEW

Minecon & OptiFine capes

Seed Vault
Seed Vault

Curated seeds

Learn

Guides
GuidesNew

Tutorials & tips

Blog
Blog

News & updates

Community

Community Hub
Community HubHub

Posts, discussions & more

All Versions
View community →
Seed Analyzer
Seed Analyzer

World seed analysis

Loot Explorer
Loot Explorer

Drop rates

Crafting Calculator
Crafting Calculator

Material planning

Enchant Calculator
Enchant Calculator

Probability math

Redstone Lab
Redstone Lab

Signal timing

Trading Profit
Trading Profit

Villager ROI

All Versions
View all tools →
Mods
Mods

Browse all mods

Plugins
Plugins

Server plugins

Resource Packs
Resource Packs

Textures & sounds

Shaders
Shaders

Visual enhancements

Datapacks
Datapacks

World logic

Scanner
Mod Intelligence

Scan & analyze any mod

All Versions
View all mods →
Loading...
IntroductionIntroductionVersion HistoryVersion HistoryGuidesGuidesBlog & NewsBlog & News
ItemsItemsBlocksBlocksMobsMobsRecipesRecipesBiomesBiomesStructuresStructuresAdvancementsAdvancementsLoot TablesLoot TablesTagsTags
ModsModsPluginsPluginsResource PacksResource PacksShadersShadersDatapacksDatapacks

MinecraftBible

The Ultimate Wiki

Logo
MINECRAFTBIBLE

The ultimate Minecraft reference. Every item, block, mob, and recipe documented with precision.

Community

  • Player Database
  • Skin Browser
  • Cape Gallery
  • Community Hub
  • Seed Vault

Database

  • Items
  • Blocks
  • Mobs
  • Recipes
  • Biomes
  • Structures

Tools

  • Seed Analyzer
  • Mod Intelligence
  • Crafting Calculator
  • Enchant Calculator

Mods & Packs

  • Mods
  • Plugins
  • Resource Packs
  • Shaders
  • Datapacks

© 2026 MinecraftBible. Not affiliated with Mojang or Microsoft.

PrivacyTermsContact
BatchCommands
PluginMIT

BatchCommands

A simple scripting plugin that does what it is supposed to do.

68
Downloads
0
Followers
8 months ago
Updated
📦
2
Versions
game-mechanicsmanagementutilitybukkitpaperpurpurspigot
Download Latestv1.3View on Modrinth

📖About BatchCommands

Batch commands: A scripting engine that does what it intends to do

Skript is a little too complex for most usage cases, so I made this plugin to be able to execute a series of commands from a file quickly.

For instance, you are setting up chunky. Normally you'd do:
/chunky world world /chunky radius 1500 /chunky shape circle and /chunky start
But what if you are doing this across multiple servers and are lazy enough to not want to do so? Here's what I aim to solve: repetative mannual labor.
We can now create a file within the /plugins/BatchCommands/batches folder named chunky.batch
Inside, it would look like this:

chunky world world
chunky radius 1500
chunky shape circle
chunky start

Now all you have to do is type /filebatch chunky.batch (Live tab completion fully supported).

Now, this is almost all the features anyone would possibly need in their lifetime. But what if we want more? What if I want to wait one second (twenty ticks) before starting the chunky worldgen?
The script will use our decorator !sleep ticks

chunky world world
chunky radius 1500
chunky shape circle
!sleep 1
chunky start

Now this plugin will execute the first three commands and then wait 20 ticks (one second) to perform the subsequent command.

Need help with the syntax?
Don't worry, we have an extensive linting system that is highly configurable.

Configuration options will be provided below

config.yml
# -------------------------------------------------- #
#             BatchCommands Configuration            #
# -------------------------------------------------- #

# Enable this to see more detailed logs in the console.
# This is useful for server administrators for debugging purposes.
debug-mode: false

# -------------------------------------------------- #
#                Execution Settings                  #
# -------------------------------------------------- #
# WARNING: Modifying these settings can create       #
#          potential security risks. Understand the  #
#          implications before changing them.        #
# -------------------------------------------------- #
execution:
  # Default Executor: CONSOLE or SENDER
  # Determines who runs the commands inside the batch file by default.
  # - CONSOLE: (Default, Safest) All commands are run by the server console.
  # - SENDER: (RISKY) Commands are run by the player who initiated the /filebatch command.
  #           This is dangerous if non-admins have the permission to run this command,
  #           as they could execute commands with their own (potentially limited) permissions.
  default-executor: CONSOLE

  # Stop on Error: true or false
  # If true, the batch execution will halt immediately if any command fails.
  # If false (RISKY), the batch will continue even if a command fails, which can lead to
  # unexpected behavior or incomplete actions.
  stop-on-error: true

  # Allow OP Commands: true or false
  # If false (Default, Safest), commands like /op, /deop, etc., are blocked from running
  # through this plugin, regardless of the executor.
  # If true (EXTREMELY RISKY), these commands are allowed. If 'default-executor' is SENDER,
  # a player could write a batch file with "op <their_name>" and try to gain operator status.
  allow-op-commands: false

  # Command Blacklist: A list of commands that can NEVER be run.
  # This is a final safeguard against catastrophic commands.
  # Commands should be listed without the slash. e.g., "stop" not "/stop".
  command-blacklist:
    - "stop"
    - "reload"
    - "rl"
    - "restart"
    - "plugman"

  
  lint-engine:
      # Lint engine mode
    # BEFORE - check before executing the script
    # AS_WE_GO - check as we go (less thorough, but faster startup)
    engine-mode: BEFORE
    checking-order:
      - "EMPTY_FILE"          # Checks if the file contains any executable lines.
      - "ILLEGAL_CMD"         # Checks for blacklisted or disabled OP commands.
      - "UNKNOWN_DECORATOR"   # Checks for decorators that don't exist (e.g., !fly).
      - "SYNTAX_ERRS"         # Checks for malformed decorators (e.g., !sleep without a number).
      - "RECURSIVE_EXECUTION" # Checks if the file tries to call itself.
    max-checking-time: 1000 #Max checking time for lint engine, if it exceeds this we will respect the next setting
    # Possible options:
    # STOP - Stop the execution
    # TRY_AGAIN - Retry, max attempts can be changed
    # STOP_AND_WARN - Notify console of this error
    # FORCE_START - forcably start the script - THIS WILL LEAD TO EXPLOITS!!!
    if-exceed-max-time: STOP_AND_WARN
    max-retry-attempts: 5
    
scripting:
  # This is the character that denotes a comment line in the batch file.
  # Any line starting with this character will be ignored during execution.
  # Default is "#".
  comment-char: "#"
  # Decorator Character
  # This character is used to identify special decorators in the batch file.
  # For example, "!sleep 5" uses "!" as the decorator character.
  # Default is "!".
  decorator-char: "!"
  timing:
    # Ticking modes:
    # WORLD - Uses the world's ticks (synchronous, affected by TPS)
    # INTERNAL - Uses an internal timer to schedule sleep tasks (Not yet implemented)
    # CLOCK - Uses the server's clock to schedule sleep tasks (Not yet implemented)
    ticking-mode: WORLD

👥 Team & Contributors

Earth1283
Earth1283Owner

⚙️ Compatibility

Environment
🖥️ Server-side
Loaders
bukkitpaperpurpurspigot
Minecraft Versions
1.191.19.11.19.21.19.31.19.41.201.20.11.20.2+16 more

🔗 Links

Modrinth Page