Add execute commands with rate
If the rate of the config is greater than or equal to the system rate (random 1->100), the command will be executed
full config mob example:
Code (Text):
EXAMPLE:
USE:
FORMULA: true
LIMITED_XP: false
COMMAND: false
LEVEL_END: true
CUSTOM_FORMULA:
EXAMPLE1: '%mob_xp% * 2' #Placeholder only apply to command!
EXAMPLE2: '%mob_xp% * 5' #cf_example2#
CHANCE1: '%mob_xp% * 3' #cf_example2#
COMMAND:
OUT_OF_BOUNDS:
- 'eco give %player_name% #cf_EXAMPLE1# ;#cf_CHANCE1#' #execute commands with rate If the rate of the config is greater than or equal to the system rate (random 1->100), the command will be executed
- 'eco give %player_name% #cf_EXAMPLE1#' #chance = 100%
WITHIN_LIMITS:
- 'eco give %player_name% #cf_EXAMPLE2#'
FORMULA:
OUT_OF_BOUNDS:
LOWER: '%mob_xp%'
HIGHER: '%mob_xp% * 4'
WITHIN_LIMITS: '%mob_xp% * 2'
XP:
DEFAULT: 1
MAX: 1
LEVEL:
END: 10
MAX: 5
MIN: 1
In next version, settings USE_MANY_FILE will be dropped and you can't use multi file anymore