MMOCoreπ
Conditionsπ
MMOCore class: mmoclassπ
Checks if a player has the given MMOCore class. You can check for any class that is not the default class by writing *
instead of a class name.
If a level has been specified the player needs to be on that level
or higher to meet the condition.
You can disable this behaviour by adding the equal argument.
conditions:
5: "mmoclass * 5"
warrior: "mmoclass WARRIOR"
mage5: "mmoclass MAGE 5"
mage5Equal: "mmoclass MAGE 5 equal"
MMOCore attribute: mmoattributeπ
Checks if a player has the specified attribute on the given level or higher.
You can disable this behaviour by adding the equal argument.
conditions:
strength2: "mmoclass mmoattribute strength 2"
strength2Equal: "mmoclass mmoattribute strength 2 equal"
MMOCore profession: mmoprofessionπ
Checks if a player has the specified profession on the given level or higher.
You can disable this behaviour by adding the equal argument.
conditions:
mining2: "mmoprofession mining 2"
mining2Equal: "mmoprofession mining 2 equal"
Objectivesπ
Break Special Blocks: mmocorebreakblockπ
This objective requires the player to break
special blocks from MMOCore. Please note that you must use this objective over block if you are using MMOCore's custom mining system.
All three different block types and an amount can be defined. You can also send notifications to the player by appending
the notify keyword optionally with the notification interval after a colon.
This objective has three properties: amount, left and total. amount is the amount of blocks already broken,
left is the amount of blocks still left to break and total is the amount of blocks initially required.
objectives:
block1: "mmocorebreakblock 5 block:1" #A custom block's block ID
stone: "mmocorebreakblock 64 block:STONE" #vanilla material
head: "mmocorebreakblock 1 block:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVy" #... this is a heads texture data
Change MMOCore class: mmochangeclassπ
This objective requires the player to change their class.
objectives:
selectAnyClass: "mmochangeclass actions:pickedClass"
selectMage: "mmochangeclass class:MAGE actions:startMageIntroQuest"
MMOCore Profession levelup: mmoprofessionlevelupπ
This objective requires the player to level the given profession to the specified level.
Use main to check for class level ups.
objectives:
mining10: "mmoprofessionlevelup MINING 10"
Actionsπ
Give MMOCore class experience: mmoclassexperienceπ
Adds experience to the players class. The amount is a number. The level argument
is optional and would convert the amount to levels instead of XP points.
actions:
150: "mmoclassexperience 150"
level1: "mmoclassexperience 1 level"
Give MMOCore profession experience: mmoprofessionexperienceπ
Adds experience in the specified player profession. The amount is a number. The level argument
is optional and would convert the amount to levels instead of XP points.
actions:
mining: "mmoprofessionexperience MINING 100"
customProf: "mmoprofessionexperience CUSTOM_PROFESSION_NAME 1 level"
Give class points: mmocoreclasspointsπ
Gives the player class points. The amount is a number.
actions:
give1: "mmocoreclasspoints 1"
Give skill points: mmocoreskillpointsπ
Gives the player skill points. The amount is a number.
actions:
give10: "mmocoreskillpoints 10"
Give attribute points: mmocoreattributepointsπ
Gives the player attribute points. The amount is a number.
actions:
give2: "mmocoreattributepoints 2"
Give attribute reallocation points: mmocoreattributereallocationpointsπ
Gives the player attribute reallocation points. The amount is a number.
actions:
give1: "mmocoreattributereallocationpoints 1"