
Что это
A bridge library plugin for using PlaceholderAPI on proxy servers
- Тип: мод
- Загрузчик: bungeecord, fabric, folia, paper, spigot, velocity, waterfall
- Версии Minecraft: 1.16.5 – 1.21.8
- Скачиваний на Modrinth: 55 835
Подробно
PAPIProxyBridge is a library bridge plugin you install on both your backend and proxy servers that allows proxy plugins to format text with PlaceholderAPI placeholders.
For server owners This is a library plugin intended for use with plugins that implement its API. There is nothing to configure.
Install the latest version of the plugin alongside the PlaceholderAPI plugin on your Spigot (1.16.5+) or the PlaceholderAPI mod on your Fabric (1.19.3+) server, then install the plugin on your BungeeCord or Velocity proxy server.
Note this plugin is not a replacement for PlaceholderAPI. You still need to install PlaceholderAPI on your Spigot/Fabric server.
For developers PAPIProxyBridge exposes a cross-platform API to let you format text with PlaceholderAPI placeholders.
PAPIProxyBridge is available on repo.william278.net (view javadocs here). First, add the maven repository to your build.gradle: groovy repositories { maven { url 'https://repo.william278.net/releases/' } }
Then add the dependency: groovy dependencies { implementation 'net.william278:papiproxybridge:1.6' }
The PlaceholderAPI class exposes the API for formatting placeholders. At the moment, only singleton non-bracketed placeholders are supported (more in the future).
Get an instance of the class with PlaceholderAPI.getInstance(), then use the #formatPlaceholders method to format a string with placeholders on a player (specified with UUID for cross-platform simplicity).
The method returns a CompletableFuture (since we don't want to lock threads while the proxy networks with players on the backend) that you can use to accept the formatted string.
java // Format a string with placeholders final PlaceholderAPI api = PlaceholderAPI.createInstance(); final UUID player = player.getUniqueId(); api.formatPlaceholders("Hello %playername%!", player).thenAccept(formatted -> { player.sendMessage(formatted); });
Never invoke #join() on calls to #formatPlaceholders; this is unsafe.
PAPIProxyBridge caches resolved requests for 30000 milliseconds (30 seconds), to avoid causing excessive traffic over your server's network channels. You can adjust how long to cache requests for using the PlaceholderAPI#setCacheExpiry(long) method.
There also exists #formatComponentPlaceholders. This method allows you to supply a string containing placeholders and receive an adventure component containing the formatted text, which may contain formatting and chat events.
Как установить
Скачайте файл на официальной странице ниже и положите его в папку mods (для модов) или plugins (для плагинов) вашего сервера или клиента. Для модов нужен совместимый загрузчик. Версия должна совпадать с версией Minecraft.
Текст подготовлен автоматически из описания на Modrinth и ждёт проверки редакцией.
Комментарии 0
Комментарии к этому материалу отключены.
Читайте также
Ecobreeder
Adds animal genders, castration(including other players), breeding tags, multiple births. 06.12.2026
Glass doors and trapdoor
A sleek resource pack that makes all wooden and iron door and trapdoor panels transparent, providing perfect visibility. 06.12.2026
Sheep don't drop wool
Sheeps don't drop wool anymore 06.12.2026
Vanilla Reimagined
A different take on Vanilla Minecraft PvP Texture Packs. 06.12.2026
OnesAndOnlys's God Foods!
adds a few unique items and foods to the game! 06.12.2026
Create : Simple Gearboxes
Adds 6-way gearbox and elbow gearbox. 06.12.2026