placeholders.pb4.eu Open in urlscan Pro
2606:50c0:8001::153  Public Scan

Submitted URL: http://placeholders.pb4.eu/
Effective URL: https://placeholders.pb4.eu/
Submission: On November 06 via api from US — Scanned from DE

Form analysis 2 forms found in the DOM

<form class="md-header__option" data-md-component="palette"> <input class="md-option" data-md-color-media="" data-md-color-scheme="slate" data-md-color-primary="teal" data-md-color-accent="teal" aria-label="Switch to light mode" type="radio"
    name="__palette" id="__palette_1"> <label class="md-header__button md-icon" title="Switch to light mode" for="__palette_2"> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
      <path
        d="M12 7a5 5 0 0 1 5 5 5 5 0 0 1-5 5 5 5 0 0 1-5-5 5 5 0 0 1 5-5m0 2a3 3 0 0 0-3 3 3 3 0 0 0 3 3 3 3 0 0 0 3-3 3 3 0 0 0-3-3m0-7 2.39 3.42C13.65 5.15 12.84 5 12 5c-.84 0-1.65.15-2.39.42L12 2M3.34 7l4.16-.35A7.2 7.2 0 0 0 5.94 8.5c-.44.74-.69 1.5-.83 2.29L3.34 7m.02 10 1.76-3.77a7.131 7.131 0 0 0 2.38 4.14L3.36 17M20.65 7l-1.77 3.79a7.023 7.023 0 0 0-2.38-4.15l4.15.36m-.01 10-4.14.36c.59-.51 1.12-1.14 1.54-1.86.42-.73.69-1.5.83-2.29L20.64 17M12 22l-2.41-3.44c.74.27 1.55.44 2.41.44.82 0 1.63-.17 2.37-.44L12 22Z">
      </path>
    </svg> </label> <input class="md-option" data-md-color-media="" data-md-color-scheme="default" data-md-color-primary="teal" data-md-color-accent="teal" aria-label="Switch to dark mode" type="radio" name="__palette" id="__palette_2"> <label
    class="md-header__button md-icon" title="Switch to dark mode" for="__palette_1" hidden=""> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
      <path
        d="m17.75 4.09-2.53 1.94.91 3.06-2.63-1.81-2.63 1.81.91-3.06-2.53-1.94L12.44 4l1.06-3 1.06 3 3.19.09m3.5 6.91-1.64 1.25.59 1.98-1.7-1.17-1.7 1.17.59-1.98L15.75 11l2.06-.05L18.5 9l.69 1.95 2.06.05m-2.28 4.95c.83-.08 1.72 1.1 1.19 1.85-.32.45-.66.87-1.08 1.27C15.17 23 8.84 23 4.94 19.07c-3.91-3.9-3.91-10.24 0-14.14.4-.4.82-.76 1.27-1.08.75-.53 1.93.36 1.85 1.19-.27 2.86.69 5.83 2.89 8.02a9.96 9.96 0 0 0 8.02 2.89m-1.64 2.02a12.08 12.08 0 0 1-7.8-3.47c-2.17-2.19-3.33-5-3.49-7.82-2.81 3.14-2.7 7.96.31 10.98 3.02 3.01 7.84 3.12 10.98.31Z">
      </path>
    </svg> </label> </form>

Name: search

<form class="md-search__form" name="search"> <input type="text" class="md-search__input" name="query" aria-label="Search" placeholder="Search" autocapitalize="off" autocorrect="off" autocomplete="off" spellcheck="false"
    data-md-component="search-query" required=""> <label class="md-search__icon md-icon" for="__search"> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
      <path d="M9.5 3A6.5 6.5 0 0 1 16 9.5c0 1.61-.59 3.09-1.56 4.23l.27.27h.79l5 5-1.5 1.5-5-5v-.79l-.27-.27A6.516 6.516 0 0 1 9.5 16 6.5 6.5 0 0 1 3 9.5 6.5 6.5 0 0 1 9.5 3m0 2C7 5 5 7 5 9.5S7 14 9.5 14 14 12 14 9.5 12 5 9.5 5Z"></path>
    </svg> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
      <path d="M20 11v2H8l5.5 5.5-1.42 1.42L4.16 12l7.92-7.92L13.5 5.5 8 11h12Z"></path>
    </svg> </label>
  <nav class="md-search__options" aria-label="Search"> <button type="reset" class="md-search__icon md-icon" title="Clear" aria-label="Clear" tabindex="-1"> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
        <path d="M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41Z"></path>
      </svg> </button> </nav>
</form>

Text Content

Skip to content


Placeholder API
About Placeholder API

Type to start searching
Patbox/TextPlaceholderAPI
 * 2.2.0+1.20.2
 * 26
 * 13

 * About Placeholder API
 * For Users
 * For Developers

Placeholder API
Patbox/TextPlaceholderAPI
 * 2.2.0+1.20.2
 * 26
 * 13

 * About Placeholder API About Placeholder API
   Table of contents
    * For users
    * For developers

 * For Users
   For Users
    * Using placeholders
    * Default placeholder list
    * Mod placeholders list
    * Simplified Text Format

 * For Developers
   For Developers
    * Getting Started
    * Adding placeholders
    * Parsing placeholders
    * Text Nodes and Node Parsers
    * Using Simplified Text Format/TextParser


ABOUT PLACEHOLDER API¶

It's a small, JIJ-able API that allows creation and parsing placeholders within
strings and Minecraft Text Components. Placeholder API uses a simple format of
%modid:type% or %modid:type data% (%modid:type/data% prior to 1.19). It also
includes simple, general usage text format indented for simplifying user input
in configs/chats/etc.


FOR USERS¶

It allows users to configure multiple mods in similar way without losing
compatibility between mods. Placeholders allow changing what and where any
information is present within compatible mods.

Additionally, Simplified Text Format allows to style them in readable way
without the requirement of writing JSON manually or using generators.

 * Using placeholders
 * Default placeholder list
 * Mod placeholder list
 * Simplified Text Format


FOR DEVELOPERS¶

Usage of Placeholder API is a simple way to achieve good mod compatibility
without having to implement multiple mod specific apis. Additionally, the
placeholder parsing system can be used for replacing own static (or dynamic
placeholders) in Text created by player or read from config. This with
combination of Simplified Text Format allows creating great user/admin
experience.

 * Getting Started
 * Adding placeholders
 * Parsing placeholders
 * TextNodes and NodeParsers
 * Using Simplified Text Format (TextParserV1)

Back to top
Made with Material for MkDocs