GrzybcioRynek

Placeholders

Eight PlaceholderAPI placeholders — grybciorynek expansion, 20-tick cache.

Compatible with: GrzybcioRynek 1.0.3Minecraft 26.2Web 0.1.0

Based on GrzybcioRynek 1.0.3 and web 0.1.0 source.

Requires PlaceholderAPI installed. Without it the plugin runs; the expansion is not registered. Soft-depend in plugin.yml.

Identifier: grybciorynek (PlaceholderHook.getIdentifier()). Author: Grzybcio. Version = plugin.getPluginMeta().getVersion() (1.0.3). persist() = true.

Startup log: Zarejestrowano placeholdery PlaceholderAPI.

List (all 8)

PlaceholderSourceFormat
%grybciorynek_active_listings%StatsManager.getActiveListings()number
%grybciorynek_player_listings%player’s active listingsnumber; no player → 0
%grybciorynek_total_sales%getSellerHistory(uuid).size()completed sales count
%grybciorynek_total_spent%getPlayerSpentVaultHook.format
%grybciorynek_total_earned%getPlayerEarned (net sellerReceived)VaultHook.format
%grybciorynek_market_volume%sum of COMPLETED TX priceVaultHook.format
%grybciorynek_mailbox_count%mailbox entry countnumber
%grybciorynek_rating%seller average rating%.1f (e.g. 4.5); no player → 0

Other paramsnull (PAPI does not substitute). params is compared with toLowerCase().

Cache

Timer on the main thread every 20 ticks (1 s): refreshes active_listings, market_volume, and UUID stats present in playerCache. First request for a player calls computeIfAbsentbuildPlayerStats.

Example

Example
text
Listings: %grybciorynek_player_listings%
Server volume: %grybciorynek_market_volume%
Mailbox: %grybciorynek_mailbox_count%
Rating: %grybciorynek_rating%

Source in repo: PLugin/PLACEHOLDERS.md and hooks/PlaceholderHook.java.