MCoreAddon icon

MCoreAddon -----

Allows you to customize the formula to give players xp that increases with the level of mob




[Add]
- Debug (Make debug for calculator)
- Better method for booster
----------, Dec 20, 2024

Fix if temporary booster higher than 1 but permanently equals 1 and booster doesn't work
----------, Dec 10, 2024

This is demo for MMOXPAddon Recoded - New name is MCoreAddon [MCA/MCore]

You still can get MMOXPAddon in Discord after verify

So what's new with MCA version compared to the MMOXPAddon?

Support discord: https://discord.gg/r5ejaPSjku
Wiki: https://gitlab.com/VoChiDanh/mcoreaddon/-/wikis/home

Current new features:
----------, Nov 29, 2024

First, I want to say MMOXPAddon still in keep in develop but I'm starting make new addon for it and make it more easy edit and use for normal user (MMOXPAddon is need good at math to use because you need so much calculator and conditions)

So the new addon for it is MCoreAddon - Wiki: https://github.com/VoChiDanh/MCoreAddon/wiki
Beta Features:
  • You can directly configure mob drop xp in the mythicmobs mob file instead of having to configure it in mmocore
  • Has its own booster [Booster only works for configuring xp drops directly on mobs]
And same with MXPA - It is free devbuild on discord and I need new idea add to it.

If you worry about MCA has booster but MXPA doesn't have, don't worry because you can use MCA and MXPA on your server at the same time to use booster

So this is changelogs of MXPA (MMOXPAddon)
  • Hook with MCA | Add new line config.yml # Required MCoreAddon Installed BOOSTER_OPTIONS: MCoreAddon ``` (1/16/2024)
  • Remove limited_xp in use settings and xp.max in xp settings
  • I recreated new wiki, if anything is missed, I will update it to wiki as soon as I can
  • Fix bug
  • Wiki is available right now: https://github.com/VoChiDanh/MMOXPAddon/wiki (11/12/2023
MCoreAddon in demo version so a long time and I can't rerlease it because of busy time so I'll happy if you use it and report issues to me. I will need idea to make new features for it.

MCA & MXPA still free on discord devbuild
----------, Apr 8, 2024

This is fix bug update ~~ not recoded update ~~ DEVBUILD IS FREE ON DISCORD

-----​

Fix command doesn't work on console
Fix placeholder %mob_xp%
Fix another issue, but I don't remember it
Add COMPARE_CONDITIONS condition
Add default booster config example
Code (Text):

MYTHICMOBSINTERNALNAME_2:
  same_as: MYTHICMOBSINTERNALNAME
MYTHICMOBSINTERNALNAME:
  USE:
    FORMULA: true
    LIMITED_XP: false
    COMMAND: true
    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 ==
    WARRIOR_CLASS: '%mmocore_class%;==;Warrior;STRING' # only ==
    MAGE_CLASS: '%mmocore_class%;==;Mage;STRING' # only ==
    BOOSTER2: '%player_has_permission_booster.2%;==;yes;STRING' # Booster x2
    BOOSTER5: '%player_has_permission_booster.5%;==;yes;STRING' # Booster x5
    BOOSTER10: '%player_has_permission_booster.10%;==;yes;STRING' # Booster x10
    CHECK_BOOSTER_2_5: '#BOOSTER2#;#BOOSTER5#;false;COMPARE_CONDITIONS' # #CONDITION_1#;#CONDITION_2#;#CONDITION_3#;COMPARE_CONDITIONS
    CHECK_BOOSTER_2_10: '#BOOSTER2#;#BOOSTER10#;false;COMPARE_CONDITIONS' # COMPARE_CONDITIONS condition checks if 3 conditions have same values: true true true, false false false
    CHECK_BOOSTER: '#CHECK_BOOSTER_2_5#;#CHECK_BOOSTER_2_10#;true;COMPARE_CONDITIONS' # #CONDITION_3# can use in CONDITION use use true/false (rcm use true/false for check)
  CUSTOM_FORMULA:
    NORMAL: '%mob_xp%'
    BOOSTER2: '%mob_xp% * 2'
    BOOSTER5: '%mob_xp% * 5'
    BOOSTER10: '%mob_xp% * 10'
  COMMAND:
    OUT_OF_BOUNDS:
      - '#WARRIOR_CLASS#;mi give MATERIAL FRAGMENTS %player_name% 3 0 100 0 s;1' # If player is class warrior, system will give 3 material (Chance = 1%)
      - '#MAGE_CLASS#;mi give MATERIAL FRAGMENTS %player_name% 1 0 100 0 s;1' # If player is class mage, system will give 1 material (Chance = 1%)
    WITHIN_LIMITS:
      - '#WARRIOR_CLASS#;mi give MATERIAL FRAGMENTS %player_name% 3 0 100 0 s;30' # If player is class warrior, system will give 3 material (Chance = 30%)
      - '#MAGE_CLASS#;mi give MATERIAL FRAGMENTS %player_name% 1 0 100 0 s;30' # If player is class mage, system will give 1 material (Chance = 30%)
  FORMULA:
    OUT_OF_BOUNDS:
      LOWER:
        - '%mob_xp%'
      HIGHER:
        - '0'
    WITHIN_LIMITS: # If a player has booster x2 and x5, player will receive 7 xp | x2 x10 -> 12 xp | x5 x10 -> 15 xp | x2 x5 x10 -> 17 xp
      - '#CHECK_BOOSTER#;%mob_xp%;0' # If a player doesn't have any booster, player will receive 1 xp when kill mob -> If a player has any booster, mob gives 0 xp
      - '#BOOSTER2#;#cf_BOOSTER2#;0' # If a player has booster x2, player will receive 2 xp when kill mob
      - '#BOOSTER5#;#cf_BOOSTER5#;0' # If a player has booster x5, player will receive 5 xp when kill mob
      - '#BOOSTER10#;#cf_BOOSTER10#;0' # If a player has booster x10, player will receive 10 xp when kill mob
  XP:
    DEFAULT: 1
    MAX: 1
  LEVEL:
    END: 10
    MAX: 5
    MIN: 1
 

