Available API Surface
JPPrisonAPI— static economy management class for reading and modifying balancesBalanceChangeEvent— cancellable Bukkit event fired before every balance writeEconomyCost— cost string parser that supports config-driven, multi-economy pricing- WorldGuard flag accessor — check whether a location is inside a JPPrison-managed rewards region
- PlaceholderAPI expansion — use
%jpprison_<variable>%in scoreboards, holograms, chat, and tab lists
Getting the API
Declare JPPrison as a dependency in yourplugin.yml so Bukkit loads it before your plugin:
Maven / Gradle
Include the JPPrison jar as aprovided (compile-only) dependency in your build — it must be present on the server at runtime, but you should not bundle it inside your own jar.