Promotion background
Easter Season IS HERE!
10% off limited time offer!
Ends in
00
H
00
M
00
S
limited time offer SAVE 10% NOW →
Packages com.phoenixplugins.phoenixcrates.api reward
com.phoenixplugins.phoenixcrates.api.reward

Enum GuaranteedRewardType

  • java.lang.Object
    • java.lang.Enum<GuaranteedRewardType>
      • com.phoenixplugins.phoenixcrates.api.reward.GuaranteedRewardType
  • All Implemented Interfaces:
    Serializable, Comparable<GuaranteedRewardType>


    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.

    • Enum Constant Summary

      Enum Constant and Description
      DISABLED
      Guaranteed rewards are disabled.
      REPETITIVE
      Rewards are issued repetitively.
      SEQUENTIAL
      Rewards are issued sequentially.
    • Method Summary

      Modifier and Type Method and Description
      static GuaranteedRewardType valueOf(String name)
      Returns the enum constant of this type with the specified name.
      static GuaranteedRewardType[] values()
      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, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

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

      • 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 Detail

      • values

        public static GuaranteedRewardType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (GuaranteedRewardType c : GuaranteedRewardType.values())
            System.out.println(c);
        
        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 about 3 hours ago
My Cart (0 items)

Oops... looks like the spiders padded through here

Add products to your cart and remove them from here Lets buy
This site uses cookies to personalize content, enhance your experience. By continuing, you agree to our cookie use. Learn more