Skip to content

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.

Example
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.

Example
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.

Example
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.

Example
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.

Example
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.

Example
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.

Example
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.

Example
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.

Example
actions:
  give1: "mmocoreclasspoints 1"

Give skill points: mmocoreskillpointsπŸ”—

Gives the player skill points. The amount is a number.

Example
actions:
  give10: "mmocoreskillpoints 10"

Give attribute points: mmocoreattributepointsπŸ”—

Gives the player attribute points. The amount is a number.

Example
actions:
  give2: "mmocoreattributepoints 2"

Give attribute reallocation points: mmocoreattributereallocationpointsπŸ”—

Gives the player attribute reallocation points. The amount is a number.

Example
actions:
  give1: "mmocoreattributereallocationpoints 1"