Wiki:
https://github.com/D-x-Z/MMOXPAddon/wiki
Free version:
https://github.com/D-x-Z/MMOXPAddon/wiki/Download-[Premium-&-Free]#free
Discord:
https://discord.gg/CWjaq5fZN9 / VoChiDanh#0862
Add tabcomplete
Change reload command from /mmoxpaddon to /mmoxpaddon reload
Add command check version /mmoxpaddon version
Settings USE_MANY_FILE was removed, edit mob in mobs.yml
Fix default mobs.yml
Remove mythiclib from depend
Add more debug
Add condition to execute command
Full example config mob
If you want to use the condition, please update it in the mob file, otherwise you will easily get an error
Code (Text):
EXAMPLE:
USE:
FORMULA: true
LIMITED_XP: false
COMMAND: false
LEVEL_END: true
CONDITIONS:
CONDITION1: '%mmocore_level%;>=;5;NUMBER' #you can check by >=, >, <=, <
CONDITION2: '%mmocore_is_casting%;==;true;BOOLEAN' #only ==
CONDITION3: '%mmocore_class%;==;KNIGHT;STRING' #only ==
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%
- '#CONDITION1#;eco give %player_name% #cf_EXAMPLE2#;#cf_CHANCE1#' #condition
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