-
Notifications
You must be signed in to change notification settings - Fork 2
PlaceholderAPI usage
하이라이트 edited this page Mar 26, 2023
·
2 revisions
papi {
expansion("placeholder") {
then("asdf") {
requires { player != null }
executes {
"fdsa"
}
}
argument("value") {
executes {
val value: String by arguments
value
}
argument("value2") {
executes {
val value: String by arguments
val value2: String by arguments
value + value2
}
}
}
}
}
ppapi("%placeholder_asdf%")It looks like kommand code.
also it doesn't throw exception when PlaceholderAPI doesn't exist