External Plugin States

External Plugin States are states that are supplied (or require) an external plugin. You will not be able to use these without having installed the plugin in question.

Attention

Don’t know how to read these tables? See Configuring the States!

Quick Reference:

Type

Plugin

Args

mmoattribute

MMOCore

name, level

mmoclass

MMOCore

name

mmoexp

MMOCore

level, amount

mmopoint

MMOCore

type, amount

mmoprof

MMOCore

name, level

mmoresource

MMOCore

type, amount

mmostat

MythicLib

stat, statval, higherthan

techentry

TechTree

entry

money

Vault

amount

region

WorldGuard

name

Note

Looking for Built-In States?


MMOCore

These are the states provided by MMOCore.


  • mmoattribute

Checks if the player has enough points in an attribute.

Argument

Type

Notes

name

String

Must be a valid attribute

level

Integer

Example: mmoattribute{name=strength;level=10}
Player must have at least 10 points in Strength.

  • mmoclass

Checks if the player has the specified class.

Argument

Type

Notes

name

String

Must be a valid class

Example: mmoclass{name=rogue}
The player must be a rogue.

  • mmoexp

Checks if the player has the specified amount of MMOCore EXP.
You can also check for the MMOCore Class level of the player.

Argument

Type

Notes

amount

Double

level

Boolean

If true, checks the players level instead

Example: mmoexp{amount=5;level=true}
Checks if the player is MMOCore Class level 5 or higher.

  • mmopoint

Checks if the player has the specified amount of points or higher of the specified type.

Argument

Type

Notes

type

String

Must be either: class, skill, attribute, or recollection

amount

Integer

Example: mmopoint{type=class;amount=10}
The player must have at least 10 class points.

  • mmoprof

Checks if the player is the specified level (or higher) in the specified profession.

Argument

Type

Notes

name

String

Must be a valid profession

amount

Integer

Example: mmoprof{name=mining;level=6}
The player must level 6 or higher in Mining.

  • mmoresource

Checks if the player has the specified amount (or higher) of the specified resource.

Argument

Type

Notes

type

String

Must be either: mana, stamina, or stellium

amount

Integer

Example: mmoresource{type=stamina;amount=50}
The player must have at least 50 stamina.

MythicLib

These are the states provided by MythicLib.


  • mmostat

Checks if the players specified stat is at a specific (or higher) level.
This hooks into the MythicLib stat API and can therefore look up any MMO stat.

Argument

Type

Notes

stat

String

Stat names can be found on their respective plugin wikis.

statval

Double

higherthan

Boolean

Will also check if the stat is higher

Example: mmostat{stat=max_health;statval=30;higherthan=true}
The player must have a max health stat of 30 or higher.

TechTree

These are the states provided by TechTree.


  • techentry

Will check if the player has unlocked a specific tech entry.

Argument

Type

Notes

entry

String

Must be a valid path to a tech entry (tree.entry)

Example: techentry{entry=testtree.testentry}
The player must have unlocked the “Test Entry” in “Test Tree”

Vault

These are the states provided by Vault.


  • money

MUST HAVE A VALID ECONOMY PLUGIN INSTALLED!
Will check if the player have the specified amount (or higher) in their balance.

Argument

Type

Notes

amount

Double

Example: money{amount=2.6}
The player must have at least ‘2.6’ in their balance.

WorldGuard

These are the states provided by WorldGuard.


  • region

Will check if the player is in a specific WG region.

Argument

Type

Notes

name

String

Example: region{name=testregion}
The player must be inside a region called “testregion”.