SantumScript Wiki
Welcome to the official wiki for SantumScript created by DonKolia
Overview
SantumScript is a powerful custom scripting plugin for Paper 1.21 It allows you to write custom code logic inside yml files located in the plugin folder and its subfolders The plugin reads these files and translates them into executable actions in your server With full PlaceholderAPI support and mathematical evaluations it gives you total control over what happens when a script is called
Commands and Permissions
/santumscript call <script_name> [args...]
Triggers a specific script from your scripts folder You can pass unlimited arguments separated by spaces Inside the script these arguments can be used as %arg_1% %arg_2% and so on
/santumscript reload
Reloads all scripts into memory Requires santumscript admin permission
Variables and Placeholders
The system fully supports PlaceholderAPI You can use variables like %player_level% or %player_name% anywhere in your conditions or actions You can also use mathematical expressions inside conditions The engine will calculate math operations before comparing values
Additionally SantumScript comes with custom dynamic placeholders built-in:
%random_min_max%
Selects a random number between min and max For example %random_1_10% will be replaced by a random number between 1 and 10
%in_radius_<x>_<y>_<z>_<world>_<radius>%
Checks if the player executing the script is near certain coordinates in a specific world It returns true or false making it perfect for if conditions For example %in_radius_100_64_100_world_10% == true
Logical Operators
When creating conditions you can use the following comparison operators:
If ElseIf and Else
You can control the flow using standard conditional blocks
Switch Statements
You can evaluate a single expression and execute blocks based on matching cases You can also use PlaceholderAPI variables inside the case strings
Available Actions
Every line of execution inside your blocks must be surrounded by double quotes The following action prefixes are supported:
Welcome to the official wiki for SantumScript created by DonKolia
Overview
SantumScript is a powerful custom scripting plugin for Paper 1.21 It allows you to write custom code logic inside yml files located in the plugin folder and its subfolders The plugin reads these files and translates them into executable actions in your server With full PlaceholderAPI support and mathematical evaluations it gives you total control over what happens when a script is called
Commands and Permissions
/santumscript call <script_name> [args...]
Triggers a specific script from your scripts folder You can pass unlimited arguments separated by spaces Inside the script these arguments can be used as %arg_1% %arg_2% and so on
/santumscript reload
Reloads all scripts into memory Requires santumscript admin permission
Variables and Placeholders
The system fully supports PlaceholderAPI You can use variables like %player_level% or %player_name% anywhere in your conditions or actions You can also use mathematical expressions inside conditions The engine will calculate math operations before comparing values
Additionally SantumScript comes with custom dynamic placeholders built-in:
%random_min_max%
Selects a random number between min and max For example %random_1_10% will be replaced by a random number between 1 and 10
%in_radius_<x>_<y>_<z>_<world>_<radius>%
Checks if the player executing the script is near certain coordinates in a specific world It returns true or false making it perfect for if conditions For example %in_radius_100_64_100_world_10% == true
Logical Operators
When creating conditions you can use the following comparison operators:
- == or = for equality
- != for inequality
- > < >= <= for numeric comparisons
- && (AND) means both conditions must be true
- || (OR) means at least one condition must be true
If ElseIf and Else
You can control the flow using standard conditional blocks
Code (YAML):
if
(
%player_level% != 1 || %player_world% != mundo && %player_name% == Willyrex){
"as_op : &6hello %player_name%"
"message : &6hello %player_name%"
}
elseif ( %player_level% >= 1 && %player_name% == DonKolia) {
"as_console : &6hello %player_name%"
} else {
"centered_message : &6hello %player_name%"
}
"as_op : &6hello %player_name%"
"message : &6hello %player_name%"
}
elseif ( %player_level% >= 1 && %player_name% == DonKolia) {
"as_console : &6hello %player_name%"
} else {
"centered_message : &6hello %player_name%"
}
You can evaluate a single expression and execute blocks based on matching cases You can also use PlaceholderAPI variables inside the case strings
Code (YAML):
switch
(
%arg_1%)
{
case "%player_name%":
"message : &6hello %player_name%"
break;
case "cualquiera":
"message : &6hello %player_name%"
break;
else:
"message : &6hello %player_name%"
break;
}
{
case "%player_name%":
"message : &6hello %player_name%"
break;
case "cualquiera":
"message : &6hello %player_name%"
break;
else:
"message : &6hello %player_name%"
break;
}
Available Actions
Every line of execution inside your blocks must be surrounded by double quotes The following action prefixes are supported:
- as_op: <command> Executes a command granting temporary operator permissions to the player
- as_console: <command> Executes a command through the server console
- as_player: <command> Forces the player to execute a command
- message: <text> Sends a color-formatted message to the player
- centered_message: <text> Sends a message mathematically centered in the player chat
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft version listed: 1.21
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
SantumScript | PlaceholderAPI Scripting is a free Minecraft Java mod. Compatible with Minecraft 1.21. Downloaded 12 times (via Spigot). Download it and open it directly in the game.