API JailManager - Nutty101/NPC-Police GitHub Wiki

Documentation

JailManager is a class that provides access to player, and jail objects.

  • Author: Sir_Nutty (Bruce Johnson)
  • Since: 2.1.1

public String getJailRegion()

This method provides access to the jails region setting.

  • Returns: String returns the primary region name for selected jail

  • Since: 2.1.1

public String getJailDisplayName()

This method provides access to the jails display name.

  • Returns: String returns the selected jail's display name.

  • Since: 2.1.1

public List<Location> getCellLocations()

This method provides access the jail's configured cell locations

  • Returns: List returns a list object populated with bukkit locations for each jail cell

  • Since: 2.1.1

⚠️ **GitHub.com Fallback** ⚠️