Placeholders - SuperRonanCraft/AdvancedCustomItemAPI GitHub Wiki

View all the possible placeholders allowed in the api!

Summary


Local

Placeholders that can be used inside any text area within the plugin!

Values:

  • %player_name%: Replaces with the name of the player
  • %player_uuid%: Replaces with the players UUID
  • *{perm:<NODE>,<NODE2>}: If a player has all permission nodes, that line will be shown, opposite action if node begins with a '-'.
  • *{cords: x1=<x1> x2=<x2>, y1=<x1> y2=<x2>, z1=<x1> z2=<x2>}: If a player is within every coordinate specified, such as "{cords: x1=100 x2=500}". There MUST be a pair of x's, y's or z's! (Error log if lines are incorrect)

Expressions

Placeholders that can be used inside any text area within the plugin!

Examples:

  • <10 + 5>: Will return "15.0"
  • <10 * 2 + 5>: Will return "25.0"
  • <%vault_eco_balance% + 500>: Supports numerical placeholders! (Placeholders that return a number not text)

PlaceholderAPI

Any placeholder from the PlaceholderAPI plugin (if installed)


Legend:

* = Warning! If using these, lines that require a value such as the name of an item or such, this will remove the line, making the title nulled, only use this in an items Lore!

⚠️ **GitHub.com Fallback** ⚠️