- Minor string corrections
- Optimization of reward and game manager code
NEW REWARD SYSTEM:
- You can now specify different rewards for multiple winners (first, second, etc) through the rewards.yml file
rewards.yml FORMAT EXAMPLE NOW:
Code (YAML):
unscramble:
reward:
1:
data
:
- '10.0
%~ [consolecmd] give %player% diamond_block 3'
- '
[consolecmd
] give
%player% iron_block 5'
Note: See the main resource page 'rewards.yml' spoiler to see the updated look to the format.
YOU HAVE TO UPDATE YOUR REWARDS.YML OR NEW UPDATE WILL NOT WORK WITH AN OLDER VERSION OF THE .YML
NEW RANDOM DELAY BETWEEN GAMES OPTION:
- Instead of a fixed interval between games, now you have the option to set a minimum and limit for the time that will be randomly generated.
- You can set time unit of seconds or minutes!
config.yml ADDITION:
Code (YAML):
#If this is enabled, everytime a game ends, it will create a random number from 'randomDelay.minimum' to the number in 'randomDelay.limit' as a delay for the next game
randomDelay:
enable
: false
#Time unit, the other possible value is 'seconds', if you do change it, it's recommended to make the minimum higher than the 'timeToGuess_seconds' for a game
timeUnit
: 'minutes'
minimum
: 1
limit
: 25
Note: See the main resource page 'config.yml' spoiler to see the updated look to the default config.yml.