Skip to content

Placeholders

SergeyDertan edited this page Apr 26, 2019 · 2 revisions

SRegionProtector supports CreeperFace`s nukkit PlaceholderAPI

SRP will automatically register placeholders if PlaceholderAPI installed

Available placeholders:

  • srp_current_region - return name of the region in which player currently located or empty string if there is no region
  • srp_region_amount_creator - return amount of regions in which player is creator
  • srp_region_amount_owner - return amount of regions in which player is owner
  • srp_region_amount_member - return amount of regions in which player is member
  • srp_region_is_selling - return true if region in which player currently located is selling
  • srp_region_price - return price of the region in which player currently located
  • srp_flag_state<FLAG_NAME> - return flag state(allow/deny) for the region in which player currently located, or empty string if region or flag not found
Clone this wiki locally