Packages com.phoenixplugins.phoenixcrates.api reward

Enum GuaranteedRewardType

All Implemented Interfaces:
Serializable, Comparable<GuaranteedRewardType>, java.lang.constant.Constable

public enum GuaranteedRewardType extends Enum<GuaranteedRewardType>
Represents the type of guaranteed reward behavior for a crate.

Guaranteed Rewards ensure that players receive specific rewards after reaching a set number of crate openings. This feature only works in random rewards mode and is disabled by default.

  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    Guaranteed rewards are disabled.
    Rewards are issued repetitively.
    Rewards are issued sequentially.
  • Method Summary

    Modifier and Type
    Method
    Description
    valueOf(String name)
    Returns the enum constant of this type with the specified name.
    Returns an array containing the constants of this enum type, in the order they are declared.

    Methods inherited from class java.lang.Enum

    clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • DISABLED

      public static final GuaranteedRewardType DISABLED
      Guaranteed rewards are disabled.

      Rewards are given purely at random without any guarantee based on the number of crate openings.

    • SEQUENTIAL

      public static final GuaranteedRewardType SEQUENTIAL
      Rewards are issued sequentially.

      Each guaranteed reward is given once upon reaching a specific number of openings. After a reward is received, the next reward in the sequence becomes the next target.

      Example: Reward requires 5 openings. The player receives it only on the 5th opening, then moves on to the next reward in the sequence.

    • REPETITIVE

      public static final GuaranteedRewardType REPETITIVE
      Rewards are issued repetitively.

      Each guaranteed reward is given repeatedly every X openings. This allows players to receive the reward multiple times at fixed intervals.

      Example: Reward requires 5 openings. The player receives the reward on every 5th opening (5th, 10th, 15th, ...).

  • Method Details

    • values

      public static GuaranteedRewardType[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static GuaranteedRewardType valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
Last updated 10 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