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

A bridge that links the Nucleus and PlaceholderAPI systems together

License

Notifications You must be signed in to change notification settings

NucleusPowered/Gluon

Repository files navigation

Gluon is now End of Life

As we prepare to release Nucleus 2 which uses the Sponge placeholder API rather than the old PlaceholderAPI for Sponge which has not seen an update in years, we also say goodbye to Gluon, which has also not seen an update in two years (because it hasn't needed one!)

This repo has been archived but remains for interest.


Gluon

A bridge that links the Nucleus and PlaceholderAPI systems together

How to install

First, ensure you have the following plugins available:

  • Nucleus, at least version 0.24.0
  • PlaceholderAPI, at least version 3.5

Drop it into your mods directory and start your server!

Using PlaceholderAPI tokens in Nucleus

Anywhere that tokens can be used in Nucleus, PlaceholderAPI tokens can be used! However, there is one major difference, whilst PlaceholderAPI normally uses the % % token format, Nucleus instead requires PlaceholderAPI tokens to be of the form {% %} for compatibility reasons.

So, to use the %PLAYER% token in Nucleus, instead use {%PLAYER%}. You can also use {{pl:nucleus-gluon:player}} if you prefer.

Using Nucleus tokens with plugins that use PlaceholderAPI

The Nucleus token is nucleus_[token] where [token] is the normal Nucleus token without {{ }} characters.

Examples are:

  • {{displayname}} would be %nucleus_displayname%
  • {{pl:plugin:id}} would be %nucleus_pl:plugin:id%