Minecraft 1.20.1, 1.21.1용 PAPIProxyBridge 플러그인
프록시 서버에서 PlaceholderAPI를 사용하기 위한 브릿지 라이브러리 플러그인
GitHub — Discord
PAPIProxyBridge is a library bridge plugin you install on both your backend and proxy servers that allows proxy plugins to format text with Placeholder API 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 PlaceholderAPI on your Spigot 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 server.
For developers
PAPIProxyBridge exposes a cross-platform API to let you format text with PlaceholderAPI placeholders.
Adding the library to your project
PAPIProxyBridge is available on Jitpack. First, add the maven repository to your build.gradle:
repositories { maven { url 'https://jitpack.io' } }
Then add the dependency:
dependencies { implementation 'net.william278:papiproxybridge:1.6' }
Example usage
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.
// Format a string with placeholders final PlaceholderAPI api = PlaceholderAPI.createInstance(); final UUID player = player.getUniqueId(); api.formatPlaceholders("Hello %player_name%!", 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 servers 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.
PAPIProxyBridge 설치 방법
A server on Paper
The plugin runs on the server core for Minecraft 1.17–1.21.7; players do not need to install anything.
File goes into the plugins folder
Download the file PAPIProxyBridge-Bukkit-1.8.4.jar (974 KB) and put it into the server’s plugins folder.
Restart the server
On startup the plugin creates its own settings folder in plugins.
Use the “To server” button
On Millida Hosting, the button at the top of the page uploads the file to your server and restarts it for you.
Minecraft 1.21.7 runs on Java 21: with a different Java version the game may close right after launch.
버전
의존성 포함
| Minecraft | 로더 | 파일 | 작업 |
|---|---|---|---|
| 1.21.7 | Paper | 1.21.7974 KB |
실행에 필요한 것
- Dependency필수
FAQ
Which Minecraft versions does PAPIProxyBridge work on?
There are files for 1.17–1.21.7, 25 versions in total. The newest is 1.21.7.
Do players need to install PAPIProxyBridge?
No, the plugin goes only on the server Paper, into the plugins folder: players do not need to download anything.
What does PAPIProxyBridge need to work?
Required: Dependency. Without it the plugin will not start.
Which Java does PAPIProxyBridge need?
Minecraft 1.21.7 runs on Java 21. If the game closes right after launch, the usual cause is the wrong Java version in the profile settings.
Where can I download PAPIProxyBridge safely?
On this page: the file PAPIProxyBridge-Bukkit-1.8.4.jar (974 KB) is stored on Millida’s server, with no link shorteners. SHA-1 checksum: 7550605056958eca695b186c0e84e9a8d8a9a8ae.
리뷰
PAPIProxyBridge의 첫 평가를 남겨 보세요



