FAQ

Answers to a lot of frequently asked questions

How do chances work?

A chance value to receive the reward. Can be either an integer or a decimal number.

The probability system is not one that is based on percentage chances but one that is based on a weight. This is because we put together all rewards into a single pool to pick a winner.

An analogy is to imagine a bag of tickets where the plugin will pick out a ticket and that represents the winning reward. Each reward has a "chance" number that represents the number of tickets. The more tickets you put in, the higher probability that it will get chosen and vice versa. The following is a more concrete example.

For this example, we chose convenient numbers where the summation adds up to 100. The total does not have to add up to 100.

    Reward A - Chance:50 
    Reward B - Chance:20
    Reward C - Chance:15
    Reward D - Chance:10
    Reward E - Chance:5

Each reward is calculated to a percentage based on its weight.

  • The total weight is 100 = (50 + 20 + 15 + 10 + 5).

  • Reward Percentage = (weight / total weight) * 100%.

    Reward A - Chance:50 # (50 / 100) * 100% = 50%
    Reward B - Chance:20 # (20 / 100) * 100% = 20%
    Reward C - Chance:15 # (15 / 100) * 100% = 15%
    Reward D - Chance:10 # (10 / 100) * 100% = 10%
    Reward E - Chance:5  # (5 / 100) * 100% = 5%

Why am I not getting rewards?

There are 2 ways a reward is given by winning it:

  • Commands - you can set it up so a reward is given via command when the reward is picked.

  • Configurated item - if the rewards GiveConfiguratedItem is set to true the created item in the config file will be given to the player as is. Any set commands will also be executed.

How to use HEX colors?

Hex colors can be used anywhere within the plugin following the format #ffffff

Non-English languages garbled in-game

Add -Dfile.encoding=UTF-8 to your server's startup flags.

Why can't my players open a crate while I (an admin) can

Make sure the value 'spawn-protection' is set to 0 in the server.properties file. Otherwise this WILL cause issues with AdvancedCrates - any crates near spawn will only be openable for OP players.

Can I use mod items (for example from Pixelmon) in AdvancedCrates?

Yes! AdvancedCrates supports all items from any mod. Feel free to use our drag and drop feature to quickly save them in game.

How do I quickly add items from in game to my crates

Last updated