Download Advanced Scripts — Minecraft Mods — MetaMods

Advanced Scripts

Active

Downloads

0

Last update

7 months ago
Client
Technological
Utils

Advanced Scripts - Powerful Scripting Engine for Minecraft

Advanced Scripts is a lightweight yet functional scripting engine for Minecraft. This mod is perfect for creating custom events, cutscenes, gameplay mechanics, and complex automations without the need for datapacks or complicated modifications.

Main Features

Custom Scripts
Create files with .script extension containing sequences of Minecraft commands. These scripts execute directly in your world and support vanilla commands, macros, and additional functions.

Pause with wait(N)
Pause script execution for a specified number of ticks (1 second = 20 ticks).

say Starting event!
wait(40)
say Finished after 2 seconds

Repetition with repeat(N) { ... }
Execute command blocks multiple times in a row.

repeat(10) {
    say I'm saying this 10 times
}

Random Execution (update 5.0+)
Define the probability of command execution, for example 1:100 - one hundredth probability.

rand(1:100){
    say hello
}

Custom Reusable Functions
Create functions that can be called multiple times.

def giveDiamonds(){
    give player minecraft:diamond 64
    say "gave diamonds"
}

//call the function
giveDiamonds()

Important Information: If you declare a function after calling it, the function will not be called. Make sure the function declaration occurs before the call statement is executed. The same rule applies to #define.

Macros with #define
Create aliases for long commands that can be reused in the script.

#define TP_BOSS tp @e[type=minecraft:zombie,name="Boss"]
TP_BOSS 10 64 10

Comments with //
Comment lines are ignored during execution.

//This is a comment

Script Management

All management commands are available via /scripts:

  • /scripts run <name> → run a specific script
  • /scripts list → list available scripts
  • /scripts stop → stop specific scripts
  • /scripts help → show quick guide

(All commands can only be executed by operators/administrators for security reasons.)

Script Location

Scripts should be saved in the folder:

.minecraft/scripts/

Within the scripts folder, you can create additional folders for better script structure organization.

Note: This is a BETA version. The Stop command does not cancel actions performed by the script, it simply stops further execution.

Project members
tizio_bello

tizio_bello

Created: 6 Sep 2025

ID: 264030