Skip to content

PlaceholderAPI

Sven Rahn edited this page May 25, 2018 · 9 revisions

PlaceholderAPI

PlaceholderAPI is a great tool! You can install it on your server to get even more use of CommandUtils. Every command in any CommandUtils config or command can contain placeholders.

For even more functionality, try out this pre-release, which adds the %user% placeholder. It allows you to refer to players which aren't on the server.

v4.5-pre-randombyte

If KitCrafty is online, this works:

/cmdUtils execute parsed KitCrafty *say %player% is cool!

But when he is offline, the %player% placeholder won't resolve.

To solve this, the v4.5-pre-release adds %user%:

/cmdUtils execute parsed KitCrafty *say %user% is cool!

This works even when the specified player is offline.

Clone this wiki locally