Skip to content
This repository has been archived by the owner on Aug 3, 2020. It is now read-only.

Version 1.0.3 for Nucleus 1.0+ and PlaceholderAPI 4.1+

Latest
Compare
Choose a tag to compare
@dualspiral dualspiral released this 12 Aug 11:37
· 9 commits to master since this release

If you're running Nucleus and PlaceholderAPI, this allows you to use PlaceholderAPI placeholders in Nucleus, and Nucleus placeholders in PlaceholderAPI.

This is for Placeholder 4.1 and above ONLY. If you are still using PlaceholderAPI 3.5, please use version 1.0.2. Thanks to @Wundero for doing this for me.

This is a utility plugin. There is no need to install this if you don't use PlaceholderAPI or Nucleus, or if you have no plans to use the integration.

Using PlaceholderAPI placeholders in Nucleus.

Anywhere you use tokens (like {{name}}) in Nucleus, you can use a PlaceholderAPI token. The delimiter for a PlaceholderAPI token is {%[token]%}, NOT % %. So, to use the %player% token from PlaceholderAPI in Nucleus, you would use {%player%} instead.

Using Nucleus tokens in PlaceholderAPI

To use a Nucleus token in PlaceholderAPI enabled texts, simply prefix the Nucleus token name with nucleus_. So, this means that for {{displayname}} in Nucleus, you would use %nucleus_displayname% in PlaceholderAPI. You can also access other plugin tokens from Nucleus in the API, the form would be %nucleus_pl:pluginid:id%.