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
Quick Reference:
Type |
Plugin |
Args |
---|---|---|
MMOCore |
name, level |
|
MMOCore |
name |
|
MMOCore |
level, amount |
|
MMOCore |
type, amount |
|
MMOCore |
name, level |
|
MMOCore |
type, amount |
|
MythicLib |
stat, statval, higherthan |
|
TechTree |
entry |
|
Vault |
amount |
|
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 |
— |
mmoattribute{name=strength;level=10}
mmoclass
Checks if the player has the specified class.
Argument |
Type |
Notes |
---|---|---|
name |
String |
Must be a valid class |
mmoclass{name=rogue}
mmoexp
Argument |
Type |
Notes |
---|---|---|
amount |
Double |
— |
level |
Boolean |
If true, checks the players level instead |
mmoexp{amount=5;level=true}
mmopoint
Argument |
Type |
Notes |
---|---|---|
type |
String |
Must be either: |
amount |
Integer |
— |
mmopoint{type=class;amount=10}
mmoprof
Argument |
Type |
Notes |
---|---|---|
name |
String |
Must be a valid profession |
amount |
Integer |
— |
mmoprof{name=mining;level=6}
mmoresource
Argument |
Type |
Notes |
---|---|---|
type |
String |
Must be either: |
amount |
Integer |
— |
mmoresource{type=stamina;amount=50}
MythicLib
These are the states provided by MythicLib.
mmostat
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 |
mmostat{stat=max_health;statval=30;higherthan=true}
TechTree
These are the states provided by TechTree.
techentry
Argument |
Type |
Notes |
---|---|---|
entry |
String |
Must be a valid path to a tech entry ( |
techentry{entry=testtree.testentry}
Vault
These are the states provided by Vault.
money
Argument |
Type |
Notes |
---|---|---|
amount |
Double |
— |
money{amount=2.6}
WorldGuard
These are the states provided by WorldGuard.
region
Argument |
Type |
Notes |
---|---|---|
name |
String |
— |
region{name=testregion}