Skip to content

MMOCoreπŸ”—

ActionsπŸ”—

MmoClassExperienceπŸ”—

Context:
Syntax: mmoclassexperience <amount> [level]
Description: 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"

MmoProfessionExperienceπŸ”—

Context:
Syntax: mmoprofessionexperience <profession> <amount> [level]
Description: 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"

MmoCoreClassPointsπŸ”—

Context:
Syntax: mmocoreclasspoints <amount>
Description: Gives the player class points.

The amount is a number.

Example
actions:
  give1: "mmocoreclasspoints 1"

MmoCoreSkillPointsπŸ”—

Context:
Syntax: mmocoreskillpoints <amount>
Description: Gives the player skill points.

The amount is a number.

Example
actions:
  give10: "mmocoreskillpoints 10"

MmoCoreAttributePointsπŸ”—

Context:
Syntax: mmocoreattributepoints <amount>
Description: Gives the player attribute points.

The amount is a number.

Example
actions:
  give2: "mmocoreattributepoints 2"

MmoCoreAttributeRealLocationPointsπŸ”—

Context:
Syntax: mmocoreattributereallocationpoints <amount>
Description: Gives the player attribute reallocation points.

The amount is a number.

Example
actions:
  give1: "mmocoreattributereallocationpoints 1"

ObjectivesπŸ”—

MmoCoreBreakBlockπŸ”—

Context:
Syntax: mmocorebreakblock <amount> [block]
Description: The player needs 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

MmoChangeClassπŸ”—

Context:
Syntax: mmochangeclass [class]
Description: Requires the player to change their class.

Example
objectives:
  selectAnyClass: "mmochangeclass actions:pickedClass"
  selectMage: "mmochangeclass class:MAGE actions:startMageIntroQuest"

MmoProfessionLevelUpπŸ”—

Context:
Syntax: mmoprofessionlevelup <profession> <level>
Description: 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"

ConditionsπŸ”—

MmoClassπŸ”—

Context:
Syntax: mmoclass <class> [equal]
Description: Whether the 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"

MmoAttributeπŸ”—

Context:
Syntax: mmoattribute <attribute> <level> [equal]
Description: Whether the player has the specified attribute on the given level or higher.

You can disable this behaviour by adding the equal argument.

Example
conditions:
  strength2: "mmoattribute strength 2"
  strength2Equal: "mmoattribute strength 2 equal"

MmoProfessionπŸ”—

Context:
Syntax: mmoprofession <profession> <level> [equal]
Description: Whether the 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"