-----​


Code (Text):

Then use luckperm add permission to player for a short-time:
/lp user <name> permission settemp booster.2 true 5m
  -> x2 booster, 5 minutes
/lp user <name> permission settemp booster.5 true 5m
  -> x5 booster, 5 minutes
/lp user <name> permission settemp booster.10 true 5m
  -> x10 booster, 5 minutes
 
----------, Nov 9, 2023

Fix file issue when plugin is going to disable
Update pom.xml to 1.8.2
Remove xp auto multi by mob level
Fix xp
Fix %mob_level% and %mob_xp% doesn't work on condition
Allow dynamic placeholder instead of use number for level and xp
Fix negative number p1
Fix negative number p2


Hi, long time no see, i back with this plugin and if you want to use it ? Go to my discord server and ask me for free and give a spigotmc name, i'll add you asap i can

This plugin is VERY old with me right now, so i think i will keep this is last version of v1, i'll recode it with v2.0 and everything should be more easier than old version. But this is the 2nd plugin in my plugins list i need to recode so please wait, i still support you in discord but i'll only update v2.0 when is done to spigotmc! Thanks !
----------, Aug 9, 2023

Allow Formula can config in list
Code (YAML):

  FORMULA
:
    OUT_OF_BOUNDS
:
      LOWER
:
       - ' %mob_xp%'
      HIGHER
:
       - ' #CONDITION2#;#cf_CHANCE1#;#cf_EXAMPLE1#'
    WITHIN_LIMITS
:
     - ' #CONDITION1#;#cf_EXAMPLE1#;#cf_EXAMPLE2#'
----------, Apr 30, 2023

Add same_as for premium user
Code (YAML):

MYTHICMOBSINTERNALNAME_2
:
  same_as
: MYTHICMOBSINTERNALNAME
MYTHICMOBSINTERNALNAME
:
  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'
    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
:
       - ' #CONDITION2#;#cf_CHANCE1#;#cf_EXAMPLE1#'
    WITHIN_LIMITS
:
     - ' #CONDITION1#;#cf_EXAMPLE1#;#cf_EXAMPLE2#'
  XP
:
    DEFAULT
: 1
    MAX
: 1
  LEVEL
:
    END
: 10
    MAX
: 5
    MIN
: 1
For Premium, ignore
Code (Text):

MOBS: #List mob, if you don't list here, mob won't give xp
- MYTHICMOBSINTERNALNAME
in config, just config mob in mobs.yml and it'll auto work ~~
For Free: You need list your mob into
Code (Text):

MOBS: #List mob, if you don't list here, mob won't give xp
- MYTHICMOBSINTERNALNAME
in config.yml
----------, Apr 30, 2023

Fix issues if mob in list in config.yml but not config in mobs.yml (Build #53)
Make the jar size smaller
Remove some api that are never used
Remove build number, new version will increase version instead of build number
THIS VERSION USE LATEST API MMOCORE AND MYTHICMOBS
----------, Dec 28, 2022

Add condition to formula
Add condition to formula
command will be executed if chance >= 100
command will be executed if chance >= 100
update maven
add some method
Full mob example config:
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'
    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: '#CONDITION2#;#cf_CHANCE1#;#cf_EXAMPLE1#'
    WITHIN_LIMITS: '#CONDITION1#;#cf_EXAMPLE1#;#cf_EXAMPLE2#'
  XP:
    DEFAULT: 1
    MAX: 1
  LEVEL:
    END: 10
    MAX: 5
    MIN: 1
 
----------, Sep 5, 2022

https://github.com/D-x-Z/MMOXPAddon/wiki/Mechanic-&-Condition

Fix NPE if condition is null

You need use paper or paper fork to enable custom mechanic and condition! From now you need mythicmobs, mmocore, mythiclib and java 17+ to run this plugin !
----------, Aug 20, 2022

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
 
----------, Aug 9, 2022

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
----------, Aug 3, 2022

Add formula when player higher or lower limit
Fix hologram
Improve code
Code (Text):
Add MOBNAME.LEVEL.END
#if player level is greater than or equal to end -> mobs don't give xp anymore
Fix issue with killer is NPC
add Custom Formula (Only apply to command)
Fix bug if calculator return double not int
Full mob config 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#
  COMMAND:
    OUT_OF_BOUNDS:
      - 'eco give %player_name% #cf_EXAMPLE1#'
    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
 
Support Discord: https://discord.gg/CWjaq5fZN9

----------, Jul 22, 2022

Resource Information
Author:
----------
Total Downloads: 32
First Release: Jul 20, 2022
Last Update: Dec 20, 2024
Category: ---------------
All-Time Rating:
2 ratings
Find more info at discord.gg...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings