Back to mods
Expressions Provider project artwork

Modrinth · Minecraft mod

Expressions Provider

Add MiniPlaceholders placeholders for complex mathematical and text expressions

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Expressions Provider release matches 1.19.4?

Updated 1 year ago
Best match for your filters 2.0.0
Game version 1.10, 1.10.1, 1.10.2
Loader velocity

Expressions Provider 2.0.0 targets 1.10, 1.10.1, 1.10.2 with velocity. Do not install it on the client. It must be installed on the dedicated server. All 1 required mods have matching files.

Where it goes

Is Expressions Provider required on the client, server, or both?

Do not install it on the client. It must be installed on the dedicated server.

Client Not supported
Dedicated server Required
Loader for this release velocity
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

This file is marked server-only.

What else does Expressions Provider 2.0.0 need?

2.0.0 on 1.19.4. Every mod below is checked against that same setup.

All 1 required mods have matching files

Install MiniPlaceholders first. We found matching files for this game-version and loader setup.

MiniPlaceholders Needed by Expressions Provider 2.0.0
required
Matching file found Matched file: 3.2.0

We only count dependency files that match this setup. A file for another loader does not fill the gap.

Before you install it

Add Expressions Provider without breaking your instance.

Built for Expressions Provider 2.0.0 on 1.19.4. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 2.0.0. It targets 1.10, 1.10.1, 1.10.2 with velocity; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    Install MiniPlaceholders first. We found matching files for this game-version and loader setup.

  3. 03

    Put it on the correct side

    Do not install it on the client. It must be installed on the dedicated server.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 2.0.0. It opens that exact file at the source.

About this project

What does Expressions Provider add?

Expressions-Provider

Add MiniPlaceholders placeholders for complex mathematical and text expressions.

Installation

  • Install MiniPlaceholders
  • Install this project in the mods or plugins folder, depending on the platform you use

Placeholders

Basic Operations

  • Addition | <expr_add:n1:n2:...:nX>
    • <expr_add:5:2:3> == 10
  • Subtraction | <expr_sub:n1:n2>
    • <expr_sub:10:3> == 7
  • Multiplication | <expr_mul:n1:n2:...:nX>
    • <expr_mul:5:2:3:6> == 180
  • Division | <expr_div:n1:n2>
    • <expr_div:10:5> == 2
  • Division remainder <expr_mod:n1:n2>
    • <expr_mod:5:2> == 1
  • Negation | <expr_neg:n>
    • <expr_neg:5> == -5
    • <expr_neg:-5> == 5

Round

  • Round down to integer | <expr_floor:n>
    • <expr_floor:5.05> == 5
    • <expr_floor:2.9> == 2
  • Round to nearest integer | <expr_round:n>
    • <expr_floor:5.05> == 5
    • <expr_floor:2.9> == 3
  • Round up to integer | <expr_ceil:n>
    • <expr_floor:5.05> == 6
    • <expr_floor:2.9> == 3
  • Get the lowest-valued number | <expr_min:n1:n2:...:nX>
    • <expr_min:5:10:15:2:500:9:69> == 2
  • Get the highest-valued number | <expr_max:n1:n2:...:nX>
    • <expr_max:5:10:15:2:500:9:69> == 500
  • A random number from 0 to 1 | <expr_random> | Acts like <expr_random:0:1:0.01>
    • <expr_random> == 0.15
  • A random integer from min to max | <expr_random:min:max> | Acts like <expr_random:min:max:1>
    • <expr_random:1:100> == 69
  • A random number from min to max with a step of step | <expr_random:min:max:step>
    • <expr_random:50:10:0.25> == 68.75

String Operations

  • Concat strings | <expr_concat:s1:s2:...:sN>
    • <expr_concat:hello:_:world> == "hello_world"
  • Create a substring of s from n1 to n2 character | <expr_substring:s:n1:n2>
    • <expr_substring:hello:2:4> == "ll"
  • Get length of the string | <expr_length:s>
    • <expr_length:hello> == 5
  • Format a string using Java String.format() | <expr_format:format:arg1:arg2:...:argX>
    | It may be useful for user expressions
    • <expr_format:'%s is not a %s':4drian3d:fruit> == "4drian3d is not a fruit"
  • Displays r1 if o1 and o2 are same. Otherwise, displays rs | <expr_if:o1:o2:r1:r2>
    • <expr_if:1:2:Equals:NotEquals> == "NotEquals"
  • Sets text placeholders for a player with uuid. | <expr_player:uuid:text>
    • <expr_player:4drian3dUUID:<player_name>> == 4drian3d
  • Sets text placeholders for a player with name. | <expr_player:name:text>
    • <expr_player:4drian3d:<player_ping>> == 42
  • Expand to a User expression | <expr_user:name:arg1:arg2:...:argX>

User expressions

You can create your own expression shortcut in expressions.properties using our Expression Provider Language (EPL):

add_and_multiply=<expr_add:"<arg1>":"<expr_mul:'<arg2>':'<arg3>'>"> means <expr_user:add_and_multiply:arg1:arg2:arg3> will be evaluated to arg1 + (arg2 * arg3).
So, <expr_user:add_and_multiply:2:3:4> evaluates to <expr_add:2:'<expr_mul:3:4>'>, which is 2 + (3 * 4) = 14

Example user expressions

  • <expr_user:remove_first:s:n> - Remove n first characters from s (hello, 2 -> llo), EPL: remove_first=<expr_substring:"<arg1>":"<arg2>":"<expr_length:'<arg1>'>">
  • <expr_user:remove_last:s:n> - Remove n last characters from s (hello, 2 -> hel), EPL: remove_last=<expr_substring:"<arg1>":0:"<expr_sub:'<expr_length:"<arg1>">':'<arg2>'>">
  • <expr_user:decimals:n:decimals> - format a number (1.234567, 2 -> 1.23), EPL: decimals=<expr_format:"<expr_concat:'%.0':'<arg2>':'f'>":"<arg1>">
  • <expr_user:pad_integer:n:length> - pad an integer with zeros (12, 3 -> 012), EPL: pad_integer=<expr_format:"<expr_concat:'%0':'<arg1>':'d'>":"<arg2>">

Nesting

Expressions can be nested. Try /miniplaceholders parse me <expr_add:1:"<expr_add:1:'<expr_add:1:"<expr_add:1:'<expr_add:1:0>'>">'>">

Downloads

Project description from Modrinth.

Pick your setup

Expressions Provider by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

96 available setups

Showing the newest 12 of 78 game versions. Older files are in the list below.

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Expressions Provider versions and loaders

8 of 12 releases match
Clear filters

Looking for an older file? The official Modrinth project page is in Resources.