GrzybcioRynek

Configure PlaceholderAPI

Włącz PAPI, użyj ośmiu placeholderów %grybciorynek_*% — cache 20 ticków, bez kluczy w config.yml.

Kompatybilne z: GrzybcioRynek 1.0.3Minecraft 26.2Web 0.1.0

Na podstawie kodu GrzybcioRynek 1.0.3 i web 0.1.0.

PlaceholderAPI nie ma przełącznika w config.yml rynku. Wystarczy, że plugin PAPI jest na serwerze przy starcie.

Rejestracja

Log: Zarejestrowano placeholdery PlaceholderAPI. Identifier: grybciorynek. Cache odświeżany co 20 ticków.

stats.enabled nie steruje placeholderami (flaga nieużywana).

Wklej te 8 stringów

text
%grybciorynek_active_listings%
%grybciorynek_player_listings%
%grybciorynek_total_sales%
%grybciorynek_total_spent%
%grybciorynek_total_earned%
%grybciorynek_market_volume%
%grybciorynek_mailbox_count%
%grybciorynek_rating%

Kwoty (total_spent, total_earned, market_volume) idą przez VaultHook.format ($X / $X.XX). Rating: jedna cyfra po przecinku.

Gdzie

W dowolnym pluginie z PAPI: scoreboard, TAB, czat, hologramy, menu. Przykład:

text
&7Rynek: &e%grybciorynek_active_listings%
&7Obrót: &a%grybciorynek_market_volume%
&7Skrzynka: &e%grybciorynek_mailbox_count%

Test: parse PAPI na sobie (komenda PlaceholderAPI, nie /market).

Lista i semantyka: PlaceholderAPI.