Interface Rank


public interface Rank
Represents a rank in the XPrison system.
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    Gets the cost required to obtain or rank up to this rank.
    int
    Gets the unique identifier of this rank.
    Gets the prefix string associated with this rank, typically used for display in chat or player lists.
  • Method Details

    • getId

      int getId()
      Gets the unique identifier of this rank.
      Returns:
      the rank ID
    • getCost

      double getCost()
      Gets the cost required to obtain or rank up to this rank.
      Returns:
      the cost of the rank
    • getPrefix

      String getPrefix()
      Gets the prefix string associated with this rank, typically used for display in chat or player lists.
      Returns:
      the prefix of the rank