Home›Java›Mods›SantumScript | PlaceholderAPI Scripting
SantumScript | PlaceholderAPI Scripting
ModsJava

SantumScript | PlaceholderAPI Scripting

⬇ Download on Spigot
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:

You can combine multiple conditions using logical operators:

Scripting Syntax
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%"

}
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

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;
}

Available Actions

Every line of execution inside your blocks must be surrounded by double quotes The following action prefixes are supported:

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

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.

Explore more