What mini-scripts are
Mini-scripts are small text scripts you write in the panel to add commands, greetings, timers and simple rules to your server.
A mini-script is a short text file. You write it on your server's Mini-scripts tab, press Save, and the server runs it at once. There is nothing to build or upload. Because it is plain text, you can paste it from a chat, a forum or an AI answer.
Set up mini-scripts
- Open Script market on your server's page and install Mini-scripts, a script made by Strawberry Interactive LLC.
- Restart the server. The script loads at the next start.
- Open the Mini-scripts tab and press New mini-script.
A first mini-script
This is the Welcome starter. It greets a joining player in their own language and counts their visits.
uses message
text welcome
en "&eWelcome, {0}! This is your visit number {1}."
es "&e¡Bienvenido, {0}! Esta es tu visita número {1}."
tr "&eHoş geldin, {0}! Bu senin {1}. ziyaretin."
end
on join
add 1 to player.visits
message lang("welcome", name(player), player.visits)
endExamples explains it line by line.
What a mini-script can do
- React to events: a player joins or leaves, chats, breaks or places a block, dies, respawns, clicks, changes world, or arrives from another server of your group.
- Add commands with arguments, a permission and a usage line.
- Run timers, and pause a block with
wait. - Keep saved values for the whole server or for one player.
- Show texts in English, Spanish and Turkish, picked by each player's language.
- Answer the buttons of your menus and pages.
- React to model items of the custom-models script.
- Send messages, titles and sounds, teleport players, give and take items, set game modes and move players between your sub-servers.
What it cannot do
A mini-script does only what its uses line declares and what you allow. It cannot read or write the server's files, it has no store or Berry Points actions, and it cannot run commands that hand the server over. It runs inside fixed limits, so a mistake cannot stop the server.
Mini-script or script
A script is a compiled WebAssembly component written with the SDK, and it can use the whole script API. A mini-script is text that you write and change on the spot, for common jobs such as greetings, commands, timers, simple rules and buttons. Use a mini-script when it is enough. To write a script, start at Your first script.
Read next
- Files and the panel editor: create, save and delete.
- The language: lines, values, statements and functions.
- Events, commands and timers: what starts a block.
- Permissions:
usesand your consent. - When a file is broken: find and fix mistakes.
- Buttons, Model items and Sub-servers.
- Examples and Limits.