Skip to content

RocketPlaceholders

By Lorenzo0111Owner

Create custom placeholders for PlaceholderAPI with a lot of custom conditions.

5k downloads Updated

No ratings yet

Be the first to rate it.

Rate it

Community listing page

Community listing page, reviews may not be monitored by the author.

About

Description

RocketPlaceholders: custom PlaceholderAPI placeholders that change depending on who is looking RocketPlaceholders features: custom placeholders, conditions, JavaScript, per-player values, in-game editor, network sync, Folia support, developer API Conditions example: one placeholder shows VIP member, Big spender or Player depending on permission and money Setup in three steps: create a placeholder file, use it in any plugin, test it with /rp test Installation steps and command list

Dependencies: PlaceholderAPI | Vault (optional) | Documentation | All conditions

Need help? Join the Discord server

All commands and permissions

Main command: /rocketplaceholders (aliases /rp, /placeholders), requires rocketplaceholders.command

  • /rp help: list commands
  • /rp gui: browse and edit placeholders in a menu
  • /rp list: list all placeholders - rocketplaceholders.command.list
  • /rp info <placeholder>: show a placeholder's text and conditions - rocketplaceholders.command.info
  • /rp test <placeholder>: preview the result for yourself - rocketplaceholders.command.test
  • /rp set <placeholder> [--user <player>] <text>: change the text, for everyone or one player - rocketplaceholders.command.set
  • /rp setjs <placeholder> [--user <player>] <expression>: set the text from a JavaScript expression - rocketplaceholders.command.setjs
  • /rp reload: reload the plugin - rocketplaceholders.command.reload
  • /rp debug: debug info - rocketplaceholders.command.debug
Text version

RocketPlaceholders: custom PlaceholderAPI placeholders with conditions

RocketPlaceholders is a free, open source (MIT) plugin for Spigot, Paper and Folia servers that lets you create your own custom placeholders for PlaceholderAPI and MVdWPlaceholderAPI. Each placeholder can show different text depending on the player who sees it, using conditions such as permissions, Vault groups, money, items or JavaScript.

Features

  • Custom placeholders: write them in YAML files and use them as %rp_name% (PlaceholderAPI) or {rp_name} (MVdWPlaceholderAPI) in any plugin: scoreboards, tab, chat, holograms, menus and more.
  • Conditions: show different text by permission (PERMISSION), Vault group (GROUP), Vault balance (MONEY), an item in the inventory (ITEM, with material, name and lore) or two texts matching (TEXT).
  • JavaScript conditions: JAVASCRIPT conditions evaluate any expression, including other placeholders.
  • Per-player values: change a placeholder's text for everyone or for a single player with /rp set --user. Values are saved across restarts.
  • In-game editor: browse and edit placeholders from a menu with /rp gui.
  • Network sync: set one server as main and share its placeholders with your other servers through MySQL.
  • Performance: optional cache per placeholder, hex colour support and Folia support.
  • Developer API: register placeholders, dynamic placeholders and custom conditions from your own plugin.

How conditions work

Each placeholder has a default text and a list of conditions. Conditions are checked in order and the first one the player meets decides the text. If none match, the default text is shown. Example: %rp_rank% shows "VIP member" to players with the rank.vip permission, "Big spender" to players with at least 10,000 money, and "Player" to everyone else.

How to set it up

  1. Create a .yml file in the plugins/RocketPlaceholders/placeholders folder with the placeholder name, text, optional cache and conditions.
  2. Use %rp_name% or {rp_name} in any plugin that supports PlaceholderAPI or MVdWPlaceholderAPI.
  3. Check the result in game with /rp test, edit it with /rp gui or /rp set, and apply file changes with /rp reload.

Installation

  1. Install PlaceholderAPI or MVdWPlaceholderAPI
  2. Install Vault (optional, needed for MONEY and GROUP conditions)
  3. Install JShader (optional, needed for JavaScript conditions on Java 15 and newer)
  4. Put RocketPlaceholders in your plugins folder
  5. Restart the server and edit the files in the placeholders folder

Support

Join the Discord server for help, read the documentation at wiki.lorenzo0111.me/rocketplaceholders, and report bugs as GitHub issues at github.com/Lorenzo0111/RocketPlaceholders.