Packages com.phoenixplugins.phoenixcrates.api crate cost

Interface CostEngineType


@Experimental public interface CostEngineType
Represents the payment method used to charge a player when opening a crate.

Defines only the cost engine's identity; the actual balance checks and withdrawals are implementation-specific and depend on the economy hooks available to that implementation.

  • Method Summary

    Modifier and Type
    Method
    Description
    String
    Gets the identifying name of this cost engine type (e.g.
    int
    Gets the ordinal value of this cost engine type.
  • Method Details

    • getOrdinal

      int getOrdinal()
      Gets the ordinal value of this cost engine type.

      Can be used for sorting or comparison purposes.

      Returns:
      the ordinal of the cost engine type
    • getName

      String getName()
      Gets the identifying name of this cost engine type (e.g. "VAULT", "LEVEL").
      Returns:
      the name of the cost engine type
Last updated 22 days ago
My Cart
Spider

Your cart is empty

Looks like the spiders padded through here. Pick a plugin and it will show up here. Continue shopping